Dfns TypeScript SDK - v0.7.14
    Preparing search index...

    Type Alias BroadcastTransactionBody

    BroadcastTransactionBody:
        | { externalId?: string; kind: "Transaction"; transaction: string
        | {} }
        | {
            data?: string;
            externalId?: string;
            gasLimit?: string | string;
            kind: "Evm";
            nonce?: number | string | string;
            to?: string;
            value?: string | string;
        }
        | {
            data?: string;
            externalId?: string;
            gasLimit?: string
            | string;
            kind: "Eip1559";
            maxFeePerGas?: string | string;
            maxPriorityFeePerGas?: string | string;
            nonce?: number | string | string;
            to?: string;
            value?: string | string;
        }
        | { externalId?: string; kind: "Psbt"; psbt: string }
        | { externalId?: string; kind: "Json"; transaction: {} }
        | { externalId?: string; kind: "SignDocDirect"; signDoc: string }
        | {
            externalId?: string;
            feeSponsorId: string;
            kind: "UserOperations";
            userOperations: { data?: string; to: string; value?: string }[];
        }
        | {
            decision: "Accept"
            | "Reject";
            externalId?: string;
            kind: "SettleOffer";
            txHash: string;
        }

    Type Declaration

    • { externalId?: string; kind: "Transaction"; transaction: string | {} }
      • OptionalexternalId?: string

        A unique ID from your system. It can be leveraged to be used as an idempotency key (read more here).

      • kind: "Transaction"
      • transaction: string | {}

        The unsigned hex encoded transaction. EVM transactions also accept JSON objects.

    • {
          data?: string;
          externalId?: string;
          gasLimit?: string | string;
          kind: "Evm";
          nonce?: number | string | string;
          to?: string;
          value?: string | string;
      }
      • Optionaldata?: string
      • OptionalexternalId?: string

        A unique ID from your system. It can be leveraged to be used as an idempotency key (read more here).

      • OptionalgasLimit?: string | string
      • kind: "Evm"
      • Optionalnonce?: number | string | string

        The current nonce of the signer EOA.

      • Optionalto?: string
      • Optionalvalue?: string | string
    • {
          data?: string;
          externalId?: string;
          gasLimit?: string | string;
          kind: "Eip1559";
          maxFeePerGas?: string | string;
          maxPriorityFeePerGas?: string | string;
          nonce?: number | string | string;
          to?: string;
          value?: string | string;
      }
      • Optionaldata?: string
      • OptionalexternalId?: string

        A unique ID from your system. It can be leveraged to be used as an idempotency key (read more here).

      • OptionalgasLimit?: string | string
      • kind: "Eip1559"
      • OptionalmaxFeePerGas?: string | string
      • OptionalmaxPriorityFeePerGas?: string | string
      • Optionalnonce?: number | string | string
      • Optionalto?: string
      • Optionalvalue?: string | string
    • { externalId?: string; kind: "Psbt"; psbt: string }
      • OptionalexternalId?: string

        A unique ID from your system. It can be leveraged to be used as an idempotency key (read more here).

      • kind: "Psbt"
      • psbt: string

        The hex encoded PSBT.

    • { externalId?: string; kind: "Json"; transaction: {} }
      • OptionalexternalId?: string

        A unique ID from your system. It can be leveraged to be used as an idempotency key (read more here).

      • kind: "Json"
      • transaction: {}
    • { externalId?: string; kind: "SignDocDirect"; signDoc: string }
      • OptionalexternalId?: string

        A unique ID from your system. It can be leveraged to be used as an idempotency key (read more here).

      • kind: "SignDocDirect"
      • signDoc: string
    • {
          externalId?: string;
          feeSponsorId: string;
          kind: "UserOperations";
          userOperations: { data?: string; to: string; value?: string }[];
      }
      • OptionalexternalId?: string

        A unique ID from your system. It can be leveraged to be used as an idempotency key (read more here).

      • feeSponsorId: string

        A fee sponsor id to sponsor the transaction fee by another wallet. (read more here)

      • kind: "UserOperations"
      • userOperations: { data?: string; to: string; value?: string }[]
    • {
          decision: "Accept" | "Reject";
          externalId?: string;
          kind: "SettleOffer";
          txHash: string;
      }
      • decision: "Accept" | "Reject"
      • OptionalexternalId?: string

        A unique ID from your system. It can be leveraged to be used as an idempotency key (read more here).

      • kind: "SettleOffer"
      • txHash: string