@dfns/sdk 0.8.10 → 0.8.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dfnsApiClient.d.ts +10 -8
- package/dfnsApiClient.js +16 -12
- package/dfnsDelegatedApiClient.d.ts +12 -2
- package/dfnsDelegatedApiClient.js +23 -3
- package/generated/keys/types.d.ts +72 -40
- package/generated/payouts/client.d.ts +10 -0
- package/generated/payouts/client.js +60 -0
- package/generated/payouts/delegatedClient.d.ts +13 -0
- package/generated/payouts/delegatedClient.js +89 -0
- package/generated/payouts/index.d.ts +3 -0
- package/generated/payouts/index.js +19 -0
- package/generated/payouts/types.d.ts +324 -0
- package/generated/payouts/types.js +2 -0
- package/generated/permissions/types.d.ts +2 -2
- package/generated/policies/types.d.ts +87 -57
- package/generated/wallets/types.d.ts +121 -81
- package/generated/webhooks/types.d.ts +9 -9
- package/package.json +1 -1
- package/types/agreements.d.ts +1 -0
- package/types/agreements.js +17 -0
- package/types/allocations.d.ts +1 -0
- package/types/allocations.js +17 -0
- package/types/payouts.d.ts +1 -0
- package/types/payouts.js +17 -0
- package/types/staking.d.ts +1 -0
- package/types/staking.js +17 -0
- package/types/swaps.d.ts +1 -0
- package/types/swaps.js +17 -0
|
@@ -422,7 +422,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
422
422
|
to: string;
|
|
423
423
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
424
424
|
amount: string;
|
|
425
|
-
/** The memo. */
|
|
425
|
+
/** The memo or destination tag. */
|
|
426
426
|
memo?: (string | "") | undefined;
|
|
427
427
|
/** 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)) */
|
|
428
428
|
externalId?: string | undefined;
|
|
@@ -641,7 +641,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
641
641
|
serialNumber: string;
|
|
642
642
|
/** The destination address. */
|
|
643
643
|
to: string;
|
|
644
|
-
/** The memo. */
|
|
644
|
+
/** The memo or destination tag. */
|
|
645
645
|
memo?: (string | "") | undefined;
|
|
646
646
|
/** 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)) */
|
|
647
647
|
externalId?: string | undefined;
|
|
@@ -699,8 +699,8 @@ export type CreateApprovalDecisionResponse = {
|
|
|
699
699
|
to: string;
|
|
700
700
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
701
701
|
amount: string;
|
|
702
|
-
/** The memo or destination tag
|
|
703
|
-
memo?: string | undefined;
|
|
702
|
+
/** The memo or destination tag. */
|
|
703
|
+
memo?: (string | "") | undefined;
|
|
704
704
|
/** 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)) */
|
|
705
705
|
externalId?: string | undefined;
|
|
706
706
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -751,7 +751,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
751
751
|
feeSponsorId?: string | undefined;
|
|
752
752
|
} | {
|
|
753
753
|
kind: "Snip2";
|
|
754
|
-
/** The
|
|
754
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
755
755
|
contract: string;
|
|
756
756
|
/** The destination address. */
|
|
757
757
|
to: string;
|
|
@@ -777,7 +777,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
777
777
|
feeSponsorId?: string | undefined;
|
|
778
778
|
} | {
|
|
779
779
|
kind: "Snip3";
|
|
780
|
-
/** The
|
|
780
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
781
781
|
contract: string;
|
|
782
782
|
/** The destination address. */
|
|
783
783
|
to: string;
|
|
@@ -809,6 +809,8 @@ export type CreateApprovalDecisionResponse = {
|
|
|
809
809
|
amount: string;
|
|
810
810
|
/** The mint account address. */
|
|
811
811
|
mint: string;
|
|
812
|
+
/** The memo or destination tag. */
|
|
813
|
+
memo?: (string | "") | undefined;
|
|
812
814
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
813
815
|
createDestinationAccount?: boolean | undefined;
|
|
814
816
|
/** 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)) */
|
|
@@ -943,8 +945,8 @@ export type CreateApprovalDecisionResponse = {
|
|
|
943
945
|
to: string;
|
|
944
946
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
945
947
|
amount: string;
|
|
946
|
-
/** The memo or destination tag
|
|
947
|
-
memo?: string | undefined;
|
|
948
|
+
/** The memo or destination tag. */
|
|
949
|
+
memo?: (string | "") | undefined;
|
|
948
950
|
/** 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)) */
|
|
949
951
|
externalId?: string | undefined;
|
|
950
952
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -1021,7 +1023,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
1021
1023
|
};
|
|
1022
1024
|
requestBody: {
|
|
1023
1025
|
kind: "Transaction";
|
|
1024
|
-
/** The unsigned hex encoded transaction
|
|
1026
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
1025
1027
|
transaction: string | {};
|
|
1026
1028
|
/** 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)). */
|
|
1027
1029
|
externalId?: string | undefined;
|
|
@@ -1147,21 +1149,17 @@ export type CreateApprovalDecisionResponse = {
|
|
|
1147
1149
|
/** 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)). */
|
|
1148
1150
|
externalId?: string | undefined;
|
|
1149
1151
|
} | {
|
|
1150
|
-
kind: "
|
|
1151
|
-
/** The
|
|
1152
|
-
|
|
1153
|
-
/** The current nonce of the signer EOA. */
|
|
1154
|
-
nonce: number;
|
|
1155
|
-
/** Chain ID. */
|
|
1156
|
-
chainId: number;
|
|
1152
|
+
kind: "Transaction";
|
|
1153
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
1154
|
+
transaction: string | {};
|
|
1157
1155
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
1158
1156
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
1159
1157
|
/** 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)). */
|
|
1160
1158
|
externalId?: string | undefined;
|
|
1161
1159
|
} | {
|
|
1162
|
-
kind: "
|
|
1163
|
-
/**
|
|
1164
|
-
|
|
1160
|
+
kind: "Eip191";
|
|
1161
|
+
/** Hex-encoded message. */
|
|
1162
|
+
message: string;
|
|
1165
1163
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
1166
1164
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
1167
1165
|
/** 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)). */
|
|
@@ -1196,6 +1194,18 @@ export type CreateApprovalDecisionResponse = {
|
|
|
1196
1194
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
1197
1195
|
/** 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)). */
|
|
1198
1196
|
externalId?: string | undefined;
|
|
1197
|
+
} | {
|
|
1198
|
+
kind: "Eip7702";
|
|
1199
|
+
/** The address of the contract the signer's EOA will be delegated to. */
|
|
1200
|
+
address: string;
|
|
1201
|
+
/** The current nonce of the signer EOA. */
|
|
1202
|
+
nonce: number;
|
|
1203
|
+
/** Chain ID. */
|
|
1204
|
+
chainId: number;
|
|
1205
|
+
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
1206
|
+
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
1207
|
+
/** 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)). */
|
|
1208
|
+
externalId?: string | undefined;
|
|
1199
1209
|
} | {
|
|
1200
1210
|
kind: "Snip12";
|
|
1201
1211
|
/** The primary type of the message. */
|
|
@@ -3565,7 +3575,7 @@ export type GetApprovalResponse = {
|
|
|
3565
3575
|
to: string;
|
|
3566
3576
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
3567
3577
|
amount: string;
|
|
3568
|
-
/** The memo. */
|
|
3578
|
+
/** The memo or destination tag. */
|
|
3569
3579
|
memo?: (string | "") | undefined;
|
|
3570
3580
|
/** 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)) */
|
|
3571
3581
|
externalId?: string | undefined;
|
|
@@ -3784,7 +3794,7 @@ export type GetApprovalResponse = {
|
|
|
3784
3794
|
serialNumber: string;
|
|
3785
3795
|
/** The destination address. */
|
|
3786
3796
|
to: string;
|
|
3787
|
-
/** The memo. */
|
|
3797
|
+
/** The memo or destination tag. */
|
|
3788
3798
|
memo?: (string | "") | undefined;
|
|
3789
3799
|
/** 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)) */
|
|
3790
3800
|
externalId?: string | undefined;
|
|
@@ -3842,8 +3852,8 @@ export type GetApprovalResponse = {
|
|
|
3842
3852
|
to: string;
|
|
3843
3853
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
3844
3854
|
amount: string;
|
|
3845
|
-
/** The memo or destination tag
|
|
3846
|
-
memo?: string | undefined;
|
|
3855
|
+
/** The memo or destination tag. */
|
|
3856
|
+
memo?: (string | "") | undefined;
|
|
3847
3857
|
/** 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)) */
|
|
3848
3858
|
externalId?: string | undefined;
|
|
3849
3859
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -3894,7 +3904,7 @@ export type GetApprovalResponse = {
|
|
|
3894
3904
|
feeSponsorId?: string | undefined;
|
|
3895
3905
|
} | {
|
|
3896
3906
|
kind: "Snip2";
|
|
3897
|
-
/** The
|
|
3907
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
3898
3908
|
contract: string;
|
|
3899
3909
|
/** The destination address. */
|
|
3900
3910
|
to: string;
|
|
@@ -3920,7 +3930,7 @@ export type GetApprovalResponse = {
|
|
|
3920
3930
|
feeSponsorId?: string | undefined;
|
|
3921
3931
|
} | {
|
|
3922
3932
|
kind: "Snip3";
|
|
3923
|
-
/** The
|
|
3933
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
3924
3934
|
contract: string;
|
|
3925
3935
|
/** The destination address. */
|
|
3926
3936
|
to: string;
|
|
@@ -3952,6 +3962,8 @@ export type GetApprovalResponse = {
|
|
|
3952
3962
|
amount: string;
|
|
3953
3963
|
/** The mint account address. */
|
|
3954
3964
|
mint: string;
|
|
3965
|
+
/** The memo or destination tag. */
|
|
3966
|
+
memo?: (string | "") | undefined;
|
|
3955
3967
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
3956
3968
|
createDestinationAccount?: boolean | undefined;
|
|
3957
3969
|
/** 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)) */
|
|
@@ -4086,8 +4098,8 @@ export type GetApprovalResponse = {
|
|
|
4086
4098
|
to: string;
|
|
4087
4099
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4088
4100
|
amount: string;
|
|
4089
|
-
/** The memo or destination tag
|
|
4090
|
-
memo?: string | undefined;
|
|
4101
|
+
/** The memo or destination tag. */
|
|
4102
|
+
memo?: (string | "") | undefined;
|
|
4091
4103
|
/** 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)) */
|
|
4092
4104
|
externalId?: string | undefined;
|
|
4093
4105
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4164,7 +4176,7 @@ export type GetApprovalResponse = {
|
|
|
4164
4176
|
};
|
|
4165
4177
|
requestBody: {
|
|
4166
4178
|
kind: "Transaction";
|
|
4167
|
-
/** The unsigned hex encoded transaction
|
|
4179
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
4168
4180
|
transaction: string | {};
|
|
4169
4181
|
/** 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)). */
|
|
4170
4182
|
externalId?: string | undefined;
|
|
@@ -4290,21 +4302,17 @@ export type GetApprovalResponse = {
|
|
|
4290
4302
|
/** 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)). */
|
|
4291
4303
|
externalId?: string | undefined;
|
|
4292
4304
|
} | {
|
|
4293
|
-
kind: "
|
|
4294
|
-
/** The
|
|
4295
|
-
|
|
4296
|
-
/** The current nonce of the signer EOA. */
|
|
4297
|
-
nonce: number;
|
|
4298
|
-
/** Chain ID. */
|
|
4299
|
-
chainId: number;
|
|
4305
|
+
kind: "Transaction";
|
|
4306
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
4307
|
+
transaction: string | {};
|
|
4300
4308
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
4301
4309
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
4302
4310
|
/** 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)). */
|
|
4303
4311
|
externalId?: string | undefined;
|
|
4304
4312
|
} | {
|
|
4305
|
-
kind: "
|
|
4306
|
-
/**
|
|
4307
|
-
|
|
4313
|
+
kind: "Eip191";
|
|
4314
|
+
/** Hex-encoded message. */
|
|
4315
|
+
message: string;
|
|
4308
4316
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
4309
4317
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
4310
4318
|
/** 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)). */
|
|
@@ -4339,6 +4347,18 @@ export type GetApprovalResponse = {
|
|
|
4339
4347
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
4340
4348
|
/** 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)). */
|
|
4341
4349
|
externalId?: string | undefined;
|
|
4350
|
+
} | {
|
|
4351
|
+
kind: "Eip7702";
|
|
4352
|
+
/** The address of the contract the signer's EOA will be delegated to. */
|
|
4353
|
+
address: string;
|
|
4354
|
+
/** The current nonce of the signer EOA. */
|
|
4355
|
+
nonce: number;
|
|
4356
|
+
/** Chain ID. */
|
|
4357
|
+
chainId: number;
|
|
4358
|
+
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
4359
|
+
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
4360
|
+
/** 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)). */
|
|
4361
|
+
externalId?: string | undefined;
|
|
4342
4362
|
} | {
|
|
4343
4363
|
kind: "Snip12";
|
|
4344
4364
|
/** The primary type of the message. */
|
|
@@ -6757,7 +6777,7 @@ export type ListApprovalsResponse = {
|
|
|
6757
6777
|
to: string;
|
|
6758
6778
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
6759
6779
|
amount: string;
|
|
6760
|
-
/** The memo. */
|
|
6780
|
+
/** The memo or destination tag. */
|
|
6761
6781
|
memo?: (string | "") | undefined;
|
|
6762
6782
|
/** 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)) */
|
|
6763
6783
|
externalId?: string | undefined;
|
|
@@ -6976,7 +6996,7 @@ export type ListApprovalsResponse = {
|
|
|
6976
6996
|
serialNumber: string;
|
|
6977
6997
|
/** The destination address. */
|
|
6978
6998
|
to: string;
|
|
6979
|
-
/** The memo. */
|
|
6999
|
+
/** The memo or destination tag. */
|
|
6980
7000
|
memo?: (string | "") | undefined;
|
|
6981
7001
|
/** 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)) */
|
|
6982
7002
|
externalId?: string | undefined;
|
|
@@ -7034,8 +7054,8 @@ export type ListApprovalsResponse = {
|
|
|
7034
7054
|
to: string;
|
|
7035
7055
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
7036
7056
|
amount: string;
|
|
7037
|
-
/** The memo or destination tag
|
|
7038
|
-
memo?: string | undefined;
|
|
7057
|
+
/** The memo or destination tag. */
|
|
7058
|
+
memo?: (string | "") | undefined;
|
|
7039
7059
|
/** 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)) */
|
|
7040
7060
|
externalId?: string | undefined;
|
|
7041
7061
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -7086,7 +7106,7 @@ export type ListApprovalsResponse = {
|
|
|
7086
7106
|
feeSponsorId?: string | undefined;
|
|
7087
7107
|
} | {
|
|
7088
7108
|
kind: "Snip2";
|
|
7089
|
-
/** The
|
|
7109
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
7090
7110
|
contract: string;
|
|
7091
7111
|
/** The destination address. */
|
|
7092
7112
|
to: string;
|
|
@@ -7112,7 +7132,7 @@ export type ListApprovalsResponse = {
|
|
|
7112
7132
|
feeSponsorId?: string | undefined;
|
|
7113
7133
|
} | {
|
|
7114
7134
|
kind: "Snip3";
|
|
7115
|
-
/** The
|
|
7135
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
7116
7136
|
contract: string;
|
|
7117
7137
|
/** The destination address. */
|
|
7118
7138
|
to: string;
|
|
@@ -7144,6 +7164,8 @@ export type ListApprovalsResponse = {
|
|
|
7144
7164
|
amount: string;
|
|
7145
7165
|
/** The mint account address. */
|
|
7146
7166
|
mint: string;
|
|
7167
|
+
/** The memo or destination tag. */
|
|
7168
|
+
memo?: (string | "") | undefined;
|
|
7147
7169
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
7148
7170
|
createDestinationAccount?: boolean | undefined;
|
|
7149
7171
|
/** 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)) */
|
|
@@ -7278,8 +7300,8 @@ export type ListApprovalsResponse = {
|
|
|
7278
7300
|
to: string;
|
|
7279
7301
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
7280
7302
|
amount: string;
|
|
7281
|
-
/** The memo or destination tag
|
|
7282
|
-
memo?: string | undefined;
|
|
7303
|
+
/** The memo or destination tag. */
|
|
7304
|
+
memo?: (string | "") | undefined;
|
|
7283
7305
|
/** 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)) */
|
|
7284
7306
|
externalId?: string | undefined;
|
|
7285
7307
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -7356,7 +7378,7 @@ export type ListApprovalsResponse = {
|
|
|
7356
7378
|
};
|
|
7357
7379
|
requestBody: {
|
|
7358
7380
|
kind: "Transaction";
|
|
7359
|
-
/** The unsigned hex encoded transaction
|
|
7381
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
7360
7382
|
transaction: string | {};
|
|
7361
7383
|
/** 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)). */
|
|
7362
7384
|
externalId?: string | undefined;
|
|
@@ -7482,21 +7504,17 @@ export type ListApprovalsResponse = {
|
|
|
7482
7504
|
/** 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)). */
|
|
7483
7505
|
externalId?: string | undefined;
|
|
7484
7506
|
} | {
|
|
7485
|
-
kind: "
|
|
7486
|
-
/** The
|
|
7487
|
-
|
|
7488
|
-
/** The current nonce of the signer EOA. */
|
|
7489
|
-
nonce: number;
|
|
7490
|
-
/** Chain ID. */
|
|
7491
|
-
chainId: number;
|
|
7507
|
+
kind: "Transaction";
|
|
7508
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
7509
|
+
transaction: string | {};
|
|
7492
7510
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
7493
7511
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
7494
7512
|
/** 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)). */
|
|
7495
7513
|
externalId?: string | undefined;
|
|
7496
7514
|
} | {
|
|
7497
|
-
kind: "
|
|
7498
|
-
/**
|
|
7499
|
-
|
|
7515
|
+
kind: "Eip191";
|
|
7516
|
+
/** Hex-encoded message. */
|
|
7517
|
+
message: string;
|
|
7500
7518
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
7501
7519
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
7502
7520
|
/** 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)). */
|
|
@@ -7531,6 +7549,18 @@ export type ListApprovalsResponse = {
|
|
|
7531
7549
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
7532
7550
|
/** 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)). */
|
|
7533
7551
|
externalId?: string | undefined;
|
|
7552
|
+
} | {
|
|
7553
|
+
kind: "Eip7702";
|
|
7554
|
+
/** The address of the contract the signer's EOA will be delegated to. */
|
|
7555
|
+
address: string;
|
|
7556
|
+
/** The current nonce of the signer EOA. */
|
|
7557
|
+
nonce: number;
|
|
7558
|
+
/** Chain ID. */
|
|
7559
|
+
chainId: number;
|
|
7560
|
+
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
7561
|
+
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
7562
|
+
/** 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)). */
|
|
7563
|
+
externalId?: string | undefined;
|
|
7534
7564
|
} | {
|
|
7535
7565
|
kind: "Snip12";
|
|
7536
7566
|
/** The primary type of the message. */
|