@dfns/sdk 0.8.17 → 0.8.18
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.
|
@@ -646,6 +646,34 @@ export type CreateApprovalDecisionResponse = {
|
|
|
646
646
|
}) | undefined;
|
|
647
647
|
/** 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)) */
|
|
648
648
|
feeSponsorId?: string | undefined;
|
|
649
|
+
} | {
|
|
650
|
+
kind: "Erc7984";
|
|
651
|
+
/** The ERC-7984 confidential token contract address. */
|
|
652
|
+
contract: string;
|
|
653
|
+
/** The destination address. */
|
|
654
|
+
to: string;
|
|
655
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
656
|
+
amount: string;
|
|
657
|
+
/** The priority that determines the fees paid for the transfer. */
|
|
658
|
+
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
659
|
+
/** 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)) */
|
|
660
|
+
externalId?: string | undefined;
|
|
661
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
662
|
+
travelRule?: ({
|
|
663
|
+
kind: "Notabene";
|
|
664
|
+
beneficiaryVASPdid?: string | undefined;
|
|
665
|
+
beneficiaryProof?: {
|
|
666
|
+
[x: string]: any;
|
|
667
|
+
} | undefined;
|
|
668
|
+
originator: {
|
|
669
|
+
[x: string]: any;
|
|
670
|
+
};
|
|
671
|
+
beneficiary: {
|
|
672
|
+
[x: string]: any;
|
|
673
|
+
};
|
|
674
|
+
}) | undefined;
|
|
675
|
+
/** 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)) */
|
|
676
|
+
feeSponsorId?: string | undefined;
|
|
649
677
|
} | {
|
|
650
678
|
kind: "Hip17";
|
|
651
679
|
/** The token to transfer. */
|
|
@@ -1862,6 +1890,50 @@ export type CreateApprovalDecisionResponse = {
|
|
|
1862
1890
|
symbol?: string | undefined;
|
|
1863
1891
|
/** @deprecated use metadata.asset.verified instead */
|
|
1864
1892
|
verified?: boolean | undefined;
|
|
1893
|
+
} | {
|
|
1894
|
+
walletId: string;
|
|
1895
|
+
direction: "In" | "Out";
|
|
1896
|
+
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" | "Xdc" | "XdcApothem" | "XrpLedger" | "XrpLedgerTestnet";
|
|
1897
|
+
blockNumber: number;
|
|
1898
|
+
txHash: string;
|
|
1899
|
+
index?: string | undefined;
|
|
1900
|
+
timestamp: string;
|
|
1901
|
+
metadata: {
|
|
1902
|
+
asset: {
|
|
1903
|
+
symbol?: string | undefined;
|
|
1904
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
1905
|
+
decimals?: number | undefined;
|
|
1906
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
1907
|
+
verified?: boolean | undefined;
|
|
1908
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
1909
|
+
quotes?: {
|
|
1910
|
+
[x: string]: number;
|
|
1911
|
+
} | undefined;
|
|
1912
|
+
};
|
|
1913
|
+
fee?: {
|
|
1914
|
+
symbol?: string | undefined;
|
|
1915
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
1916
|
+
decimals?: number | undefined;
|
|
1917
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
1918
|
+
verified?: boolean | undefined;
|
|
1919
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
1920
|
+
quotes?: {
|
|
1921
|
+
[x: string]: number;
|
|
1922
|
+
} | undefined;
|
|
1923
|
+
} | undefined;
|
|
1924
|
+
};
|
|
1925
|
+
kind: "Erc7984Transfer";
|
|
1926
|
+
contract: string;
|
|
1927
|
+
from: string;
|
|
1928
|
+
to: string;
|
|
1929
|
+
value?: string | undefined;
|
|
1930
|
+
fee?: string | undefined;
|
|
1931
|
+
/** @deprecated use metadata.asset.symbol instead */
|
|
1932
|
+
symbol?: string | undefined;
|
|
1933
|
+
/** @deprecated use metadata.asset.decimals instead */
|
|
1934
|
+
decimals: number;
|
|
1935
|
+
/** @deprecated use metadata.asset.verified instead */
|
|
1936
|
+
verified?: boolean | undefined;
|
|
1865
1937
|
} | {
|
|
1866
1938
|
walletId: string;
|
|
1867
1939
|
direction: "In" | "Out";
|
|
@@ -3853,6 +3925,34 @@ export type GetApprovalResponse = {
|
|
|
3853
3925
|
}) | undefined;
|
|
3854
3926
|
/** 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)) */
|
|
3855
3927
|
feeSponsorId?: string | undefined;
|
|
3928
|
+
} | {
|
|
3929
|
+
kind: "Erc7984";
|
|
3930
|
+
/** The ERC-7984 confidential token contract address. */
|
|
3931
|
+
contract: string;
|
|
3932
|
+
/** The destination address. */
|
|
3933
|
+
to: string;
|
|
3934
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
3935
|
+
amount: string;
|
|
3936
|
+
/** The priority that determines the fees paid for the transfer. */
|
|
3937
|
+
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
3938
|
+
/** 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)) */
|
|
3939
|
+
externalId?: string | undefined;
|
|
3940
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
3941
|
+
travelRule?: ({
|
|
3942
|
+
kind: "Notabene";
|
|
3943
|
+
beneficiaryVASPdid?: string | undefined;
|
|
3944
|
+
beneficiaryProof?: {
|
|
3945
|
+
[x: string]: any;
|
|
3946
|
+
} | undefined;
|
|
3947
|
+
originator: {
|
|
3948
|
+
[x: string]: any;
|
|
3949
|
+
};
|
|
3950
|
+
beneficiary: {
|
|
3951
|
+
[x: string]: any;
|
|
3952
|
+
};
|
|
3953
|
+
}) | undefined;
|
|
3954
|
+
/** 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)) */
|
|
3955
|
+
feeSponsorId?: string | undefined;
|
|
3856
3956
|
} | {
|
|
3857
3957
|
kind: "Hip17";
|
|
3858
3958
|
/** The token to transfer. */
|
|
@@ -5069,6 +5169,50 @@ export type GetApprovalResponse = {
|
|
|
5069
5169
|
symbol?: string | undefined;
|
|
5070
5170
|
/** @deprecated use metadata.asset.verified instead */
|
|
5071
5171
|
verified?: boolean | undefined;
|
|
5172
|
+
} | {
|
|
5173
|
+
walletId: string;
|
|
5174
|
+
direction: "In" | "Out";
|
|
5175
|
+
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" | "Xdc" | "XdcApothem" | "XrpLedger" | "XrpLedgerTestnet";
|
|
5176
|
+
blockNumber: number;
|
|
5177
|
+
txHash: string;
|
|
5178
|
+
index?: string | undefined;
|
|
5179
|
+
timestamp: string;
|
|
5180
|
+
metadata: {
|
|
5181
|
+
asset: {
|
|
5182
|
+
symbol?: string | undefined;
|
|
5183
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
5184
|
+
decimals?: number | undefined;
|
|
5185
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
5186
|
+
verified?: boolean | undefined;
|
|
5187
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
5188
|
+
quotes?: {
|
|
5189
|
+
[x: string]: number;
|
|
5190
|
+
} | undefined;
|
|
5191
|
+
};
|
|
5192
|
+
fee?: {
|
|
5193
|
+
symbol?: string | undefined;
|
|
5194
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
5195
|
+
decimals?: number | undefined;
|
|
5196
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
5197
|
+
verified?: boolean | undefined;
|
|
5198
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
5199
|
+
quotes?: {
|
|
5200
|
+
[x: string]: number;
|
|
5201
|
+
} | undefined;
|
|
5202
|
+
} | undefined;
|
|
5203
|
+
};
|
|
5204
|
+
kind: "Erc7984Transfer";
|
|
5205
|
+
contract: string;
|
|
5206
|
+
from: string;
|
|
5207
|
+
to: string;
|
|
5208
|
+
value?: string | undefined;
|
|
5209
|
+
fee?: string | undefined;
|
|
5210
|
+
/** @deprecated use metadata.asset.symbol instead */
|
|
5211
|
+
symbol?: string | undefined;
|
|
5212
|
+
/** @deprecated use metadata.asset.decimals instead */
|
|
5213
|
+
decimals: number;
|
|
5214
|
+
/** @deprecated use metadata.asset.verified instead */
|
|
5215
|
+
verified?: boolean | undefined;
|
|
5072
5216
|
} | {
|
|
5073
5217
|
walletId: string;
|
|
5074
5218
|
direction: "In" | "Out";
|
|
@@ -7109,6 +7253,34 @@ export type ListApprovalsResponse = {
|
|
|
7109
7253
|
}) | undefined;
|
|
7110
7254
|
/** 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)) */
|
|
7111
7255
|
feeSponsorId?: string | undefined;
|
|
7256
|
+
} | {
|
|
7257
|
+
kind: "Erc7984";
|
|
7258
|
+
/** The ERC-7984 confidential token contract address. */
|
|
7259
|
+
contract: string;
|
|
7260
|
+
/** The destination address. */
|
|
7261
|
+
to: string;
|
|
7262
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
7263
|
+
amount: string;
|
|
7264
|
+
/** The priority that determines the fees paid for the transfer. */
|
|
7265
|
+
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
7266
|
+
/** 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)) */
|
|
7267
|
+
externalId?: string | undefined;
|
|
7268
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
7269
|
+
travelRule?: ({
|
|
7270
|
+
kind: "Notabene";
|
|
7271
|
+
beneficiaryVASPdid?: string | undefined;
|
|
7272
|
+
beneficiaryProof?: {
|
|
7273
|
+
[x: string]: any;
|
|
7274
|
+
} | undefined;
|
|
7275
|
+
originator: {
|
|
7276
|
+
[x: string]: any;
|
|
7277
|
+
};
|
|
7278
|
+
beneficiary: {
|
|
7279
|
+
[x: string]: any;
|
|
7280
|
+
};
|
|
7281
|
+
}) | undefined;
|
|
7282
|
+
/** 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)) */
|
|
7283
|
+
feeSponsorId?: string | undefined;
|
|
7112
7284
|
} | {
|
|
7113
7285
|
kind: "Hip17";
|
|
7114
7286
|
/** The token to transfer. */
|
|
@@ -8325,6 +8497,50 @@ export type ListApprovalsResponse = {
|
|
|
8325
8497
|
symbol?: string | undefined;
|
|
8326
8498
|
/** @deprecated use metadata.asset.verified instead */
|
|
8327
8499
|
verified?: boolean | undefined;
|
|
8500
|
+
} | {
|
|
8501
|
+
walletId: string;
|
|
8502
|
+
direction: "In" | "Out";
|
|
8503
|
+
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" | "Xdc" | "XdcApothem" | "XrpLedger" | "XrpLedgerTestnet";
|
|
8504
|
+
blockNumber: number;
|
|
8505
|
+
txHash: string;
|
|
8506
|
+
index?: string | undefined;
|
|
8507
|
+
timestamp: string;
|
|
8508
|
+
metadata: {
|
|
8509
|
+
asset: {
|
|
8510
|
+
symbol?: string | undefined;
|
|
8511
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
8512
|
+
decimals?: number | undefined;
|
|
8513
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
8514
|
+
verified?: boolean | undefined;
|
|
8515
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
8516
|
+
quotes?: {
|
|
8517
|
+
[x: string]: number;
|
|
8518
|
+
} | undefined;
|
|
8519
|
+
};
|
|
8520
|
+
fee?: {
|
|
8521
|
+
symbol?: string | undefined;
|
|
8522
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
8523
|
+
decimals?: number | undefined;
|
|
8524
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
8525
|
+
verified?: boolean | undefined;
|
|
8526
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
8527
|
+
quotes?: {
|
|
8528
|
+
[x: string]: number;
|
|
8529
|
+
} | undefined;
|
|
8530
|
+
} | undefined;
|
|
8531
|
+
};
|
|
8532
|
+
kind: "Erc7984Transfer";
|
|
8533
|
+
contract: string;
|
|
8534
|
+
from: string;
|
|
8535
|
+
to: string;
|
|
8536
|
+
value?: string | undefined;
|
|
8537
|
+
fee?: string | undefined;
|
|
8538
|
+
/** @deprecated use metadata.asset.symbol instead */
|
|
8539
|
+
symbol?: string | undefined;
|
|
8540
|
+
/** @deprecated use metadata.asset.decimals instead */
|
|
8541
|
+
decimals: number;
|
|
8542
|
+
/** @deprecated use metadata.asset.verified instead */
|
|
8543
|
+
verified?: boolean | undefined;
|
|
8328
8544
|
} | {
|
|
8329
8545
|
walletId: string;
|
|
8330
8546
|
direction: "In" | "Out";
|
|
@@ -415,6 +415,34 @@ export type AbortTransferResponse = {
|
|
|
415
415
|
}) | undefined;
|
|
416
416
|
/** 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)) */
|
|
417
417
|
feeSponsorId?: string | undefined;
|
|
418
|
+
} | {
|
|
419
|
+
kind: "Erc7984";
|
|
420
|
+
/** The ERC-7984 confidential token contract address. */
|
|
421
|
+
contract: string;
|
|
422
|
+
/** The destination address. */
|
|
423
|
+
to: string;
|
|
424
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
425
|
+
amount: string;
|
|
426
|
+
/** The priority that determines the fees paid for the transfer. */
|
|
427
|
+
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
428
|
+
/** 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)) */
|
|
429
|
+
externalId?: string | undefined;
|
|
430
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
431
|
+
travelRule?: ({
|
|
432
|
+
kind: "Notabene";
|
|
433
|
+
beneficiaryVASPdid?: string | undefined;
|
|
434
|
+
beneficiaryProof?: {
|
|
435
|
+
[x: string]: any;
|
|
436
|
+
} | undefined;
|
|
437
|
+
originator: {
|
|
438
|
+
[x: string]: any;
|
|
439
|
+
};
|
|
440
|
+
beneficiary: {
|
|
441
|
+
[x: string]: any;
|
|
442
|
+
};
|
|
443
|
+
}) | undefined;
|
|
444
|
+
/** 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)) */
|
|
445
|
+
feeSponsorId?: string | undefined;
|
|
418
446
|
} | {
|
|
419
447
|
kind: "Hip17";
|
|
420
448
|
/** The token to transfer. */
|
|
@@ -804,7 +832,7 @@ export type AcceptOfferResponse = {
|
|
|
804
832
|
/** Wallet id. */
|
|
805
833
|
walletId: string;
|
|
806
834
|
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" | "Xdc" | "XdcApothem" | "XrpLedger" | "XrpLedgerTestnet";
|
|
807
|
-
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
835
|
+
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Erc7984" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
808
836
|
metadata: {
|
|
809
837
|
asset: {
|
|
810
838
|
symbol?: string | undefined;
|
|
@@ -1930,7 +1958,7 @@ export type GetOfferResponse = {
|
|
|
1930
1958
|
/** Wallet id. */
|
|
1931
1959
|
walletId: string;
|
|
1932
1960
|
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" | "Xdc" | "XdcApothem" | "XrpLedger" | "XrpLedgerTestnet";
|
|
1933
|
-
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
1961
|
+
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Erc7984" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
1934
1962
|
metadata: {
|
|
1935
1963
|
asset: {
|
|
1936
1964
|
symbol?: string | undefined;
|
|
@@ -2611,6 +2639,34 @@ export type GetTransferResponse = {
|
|
|
2611
2639
|
}) | undefined;
|
|
2612
2640
|
/** 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)) */
|
|
2613
2641
|
feeSponsorId?: string | undefined;
|
|
2642
|
+
} | {
|
|
2643
|
+
kind: "Erc7984";
|
|
2644
|
+
/** The ERC-7984 confidential token contract address. */
|
|
2645
|
+
contract: string;
|
|
2646
|
+
/** The destination address. */
|
|
2647
|
+
to: string;
|
|
2648
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
2649
|
+
amount: string;
|
|
2650
|
+
/** The priority that determines the fees paid for the transfer. */
|
|
2651
|
+
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
2652
|
+
/** 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)) */
|
|
2653
|
+
externalId?: string | undefined;
|
|
2654
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
2655
|
+
travelRule?: ({
|
|
2656
|
+
kind: "Notabene";
|
|
2657
|
+
beneficiaryVASPdid?: string | undefined;
|
|
2658
|
+
beneficiaryProof?: {
|
|
2659
|
+
[x: string]: any;
|
|
2660
|
+
} | undefined;
|
|
2661
|
+
originator: {
|
|
2662
|
+
[x: string]: any;
|
|
2663
|
+
};
|
|
2664
|
+
beneficiary: {
|
|
2665
|
+
[x: string]: any;
|
|
2666
|
+
};
|
|
2667
|
+
}) | undefined;
|
|
2668
|
+
/** 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)) */
|
|
2669
|
+
feeSponsorId?: string | undefined;
|
|
2614
2670
|
} | {
|
|
2615
2671
|
kind: "Hip17";
|
|
2616
2672
|
/** The token to transfer. */
|
|
@@ -3051,6 +3107,9 @@ export type GetWalletAssetsResponse = {
|
|
|
3051
3107
|
} | {
|
|
3052
3108
|
kind: "Erc20" | "Snip2" | "Trc20";
|
|
3053
3109
|
contract: string;
|
|
3110
|
+
} | {
|
|
3111
|
+
kind: "Erc7984";
|
|
3112
|
+
contract: string;
|
|
3054
3113
|
} | {
|
|
3055
3114
|
kind: "Hts";
|
|
3056
3115
|
tokenId: string;
|
|
@@ -3115,7 +3174,7 @@ export type GetWalletHistoryQuery = {
|
|
|
3115
3174
|
/** Transfer direction. */
|
|
3116
3175
|
direction?: ("In" | "Out") | undefined;
|
|
3117
3176
|
/** Blockchain event kind. */
|
|
3118
|
-
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;
|
|
3177
|
+
kind?: ("NativeTransfer" | "Aip21Transfer" | "AsaTransfer" | "AssetTransfer" | "Cip56Transfer" | "Cis2Transfer" | "Cis7Transfer" | "CoinTransfer" | "Erc20Transfer" | "Erc721Transfer" | "Erc7984Transfer" | "Hip17Transfer" | "HtsTransfer" | "IouTransfer" | "LockedCoinTransfer" | "Sep41Transfer" | "Snip2Transfer" | "Snip3Transfer" | "SplTransfer" | "Spl2022Transfer" | "Tep74Transfer" | "Trc10Transfer" | "Trc20Transfer" | "Trc721Transfer" | "UtxoTransfer" | "Xls33Transfer") | undefined;
|
|
3119
3178
|
contract?: string | undefined;
|
|
3120
3179
|
};
|
|
3121
3180
|
export type GetWalletHistoryResponse = {
|
|
@@ -3524,6 +3583,50 @@ export type GetWalletHistoryResponse = {
|
|
|
3524
3583
|
symbol?: string | undefined;
|
|
3525
3584
|
/** @deprecated use metadata.asset.verified instead */
|
|
3526
3585
|
verified?: boolean | undefined;
|
|
3586
|
+
} | {
|
|
3587
|
+
walletId: string;
|
|
3588
|
+
direction: "In" | "Out";
|
|
3589
|
+
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" | "Xdc" | "XdcApothem" | "XrpLedger" | "XrpLedgerTestnet";
|
|
3590
|
+
blockNumber: number;
|
|
3591
|
+
txHash: string;
|
|
3592
|
+
index?: string | undefined;
|
|
3593
|
+
timestamp: string;
|
|
3594
|
+
metadata: {
|
|
3595
|
+
asset: {
|
|
3596
|
+
symbol?: string | undefined;
|
|
3597
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
3598
|
+
decimals?: number | undefined;
|
|
3599
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
3600
|
+
verified?: boolean | undefined;
|
|
3601
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
3602
|
+
quotes?: {
|
|
3603
|
+
[x: string]: number;
|
|
3604
|
+
} | undefined;
|
|
3605
|
+
};
|
|
3606
|
+
fee?: {
|
|
3607
|
+
symbol?: string | undefined;
|
|
3608
|
+
/** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
|
|
3609
|
+
decimals?: number | undefined;
|
|
3610
|
+
/** Whether the asset is verified by DFNS as legitimate. */
|
|
3611
|
+
verified?: boolean | undefined;
|
|
3612
|
+
/** Corresponding asset price in USD at the time of transfer. */
|
|
3613
|
+
quotes?: {
|
|
3614
|
+
[x: string]: number;
|
|
3615
|
+
} | undefined;
|
|
3616
|
+
} | undefined;
|
|
3617
|
+
};
|
|
3618
|
+
kind: "Erc7984Transfer";
|
|
3619
|
+
contract: string;
|
|
3620
|
+
from: string;
|
|
3621
|
+
to: string;
|
|
3622
|
+
value?: string | undefined;
|
|
3623
|
+
fee?: string | undefined;
|
|
3624
|
+
/** @deprecated use metadata.asset.symbol instead */
|
|
3625
|
+
symbol?: string | undefined;
|
|
3626
|
+
/** @deprecated use metadata.asset.decimals instead */
|
|
3627
|
+
decimals: number;
|
|
3628
|
+
/** @deprecated use metadata.asset.verified instead */
|
|
3629
|
+
verified?: boolean | undefined;
|
|
3527
3630
|
} | {
|
|
3528
3631
|
walletId: string;
|
|
3529
3632
|
direction: "In" | "Out";
|
|
@@ -4181,7 +4284,7 @@ export type ListOffersResponse = {
|
|
|
4181
4284
|
/** Wallet id. */
|
|
4182
4285
|
walletId: string;
|
|
4183
4286
|
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" | "Xdc" | "XdcApothem" | "XrpLedger" | "XrpLedgerTestnet";
|
|
4184
|
-
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
4287
|
+
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Erc7984" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
4185
4288
|
metadata: {
|
|
4186
4289
|
asset: {
|
|
4187
4290
|
symbol?: string | undefined;
|
|
@@ -4931,6 +5034,34 @@ export type ListTransfersResponse = {
|
|
|
4931
5034
|
}) | undefined;
|
|
4932
5035
|
/** 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)) */
|
|
4933
5036
|
feeSponsorId?: string | undefined;
|
|
5037
|
+
} | {
|
|
5038
|
+
kind: "Erc7984";
|
|
5039
|
+
/** The ERC-7984 confidential token contract address. */
|
|
5040
|
+
contract: string;
|
|
5041
|
+
/** The destination address. */
|
|
5042
|
+
to: string;
|
|
5043
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
5044
|
+
amount: string;
|
|
5045
|
+
/** The priority that determines the fees paid for the transfer. */
|
|
5046
|
+
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
5047
|
+
/** 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)) */
|
|
5048
|
+
externalId?: string | undefined;
|
|
5049
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
5050
|
+
travelRule?: ({
|
|
5051
|
+
kind: "Notabene";
|
|
5052
|
+
beneficiaryVASPdid?: string | undefined;
|
|
5053
|
+
beneficiaryProof?: {
|
|
5054
|
+
[x: string]: any;
|
|
5055
|
+
} | undefined;
|
|
5056
|
+
originator: {
|
|
5057
|
+
[x: string]: any;
|
|
5058
|
+
};
|
|
5059
|
+
beneficiary: {
|
|
5060
|
+
[x: string]: any;
|
|
5061
|
+
};
|
|
5062
|
+
}) | undefined;
|
|
5063
|
+
/** 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)) */
|
|
5064
|
+
feeSponsorId?: string | undefined;
|
|
4934
5065
|
} | {
|
|
4935
5066
|
kind: "Hip17";
|
|
4936
5067
|
/** The token to transfer. */
|
|
@@ -5384,7 +5515,7 @@ export type RejectOfferResponse = {
|
|
|
5384
5515
|
/** Wallet id. */
|
|
5385
5516
|
walletId: string;
|
|
5386
5517
|
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" | "Xdc" | "XdcApothem" | "XrpLedger" | "XrpLedgerTestnet";
|
|
5387
|
-
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
5518
|
+
kind: "Native" | "Aip21" | "Asa" | "Coin" | "Cip56" | "Erc20" | "Erc721" | "Erc7984" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Snip2" | "Snip3" | "Tep74" | "Trc10" | "Trc20" | "Trc721" | "Cis7" | "Cis2" | "Iou" | "Xls33";
|
|
5388
5519
|
metadata: {
|
|
5389
5520
|
asset: {
|
|
5390
5521
|
symbol?: string | undefined;
|
|
@@ -5935,6 +6066,34 @@ export type TransferAssetBody = {
|
|
|
5935
6066
|
}) | undefined;
|
|
5936
6067
|
/** 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)) */
|
|
5937
6068
|
feeSponsorId?: string | undefined;
|
|
6069
|
+
} | {
|
|
6070
|
+
kind: "Erc7984";
|
|
6071
|
+
/** The ERC-7984 confidential token contract address. */
|
|
6072
|
+
contract: string;
|
|
6073
|
+
/** The destination address. */
|
|
6074
|
+
to: string;
|
|
6075
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
6076
|
+
amount: string;
|
|
6077
|
+
/** The priority that determines the fees paid for the transfer. */
|
|
6078
|
+
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
6079
|
+
/** 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)) */
|
|
6080
|
+
externalId?: string | undefined;
|
|
6081
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
6082
|
+
travelRule?: ({
|
|
6083
|
+
kind: "Notabene";
|
|
6084
|
+
beneficiaryVASPdid?: string | undefined;
|
|
6085
|
+
beneficiaryProof?: {
|
|
6086
|
+
[x: string]: any;
|
|
6087
|
+
} | undefined;
|
|
6088
|
+
originator: {
|
|
6089
|
+
[x: string]: any;
|
|
6090
|
+
};
|
|
6091
|
+
beneficiary: {
|
|
6092
|
+
[x: string]: any;
|
|
6093
|
+
};
|
|
6094
|
+
}) | undefined;
|
|
6095
|
+
/** 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)) */
|
|
6096
|
+
feeSponsorId?: string | undefined;
|
|
5938
6097
|
} | {
|
|
5939
6098
|
kind: "Hip17";
|
|
5940
6099
|
/** The token to transfer. */
|
|
@@ -6565,6 +6724,34 @@ export type TransferAssetResponse = {
|
|
|
6565
6724
|
}) | undefined;
|
|
6566
6725
|
/** 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)) */
|
|
6567
6726
|
feeSponsorId?: string | undefined;
|
|
6727
|
+
} | {
|
|
6728
|
+
kind: "Erc7984";
|
|
6729
|
+
/** The ERC-7984 confidential token contract address. */
|
|
6730
|
+
contract: string;
|
|
6731
|
+
/** The destination address. */
|
|
6732
|
+
to: string;
|
|
6733
|
+
/** The amount of tokens to transfer in minimum denomination. */
|
|
6734
|
+
amount: string;
|
|
6735
|
+
/** The priority that determines the fees paid for the transfer. */
|
|
6736
|
+
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
6737
|
+
/** 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)) */
|
|
6738
|
+
externalId?: string | undefined;
|
|
6739
|
+
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
6740
|
+
travelRule?: ({
|
|
6741
|
+
kind: "Notabene";
|
|
6742
|
+
beneficiaryVASPdid?: string | undefined;
|
|
6743
|
+
beneficiaryProof?: {
|
|
6744
|
+
[x: string]: any;
|
|
6745
|
+
} | undefined;
|
|
6746
|
+
originator: {
|
|
6747
|
+
[x: string]: any;
|
|
6748
|
+
};
|
|
6749
|
+
beneficiary: {
|
|
6750
|
+
[x: string]: any;
|
|
6751
|
+
};
|
|
6752
|
+
}) | undefined;
|
|
6753
|
+
/** 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)) */
|
|
6754
|
+
feeSponsorId?: string | undefined;
|
|
6568
6755
|
} | {
|
|
6569
6756
|
kind: "Hip17";
|
|
6570
6757
|
/** The token to transfer. */
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dfns/sdk",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.18",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
|
-
"url": "https://github.com/dfns/dfns-sdk-ts",
|
|
6
|
+
"url": "git+https://github.com/dfns/dfns-sdk-ts.git",
|
|
7
7
|
"directory": "packages/sdk"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|