@dfns/sdk 0.8.10 → 0.8.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dfnsApiClient.d.ts +10 -8
- package/dfnsApiClient.js +16 -12
- package/dfnsDelegatedApiClient.d.ts +12 -2
- package/dfnsDelegatedApiClient.js +23 -3
- package/generated/keys/types.d.ts +72 -40
- package/generated/payouts/client.d.ts +10 -0
- package/generated/payouts/client.js +60 -0
- package/generated/payouts/delegatedClient.d.ts +13 -0
- package/generated/payouts/delegatedClient.js +89 -0
- package/generated/payouts/index.d.ts +3 -0
- package/generated/payouts/index.js +19 -0
- package/generated/payouts/types.d.ts +324 -0
- package/generated/payouts/types.js +2 -0
- package/generated/permissions/types.d.ts +2 -2
- package/generated/policies/types.d.ts +87 -57
- package/generated/wallets/types.d.ts +121 -81
- package/generated/webhooks/types.d.ts +9 -9
- package/package.json +1 -1
- package/types/agreements.d.ts +1 -0
- package/types/agreements.js +17 -0
- package/types/allocations.d.ts +1 -0
- package/types/allocations.js +17 -0
- package/types/payouts.d.ts +1 -0
- package/types/payouts.js +17 -0
- package/types/staking.d.ts +1 -0
- package/types/staking.js +17 -0
- package/types/swaps.d.ts +1 -0
- package/types/swaps.js +17 -0
|
@@ -67,7 +67,7 @@ export type ActivateWalletResponse = {
|
|
|
67
67
|
};
|
|
68
68
|
requestBody: {
|
|
69
69
|
kind: "Transaction";
|
|
70
|
-
/** The unsigned hex encoded transaction
|
|
70
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
71
71
|
transaction: string | {};
|
|
72
72
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
73
73
|
externalId?: string | undefined;
|
|
@@ -167,7 +167,7 @@ export type ActivateWalletRequest = ActivateWalletParams & {
|
|
|
167
167
|
};
|
|
168
168
|
export type BroadcastTransactionBody = {
|
|
169
169
|
kind: "Transaction";
|
|
170
|
-
/** The unsigned hex encoded transaction
|
|
170
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
171
171
|
transaction: string | {};
|
|
172
172
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
173
173
|
externalId?: string | undefined;
|
|
@@ -247,7 +247,7 @@ export type BroadcastTransactionResponse = {
|
|
|
247
247
|
};
|
|
248
248
|
requestBody: {
|
|
249
249
|
kind: "Transaction";
|
|
250
|
-
/** The unsigned hex encoded transaction
|
|
250
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
251
251
|
transaction: string | {};
|
|
252
252
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
253
253
|
externalId?: string | undefined;
|
|
@@ -366,7 +366,7 @@ export type CancelTransactionResponse = {
|
|
|
366
366
|
};
|
|
367
367
|
requestBody: {
|
|
368
368
|
kind: "Transaction";
|
|
369
|
-
/** The unsigned hex encoded transaction
|
|
369
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
370
370
|
transaction: string | {};
|
|
371
371
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
372
372
|
externalId?: string | undefined;
|
|
@@ -483,7 +483,7 @@ export type CancelTransferResponse = {
|
|
|
483
483
|
};
|
|
484
484
|
requestBody: {
|
|
485
485
|
kind: "Transaction";
|
|
486
|
-
/** The unsigned hex encoded transaction
|
|
486
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
487
487
|
transaction: string | {};
|
|
488
488
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
489
489
|
externalId?: string | undefined;
|
|
@@ -710,21 +710,17 @@ export type GenerateSignatureBody = {
|
|
|
710
710
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
711
711
|
externalId?: string | undefined;
|
|
712
712
|
} | {
|
|
713
|
-
kind: "
|
|
714
|
-
/** The
|
|
715
|
-
|
|
716
|
-
/** The current nonce of the signer EOA. */
|
|
717
|
-
nonce: number;
|
|
718
|
-
/** Chain ID. */
|
|
719
|
-
chainId: number;
|
|
713
|
+
kind: "Transaction";
|
|
714
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
715
|
+
transaction: string | {};
|
|
720
716
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
721
717
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
722
718
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
723
719
|
externalId?: string | undefined;
|
|
724
720
|
} | {
|
|
725
|
-
kind: "
|
|
726
|
-
/**
|
|
727
|
-
|
|
721
|
+
kind: "Eip191";
|
|
722
|
+
/** Hex-encoded message. */
|
|
723
|
+
message: string;
|
|
728
724
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
729
725
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
730
726
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
@@ -759,6 +755,18 @@ export type GenerateSignatureBody = {
|
|
|
759
755
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
760
756
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
761
757
|
externalId?: string | undefined;
|
|
758
|
+
} | {
|
|
759
|
+
kind: "Eip7702";
|
|
760
|
+
/** The address of the contract the signer's EOA will be delegated to. */
|
|
761
|
+
address: string;
|
|
762
|
+
/** The current nonce of the signer EOA. */
|
|
763
|
+
nonce: number;
|
|
764
|
+
/** Chain ID. */
|
|
765
|
+
chainId: number;
|
|
766
|
+
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
767
|
+
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
768
|
+
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
769
|
+
externalId?: string | undefined;
|
|
762
770
|
} | {
|
|
763
771
|
kind: "Snip12";
|
|
764
772
|
/** The primary type of the message. */
|
|
@@ -911,21 +919,17 @@ export type GenerateSignatureResponse = {
|
|
|
911
919
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
912
920
|
externalId?: string | undefined;
|
|
913
921
|
} | {
|
|
914
|
-
kind: "
|
|
915
|
-
/** The
|
|
916
|
-
|
|
917
|
-
/** The current nonce of the signer EOA. */
|
|
918
|
-
nonce: number;
|
|
919
|
-
/** Chain ID. */
|
|
920
|
-
chainId: number;
|
|
922
|
+
kind: "Transaction";
|
|
923
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
924
|
+
transaction: string | {};
|
|
921
925
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
922
926
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
923
927
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
924
928
|
externalId?: string | undefined;
|
|
925
929
|
} | {
|
|
926
|
-
kind: "
|
|
927
|
-
/**
|
|
928
|
-
|
|
930
|
+
kind: "Eip191";
|
|
931
|
+
/** Hex-encoded message. */
|
|
932
|
+
message: string;
|
|
929
933
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
930
934
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
931
935
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
@@ -960,6 +964,18 @@ export type GenerateSignatureResponse = {
|
|
|
960
964
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
961
965
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
962
966
|
externalId?: string | undefined;
|
|
967
|
+
} | {
|
|
968
|
+
kind: "Eip7702";
|
|
969
|
+
/** The address of the contract the signer's EOA will be delegated to. */
|
|
970
|
+
address: string;
|
|
971
|
+
/** The current nonce of the signer EOA. */
|
|
972
|
+
nonce: number;
|
|
973
|
+
/** Chain ID. */
|
|
974
|
+
chainId: number;
|
|
975
|
+
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
976
|
+
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
977
|
+
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
978
|
+
externalId?: string | undefined;
|
|
963
979
|
} | {
|
|
964
980
|
kind: "Snip12";
|
|
965
981
|
/** The primary type of the message. */
|
|
@@ -1186,21 +1202,17 @@ export type GetSignatureResponse = {
|
|
|
1186
1202
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
1187
1203
|
externalId?: string | undefined;
|
|
1188
1204
|
} | {
|
|
1189
|
-
kind: "
|
|
1190
|
-
/** The
|
|
1191
|
-
|
|
1192
|
-
/** The current nonce of the signer EOA. */
|
|
1193
|
-
nonce: number;
|
|
1194
|
-
/** Chain ID. */
|
|
1195
|
-
chainId: number;
|
|
1205
|
+
kind: "Transaction";
|
|
1206
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
1207
|
+
transaction: string | {};
|
|
1196
1208
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
1197
1209
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
1198
1210
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
1199
1211
|
externalId?: string | undefined;
|
|
1200
1212
|
} | {
|
|
1201
|
-
kind: "
|
|
1202
|
-
/**
|
|
1203
|
-
|
|
1213
|
+
kind: "Eip191";
|
|
1214
|
+
/** Hex-encoded message. */
|
|
1215
|
+
message: string;
|
|
1204
1216
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
1205
1217
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
1206
1218
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
@@ -1235,6 +1247,18 @@ export type GetSignatureResponse = {
|
|
|
1235
1247
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
1236
1248
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
1237
1249
|
externalId?: string | undefined;
|
|
1250
|
+
} | {
|
|
1251
|
+
kind: "Eip7702";
|
|
1252
|
+
/** The address of the contract the signer's EOA will be delegated to. */
|
|
1253
|
+
address: string;
|
|
1254
|
+
/** The current nonce of the signer EOA. */
|
|
1255
|
+
nonce: number;
|
|
1256
|
+
/** Chain ID. */
|
|
1257
|
+
chainId: number;
|
|
1258
|
+
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
1259
|
+
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
1260
|
+
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
1261
|
+
externalId?: string | undefined;
|
|
1238
1262
|
} | {
|
|
1239
1263
|
kind: "Snip12";
|
|
1240
1264
|
/** The primary type of the message. */
|
|
@@ -1399,7 +1423,7 @@ export type GetTransactionResponse = {
|
|
|
1399
1423
|
};
|
|
1400
1424
|
requestBody: {
|
|
1401
1425
|
kind: "Transaction";
|
|
1402
|
-
/** The unsigned hex encoded transaction
|
|
1426
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
1403
1427
|
transaction: string | {};
|
|
1404
1428
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
1405
1429
|
externalId?: string | undefined;
|
|
@@ -1583,7 +1607,7 @@ export type GetTransferResponse = {
|
|
|
1583
1607
|
to: string;
|
|
1584
1608
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
1585
1609
|
amount: string;
|
|
1586
|
-
/** The memo. */
|
|
1610
|
+
/** The memo or destination tag. */
|
|
1587
1611
|
memo?: (string | "") | undefined;
|
|
1588
1612
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
1589
1613
|
externalId?: string | undefined;
|
|
@@ -1802,7 +1826,7 @@ export type GetTransferResponse = {
|
|
|
1802
1826
|
serialNumber: string;
|
|
1803
1827
|
/** The destination address. */
|
|
1804
1828
|
to: string;
|
|
1805
|
-
/** The memo. */
|
|
1829
|
+
/** The memo or destination tag. */
|
|
1806
1830
|
memo?: (string | "") | undefined;
|
|
1807
1831
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
1808
1832
|
externalId?: string | undefined;
|
|
@@ -1860,8 +1884,8 @@ export type GetTransferResponse = {
|
|
|
1860
1884
|
to: string;
|
|
1861
1885
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
1862
1886
|
amount: string;
|
|
1863
|
-
/** The memo or destination tag
|
|
1864
|
-
memo?: string | undefined;
|
|
1887
|
+
/** The memo or destination tag. */
|
|
1888
|
+
memo?: (string | "") | undefined;
|
|
1865
1889
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
1866
1890
|
externalId?: string | undefined;
|
|
1867
1891
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -1912,7 +1936,7 @@ export type GetTransferResponse = {
|
|
|
1912
1936
|
feeSponsorId?: string | undefined;
|
|
1913
1937
|
} | {
|
|
1914
1938
|
kind: "Snip2";
|
|
1915
|
-
/** The
|
|
1939
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
1916
1940
|
contract: string;
|
|
1917
1941
|
/** The destination address. */
|
|
1918
1942
|
to: string;
|
|
@@ -1938,7 +1962,7 @@ export type GetTransferResponse = {
|
|
|
1938
1962
|
feeSponsorId?: string | undefined;
|
|
1939
1963
|
} | {
|
|
1940
1964
|
kind: "Snip3";
|
|
1941
|
-
/** The
|
|
1965
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
1942
1966
|
contract: string;
|
|
1943
1967
|
/** The destination address. */
|
|
1944
1968
|
to: string;
|
|
@@ -1970,6 +1994,8 @@ export type GetTransferResponse = {
|
|
|
1970
1994
|
amount: string;
|
|
1971
1995
|
/** The mint account address. */
|
|
1972
1996
|
mint: string;
|
|
1997
|
+
/** The memo or destination tag. */
|
|
1998
|
+
memo?: (string | "") | undefined;
|
|
1973
1999
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
1974
2000
|
createDestinationAccount?: boolean | undefined;
|
|
1975
2001
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
@@ -2104,8 +2130,8 @@ export type GetTransferResponse = {
|
|
|
2104
2130
|
to: string;
|
|
2105
2131
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
2106
2132
|
amount: string;
|
|
2107
|
-
/** The memo or destination tag
|
|
2108
|
-
memo?: string | undefined;
|
|
2133
|
+
/** The memo or destination tag. */
|
|
2134
|
+
memo?: (string | "") | undefined;
|
|
2109
2135
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
2110
2136
|
externalId?: string | undefined;
|
|
2111
2137
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -3470,21 +3496,17 @@ export type ListSignaturesResponse = {
|
|
|
3470
3496
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
3471
3497
|
externalId?: string | undefined;
|
|
3472
3498
|
} | {
|
|
3473
|
-
kind: "
|
|
3474
|
-
/** The
|
|
3475
|
-
|
|
3476
|
-
/** The current nonce of the signer EOA. */
|
|
3477
|
-
nonce: number;
|
|
3478
|
-
/** Chain ID. */
|
|
3479
|
-
chainId: number;
|
|
3499
|
+
kind: "Transaction";
|
|
3500
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
3501
|
+
transaction: string | {};
|
|
3480
3502
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
3481
3503
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
3482
3504
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
3483
3505
|
externalId?: string | undefined;
|
|
3484
3506
|
} | {
|
|
3485
|
-
kind: "
|
|
3486
|
-
/**
|
|
3487
|
-
|
|
3507
|
+
kind: "Eip191";
|
|
3508
|
+
/** Hex-encoded message. */
|
|
3509
|
+
message: string;
|
|
3488
3510
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
3489
3511
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
3490
3512
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
@@ -3519,6 +3541,18 @@ export type ListSignaturesResponse = {
|
|
|
3519
3541
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
3520
3542
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
3521
3543
|
externalId?: string | undefined;
|
|
3544
|
+
} | {
|
|
3545
|
+
kind: "Eip7702";
|
|
3546
|
+
/** The address of the contract the signer's EOA will be delegated to. */
|
|
3547
|
+
address: string;
|
|
3548
|
+
/** The current nonce of the signer EOA. */
|
|
3549
|
+
nonce: number;
|
|
3550
|
+
/** Chain ID. */
|
|
3551
|
+
chainId: number;
|
|
3552
|
+
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
3553
|
+
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
3554
|
+
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
3555
|
+
externalId?: string | undefined;
|
|
3522
3556
|
} | {
|
|
3523
3557
|
kind: "Snip12";
|
|
3524
3558
|
/** The primary type of the message. */
|
|
@@ -3696,7 +3730,7 @@ export type ListTransactionsResponse = {
|
|
|
3696
3730
|
};
|
|
3697
3731
|
requestBody: {
|
|
3698
3732
|
kind: "Transaction";
|
|
3699
|
-
/** The unsigned hex encoded transaction
|
|
3733
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
3700
3734
|
transaction: string | {};
|
|
3701
3735
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
3702
3736
|
externalId?: string | undefined;
|
|
@@ -3893,7 +3927,7 @@ export type ListTransfersResponse = {
|
|
|
3893
3927
|
to: string;
|
|
3894
3928
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
3895
3929
|
amount: string;
|
|
3896
|
-
/** The memo. */
|
|
3930
|
+
/** The memo or destination tag. */
|
|
3897
3931
|
memo?: (string | "") | undefined;
|
|
3898
3932
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
3899
3933
|
externalId?: string | undefined;
|
|
@@ -4112,7 +4146,7 @@ export type ListTransfersResponse = {
|
|
|
4112
4146
|
serialNumber: string;
|
|
4113
4147
|
/** The destination address. */
|
|
4114
4148
|
to: string;
|
|
4115
|
-
/** The memo. */
|
|
4149
|
+
/** The memo or destination tag. */
|
|
4116
4150
|
memo?: (string | "") | undefined;
|
|
4117
4151
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
4118
4152
|
externalId?: string | undefined;
|
|
@@ -4170,8 +4204,8 @@ export type ListTransfersResponse = {
|
|
|
4170
4204
|
to: string;
|
|
4171
4205
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4172
4206
|
amount: string;
|
|
4173
|
-
/** The memo or destination tag
|
|
4174
|
-
memo?: string | undefined;
|
|
4207
|
+
/** The memo or destination tag. */
|
|
4208
|
+
memo?: (string | "") | undefined;
|
|
4175
4209
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
4176
4210
|
externalId?: string | undefined;
|
|
4177
4211
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4222,7 +4256,7 @@ export type ListTransfersResponse = {
|
|
|
4222
4256
|
feeSponsorId?: string | undefined;
|
|
4223
4257
|
} | {
|
|
4224
4258
|
kind: "Snip2";
|
|
4225
|
-
/** The
|
|
4259
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
4226
4260
|
contract: string;
|
|
4227
4261
|
/** The destination address. */
|
|
4228
4262
|
to: string;
|
|
@@ -4248,7 +4282,7 @@ export type ListTransfersResponse = {
|
|
|
4248
4282
|
feeSponsorId?: string | undefined;
|
|
4249
4283
|
} | {
|
|
4250
4284
|
kind: "Snip3";
|
|
4251
|
-
/** The
|
|
4285
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
4252
4286
|
contract: string;
|
|
4253
4287
|
/** The destination address. */
|
|
4254
4288
|
to: string;
|
|
@@ -4280,6 +4314,8 @@ export type ListTransfersResponse = {
|
|
|
4280
4314
|
amount: string;
|
|
4281
4315
|
/** The mint account address. */
|
|
4282
4316
|
mint: string;
|
|
4317
|
+
/** The memo or destination tag. */
|
|
4318
|
+
memo?: (string | "") | undefined;
|
|
4283
4319
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
4284
4320
|
createDestinationAccount?: boolean | undefined;
|
|
4285
4321
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
@@ -4414,8 +4450,8 @@ export type ListTransfersResponse = {
|
|
|
4414
4450
|
to: string;
|
|
4415
4451
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4416
4452
|
amount: string;
|
|
4417
|
-
/** The memo or destination tag
|
|
4418
|
-
memo?: string | undefined;
|
|
4453
|
+
/** The memo or destination tag. */
|
|
4454
|
+
memo?: (string | "") | undefined;
|
|
4419
4455
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
4420
4456
|
externalId?: string | undefined;
|
|
4421
4457
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4604,7 +4640,7 @@ export type SpeedUpTransactionResponse = {
|
|
|
4604
4640
|
};
|
|
4605
4641
|
requestBody: {
|
|
4606
4642
|
kind: "Transaction";
|
|
4607
|
-
/** The unsigned hex encoded transaction
|
|
4643
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
4608
4644
|
transaction: string | {};
|
|
4609
4645
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
4610
4646
|
externalId?: string | undefined;
|
|
@@ -4721,7 +4757,7 @@ export type SpeedUpTransferResponse = {
|
|
|
4721
4757
|
};
|
|
4722
4758
|
requestBody: {
|
|
4723
4759
|
kind: "Transaction";
|
|
4724
|
-
/** The unsigned hex encoded transaction
|
|
4760
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
4725
4761
|
transaction: string | {};
|
|
4726
4762
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
4727
4763
|
externalId?: string | undefined;
|
|
@@ -4895,7 +4931,7 @@ export type TransferAssetBody = {
|
|
|
4895
4931
|
to: string;
|
|
4896
4932
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4897
4933
|
amount: string;
|
|
4898
|
-
/** The memo. */
|
|
4934
|
+
/** The memo or destination tag. */
|
|
4899
4935
|
memo?: (string | "") | undefined;
|
|
4900
4936
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
4901
4937
|
externalId?: string | undefined;
|
|
@@ -5114,7 +5150,7 @@ export type TransferAssetBody = {
|
|
|
5114
5150
|
serialNumber: string;
|
|
5115
5151
|
/** The destination address. */
|
|
5116
5152
|
to: string;
|
|
5117
|
-
/** The memo. */
|
|
5153
|
+
/** The memo or destination tag. */
|
|
5118
5154
|
memo?: (string | "") | undefined;
|
|
5119
5155
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5120
5156
|
externalId?: string | undefined;
|
|
@@ -5172,8 +5208,8 @@ export type TransferAssetBody = {
|
|
|
5172
5208
|
to: string;
|
|
5173
5209
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5174
5210
|
amount: string;
|
|
5175
|
-
/** The memo or destination tag
|
|
5176
|
-
memo?: string | undefined;
|
|
5211
|
+
/** The memo or destination tag. */
|
|
5212
|
+
memo?: (string | "") | undefined;
|
|
5177
5213
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5178
5214
|
externalId?: string | undefined;
|
|
5179
5215
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5224,7 +5260,7 @@ export type TransferAssetBody = {
|
|
|
5224
5260
|
feeSponsorId?: string | undefined;
|
|
5225
5261
|
} | {
|
|
5226
5262
|
kind: "Snip2";
|
|
5227
|
-
/** The
|
|
5263
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
5228
5264
|
contract: string;
|
|
5229
5265
|
/** The destination address. */
|
|
5230
5266
|
to: string;
|
|
@@ -5250,7 +5286,7 @@ export type TransferAssetBody = {
|
|
|
5250
5286
|
feeSponsorId?: string | undefined;
|
|
5251
5287
|
} | {
|
|
5252
5288
|
kind: "Snip3";
|
|
5253
|
-
/** The
|
|
5289
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
5254
5290
|
contract: string;
|
|
5255
5291
|
/** The destination address. */
|
|
5256
5292
|
to: string;
|
|
@@ -5282,6 +5318,8 @@ export type TransferAssetBody = {
|
|
|
5282
5318
|
amount: string;
|
|
5283
5319
|
/** The mint account address. */
|
|
5284
5320
|
mint: string;
|
|
5321
|
+
/** The memo or destination tag. */
|
|
5322
|
+
memo?: (string | "") | undefined;
|
|
5285
5323
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
5286
5324
|
createDestinationAccount?: boolean | undefined;
|
|
5287
5325
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
@@ -5416,8 +5454,8 @@ export type TransferAssetBody = {
|
|
|
5416
5454
|
to: string;
|
|
5417
5455
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5418
5456
|
amount: string;
|
|
5419
|
-
/** The memo or destination tag
|
|
5420
|
-
memo?: string | undefined;
|
|
5457
|
+
/** The memo or destination tag. */
|
|
5458
|
+
memo?: (string | "") | undefined;
|
|
5421
5459
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5422
5460
|
externalId?: string | undefined;
|
|
5423
5461
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5523,7 +5561,7 @@ export type TransferAssetResponse = {
|
|
|
5523
5561
|
to: string;
|
|
5524
5562
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5525
5563
|
amount: string;
|
|
5526
|
-
/** The memo. */
|
|
5564
|
+
/** The memo or destination tag. */
|
|
5527
5565
|
memo?: (string | "") | undefined;
|
|
5528
5566
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5529
5567
|
externalId?: string | undefined;
|
|
@@ -5742,7 +5780,7 @@ export type TransferAssetResponse = {
|
|
|
5742
5780
|
serialNumber: string;
|
|
5743
5781
|
/** The destination address. */
|
|
5744
5782
|
to: string;
|
|
5745
|
-
/** The memo. */
|
|
5783
|
+
/** The memo or destination tag. */
|
|
5746
5784
|
memo?: (string | "") | undefined;
|
|
5747
5785
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5748
5786
|
externalId?: string | undefined;
|
|
@@ -5800,8 +5838,8 @@ export type TransferAssetResponse = {
|
|
|
5800
5838
|
to: string;
|
|
5801
5839
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5802
5840
|
amount: string;
|
|
5803
|
-
/** The memo or destination tag
|
|
5804
|
-
memo?: string | undefined;
|
|
5841
|
+
/** The memo or destination tag. */
|
|
5842
|
+
memo?: (string | "") | undefined;
|
|
5805
5843
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5806
5844
|
externalId?: string | undefined;
|
|
5807
5845
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5852,7 +5890,7 @@ export type TransferAssetResponse = {
|
|
|
5852
5890
|
feeSponsorId?: string | undefined;
|
|
5853
5891
|
} | {
|
|
5854
5892
|
kind: "Snip2";
|
|
5855
|
-
/** The
|
|
5893
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
5856
5894
|
contract: string;
|
|
5857
5895
|
/** The destination address. */
|
|
5858
5896
|
to: string;
|
|
@@ -5878,7 +5916,7 @@ export type TransferAssetResponse = {
|
|
|
5878
5916
|
feeSponsorId?: string | undefined;
|
|
5879
5917
|
} | {
|
|
5880
5918
|
kind: "Snip3";
|
|
5881
|
-
/** The
|
|
5919
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
5882
5920
|
contract: string;
|
|
5883
5921
|
/** The destination address. */
|
|
5884
5922
|
to: string;
|
|
@@ -5910,6 +5948,8 @@ export type TransferAssetResponse = {
|
|
|
5910
5948
|
amount: string;
|
|
5911
5949
|
/** The mint account address. */
|
|
5912
5950
|
mint: string;
|
|
5951
|
+
/** The memo or destination tag. */
|
|
5952
|
+
memo?: (string | "") | undefined;
|
|
5913
5953
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
5914
5954
|
createDestinationAccount?: boolean | undefined;
|
|
5915
5955
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
@@ -6044,8 +6084,8 @@ export type TransferAssetResponse = {
|
|
|
6044
6084
|
to: string;
|
|
6045
6085
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
6046
6086
|
amount: string;
|
|
6047
|
-
/** The memo or destination tag
|
|
6048
|
-
memo?: string | undefined;
|
|
6087
|
+
/** The memo or destination tag. */
|
|
6088
|
+
memo?: (string | "") | undefined;
|
|
6049
6089
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
6050
6090
|
externalId?: string | undefined;
|
|
6051
6091
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|