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

    Type Alias BroadcastTransactionResponse

    type BroadcastTransactionResponse = {
        approvalId?: string;
        dateBroadcasted?: string;
        dateConfirmed?: string;
        datePolicyResolved?: string;
        dateRequested: string;
        externalId?: string;
        fee?: string;
        id: string;
        network:
            | "Algorand"
            | "AlgorandTestnet"
            | "Aptos"
            | "AptosTestnet"
            | "ArbitrumOne"
            | "ArbitrumGoerli"
            | "ArbitrumSepolia"
            | "AvalancheC"
            | "AvalancheCFuji"
            | "Adi"
            | "AdiTestnet"
            | "BabylonGenesis"
            | "BabylonTestnet5"
            | "Base"
            | "BaseGoerli"
            | "BaseSepolia"
            | "Berachain"
            | "BerachainBArtio"
            | "BerachainBepolia"
            | "Bitcoin"
            | "BitcoinSignet"
            | "BitcoinTestnet3"
            | "BitcoinCash"
            | "BitcoinCashTestnet"
            | "Bob"
            | "BobSepolia"
            | "Bsc"
            | "BscTestnet"
            | "Canton"
            | "CantonDevnet"
            | "CantonTestnet"
            | "Cardano"
            | "CardanoPreprod"
            | "Celo"
            | "CeloAlfajores"
            | "Codex"
            | "CodexSepolia"
            | "CosmosHub4"
            | "CosmosIcsTestnet"
            | "Dogecoin"
            | "DogecoinTestnet"
            | "Ethereum"
            | "EthereumGoerli"
            | "EthereumSepolia"
            | "EthereumHolesky"
            | "EthereumHoodi"
            | "FantomOpera"
            | "FantomTestnet"
            | "FlareC"
            | "FlareCCoston2"
            | "Hedera"
            | "HederaTestnet"
            | "Ink"
            | "InkSepolia"
            | "InternetComputer"
            | "Ion"
            | "IonTestnet"
            | "Iota"
            | "IotaTestnet"
            | "IotaZodianet"
            | "KadenaTestnet4"
            | "KadenaTestnet4:1"
            | "KadenaTestnet4:2"
            | "KadenaTestnet4:3"
            | "KadenaTestnet4:4"
            | "KadenaTestnet4:5"
            | "KadenaTestnet4:6"
            | "KadenaTestnet4:7"
            | "KadenaTestnet4:8"
            | "KadenaTestnet4:9"
            | "KadenaTestnet4:10"
            | "KadenaTestnet4:11"
            | "KadenaTestnet4:12"
            | "KadenaTestnet4:13"
            | "KadenaTestnet4:14"
            | "KadenaTestnet4:15"
            | "KadenaTestnet4:16"
            | "KadenaTestnet4:17"
            | "KadenaTestnet4:18"
            | "KadenaTestnet4:19"
            | "Kadena"
            | "Kadena:1"
            | "Kadena:2"
            | "Kadena:3"
            | "Kadena:4"
            | "Kadena:5"
            | "Kadena:6"
            | "Kadena:7"
            | "Kadena:8"
            | "Kadena:9"
            | "Kadena:10"
            | "Kadena:11"
            | "Kadena:12"
            | "Kadena:13"
            | "Kadena:14"
            | "Kadena:15"
            | "Kadena:16"
            | "Kadena:17"
            | "Kadena:18"
            | "Kadena:19"
            | "Kaspa"
            | "KaspaTestnet11"
            | "Kusama"
            | "Litecoin"
            | "LitecoinTestnet"
            | "Near"
            | "NearTestnet"
            | "Optimism"
            | "OptimismGoerli"
            | "OptimismSepolia"
            | "Origyn"
            | "Plume"
            | "PlumeSepolia"
            | "Polkadot"
            | "Polygon"
            | "PolygonAmoy"
            | "PolygonMumbai"
            | "Polymesh"
            | "PolymeshTestnet"
            | "Race"
            | "RaceSepolia"
            | "SeiAtlantic2"
            | "SeiPacific1"
            | "Solana"
            | "SolanaDevnet"
            | "Sonic"
            | "SonicTestnet"
            | "Stellar"
            | "StellarTestnet"
            | "Sui"
            | "SuiTestnet"
            | "Tsc"
            | "TscTestnet1"
            | "Tezos"
            | "TezosGhostnet"
            | "Ton"
            | "TonTestnet"
            | "Tron"
            | "TronNile"
            | "Westend"
            | "XrpLedger"
            | "XrpLedgerTestnet";
        reason?: string;
        requestBody: | {
            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;
        };
        requester: { tokenId?: string; userId: string };
        status:
            | "Pending"
            | "Executing"
            | "Broadcasted"
            | "Confirmed"
            | "Failed"
            | "Rejected";
        txHash?: string;
        walletId: string;
    }
    Index

    Properties

    approvalId?: string
    dateBroadcasted?: string
    dateConfirmed?: string
    datePolicyResolved?: string
    dateRequested: string
    externalId?: string
    fee?: string
    id: string
    network:
        | "Algorand"
        | "AlgorandTestnet"
        | "Aptos"
        | "AptosTestnet"
        | "ArbitrumOne"
        | "ArbitrumGoerli"
        | "ArbitrumSepolia"
        | "AvalancheC"
        | "AvalancheCFuji"
        | "Adi"
        | "AdiTestnet"
        | "BabylonGenesis"
        | "BabylonTestnet5"
        | "Base"
        | "BaseGoerli"
        | "BaseSepolia"
        | "Berachain"
        | "BerachainBArtio"
        | "BerachainBepolia"
        | "Bitcoin"
        | "BitcoinSignet"
        | "BitcoinTestnet3"
        | "BitcoinCash"
        | "BitcoinCashTestnet"
        | "Bob"
        | "BobSepolia"
        | "Bsc"
        | "BscTestnet"
        | "Canton"
        | "CantonDevnet"
        | "CantonTestnet"
        | "Cardano"
        | "CardanoPreprod"
        | "Celo"
        | "CeloAlfajores"
        | "Codex"
        | "CodexSepolia"
        | "CosmosHub4"
        | "CosmosIcsTestnet"
        | "Dogecoin"
        | "DogecoinTestnet"
        | "Ethereum"
        | "EthereumGoerli"
        | "EthereumSepolia"
        | "EthereumHolesky"
        | "EthereumHoodi"
        | "FantomOpera"
        | "FantomTestnet"
        | "FlareC"
        | "FlareCCoston2"
        | "Hedera"
        | "HederaTestnet"
        | "Ink"
        | "InkSepolia"
        | "InternetComputer"
        | "Ion"
        | "IonTestnet"
        | "Iota"
        | "IotaTestnet"
        | "IotaZodianet"
        | "KadenaTestnet4"
        | "KadenaTestnet4:1"
        | "KadenaTestnet4:2"
        | "KadenaTestnet4:3"
        | "KadenaTestnet4:4"
        | "KadenaTestnet4:5"
        | "KadenaTestnet4:6"
        | "KadenaTestnet4:7"
        | "KadenaTestnet4:8"
        | "KadenaTestnet4:9"
        | "KadenaTestnet4:10"
        | "KadenaTestnet4:11"
        | "KadenaTestnet4:12"
        | "KadenaTestnet4:13"
        | "KadenaTestnet4:14"
        | "KadenaTestnet4:15"
        | "KadenaTestnet4:16"
        | "KadenaTestnet4:17"
        | "KadenaTestnet4:18"
        | "KadenaTestnet4:19"
        | "Kadena"
        | "Kadena:1"
        | "Kadena:2"
        | "Kadena:3"
        | "Kadena:4"
        | "Kadena:5"
        | "Kadena:6"
        | "Kadena:7"
        | "Kadena:8"
        | "Kadena:9"
        | "Kadena:10"
        | "Kadena:11"
        | "Kadena:12"
        | "Kadena:13"
        | "Kadena:14"
        | "Kadena:15"
        | "Kadena:16"
        | "Kadena:17"
        | "Kadena:18"
        | "Kadena:19"
        | "Kaspa"
        | "KaspaTestnet11"
        | "Kusama"
        | "Litecoin"
        | "LitecoinTestnet"
        | "Near"
        | "NearTestnet"
        | "Optimism"
        | "OptimismGoerli"
        | "OptimismSepolia"
        | "Origyn"
        | "Plume"
        | "PlumeSepolia"
        | "Polkadot"
        | "Polygon"
        | "PolygonAmoy"
        | "PolygonMumbai"
        | "Polymesh"
        | "PolymeshTestnet"
        | "Race"
        | "RaceSepolia"
        | "SeiAtlantic2"
        | "SeiPacific1"
        | "Solana"
        | "SolanaDevnet"
        | "Sonic"
        | "SonicTestnet"
        | "Stellar"
        | "StellarTestnet"
        | "Sui"
        | "SuiTestnet"
        | "Tsc"
        | "TscTestnet1"
        | "Tezos"
        | "TezosGhostnet"
        | "Ton"
        | "TonTestnet"
        | "Tron"
        | "TronNile"
        | "Westend"
        | "XrpLedger"
        | "XrpLedgerTestnet"
    reason?: string
    requestBody:
        | { 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
    requester: { tokenId?: string; userId: string }
    status:
        | "Pending"
        | "Executing"
        | "Broadcasted"
        | "Confirmed"
        | "Failed"
        | "Rejected"
    txHash?: string
    walletId: string