@dfns/sdk 0.8.11 → 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.
@@ -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 for XRPL transactions. */
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 Snip2 (ERC-20-like) contract address. */
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 Snip3 (ERC-721) contract address. */
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 for XRPL transactions. */
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. EVM transactions also accept JSON objects. */
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;
@@ -1148,7 +1150,7 @@ export type CreateApprovalDecisionResponse = {
1148
1150
  externalId?: string | undefined;
1149
1151
  } | {
1150
1152
  kind: "Transaction";
1151
- /** The unsigned hex-encoded transaction. */
1153
+ /** The unsigned hex encoded transaction or JSON object for compatible networks */
1152
1154
  transaction: string | {};
1153
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;
1154
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;
@@ -3573,7 +3575,7 @@ export type GetApprovalResponse = {
3573
3575
  to: string;
3574
3576
  /** The amount of tokens to transfer in minimum denomination. */
3575
3577
  amount: string;
3576
- /** The memo. */
3578
+ /** The memo or destination tag. */
3577
3579
  memo?: (string | "") | undefined;
3578
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)) */
3579
3581
  externalId?: string | undefined;
@@ -3792,7 +3794,7 @@ export type GetApprovalResponse = {
3792
3794
  serialNumber: string;
3793
3795
  /** The destination address. */
3794
3796
  to: string;
3795
- /** The memo. */
3797
+ /** The memo or destination tag. */
3796
3798
  memo?: (string | "") | undefined;
3797
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)) */
3798
3800
  externalId?: string | undefined;
@@ -3850,8 +3852,8 @@ export type GetApprovalResponse = {
3850
3852
  to: string;
3851
3853
  /** The amount of tokens to transfer in minimum denomination. */
3852
3854
  amount: string;
3853
- /** The memo or destination tag for XRPL transactions. */
3854
- memo?: string | undefined;
3855
+ /** The memo or destination tag. */
3856
+ memo?: (string | "") | undefined;
3855
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)) */
3856
3858
  externalId?: string | undefined;
3857
3859
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -3902,7 +3904,7 @@ export type GetApprovalResponse = {
3902
3904
  feeSponsorId?: string | undefined;
3903
3905
  } | {
3904
3906
  kind: "Snip2";
3905
- /** The Snip2 (ERC-20-like) contract address. */
3907
+ /** The SNIP-2 (ERC-20-like) contract address. */
3906
3908
  contract: string;
3907
3909
  /** The destination address. */
3908
3910
  to: string;
@@ -3928,7 +3930,7 @@ export type GetApprovalResponse = {
3928
3930
  feeSponsorId?: string | undefined;
3929
3931
  } | {
3930
3932
  kind: "Snip3";
3931
- /** The Snip3 (ERC-721) contract address. */
3933
+ /** The SNIP-3 (ERC-721) contract address. */
3932
3934
  contract: string;
3933
3935
  /** The destination address. */
3934
3936
  to: string;
@@ -3960,6 +3962,8 @@ export type GetApprovalResponse = {
3960
3962
  amount: string;
3961
3963
  /** The mint account address. */
3962
3964
  mint: string;
3965
+ /** The memo or destination tag. */
3966
+ memo?: (string | "") | undefined;
3963
3967
  /** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
3964
3968
  createDestinationAccount?: boolean | undefined;
3965
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)) */
@@ -4094,8 +4098,8 @@ export type GetApprovalResponse = {
4094
4098
  to: string;
4095
4099
  /** The amount of tokens to transfer in minimum denomination. */
4096
4100
  amount: string;
4097
- /** The memo or destination tag for XRPL transactions. */
4098
- memo?: string | undefined;
4101
+ /** The memo or destination tag. */
4102
+ memo?: (string | "") | undefined;
4099
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)) */
4100
4104
  externalId?: string | undefined;
4101
4105
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -4172,7 +4176,7 @@ export type GetApprovalResponse = {
4172
4176
  };
4173
4177
  requestBody: {
4174
4178
  kind: "Transaction";
4175
- /** The unsigned hex encoded transaction. EVM transactions also accept JSON objects. */
4179
+ /** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
4176
4180
  transaction: string | {};
4177
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)). */
4178
4182
  externalId?: string | undefined;
@@ -4299,7 +4303,7 @@ export type GetApprovalResponse = {
4299
4303
  externalId?: string | undefined;
4300
4304
  } | {
4301
4305
  kind: "Transaction";
4302
- /** The unsigned hex-encoded transaction. */
4306
+ /** The unsigned hex encoded transaction or JSON object for compatible networks */
4303
4307
  transaction: string | {};
4304
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;
4305
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;
@@ -6773,7 +6777,7 @@ export type ListApprovalsResponse = {
6773
6777
  to: string;
6774
6778
  /** The amount of tokens to transfer in minimum denomination. */
6775
6779
  amount: string;
6776
- /** The memo. */
6780
+ /** The memo or destination tag. */
6777
6781
  memo?: (string | "") | undefined;
6778
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)) */
6779
6783
  externalId?: string | undefined;
@@ -6992,7 +6996,7 @@ export type ListApprovalsResponse = {
6992
6996
  serialNumber: string;
6993
6997
  /** The destination address. */
6994
6998
  to: string;
6995
- /** The memo. */
6999
+ /** The memo or destination tag. */
6996
7000
  memo?: (string | "") | undefined;
6997
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)) */
6998
7002
  externalId?: string | undefined;
@@ -7050,8 +7054,8 @@ export type ListApprovalsResponse = {
7050
7054
  to: string;
7051
7055
  /** The amount of tokens to transfer in minimum denomination. */
7052
7056
  amount: string;
7053
- /** The memo or destination tag for XRPL transactions. */
7054
- memo?: string | undefined;
7057
+ /** The memo or destination tag. */
7058
+ memo?: (string | "") | undefined;
7055
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)) */
7056
7060
  externalId?: string | undefined;
7057
7061
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -7102,7 +7106,7 @@ export type ListApprovalsResponse = {
7102
7106
  feeSponsorId?: string | undefined;
7103
7107
  } | {
7104
7108
  kind: "Snip2";
7105
- /** The Snip2 (ERC-20-like) contract address. */
7109
+ /** The SNIP-2 (ERC-20-like) contract address. */
7106
7110
  contract: string;
7107
7111
  /** The destination address. */
7108
7112
  to: string;
@@ -7128,7 +7132,7 @@ export type ListApprovalsResponse = {
7128
7132
  feeSponsorId?: string | undefined;
7129
7133
  } | {
7130
7134
  kind: "Snip3";
7131
- /** The Snip3 (ERC-721) contract address. */
7135
+ /** The SNIP-3 (ERC-721) contract address. */
7132
7136
  contract: string;
7133
7137
  /** The destination address. */
7134
7138
  to: string;
@@ -7160,6 +7164,8 @@ export type ListApprovalsResponse = {
7160
7164
  amount: string;
7161
7165
  /** The mint account address. */
7162
7166
  mint: string;
7167
+ /** The memo or destination tag. */
7168
+ memo?: (string | "") | undefined;
7163
7169
  /** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
7164
7170
  createDestinationAccount?: boolean | undefined;
7165
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)) */
@@ -7294,8 +7300,8 @@ export type ListApprovalsResponse = {
7294
7300
  to: string;
7295
7301
  /** The amount of tokens to transfer in minimum denomination. */
7296
7302
  amount: string;
7297
- /** The memo or destination tag for XRPL transactions. */
7298
- memo?: string | undefined;
7303
+ /** The memo or destination tag. */
7304
+ memo?: (string | "") | undefined;
7299
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)) */
7300
7306
  externalId?: string | undefined;
7301
7307
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -7372,7 +7378,7 @@ export type ListApprovalsResponse = {
7372
7378
  };
7373
7379
  requestBody: {
7374
7380
  kind: "Transaction";
7375
- /** The unsigned hex encoded transaction. EVM transactions also accept JSON objects. */
7381
+ /** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
7376
7382
  transaction: string | {};
7377
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)). */
7378
7384
  externalId?: string | undefined;
@@ -7499,7 +7505,7 @@ export type ListApprovalsResponse = {
7499
7505
  externalId?: string | undefined;
7500
7506
  } | {
7501
7507
  kind: "Transaction";
7502
- /** The unsigned hex-encoded transaction. */
7508
+ /** The unsigned hex encoded transaction or JSON object for compatible networks */
7503
7509
  transaction: string | {};
7504
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;
7505
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;