@dfns/sdk 0.8.8 → 0.8.9
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/generated/allocations/types.d.ts +12 -8
- package/generated/auth/types.d.ts +2 -2
- package/generated/exchanges/types.d.ts +13 -0
- package/generated/keys/types.d.ts +3 -0
- package/generated/networks/types.d.ts +1 -1
- package/generated/permissions/types.d.ts +3 -0
- package/generated/policies/types.d.ts +497 -66
- package/generated/staking/types.d.ts +48 -39
- package/generated/swaps/types.d.ts +15 -10
- package/generated/wallets/types.d.ts +424 -96
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export type AcceptOfferResponse = {
|
|
|
12
12
|
/** Wallet id. */
|
|
13
13
|
walletId: string;
|
|
14
14
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
15
|
-
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2";
|
|
15
|
+
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
16
16
|
metadata: {
|
|
17
17
|
asset: {
|
|
18
18
|
symbol?: string | undefined;
|
|
@@ -44,6 +44,9 @@ export type ActivateWalletBody = {} | {
|
|
|
44
44
|
expiry: number;
|
|
45
45
|
/** Unsigned Credential Deployment to sign */
|
|
46
46
|
unsignedCdiStr: string;
|
|
47
|
+
} | {
|
|
48
|
+
/** Id of the validator on which the wallet is created for Canton networks */
|
|
49
|
+
validatorId: string;
|
|
47
50
|
};
|
|
48
51
|
export type ActivateWalletParams = {
|
|
49
52
|
/** Wallet id. */
|
|
@@ -55,6 +58,7 @@ export type ActivateWalletResponse = {
|
|
|
55
58
|
/** Wallet id. */
|
|
56
59
|
walletId: string;
|
|
57
60
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
61
|
+
/** The user who initiated the request. */
|
|
58
62
|
requester: {
|
|
59
63
|
/** User id. */
|
|
60
64
|
userId: string;
|
|
@@ -234,6 +238,7 @@ export type BroadcastTransactionResponse = {
|
|
|
234
238
|
/** Wallet id. */
|
|
235
239
|
walletId: string;
|
|
236
240
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
241
|
+
/** The user who initiated the request. */
|
|
237
242
|
requester: {
|
|
238
243
|
/** User id. */
|
|
239
244
|
userId: string;
|
|
@@ -352,6 +357,7 @@ export type CancelTransactionResponse = {
|
|
|
352
357
|
/** Wallet id. */
|
|
353
358
|
walletId: string;
|
|
354
359
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
360
|
+
/** The user who initiated the request. */
|
|
355
361
|
requester: {
|
|
356
362
|
/** User id. */
|
|
357
363
|
userId: string;
|
|
@@ -468,6 +474,7 @@ export type CancelTransferResponse = {
|
|
|
468
474
|
/** Wallet id. */
|
|
469
475
|
walletId: string;
|
|
470
476
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
477
|
+
/** The user who initiated the request. */
|
|
471
478
|
requester: {
|
|
472
479
|
/** User id. */
|
|
473
480
|
userId: string;
|
|
@@ -603,8 +610,6 @@ export type CreateWalletBody = {
|
|
|
603
610
|
externalId?: string | undefined;
|
|
604
611
|
/** List of tags to be created for this wallet. If specified, requires the `Wallets:Tags:Add` permission, like the [Tag Wallet](https://docs.dfns.co/api-reference/wallets/tag-wallet) endpoint. */
|
|
605
612
|
tags?: string[] | undefined;
|
|
606
|
-
/** Id of the validator on which the wallet is created for Canton networks */
|
|
607
|
-
validatorId?: string | undefined;
|
|
608
613
|
};
|
|
609
614
|
export type CreateWalletResponse = {
|
|
610
615
|
/** ID of the wallet. */
|
|
@@ -617,9 +622,9 @@ export type CreateWalletResponse = {
|
|
|
617
622
|
signingKey: {
|
|
618
623
|
/** Key id. */
|
|
619
624
|
id: string;
|
|
620
|
-
/**
|
|
625
|
+
/** The cryptographic scheme for the key. */
|
|
621
626
|
scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
|
|
622
|
-
/**
|
|
627
|
+
/** The elliptic curve for the key. */
|
|
623
628
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
624
629
|
/** Hex-encoded value of the public key. */
|
|
625
630
|
publicKey: string;
|
|
@@ -880,6 +885,7 @@ export type GenerateSignatureResponse = {
|
|
|
880
885
|
id: string;
|
|
881
886
|
/** Key id. */
|
|
882
887
|
keyId: string;
|
|
888
|
+
/** The user who initiated the request. */
|
|
883
889
|
requester: {
|
|
884
890
|
/** User id. */
|
|
885
891
|
userId: string;
|
|
@@ -1116,7 +1122,7 @@ export type GetOfferResponse = {
|
|
|
1116
1122
|
/** Wallet id. */
|
|
1117
1123
|
walletId: string;
|
|
1118
1124
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
1119
|
-
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2";
|
|
1125
|
+
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
1120
1126
|
metadata: {
|
|
1121
1127
|
asset: {
|
|
1122
1128
|
symbol?: string | undefined;
|
|
@@ -1154,6 +1160,7 @@ export type GetSignatureResponse = {
|
|
|
1154
1160
|
id: string;
|
|
1155
1161
|
/** Key id. */
|
|
1156
1162
|
keyId: string;
|
|
1163
|
+
/** The user who initiated the request. */
|
|
1157
1164
|
requester: {
|
|
1158
1165
|
/** User id. */
|
|
1159
1166
|
userId: string;
|
|
@@ -1383,6 +1390,7 @@ export type GetTransactionResponse = {
|
|
|
1383
1390
|
/** Wallet id. */
|
|
1384
1391
|
walletId: string;
|
|
1385
1392
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
1393
|
+
/** The user who initiated the request. */
|
|
1386
1394
|
requester: {
|
|
1387
1395
|
/** User id. */
|
|
1388
1396
|
userId: string;
|
|
@@ -1500,11 +1508,11 @@ export type GetTransferResponse = {
|
|
|
1500
1508
|
walletId: string;
|
|
1501
1509
|
/** The blockchain network this transfer is on. */
|
|
1502
1510
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
1503
|
-
/** The user
|
|
1511
|
+
/** The user who initiated the request. */
|
|
1504
1512
|
requester: {
|
|
1505
|
-
/**
|
|
1513
|
+
/** User id. */
|
|
1506
1514
|
userId: string;
|
|
1507
|
-
/**
|
|
1515
|
+
/** Token id. */
|
|
1508
1516
|
tokenId?: string | undefined;
|
|
1509
1517
|
};
|
|
1510
1518
|
requestBody: {
|
|
@@ -1514,7 +1522,7 @@ export type GetTransferResponse = {
|
|
|
1514
1522
|
/** The amount of native tokens to transfer in minimum denomination. */
|
|
1515
1523
|
amount: string;
|
|
1516
1524
|
/** The memo or destination tag (supported networks only). */
|
|
1517
|
-
memo?: string | undefined;
|
|
1525
|
+
memo?: (string | "") | undefined;
|
|
1518
1526
|
/** The priority that determines the fees paid for the transfer. All EVM compatible networks and Bitcoin support `priority`. Not supported for other networks. It uses the [estimate fees](https://docs.dfns.co/api-reference/networks/estimate-fees) API to calculate the transfer fees. When not specified, defaults to `Standard` priority. */
|
|
1519
1527
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
1520
1528
|
/** Whether to create the destination account on chains that require account creation (e.g., Stellar). Only valid for chains that require the receiver account to exist before transfer. */
|
|
@@ -1542,15 +1550,13 @@ export type GetTransferResponse = {
|
|
|
1542
1550
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
1543
1551
|
feeSponsorId?: string | undefined;
|
|
1544
1552
|
} | {
|
|
1545
|
-
kind: "
|
|
1546
|
-
/** The
|
|
1547
|
-
|
|
1553
|
+
kind: "Aip21";
|
|
1554
|
+
/** The asset metadata address. */
|
|
1555
|
+
metadata: string;
|
|
1548
1556
|
/** The destination address. */
|
|
1549
1557
|
to: string;
|
|
1550
1558
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
1551
1559
|
amount: string;
|
|
1552
|
-
/** The memo. */
|
|
1553
|
-
memo?: string | undefined;
|
|
1554
1560
|
/** 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)) */
|
|
1555
1561
|
externalId?: string | undefined;
|
|
1556
1562
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -1570,13 +1576,15 @@ export type GetTransferResponse = {
|
|
|
1570
1576
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
1571
1577
|
feeSponsorId?: string | undefined;
|
|
1572
1578
|
} | {
|
|
1573
|
-
kind: "
|
|
1574
|
-
/** The asset
|
|
1575
|
-
|
|
1579
|
+
kind: "Asa";
|
|
1580
|
+
/** The token asset id. */
|
|
1581
|
+
assetId: string;
|
|
1576
1582
|
/** The destination address. */
|
|
1577
1583
|
to: string;
|
|
1578
1584
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
1579
1585
|
amount: string;
|
|
1586
|
+
/** The memo. */
|
|
1587
|
+
memo?: (string | "") | undefined;
|
|
1580
1588
|
/** 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)) */
|
|
1581
1589
|
externalId?: string | undefined;
|
|
1582
1590
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -1677,6 +1685,34 @@ export type GetTransferResponse = {
|
|
|
1677
1685
|
}) | undefined;
|
|
1678
1686
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
1679
1687
|
feeSponsorId?: string | undefined;
|
|
1688
|
+
} | {
|
|
1689
|
+
kind: "Cis7";
|
|
1690
|
+
/** The destination address. */
|
|
1691
|
+
to: string;
|
|
1692
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
1693
|
+
amount: string;
|
|
1694
|
+
/** The Cis7 token identifier. */
|
|
1695
|
+
tokenId: string;
|
|
1696
|
+
/** The memo or destination tag. */
|
|
1697
|
+
memo?: (string | "") | undefined;
|
|
1698
|
+
/** 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)) */
|
|
1699
|
+
externalId?: string | undefined;
|
|
1700
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
1701
|
+
travelRule?: ({
|
|
1702
|
+
kind: "Notabene";
|
|
1703
|
+
beneficiaryVASPdid?: string | undefined;
|
|
1704
|
+
beneficiaryProof?: {
|
|
1705
|
+
[x: string]: any;
|
|
1706
|
+
} | undefined;
|
|
1707
|
+
originator: {
|
|
1708
|
+
[x: string]: any;
|
|
1709
|
+
};
|
|
1710
|
+
beneficiary: {
|
|
1711
|
+
[x: string]: any;
|
|
1712
|
+
};
|
|
1713
|
+
}) | undefined;
|
|
1714
|
+
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
1715
|
+
feeSponsorId?: string | undefined;
|
|
1680
1716
|
} | {
|
|
1681
1717
|
kind: "Coin";
|
|
1682
1718
|
/** The coin identifier. */
|
|
@@ -1767,7 +1803,7 @@ export type GetTransferResponse = {
|
|
|
1767
1803
|
/** The destination address. */
|
|
1768
1804
|
to: string;
|
|
1769
1805
|
/** The memo. */
|
|
1770
|
-
memo?: string | undefined;
|
|
1806
|
+
memo?: (string | "") | undefined;
|
|
1771
1807
|
/** 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)) */
|
|
1772
1808
|
externalId?: string | undefined;
|
|
1773
1809
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -1795,7 +1831,7 @@ export type GetTransferResponse = {
|
|
|
1795
1831
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
1796
1832
|
amount: string;
|
|
1797
1833
|
/** The memo. */
|
|
1798
|
-
memo?: string | undefined;
|
|
1834
|
+
memo?: (string | "") | undefined;
|
|
1799
1835
|
/** 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)) */
|
|
1800
1836
|
externalId?: string | undefined;
|
|
1801
1837
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -1815,14 +1851,16 @@ export type GetTransferResponse = {
|
|
|
1815
1851
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
1816
1852
|
feeSponsorId?: string | undefined;
|
|
1817
1853
|
} | {
|
|
1818
|
-
kind: "
|
|
1854
|
+
kind: "Iou";
|
|
1855
|
+
/** The IOU currency code. */
|
|
1856
|
+
currency: string;
|
|
1857
|
+
/** The IOU issuer address. */
|
|
1858
|
+
issuer: string;
|
|
1819
1859
|
/** The destination address. */
|
|
1820
1860
|
to: string;
|
|
1821
1861
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
1822
1862
|
amount: string;
|
|
1823
|
-
/** The
|
|
1824
|
-
tokenId: string;
|
|
1825
|
-
/** The memo or destination tag. */
|
|
1863
|
+
/** The memo or destination tag for XRPL transactions. */
|
|
1826
1864
|
memo?: string | undefined;
|
|
1827
1865
|
/** 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)) */
|
|
1828
1866
|
externalId?: string | undefined;
|
|
@@ -1853,7 +1891,7 @@ export type GetTransferResponse = {
|
|
|
1853
1891
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
1854
1892
|
amount: string;
|
|
1855
1893
|
/** The memo or destination tag. */
|
|
1856
|
-
memo?: string | undefined;
|
|
1894
|
+
memo?: (string | "") | undefined;
|
|
1857
1895
|
/** 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)) */
|
|
1858
1896
|
externalId?: string | undefined;
|
|
1859
1897
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -1961,7 +1999,7 @@ export type GetTransferResponse = {
|
|
|
1961
1999
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
1962
2000
|
amount: string;
|
|
1963
2001
|
/** The memo or destination tag. */
|
|
1964
|
-
memo?: string | undefined;
|
|
2002
|
+
memo?: (string | "") | undefined;
|
|
1965
2003
|
/** 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)) */
|
|
1966
2004
|
externalId?: string | undefined;
|
|
1967
2005
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -2058,6 +2096,34 @@ export type GetTransferResponse = {
|
|
|
2058
2096
|
}) | undefined;
|
|
2059
2097
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
2060
2098
|
feeSponsorId?: string | undefined;
|
|
2099
|
+
} | {
|
|
2100
|
+
kind: "Xls33";
|
|
2101
|
+
/** The XLS-33 issuance identifier. */
|
|
2102
|
+
issuanceId: string;
|
|
2103
|
+
/** The destination address. */
|
|
2104
|
+
to: string;
|
|
2105
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
2106
|
+
amount: string;
|
|
2107
|
+
/** The memo or destination tag for XRPL transactions. */
|
|
2108
|
+
memo?: string | undefined;
|
|
2109
|
+
/** 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
|
+
externalId?: string | undefined;
|
|
2111
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
2112
|
+
travelRule?: ({
|
|
2113
|
+
kind: "Notabene";
|
|
2114
|
+
beneficiaryVASPdid?: string | undefined;
|
|
2115
|
+
beneficiaryProof?: {
|
|
2116
|
+
[x: string]: any;
|
|
2117
|
+
} | undefined;
|
|
2118
|
+
originator: {
|
|
2119
|
+
[x: string]: any;
|
|
2120
|
+
};
|
|
2121
|
+
beneficiary: {
|
|
2122
|
+
[x: string]: any;
|
|
2123
|
+
};
|
|
2124
|
+
}) | undefined;
|
|
2125
|
+
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
2126
|
+
feeSponsorId?: string | undefined;
|
|
2061
2127
|
};
|
|
2062
2128
|
/** Additional metadata about the transfered asset. */
|
|
2063
2129
|
metadata: {
|
|
@@ -2117,9 +2183,9 @@ export type GetWalletResponse = {
|
|
|
2117
2183
|
signingKey: {
|
|
2118
2184
|
/** Key id. */
|
|
2119
2185
|
id: string;
|
|
2120
|
-
/**
|
|
2186
|
+
/** The cryptographic scheme for the key. */
|
|
2121
2187
|
scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
|
|
2122
|
-
/**
|
|
2188
|
+
/** The elliptic curve for the key. */
|
|
2123
2189
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
2124
2190
|
/** Hex-encoded value of the public key. */
|
|
2125
2191
|
publicKey: string;
|
|
@@ -2170,6 +2236,10 @@ export type GetWalletAssetsResponse = {
|
|
|
2170
2236
|
} | {
|
|
2171
2237
|
kind: "Hts";
|
|
2172
2238
|
tokenId: string;
|
|
2239
|
+
} | {
|
|
2240
|
+
kind: "Iou";
|
|
2241
|
+
currency: string;
|
|
2242
|
+
issuer: string;
|
|
2173
2243
|
} | {
|
|
2174
2244
|
kind: "Cip56";
|
|
2175
2245
|
instrumentId: string;
|
|
@@ -2177,6 +2247,9 @@ export type GetWalletAssetsResponse = {
|
|
|
2177
2247
|
} | {
|
|
2178
2248
|
kind: "Coin" | "LockedCoin";
|
|
2179
2249
|
coin: string;
|
|
2250
|
+
} | {
|
|
2251
|
+
kind: "Xls33";
|
|
2252
|
+
issuanceId: string;
|
|
2180
2253
|
} | {
|
|
2181
2254
|
kind: "Asset";
|
|
2182
2255
|
assetId: string;
|
|
@@ -2224,7 +2297,7 @@ export type GetWalletHistoryQuery = {
|
|
|
2224
2297
|
/** Transfer direction. */
|
|
2225
2298
|
direction?: ("In" | "Out") | undefined;
|
|
2226
2299
|
/** Blockchain event kind. */
|
|
2227
|
-
kind?: ("NativeTransfer" | "Aip21Transfer" | "AsaTransfer" | "AssetTransfer" | "Cip56Transfer" | "Cis2Transfer" | "CoinTransfer" | "Erc20Transfer" | "Erc721Transfer" | "Hip17Transfer" | "HtsTransfer" | "LockedCoinTransfer" | "
|
|
2300
|
+
kind?: ("NativeTransfer" | "Aip21Transfer" | "AsaTransfer" | "AssetTransfer" | "Cip56Transfer" | "Cis2Transfer" | "Cis7Transfer" | "CoinTransfer" | "Erc20Transfer" | "Erc721Transfer" | "Hip17Transfer" | "HtsTransfer" | "IouTransfer" | "LockedCoinTransfer" | "Sep41Transfer" | "Snip2Transfer" | "Snip3Transfer" | "SplTransfer" | "Spl2022Transfer" | "Tep74Transfer" | "Trc10Transfer" | "Trc20Transfer" | "Trc721Transfer" | "UtxoTransfer" | "Xls33Transfer") | undefined;
|
|
2228
2301
|
contract?: string | undefined;
|
|
2229
2302
|
};
|
|
2230
2303
|
export type GetWalletHistoryResponse = {
|
|
@@ -2709,6 +2782,46 @@ export type GetWalletHistoryResponse = {
|
|
|
2709
2782
|
tos: string[];
|
|
2710
2783
|
value: string;
|
|
2711
2784
|
fee?: string | undefined;
|
|
2785
|
+
} | {
|
|
2786
|
+
walletId: string;
|
|
2787
|
+
direction: "In" | "Out";
|
|
2788
|
+
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
2789
|
+
blockNumber: number;
|
|
2790
|
+
txHash: string;
|
|
2791
|
+
index?: string | undefined;
|
|
2792
|
+
timestamp: string;
|
|
2793
|
+
metadata: {
|
|
2794
|
+
asset: {
|
|
2795
|
+
symbol?: string | undefined;
|
|
2796
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
2797
|
+
decimals?: number | undefined;
|
|
2798
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
2799
|
+
verified?: boolean | undefined;
|
|
2800
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
2801
|
+
quotes?: {
|
|
2802
|
+
[x: string]: number;
|
|
2803
|
+
} | undefined;
|
|
2804
|
+
};
|
|
2805
|
+
fee?: {
|
|
2806
|
+
symbol?: string | undefined;
|
|
2807
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
2808
|
+
decimals?: number | undefined;
|
|
2809
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
2810
|
+
verified?: boolean | undefined;
|
|
2811
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
2812
|
+
quotes?: {
|
|
2813
|
+
[x: string]: number;
|
|
2814
|
+
} | undefined;
|
|
2815
|
+
} | undefined;
|
|
2816
|
+
};
|
|
2817
|
+
kind: "IouTransfer";
|
|
2818
|
+
currency: string;
|
|
2819
|
+
issuer: string;
|
|
2820
|
+
from?: string | undefined;
|
|
2821
|
+
to?: string | undefined;
|
|
2822
|
+
value: string;
|
|
2823
|
+
fee?: string | undefined;
|
|
2824
|
+
memo?: string | undefined;
|
|
2712
2825
|
} | {
|
|
2713
2826
|
walletId: string;
|
|
2714
2827
|
direction: "In" | "Out";
|
|
@@ -2747,6 +2860,45 @@ export type GetWalletHistoryResponse = {
|
|
|
2747
2860
|
tos?: string[] | undefined;
|
|
2748
2861
|
value: string;
|
|
2749
2862
|
fee?: string | undefined;
|
|
2863
|
+
} | {
|
|
2864
|
+
walletId: string;
|
|
2865
|
+
direction: "In" | "Out";
|
|
2866
|
+
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
2867
|
+
blockNumber: number;
|
|
2868
|
+
txHash: string;
|
|
2869
|
+
index?: string | undefined;
|
|
2870
|
+
timestamp: string;
|
|
2871
|
+
metadata: {
|
|
2872
|
+
asset: {
|
|
2873
|
+
symbol?: string | undefined;
|
|
2874
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
2875
|
+
decimals?: number | undefined;
|
|
2876
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
2877
|
+
verified?: boolean | undefined;
|
|
2878
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
2879
|
+
quotes?: {
|
|
2880
|
+
[x: string]: number;
|
|
2881
|
+
} | undefined;
|
|
2882
|
+
};
|
|
2883
|
+
fee?: {
|
|
2884
|
+
symbol?: string | undefined;
|
|
2885
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
2886
|
+
decimals?: number | undefined;
|
|
2887
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
2888
|
+
verified?: boolean | undefined;
|
|
2889
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
2890
|
+
quotes?: {
|
|
2891
|
+
[x: string]: number;
|
|
2892
|
+
} | undefined;
|
|
2893
|
+
} | undefined;
|
|
2894
|
+
};
|
|
2895
|
+
kind: "Xls33Transfer";
|
|
2896
|
+
issuanceId: string;
|
|
2897
|
+
from?: string | undefined;
|
|
2898
|
+
to?: string | undefined;
|
|
2899
|
+
value: string;
|
|
2900
|
+
fee?: string | undefined;
|
|
2901
|
+
memo?: string | undefined;
|
|
2750
2902
|
} | {
|
|
2751
2903
|
walletId: string;
|
|
2752
2904
|
direction: "In" | "Out";
|
|
@@ -3150,8 +3302,6 @@ export type ImportWalletBody = {
|
|
|
3150
3302
|
}[];
|
|
3151
3303
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
|
|
3152
3304
|
externalId?: string | undefined;
|
|
3153
|
-
/** Id of the validator on which the wallet is created */
|
|
3154
|
-
validatorId?: string | undefined;
|
|
3155
3305
|
};
|
|
3156
3306
|
export type ImportWalletResponse = {
|
|
3157
3307
|
/** ID of the wallet. */
|
|
@@ -3164,9 +3314,9 @@ export type ImportWalletResponse = {
|
|
|
3164
3314
|
signingKey: {
|
|
3165
3315
|
/** Key id. */
|
|
3166
3316
|
id: string;
|
|
3167
|
-
/**
|
|
3317
|
+
/** The cryptographic scheme for the key. */
|
|
3168
3318
|
scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
|
|
3169
|
-
/**
|
|
3319
|
+
/** The elliptic curve for the key. */
|
|
3170
3320
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
3171
3321
|
/** Hex-encoded value of the public key. */
|
|
3172
3322
|
publicKey: string;
|
|
@@ -3213,7 +3363,7 @@ export type ListOffersResponse = {
|
|
|
3213
3363
|
/** Wallet id. */
|
|
3214
3364
|
walletId: string;
|
|
3215
3365
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
3216
|
-
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2";
|
|
3366
|
+
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
3217
3367
|
metadata: {
|
|
3218
3368
|
asset: {
|
|
3219
3369
|
symbol?: string | undefined;
|
|
@@ -3294,6 +3444,7 @@ export type ListSignaturesResponse = {
|
|
|
3294
3444
|
id: string;
|
|
3295
3445
|
/** Key id. */
|
|
3296
3446
|
keyId: string;
|
|
3447
|
+
/** The user who initiated the request. */
|
|
3297
3448
|
requester: {
|
|
3298
3449
|
/** User id. */
|
|
3299
3450
|
userId: string;
|
|
@@ -3536,6 +3687,7 @@ export type ListTransactionsResponse = {
|
|
|
3536
3687
|
/** Wallet id. */
|
|
3537
3688
|
walletId: string;
|
|
3538
3689
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
3690
|
+
/** The user who initiated the request. */
|
|
3539
3691
|
requester: {
|
|
3540
3692
|
/** User id. */
|
|
3541
3693
|
userId: string;
|
|
@@ -3666,11 +3818,11 @@ export type ListTransfersResponse = {
|
|
|
3666
3818
|
walletId: string;
|
|
3667
3819
|
/** The blockchain network this transfer is on. */
|
|
3668
3820
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
3669
|
-
/** The user
|
|
3821
|
+
/** The user who initiated the request. */
|
|
3670
3822
|
requester: {
|
|
3671
|
-
/**
|
|
3823
|
+
/** User id. */
|
|
3672
3824
|
userId: string;
|
|
3673
|
-
/**
|
|
3825
|
+
/** Token id. */
|
|
3674
3826
|
tokenId?: string | undefined;
|
|
3675
3827
|
};
|
|
3676
3828
|
requestBody: {
|
|
@@ -3680,7 +3832,7 @@ export type ListTransfersResponse = {
|
|
|
3680
3832
|
/** The amount of native tokens to transfer in minimum denomination. */
|
|
3681
3833
|
amount: string;
|
|
3682
3834
|
/** The memo or destination tag (supported networks only). */
|
|
3683
|
-
memo?: string | undefined;
|
|
3835
|
+
memo?: (string | "") | undefined;
|
|
3684
3836
|
/** The priority that determines the fees paid for the transfer. All EVM compatible networks and Bitcoin support `priority`. Not supported for other networks. It uses the [estimate fees](https://docs.dfns.co/api-reference/networks/estimate-fees) API to calculate the transfer fees. When not specified, defaults to `Standard` priority. */
|
|
3685
3837
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
3686
3838
|
/** Whether to create the destination account on chains that require account creation (e.g., Stellar). Only valid for chains that require the receiver account to exist before transfer. */
|
|
@@ -3708,15 +3860,13 @@ export type ListTransfersResponse = {
|
|
|
3708
3860
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
3709
3861
|
feeSponsorId?: string | undefined;
|
|
3710
3862
|
} | {
|
|
3711
|
-
kind: "
|
|
3712
|
-
/** The
|
|
3713
|
-
|
|
3863
|
+
kind: "Aip21";
|
|
3864
|
+
/** The asset metadata address. */
|
|
3865
|
+
metadata: string;
|
|
3714
3866
|
/** The destination address. */
|
|
3715
3867
|
to: string;
|
|
3716
3868
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
3717
3869
|
amount: string;
|
|
3718
|
-
/** The memo. */
|
|
3719
|
-
memo?: string | undefined;
|
|
3720
3870
|
/** 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)) */
|
|
3721
3871
|
externalId?: string | undefined;
|
|
3722
3872
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -3736,13 +3886,15 @@ export type ListTransfersResponse = {
|
|
|
3736
3886
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
3737
3887
|
feeSponsorId?: string | undefined;
|
|
3738
3888
|
} | {
|
|
3739
|
-
kind: "
|
|
3740
|
-
/** The asset
|
|
3741
|
-
|
|
3889
|
+
kind: "Asa";
|
|
3890
|
+
/** The token asset id. */
|
|
3891
|
+
assetId: string;
|
|
3742
3892
|
/** The destination address. */
|
|
3743
3893
|
to: string;
|
|
3744
3894
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
3745
3895
|
amount: string;
|
|
3896
|
+
/** The memo. */
|
|
3897
|
+
memo?: (string | "") | undefined;
|
|
3746
3898
|
/** 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)) */
|
|
3747
3899
|
externalId?: string | undefined;
|
|
3748
3900
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -3843,6 +3995,34 @@ export type ListTransfersResponse = {
|
|
|
3843
3995
|
}) | undefined;
|
|
3844
3996
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
3845
3997
|
feeSponsorId?: string | undefined;
|
|
3998
|
+
} | {
|
|
3999
|
+
kind: "Cis7";
|
|
4000
|
+
/** The destination address. */
|
|
4001
|
+
to: string;
|
|
4002
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
4003
|
+
amount: string;
|
|
4004
|
+
/** The Cis7 token identifier. */
|
|
4005
|
+
tokenId: string;
|
|
4006
|
+
/** The memo or destination tag. */
|
|
4007
|
+
memo?: (string | "") | undefined;
|
|
4008
|
+
/** 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)) */
|
|
4009
|
+
externalId?: string | undefined;
|
|
4010
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
4011
|
+
travelRule?: ({
|
|
4012
|
+
kind: "Notabene";
|
|
4013
|
+
beneficiaryVASPdid?: string | undefined;
|
|
4014
|
+
beneficiaryProof?: {
|
|
4015
|
+
[x: string]: any;
|
|
4016
|
+
} | undefined;
|
|
4017
|
+
originator: {
|
|
4018
|
+
[x: string]: any;
|
|
4019
|
+
};
|
|
4020
|
+
beneficiary: {
|
|
4021
|
+
[x: string]: any;
|
|
4022
|
+
};
|
|
4023
|
+
}) | undefined;
|
|
4024
|
+
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
4025
|
+
feeSponsorId?: string | undefined;
|
|
3846
4026
|
} | {
|
|
3847
4027
|
kind: "Coin";
|
|
3848
4028
|
/** The coin identifier. */
|
|
@@ -3933,7 +4113,7 @@ export type ListTransfersResponse = {
|
|
|
3933
4113
|
/** The destination address. */
|
|
3934
4114
|
to: string;
|
|
3935
4115
|
/** The memo. */
|
|
3936
|
-
memo?: string | undefined;
|
|
4116
|
+
memo?: (string | "") | undefined;
|
|
3937
4117
|
/** 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)) */
|
|
3938
4118
|
externalId?: string | undefined;
|
|
3939
4119
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -3961,7 +4141,7 @@ export type ListTransfersResponse = {
|
|
|
3961
4141
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
3962
4142
|
amount: string;
|
|
3963
4143
|
/** The memo. */
|
|
3964
|
-
memo?: string | undefined;
|
|
4144
|
+
memo?: (string | "") | undefined;
|
|
3965
4145
|
/** 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)) */
|
|
3966
4146
|
externalId?: string | undefined;
|
|
3967
4147
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -3981,14 +4161,16 @@ export type ListTransfersResponse = {
|
|
|
3981
4161
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
3982
4162
|
feeSponsorId?: string | undefined;
|
|
3983
4163
|
} | {
|
|
3984
|
-
kind: "
|
|
4164
|
+
kind: "Iou";
|
|
4165
|
+
/** The IOU currency code. */
|
|
4166
|
+
currency: string;
|
|
4167
|
+
/** The IOU issuer address. */
|
|
4168
|
+
issuer: string;
|
|
3985
4169
|
/** The destination address. */
|
|
3986
4170
|
to: string;
|
|
3987
4171
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
3988
4172
|
amount: string;
|
|
3989
|
-
/** The
|
|
3990
|
-
tokenId: string;
|
|
3991
|
-
/** The memo or destination tag. */
|
|
4173
|
+
/** The memo or destination tag for XRPL transactions. */
|
|
3992
4174
|
memo?: string | undefined;
|
|
3993
4175
|
/** 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)) */
|
|
3994
4176
|
externalId?: string | undefined;
|
|
@@ -4019,7 +4201,7 @@ export type ListTransfersResponse = {
|
|
|
4019
4201
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4020
4202
|
amount: string;
|
|
4021
4203
|
/** The memo or destination tag. */
|
|
4022
|
-
memo?: string | undefined;
|
|
4204
|
+
memo?: (string | "") | undefined;
|
|
4023
4205
|
/** 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)) */
|
|
4024
4206
|
externalId?: string | undefined;
|
|
4025
4207
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4127,7 +4309,7 @@ export type ListTransfersResponse = {
|
|
|
4127
4309
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4128
4310
|
amount: string;
|
|
4129
4311
|
/** The memo or destination tag. */
|
|
4130
|
-
memo?: string | undefined;
|
|
4312
|
+
memo?: (string | "") | undefined;
|
|
4131
4313
|
/** 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)) */
|
|
4132
4314
|
externalId?: string | undefined;
|
|
4133
4315
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4224,6 +4406,34 @@ export type ListTransfersResponse = {
|
|
|
4224
4406
|
}) | undefined;
|
|
4225
4407
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
4226
4408
|
feeSponsorId?: string | undefined;
|
|
4409
|
+
} | {
|
|
4410
|
+
kind: "Xls33";
|
|
4411
|
+
/** The XLS-33 issuance identifier. */
|
|
4412
|
+
issuanceId: string;
|
|
4413
|
+
/** The destination address. */
|
|
4414
|
+
to: string;
|
|
4415
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
4416
|
+
amount: string;
|
|
4417
|
+
/** The memo or destination tag for XRPL transactions. */
|
|
4418
|
+
memo?: string | undefined;
|
|
4419
|
+
/** 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
|
+
externalId?: string | undefined;
|
|
4421
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
4422
|
+
travelRule?: ({
|
|
4423
|
+
kind: "Notabene";
|
|
4424
|
+
beneficiaryVASPdid?: string | undefined;
|
|
4425
|
+
beneficiaryProof?: {
|
|
4426
|
+
[x: string]: any;
|
|
4427
|
+
} | undefined;
|
|
4428
|
+
originator: {
|
|
4429
|
+
[x: string]: any;
|
|
4430
|
+
};
|
|
4431
|
+
beneficiary: {
|
|
4432
|
+
[x: string]: any;
|
|
4433
|
+
};
|
|
4434
|
+
}) | undefined;
|
|
4435
|
+
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
4436
|
+
feeSponsorId?: string | undefined;
|
|
4227
4437
|
};
|
|
4228
4438
|
/** Additional metadata about the transfered asset. */
|
|
4229
4439
|
metadata: {
|
|
@@ -4300,9 +4510,9 @@ export type ListWalletsResponse = {
|
|
|
4300
4510
|
signingKey: {
|
|
4301
4511
|
/** Key id. */
|
|
4302
4512
|
id: string;
|
|
4303
|
-
/**
|
|
4513
|
+
/** The cryptographic scheme for the key. */
|
|
4304
4514
|
scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
|
|
4305
|
-
/**
|
|
4515
|
+
/** The elliptic curve for the key. */
|
|
4306
4516
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
4307
4517
|
/** Hex-encoded value of the public key. */
|
|
4308
4518
|
publicKey: string;
|
|
@@ -4346,7 +4556,7 @@ export type RejectOfferResponse = {
|
|
|
4346
4556
|
/** Wallet id. */
|
|
4347
4557
|
walletId: string;
|
|
4348
4558
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
4349
|
-
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2";
|
|
4559
|
+
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
4350
4560
|
metadata: {
|
|
4351
4561
|
asset: {
|
|
4352
4562
|
symbol?: string | undefined;
|
|
@@ -4385,6 +4595,7 @@ export type SpeedUpTransactionResponse = {
|
|
|
4385
4595
|
/** Wallet id. */
|
|
4386
4596
|
walletId: string;
|
|
4387
4597
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
4598
|
+
/** The user who initiated the request. */
|
|
4388
4599
|
requester: {
|
|
4389
4600
|
/** User id. */
|
|
4390
4601
|
userId: string;
|
|
@@ -4501,6 +4712,7 @@ export type SpeedUpTransferResponse = {
|
|
|
4501
4712
|
/** Wallet id. */
|
|
4502
4713
|
walletId: string;
|
|
4503
4714
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
4715
|
+
/** The user who initiated the request. */
|
|
4504
4716
|
requester: {
|
|
4505
4717
|
/** User id. */
|
|
4506
4718
|
userId: string;
|
|
@@ -4622,7 +4834,7 @@ export type TransferAssetBody = {
|
|
|
4622
4834
|
/** The amount of native tokens to transfer in minimum denomination. */
|
|
4623
4835
|
amount: string;
|
|
4624
4836
|
/** The memo or destination tag (supported networks only). */
|
|
4625
|
-
memo?: string | undefined;
|
|
4837
|
+
memo?: (string | "") | undefined;
|
|
4626
4838
|
/** The priority that determines the fees paid for the transfer. All EVM compatible networks and Bitcoin support `priority`. Not supported for other networks. It uses the [estimate fees](https://docs.dfns.co/api-reference/networks/estimate-fees) API to calculate the transfer fees. When not specified, defaults to `Standard` priority. */
|
|
4627
4839
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
4628
4840
|
/** Whether to create the destination account on chains that require account creation (e.g., Stellar). Only valid for chains that require the receiver account to exist before transfer. */
|
|
@@ -4650,15 +4862,13 @@ export type TransferAssetBody = {
|
|
|
4650
4862
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
4651
4863
|
feeSponsorId?: string | undefined;
|
|
4652
4864
|
} | {
|
|
4653
|
-
kind: "
|
|
4654
|
-
/** The
|
|
4655
|
-
|
|
4865
|
+
kind: "Aip21";
|
|
4866
|
+
/** The asset metadata address. */
|
|
4867
|
+
metadata: string;
|
|
4656
4868
|
/** The destination address. */
|
|
4657
4869
|
to: string;
|
|
4658
4870
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4659
4871
|
amount: string;
|
|
4660
|
-
/** The memo. */
|
|
4661
|
-
memo?: string | undefined;
|
|
4662
4872
|
/** 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)) */
|
|
4663
4873
|
externalId?: string | undefined;
|
|
4664
4874
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4678,13 +4888,15 @@ export type TransferAssetBody = {
|
|
|
4678
4888
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
4679
4889
|
feeSponsorId?: string | undefined;
|
|
4680
4890
|
} | {
|
|
4681
|
-
kind: "
|
|
4682
|
-
/** The asset
|
|
4683
|
-
|
|
4891
|
+
kind: "Asa";
|
|
4892
|
+
/** The token asset id. */
|
|
4893
|
+
assetId: string;
|
|
4684
4894
|
/** The destination address. */
|
|
4685
4895
|
to: string;
|
|
4686
4896
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4687
4897
|
amount: string;
|
|
4898
|
+
/** The memo. */
|
|
4899
|
+
memo?: (string | "") | undefined;
|
|
4688
4900
|
/** 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)) */
|
|
4689
4901
|
externalId?: string | undefined;
|
|
4690
4902
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4785,6 +4997,34 @@ export type TransferAssetBody = {
|
|
|
4785
4997
|
}) | undefined;
|
|
4786
4998
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
4787
4999
|
feeSponsorId?: string | undefined;
|
|
5000
|
+
} | {
|
|
5001
|
+
kind: "Cis7";
|
|
5002
|
+
/** The destination address. */
|
|
5003
|
+
to: string;
|
|
5004
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
5005
|
+
amount: string;
|
|
5006
|
+
/** The Cis7 token identifier. */
|
|
5007
|
+
tokenId: string;
|
|
5008
|
+
/** The memo or destination tag. */
|
|
5009
|
+
memo?: (string | "") | undefined;
|
|
5010
|
+
/** 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)) */
|
|
5011
|
+
externalId?: string | undefined;
|
|
5012
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
5013
|
+
travelRule?: ({
|
|
5014
|
+
kind: "Notabene";
|
|
5015
|
+
beneficiaryVASPdid?: string | undefined;
|
|
5016
|
+
beneficiaryProof?: {
|
|
5017
|
+
[x: string]: any;
|
|
5018
|
+
} | undefined;
|
|
5019
|
+
originator: {
|
|
5020
|
+
[x: string]: any;
|
|
5021
|
+
};
|
|
5022
|
+
beneficiary: {
|
|
5023
|
+
[x: string]: any;
|
|
5024
|
+
};
|
|
5025
|
+
}) | undefined;
|
|
5026
|
+
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
5027
|
+
feeSponsorId?: string | undefined;
|
|
4788
5028
|
} | {
|
|
4789
5029
|
kind: "Coin";
|
|
4790
5030
|
/** The coin identifier. */
|
|
@@ -4875,7 +5115,7 @@ export type TransferAssetBody = {
|
|
|
4875
5115
|
/** The destination address. */
|
|
4876
5116
|
to: string;
|
|
4877
5117
|
/** The memo. */
|
|
4878
|
-
memo?: string | undefined;
|
|
5118
|
+
memo?: (string | "") | undefined;
|
|
4879
5119
|
/** 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)) */
|
|
4880
5120
|
externalId?: string | undefined;
|
|
4881
5121
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4903,7 +5143,7 @@ export type TransferAssetBody = {
|
|
|
4903
5143
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4904
5144
|
amount: string;
|
|
4905
5145
|
/** The memo. */
|
|
4906
|
-
memo?: string | undefined;
|
|
5146
|
+
memo?: (string | "") | undefined;
|
|
4907
5147
|
/** 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)) */
|
|
4908
5148
|
externalId?: string | undefined;
|
|
4909
5149
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4923,14 +5163,16 @@ export type TransferAssetBody = {
|
|
|
4923
5163
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
4924
5164
|
feeSponsorId?: string | undefined;
|
|
4925
5165
|
} | {
|
|
4926
|
-
kind: "
|
|
5166
|
+
kind: "Iou";
|
|
5167
|
+
/** The IOU currency code. */
|
|
5168
|
+
currency: string;
|
|
5169
|
+
/** The IOU issuer address. */
|
|
5170
|
+
issuer: string;
|
|
4927
5171
|
/** The destination address. */
|
|
4928
5172
|
to: string;
|
|
4929
5173
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4930
5174
|
amount: string;
|
|
4931
|
-
/** The
|
|
4932
|
-
tokenId: string;
|
|
4933
|
-
/** The memo or destination tag. */
|
|
5175
|
+
/** The memo or destination tag for XRPL transactions. */
|
|
4934
5176
|
memo?: string | undefined;
|
|
4935
5177
|
/** 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)) */
|
|
4936
5178
|
externalId?: string | undefined;
|
|
@@ -4961,7 +5203,7 @@ export type TransferAssetBody = {
|
|
|
4961
5203
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4962
5204
|
amount: string;
|
|
4963
5205
|
/** The memo or destination tag. */
|
|
4964
|
-
memo?: string | undefined;
|
|
5206
|
+
memo?: (string | "") | undefined;
|
|
4965
5207
|
/** 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)) */
|
|
4966
5208
|
externalId?: string | undefined;
|
|
4967
5209
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5069,7 +5311,7 @@ export type TransferAssetBody = {
|
|
|
5069
5311
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5070
5312
|
amount: string;
|
|
5071
5313
|
/** The memo or destination tag. */
|
|
5072
|
-
memo?: string | undefined;
|
|
5314
|
+
memo?: (string | "") | undefined;
|
|
5073
5315
|
/** 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)) */
|
|
5074
5316
|
externalId?: string | undefined;
|
|
5075
5317
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5166,6 +5408,34 @@ export type TransferAssetBody = {
|
|
|
5166
5408
|
}) | undefined;
|
|
5167
5409
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
5168
5410
|
feeSponsorId?: string | undefined;
|
|
5411
|
+
} | {
|
|
5412
|
+
kind: "Xls33";
|
|
5413
|
+
/** The XLS-33 issuance identifier. */
|
|
5414
|
+
issuanceId: string;
|
|
5415
|
+
/** The destination address. */
|
|
5416
|
+
to: string;
|
|
5417
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
5418
|
+
amount: string;
|
|
5419
|
+
/** The memo or destination tag for XRPL transactions. */
|
|
5420
|
+
memo?: string | undefined;
|
|
5421
|
+
/** 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
|
+
externalId?: string | undefined;
|
|
5423
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
5424
|
+
travelRule?: ({
|
|
5425
|
+
kind: "Notabene";
|
|
5426
|
+
beneficiaryVASPdid?: string | undefined;
|
|
5427
|
+
beneficiaryProof?: {
|
|
5428
|
+
[x: string]: any;
|
|
5429
|
+
} | undefined;
|
|
5430
|
+
originator: {
|
|
5431
|
+
[x: string]: any;
|
|
5432
|
+
};
|
|
5433
|
+
beneficiary: {
|
|
5434
|
+
[x: string]: any;
|
|
5435
|
+
};
|
|
5436
|
+
}) | undefined;
|
|
5437
|
+
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
5438
|
+
feeSponsorId?: string | undefined;
|
|
5169
5439
|
};
|
|
5170
5440
|
export type TransferAssetParams = {
|
|
5171
5441
|
/** The source wallet id (`wa-...`). */
|
|
@@ -5178,11 +5448,11 @@ export type TransferAssetResponse = {
|
|
|
5178
5448
|
walletId: string;
|
|
5179
5449
|
/** The blockchain network this transfer is on. */
|
|
5180
5450
|
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" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
|
|
5181
|
-
/** The user
|
|
5451
|
+
/** The user who initiated the request. */
|
|
5182
5452
|
requester: {
|
|
5183
|
-
/**
|
|
5453
|
+
/** User id. */
|
|
5184
5454
|
userId: string;
|
|
5185
|
-
/**
|
|
5455
|
+
/** Token id. */
|
|
5186
5456
|
tokenId?: string | undefined;
|
|
5187
5457
|
};
|
|
5188
5458
|
requestBody: {
|
|
@@ -5192,7 +5462,7 @@ export type TransferAssetResponse = {
|
|
|
5192
5462
|
/** The amount of native tokens to transfer in minimum denomination. */
|
|
5193
5463
|
amount: string;
|
|
5194
5464
|
/** The memo or destination tag (supported networks only). */
|
|
5195
|
-
memo?: string | undefined;
|
|
5465
|
+
memo?: (string | "") | undefined;
|
|
5196
5466
|
/** The priority that determines the fees paid for the transfer. All EVM compatible networks and Bitcoin support `priority`. Not supported for other networks. It uses the [estimate fees](https://docs.dfns.co/api-reference/networks/estimate-fees) API to calculate the transfer fees. When not specified, defaults to `Standard` priority. */
|
|
5197
5467
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
5198
5468
|
/** Whether to create the destination account on chains that require account creation (e.g., Stellar). Only valid for chains that require the receiver account to exist before transfer. */
|
|
@@ -5220,15 +5490,13 @@ export type TransferAssetResponse = {
|
|
|
5220
5490
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
5221
5491
|
feeSponsorId?: string | undefined;
|
|
5222
5492
|
} | {
|
|
5223
|
-
kind: "
|
|
5224
|
-
/** The
|
|
5225
|
-
|
|
5493
|
+
kind: "Aip21";
|
|
5494
|
+
/** The asset metadata address. */
|
|
5495
|
+
metadata: string;
|
|
5226
5496
|
/** The destination address. */
|
|
5227
5497
|
to: string;
|
|
5228
5498
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5229
5499
|
amount: string;
|
|
5230
|
-
/** The memo. */
|
|
5231
|
-
memo?: string | undefined;
|
|
5232
5500
|
/** 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)) */
|
|
5233
5501
|
externalId?: string | undefined;
|
|
5234
5502
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5248,13 +5516,15 @@ export type TransferAssetResponse = {
|
|
|
5248
5516
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
5249
5517
|
feeSponsorId?: string | undefined;
|
|
5250
5518
|
} | {
|
|
5251
|
-
kind: "
|
|
5252
|
-
/** The asset
|
|
5253
|
-
|
|
5519
|
+
kind: "Asa";
|
|
5520
|
+
/** The token asset id. */
|
|
5521
|
+
assetId: string;
|
|
5254
5522
|
/** The destination address. */
|
|
5255
5523
|
to: string;
|
|
5256
5524
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5257
5525
|
amount: string;
|
|
5526
|
+
/** The memo. */
|
|
5527
|
+
memo?: (string | "") | undefined;
|
|
5258
5528
|
/** 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)) */
|
|
5259
5529
|
externalId?: string | undefined;
|
|
5260
5530
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5355,6 +5625,34 @@ export type TransferAssetResponse = {
|
|
|
5355
5625
|
}) | undefined;
|
|
5356
5626
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
5357
5627
|
feeSponsorId?: string | undefined;
|
|
5628
|
+
} | {
|
|
5629
|
+
kind: "Cis7";
|
|
5630
|
+
/** The destination address. */
|
|
5631
|
+
to: string;
|
|
5632
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
5633
|
+
amount: string;
|
|
5634
|
+
/** The Cis7 token identifier. */
|
|
5635
|
+
tokenId: string;
|
|
5636
|
+
/** The memo or destination tag. */
|
|
5637
|
+
memo?: (string | "") | undefined;
|
|
5638
|
+
/** 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)) */
|
|
5639
|
+
externalId?: string | undefined;
|
|
5640
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
5641
|
+
travelRule?: ({
|
|
5642
|
+
kind: "Notabene";
|
|
5643
|
+
beneficiaryVASPdid?: string | undefined;
|
|
5644
|
+
beneficiaryProof?: {
|
|
5645
|
+
[x: string]: any;
|
|
5646
|
+
} | undefined;
|
|
5647
|
+
originator: {
|
|
5648
|
+
[x: string]: any;
|
|
5649
|
+
};
|
|
5650
|
+
beneficiary: {
|
|
5651
|
+
[x: string]: any;
|
|
5652
|
+
};
|
|
5653
|
+
}) | undefined;
|
|
5654
|
+
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
5655
|
+
feeSponsorId?: string | undefined;
|
|
5358
5656
|
} | {
|
|
5359
5657
|
kind: "Coin";
|
|
5360
5658
|
/** The coin identifier. */
|
|
@@ -5445,7 +5743,7 @@ export type TransferAssetResponse = {
|
|
|
5445
5743
|
/** The destination address. */
|
|
5446
5744
|
to: string;
|
|
5447
5745
|
/** The memo. */
|
|
5448
|
-
memo?: string | undefined;
|
|
5746
|
+
memo?: (string | "") | undefined;
|
|
5449
5747
|
/** 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)) */
|
|
5450
5748
|
externalId?: string | undefined;
|
|
5451
5749
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5473,7 +5771,7 @@ export type TransferAssetResponse = {
|
|
|
5473
5771
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5474
5772
|
amount: string;
|
|
5475
5773
|
/** The memo. */
|
|
5476
|
-
memo?: string | undefined;
|
|
5774
|
+
memo?: (string | "") | undefined;
|
|
5477
5775
|
/** 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)) */
|
|
5478
5776
|
externalId?: string | undefined;
|
|
5479
5777
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5493,14 +5791,16 @@ export type TransferAssetResponse = {
|
|
|
5493
5791
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
5494
5792
|
feeSponsorId?: string | undefined;
|
|
5495
5793
|
} | {
|
|
5496
|
-
kind: "
|
|
5794
|
+
kind: "Iou";
|
|
5795
|
+
/** The IOU currency code. */
|
|
5796
|
+
currency: string;
|
|
5797
|
+
/** The IOU issuer address. */
|
|
5798
|
+
issuer: string;
|
|
5497
5799
|
/** The destination address. */
|
|
5498
5800
|
to: string;
|
|
5499
5801
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5500
5802
|
amount: string;
|
|
5501
|
-
/** The
|
|
5502
|
-
tokenId: string;
|
|
5503
|
-
/** The memo or destination tag. */
|
|
5803
|
+
/** The memo or destination tag for XRPL transactions. */
|
|
5504
5804
|
memo?: string | undefined;
|
|
5505
5805
|
/** 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)) */
|
|
5506
5806
|
externalId?: string | undefined;
|
|
@@ -5531,7 +5831,7 @@ export type TransferAssetResponse = {
|
|
|
5531
5831
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5532
5832
|
amount: string;
|
|
5533
5833
|
/** The memo or destination tag. */
|
|
5534
|
-
memo?: string | undefined;
|
|
5834
|
+
memo?: (string | "") | undefined;
|
|
5535
5835
|
/** 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)) */
|
|
5536
5836
|
externalId?: string | undefined;
|
|
5537
5837
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5639,7 +5939,7 @@ export type TransferAssetResponse = {
|
|
|
5639
5939
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5640
5940
|
amount: string;
|
|
5641
5941
|
/** The memo or destination tag. */
|
|
5642
|
-
memo?: string | undefined;
|
|
5942
|
+
memo?: (string | "") | undefined;
|
|
5643
5943
|
/** 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)) */
|
|
5644
5944
|
externalId?: string | undefined;
|
|
5645
5945
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5736,6 +6036,34 @@ export type TransferAssetResponse = {
|
|
|
5736
6036
|
}) | undefined;
|
|
5737
6037
|
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
5738
6038
|
feeSponsorId?: string | undefined;
|
|
6039
|
+
} | {
|
|
6040
|
+
kind: "Xls33";
|
|
6041
|
+
/** The XLS-33 issuance identifier. */
|
|
6042
|
+
issuanceId: string;
|
|
6043
|
+
/** The destination address. */
|
|
6044
|
+
to: string;
|
|
6045
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
6046
|
+
amount: string;
|
|
6047
|
+
/** The memo or destination tag for XRPL transactions. */
|
|
6048
|
+
memo?: string | undefined;
|
|
6049
|
+
/** 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
|
+
externalId?: string | undefined;
|
|
6051
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
6052
|
+
travelRule?: ({
|
|
6053
|
+
kind: "Notabene";
|
|
6054
|
+
beneficiaryVASPdid?: string | undefined;
|
|
6055
|
+
beneficiaryProof?: {
|
|
6056
|
+
[x: string]: any;
|
|
6057
|
+
} | undefined;
|
|
6058
|
+
originator: {
|
|
6059
|
+
[x: string]: any;
|
|
6060
|
+
};
|
|
6061
|
+
beneficiary: {
|
|
6062
|
+
[x: string]: any;
|
|
6063
|
+
};
|
|
6064
|
+
}) | undefined;
|
|
6065
|
+
/** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
|
|
6066
|
+
feeSponsorId?: string | undefined;
|
|
5739
6067
|
};
|
|
5740
6068
|
/** Additional metadata about the transfered asset. */
|
|
5741
6069
|
metadata: {
|
|
@@ -5811,9 +6139,9 @@ export type UpdateWalletResponse = {
|
|
|
5811
6139
|
signingKey: {
|
|
5812
6140
|
/** Key id. */
|
|
5813
6141
|
id: string;
|
|
5814
|
-
/**
|
|
6142
|
+
/** The cryptographic scheme for the key. */
|
|
5815
6143
|
scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
|
|
5816
|
-
/**
|
|
6144
|
+
/** The elliptic curve for the key. */
|
|
5817
6145
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
5818
6146
|
/** Hex-encoded value of the public key. */
|
|
5819
6147
|
publicKey: string;
|