@dfns/sdk 0.8.8 → 0.8.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -347,11 +347,11 @@ export type CreateApprovalDecisionResponse = {
347
347
  walletId: string;
348
348
  /** The blockchain network this transfer is on. */
349
349
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
350
- /** The user (including Service Accounts) who requested this transfer. */
350
+ /** The user who initiated the request. */
351
351
  requester: {
352
- /** The id of the user who requested this transfer. */
352
+ /** User id. */
353
353
  userId: string;
354
- /** The id of the token used to authenticate the user. */
354
+ /** Token id. */
355
355
  tokenId?: string | undefined;
356
356
  };
357
357
  requestBody: {
@@ -361,7 +361,7 @@ export type CreateApprovalDecisionResponse = {
361
361
  /** The amount of native tokens to transfer in minimum denomination. */
362
362
  amount: string;
363
363
  /** The memo or destination tag (supported networks only). */
364
- memo?: string | undefined;
364
+ memo?: (string | "") | undefined;
365
365
  /** The priority that determines the fees paid for the transfer. All EVM compatible networks and Bitcoin support `priority`. Not supported for other networks. It uses the [estimate fees](https://docs.dfns.co/api-reference/networks/estimate-fees) API to calculate the transfer fees. When not specified, defaults to `Standard` priority. */
366
366
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
367
367
  /** Whether to create the destination account on chains that require account creation (e.g., Stellar). Only valid for chains that require the receiver account to exist before transfer. */
@@ -389,15 +389,13 @@ export type CreateApprovalDecisionResponse = {
389
389
  /** 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)) */
390
390
  feeSponsorId?: string | undefined;
391
391
  } | {
392
- kind: "Asa";
393
- /** The token asset id. */
394
- assetId: string;
392
+ kind: "Aip21";
393
+ /** The asset metadata address. */
394
+ metadata: string;
395
395
  /** The destination address. */
396
396
  to: string;
397
397
  /** The amount of tokens to transfer in minimum denomination. */
398
398
  amount: string;
399
- /** The memo. */
400
- memo?: string | undefined;
401
399
  /** 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)) */
402
400
  externalId?: string | undefined;
403
401
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -417,13 +415,15 @@ export type CreateApprovalDecisionResponse = {
417
415
  /** 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)) */
418
416
  feeSponsorId?: string | undefined;
419
417
  } | {
420
- kind: "Aip21";
421
- /** The asset metadata address. */
422
- metadata: string;
418
+ kind: "Asa";
419
+ /** The token asset id. */
420
+ assetId: string;
423
421
  /** The destination address. */
424
422
  to: string;
425
423
  /** The amount of tokens to transfer in minimum denomination. */
426
424
  amount: string;
425
+ /** The memo. */
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;
429
429
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -524,6 +524,34 @@ export type CreateApprovalDecisionResponse = {
524
524
  }) | undefined;
525
525
  /** 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)) */
526
526
  feeSponsorId?: string | undefined;
527
+ } | {
528
+ kind: "Cis7";
529
+ /** The destination address. */
530
+ to: string;
531
+ /** The amount of tokens to transfer in minimum denomination. */
532
+ amount: string;
533
+ /** The Cis7 token identifier. */
534
+ tokenId: string;
535
+ /** The memo or destination tag. */
536
+ memo?: (string | "") | undefined;
537
+ /** 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)) */
538
+ externalId?: string | undefined;
539
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
540
+ travelRule?: ({
541
+ kind: "Notabene";
542
+ beneficiaryVASPdid?: string | undefined;
543
+ beneficiaryProof?: {
544
+ [x: string]: any;
545
+ } | undefined;
546
+ originator: {
547
+ [x: string]: any;
548
+ };
549
+ beneficiary: {
550
+ [x: string]: any;
551
+ };
552
+ }) | undefined;
553
+ /** 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)) */
554
+ feeSponsorId?: string | undefined;
527
555
  } | {
528
556
  kind: "Coin";
529
557
  /** The coin identifier. */
@@ -614,7 +642,7 @@ export type CreateApprovalDecisionResponse = {
614
642
  /** The destination address. */
615
643
  to: string;
616
644
  /** The memo. */
617
- memo?: string | undefined;
645
+ memo?: (string | "") | undefined;
618
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)) */
619
647
  externalId?: string | undefined;
620
648
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -642,7 +670,7 @@ export type CreateApprovalDecisionResponse = {
642
670
  /** The amount of tokens to transfer in minimum denomination. */
643
671
  amount: string;
644
672
  /** The memo. */
645
- memo?: string | undefined;
673
+ memo?: (string | "") | undefined;
646
674
  /** 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
675
  externalId?: string | undefined;
648
676
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -662,14 +690,16 @@ export type CreateApprovalDecisionResponse = {
662
690
  /** 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)) */
663
691
  feeSponsorId?: string | undefined;
664
692
  } | {
665
- kind: "Cis7";
693
+ kind: "Iou";
694
+ /** The IOU currency code. */
695
+ currency: string;
696
+ /** The IOU issuer address. */
697
+ issuer: string;
666
698
  /** The destination address. */
667
699
  to: string;
668
700
  /** The amount of tokens to transfer in minimum denomination. */
669
701
  amount: string;
670
- /** The Cis7 token identifier. */
671
- tokenId: string;
672
- /** The memo or destination tag. */
702
+ /** The memo or destination tag for XRPL transactions. */
673
703
  memo?: string | undefined;
674
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)) */
675
705
  externalId?: string | undefined;
@@ -700,7 +730,7 @@ export type CreateApprovalDecisionResponse = {
700
730
  /** The amount of tokens to transfer in minimum denomination. */
701
731
  amount: string;
702
732
  /** The memo or destination tag. */
703
- memo?: string | undefined;
733
+ memo?: (string | "") | undefined;
704
734
  /** 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
735
  externalId?: string | undefined;
706
736
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -808,7 +838,7 @@ export type CreateApprovalDecisionResponse = {
808
838
  /** The amount of tokens to transfer in minimum denomination. */
809
839
  amount: string;
810
840
  /** The memo or destination tag. */
811
- memo?: string | undefined;
841
+ memo?: (string | "") | undefined;
812
842
  /** 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)) */
813
843
  externalId?: string | undefined;
814
844
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -905,6 +935,34 @@ export type CreateApprovalDecisionResponse = {
905
935
  }) | undefined;
906
936
  /** 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)) */
907
937
  feeSponsorId?: string | undefined;
938
+ } | {
939
+ kind: "Xls33";
940
+ /** The XLS-33 issuance identifier. */
941
+ issuanceId: string;
942
+ /** The destination address. */
943
+ to: string;
944
+ /** The amount of tokens to transfer in minimum denomination. */
945
+ amount: string;
946
+ /** The memo or destination tag for XRPL transactions. */
947
+ memo?: string | undefined;
948
+ /** 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
+ externalId?: string | undefined;
950
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
951
+ travelRule?: ({
952
+ kind: "Notabene";
953
+ beneficiaryVASPdid?: string | undefined;
954
+ beneficiaryProof?: {
955
+ [x: string]: any;
956
+ } | undefined;
957
+ originator: {
958
+ [x: string]: any;
959
+ };
960
+ beneficiary: {
961
+ [x: string]: any;
962
+ };
963
+ }) | undefined;
964
+ /** 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)) */
965
+ feeSponsorId?: string | undefined;
908
966
  };
909
967
  /** Additional metadata about the transfered asset. */
910
968
  metadata: {
@@ -954,6 +1012,7 @@ export type CreateApprovalDecisionResponse = {
954
1012
  /** Wallet id. */
955
1013
  walletId: string;
956
1014
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
1015
+ /** The user who initiated the request. */
957
1016
  requester: {
958
1017
  /** User id. */
959
1018
  userId: string;
@@ -1062,6 +1121,7 @@ export type CreateApprovalDecisionResponse = {
1062
1121
  id: string;
1063
1122
  /** Key id. */
1064
1123
  keyId: string;
1124
+ /** The user who initiated the request. */
1065
1125
  requester: {
1066
1126
  /** User id. */
1067
1127
  userId: string;
@@ -1364,10 +1424,11 @@ export type CreateApprovalDecisionResponse = {
1364
1424
  amount: string;
1365
1425
  };
1366
1426
  } | {};
1427
+ /** The user who initiated the request. */
1367
1428
  requester: {
1368
- /** User (could be a service account) who requested the resource. */
1429
+ /** User id. */
1369
1430
  userId: string;
1370
- /** Service Account token or Personal Access token used when requesting the resource. */
1431
+ /** Token id. */
1371
1432
  tokenId?: string | undefined;
1372
1433
  };
1373
1434
  } | undefined;
@@ -1853,6 +1914,46 @@ export type CreateApprovalDecisionResponse = {
1853
1914
  tos: string[];
1854
1915
  value: string;
1855
1916
  fee?: string | undefined;
1917
+ } | {
1918
+ walletId: string;
1919
+ direction: "In" | "Out";
1920
+ network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
1921
+ blockNumber: number;
1922
+ txHash: string;
1923
+ index?: string | undefined;
1924
+ timestamp: string;
1925
+ metadata: {
1926
+ asset: {
1927
+ symbol?: string | undefined;
1928
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
1929
+ decimals?: number | undefined;
1930
+ /** Whether the asset is verified by DFNS as legitimate. */
1931
+ verified?: boolean | undefined;
1932
+ /** Corresponding asset price in USD at the time of transfer. */
1933
+ quotes?: {
1934
+ [x: string]: number;
1935
+ } | undefined;
1936
+ };
1937
+ fee?: {
1938
+ symbol?: string | undefined;
1939
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
1940
+ decimals?: number | undefined;
1941
+ /** Whether the asset is verified by DFNS as legitimate. */
1942
+ verified?: boolean | undefined;
1943
+ /** Corresponding asset price in USD at the time of transfer. */
1944
+ quotes?: {
1945
+ [x: string]: number;
1946
+ } | undefined;
1947
+ } | undefined;
1948
+ };
1949
+ kind: "IouTransfer";
1950
+ currency: string;
1951
+ issuer: string;
1952
+ from?: string | undefined;
1953
+ to?: string | undefined;
1954
+ value: string;
1955
+ fee?: string | undefined;
1956
+ memo?: string | undefined;
1856
1957
  } | {
1857
1958
  walletId: string;
1858
1959
  direction: "In" | "Out";
@@ -1891,6 +1992,45 @@ export type CreateApprovalDecisionResponse = {
1891
1992
  tos?: string[] | undefined;
1892
1993
  value: string;
1893
1994
  fee?: string | undefined;
1995
+ } | {
1996
+ walletId: string;
1997
+ direction: "In" | "Out";
1998
+ network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
1999
+ blockNumber: number;
2000
+ txHash: string;
2001
+ index?: string | undefined;
2002
+ timestamp: string;
2003
+ metadata: {
2004
+ asset: {
2005
+ symbol?: string | undefined;
2006
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
2007
+ decimals?: number | undefined;
2008
+ /** Whether the asset is verified by DFNS as legitimate. */
2009
+ verified?: boolean | undefined;
2010
+ /** Corresponding asset price in USD at the time of transfer. */
2011
+ quotes?: {
2012
+ [x: string]: number;
2013
+ } | undefined;
2014
+ };
2015
+ fee?: {
2016
+ symbol?: string | undefined;
2017
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
2018
+ decimals?: number | undefined;
2019
+ /** Whether the asset is verified by DFNS as legitimate. */
2020
+ verified?: boolean | undefined;
2021
+ /** Corresponding asset price in USD at the time of transfer. */
2022
+ quotes?: {
2023
+ [x: string]: number;
2024
+ } | undefined;
2025
+ } | undefined;
2026
+ };
2027
+ kind: "Xls33Transfer";
2028
+ issuanceId: string;
2029
+ from?: string | undefined;
2030
+ to?: string | undefined;
2031
+ value: string;
2032
+ fee?: string | undefined;
2033
+ memo?: string | undefined;
1894
2034
  } | {
1895
2035
  walletId: string;
1896
2036
  direction: "In" | "Out";
@@ -2241,6 +2381,7 @@ export type CreateApprovalDecisionResponse = {
2241
2381
  kind: "Policies:Modify";
2242
2382
  changeRequest: {
2243
2383
  id: string;
2384
+ /** The user who initiated the change request. */
2244
2385
  requester: {
2245
2386
  userId: string;
2246
2387
  tokenId?: string | undefined;
@@ -2584,6 +2725,7 @@ export type CreateApprovalDecisionResponse = {
2584
2725
  kind: "Permissions:Modify";
2585
2726
  changeRequest: {
2586
2727
  id: string;
2728
+ /** The user who initiated the change request. */
2587
2729
  requester: {
2588
2730
  userId: string;
2589
2731
  tokenId?: string | undefined;
@@ -2609,6 +2751,7 @@ export type CreateApprovalDecisionResponse = {
2609
2751
  kind: "Permissions:Assign";
2610
2752
  changeRequest: {
2611
2753
  id: string;
2754
+ /** The user who initiated the change request. */
2612
2755
  requester: {
2613
2756
  userId: string;
2614
2757
  tokenId?: string | undefined;
@@ -3347,11 +3490,11 @@ export type GetApprovalResponse = {
3347
3490
  walletId: string;
3348
3491
  /** The blockchain network this transfer is on. */
3349
3492
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
3350
- /** The user (including Service Accounts) who requested this transfer. */
3493
+ /** The user who initiated the request. */
3351
3494
  requester: {
3352
- /** The id of the user who requested this transfer. */
3495
+ /** User id. */
3353
3496
  userId: string;
3354
- /** The id of the token used to authenticate the user. */
3497
+ /** Token id. */
3355
3498
  tokenId?: string | undefined;
3356
3499
  };
3357
3500
  requestBody: {
@@ -3361,7 +3504,7 @@ export type GetApprovalResponse = {
3361
3504
  /** The amount of native tokens to transfer in minimum denomination. */
3362
3505
  amount: string;
3363
3506
  /** The memo or destination tag (supported networks only). */
3364
- memo?: string | undefined;
3507
+ memo?: (string | "") | undefined;
3365
3508
  /** The priority that determines the fees paid for the transfer. All EVM compatible networks and Bitcoin support `priority`. Not supported for other networks. It uses the [estimate fees](https://docs.dfns.co/api-reference/networks/estimate-fees) API to calculate the transfer fees. When not specified, defaults to `Standard` priority. */
3366
3509
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
3367
3510
  /** Whether to create the destination account on chains that require account creation (e.g., Stellar). Only valid for chains that require the receiver account to exist before transfer. */
@@ -3389,15 +3532,13 @@ export type GetApprovalResponse = {
3389
3532
  /** 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)) */
3390
3533
  feeSponsorId?: string | undefined;
3391
3534
  } | {
3392
- kind: "Asa";
3393
- /** The token asset id. */
3394
- assetId: string;
3535
+ kind: "Aip21";
3536
+ /** The asset metadata address. */
3537
+ metadata: string;
3395
3538
  /** The destination address. */
3396
3539
  to: string;
3397
3540
  /** The amount of tokens to transfer in minimum denomination. */
3398
3541
  amount: string;
3399
- /** The memo. */
3400
- memo?: string | undefined;
3401
3542
  /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
3402
3543
  externalId?: string | undefined;
3403
3544
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -3417,13 +3558,15 @@ export type GetApprovalResponse = {
3417
3558
  /** 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)) */
3418
3559
  feeSponsorId?: string | undefined;
3419
3560
  } | {
3420
- kind: "Aip21";
3421
- /** The asset metadata address. */
3422
- metadata: string;
3561
+ kind: "Asa";
3562
+ /** The token asset id. */
3563
+ assetId: string;
3423
3564
  /** The destination address. */
3424
3565
  to: string;
3425
3566
  /** The amount of tokens to transfer in minimum denomination. */
3426
3567
  amount: string;
3568
+ /** The memo. */
3569
+ memo?: (string | "") | undefined;
3427
3570
  /** 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)) */
3428
3571
  externalId?: string | undefined;
3429
3572
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -3524,6 +3667,34 @@ export type GetApprovalResponse = {
3524
3667
  }) | undefined;
3525
3668
  /** 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)) */
3526
3669
  feeSponsorId?: string | undefined;
3670
+ } | {
3671
+ kind: "Cis7";
3672
+ /** The destination address. */
3673
+ to: string;
3674
+ /** The amount of tokens to transfer in minimum denomination. */
3675
+ amount: string;
3676
+ /** The Cis7 token identifier. */
3677
+ tokenId: string;
3678
+ /** The memo or destination tag. */
3679
+ memo?: (string | "") | undefined;
3680
+ /** 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)) */
3681
+ externalId?: string | undefined;
3682
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
3683
+ travelRule?: ({
3684
+ kind: "Notabene";
3685
+ beneficiaryVASPdid?: string | undefined;
3686
+ beneficiaryProof?: {
3687
+ [x: string]: any;
3688
+ } | undefined;
3689
+ originator: {
3690
+ [x: string]: any;
3691
+ };
3692
+ beneficiary: {
3693
+ [x: string]: any;
3694
+ };
3695
+ }) | undefined;
3696
+ /** 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)) */
3697
+ feeSponsorId?: string | undefined;
3527
3698
  } | {
3528
3699
  kind: "Coin";
3529
3700
  /** The coin identifier. */
@@ -3614,7 +3785,7 @@ export type GetApprovalResponse = {
3614
3785
  /** The destination address. */
3615
3786
  to: string;
3616
3787
  /** The memo. */
3617
- memo?: string | undefined;
3788
+ memo?: (string | "") | undefined;
3618
3789
  /** 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)) */
3619
3790
  externalId?: string | undefined;
3620
3791
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -3642,7 +3813,7 @@ export type GetApprovalResponse = {
3642
3813
  /** The amount of tokens to transfer in minimum denomination. */
3643
3814
  amount: string;
3644
3815
  /** The memo. */
3645
- memo?: string | undefined;
3816
+ memo?: (string | "") | undefined;
3646
3817
  /** 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)) */
3647
3818
  externalId?: string | undefined;
3648
3819
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -3662,14 +3833,16 @@ export type GetApprovalResponse = {
3662
3833
  /** 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)) */
3663
3834
  feeSponsorId?: string | undefined;
3664
3835
  } | {
3665
- kind: "Cis7";
3836
+ kind: "Iou";
3837
+ /** The IOU currency code. */
3838
+ currency: string;
3839
+ /** The IOU issuer address. */
3840
+ issuer: string;
3666
3841
  /** The destination address. */
3667
3842
  to: string;
3668
3843
  /** The amount of tokens to transfer in minimum denomination. */
3669
3844
  amount: string;
3670
- /** The Cis7 token identifier. */
3671
- tokenId: string;
3672
- /** The memo or destination tag. */
3845
+ /** The memo or destination tag for XRPL transactions. */
3673
3846
  memo?: string | undefined;
3674
3847
  /** 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)) */
3675
3848
  externalId?: string | undefined;
@@ -3700,7 +3873,7 @@ export type GetApprovalResponse = {
3700
3873
  /** The amount of tokens to transfer in minimum denomination. */
3701
3874
  amount: string;
3702
3875
  /** The memo or destination tag. */
3703
- memo?: string | undefined;
3876
+ memo?: (string | "") | undefined;
3704
3877
  /** 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)) */
3705
3878
  externalId?: string | undefined;
3706
3879
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -3808,7 +3981,7 @@ export type GetApprovalResponse = {
3808
3981
  /** The amount of tokens to transfer in minimum denomination. */
3809
3982
  amount: string;
3810
3983
  /** The memo or destination tag. */
3811
- memo?: string | undefined;
3984
+ memo?: (string | "") | undefined;
3812
3985
  /** 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)) */
3813
3986
  externalId?: string | undefined;
3814
3987
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -3905,6 +4078,34 @@ export type GetApprovalResponse = {
3905
4078
  }) | undefined;
3906
4079
  /** 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)) */
3907
4080
  feeSponsorId?: string | undefined;
4081
+ } | {
4082
+ kind: "Xls33";
4083
+ /** The XLS-33 issuance identifier. */
4084
+ issuanceId: string;
4085
+ /** The destination address. */
4086
+ to: string;
4087
+ /** The amount of tokens to transfer in minimum denomination. */
4088
+ amount: string;
4089
+ /** The memo or destination tag for XRPL transactions. */
4090
+ memo?: string | undefined;
4091
+ /** 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
+ externalId?: string | undefined;
4093
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4094
+ travelRule?: ({
4095
+ kind: "Notabene";
4096
+ beneficiaryVASPdid?: string | undefined;
4097
+ beneficiaryProof?: {
4098
+ [x: string]: any;
4099
+ } | undefined;
4100
+ originator: {
4101
+ [x: string]: any;
4102
+ };
4103
+ beneficiary: {
4104
+ [x: string]: any;
4105
+ };
4106
+ }) | undefined;
4107
+ /** 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)) */
4108
+ feeSponsorId?: string | undefined;
3908
4109
  };
3909
4110
  /** Additional metadata about the transfered asset. */
3910
4111
  metadata: {
@@ -3954,6 +4155,7 @@ export type GetApprovalResponse = {
3954
4155
  /** Wallet id. */
3955
4156
  walletId: string;
3956
4157
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
4158
+ /** The user who initiated the request. */
3957
4159
  requester: {
3958
4160
  /** User id. */
3959
4161
  userId: string;
@@ -4062,6 +4264,7 @@ export type GetApprovalResponse = {
4062
4264
  id: string;
4063
4265
  /** Key id. */
4064
4266
  keyId: string;
4267
+ /** The user who initiated the request. */
4065
4268
  requester: {
4066
4269
  /** User id. */
4067
4270
  userId: string;
@@ -4364,10 +4567,11 @@ export type GetApprovalResponse = {
4364
4567
  amount: string;
4365
4568
  };
4366
4569
  } | {};
4570
+ /** The user who initiated the request. */
4367
4571
  requester: {
4368
- /** User (could be a service account) who requested the resource. */
4572
+ /** User id. */
4369
4573
  userId: string;
4370
- /** Service Account token or Personal Access token used when requesting the resource. */
4574
+ /** Token id. */
4371
4575
  tokenId?: string | undefined;
4372
4576
  };
4373
4577
  } | undefined;
@@ -4853,6 +5057,46 @@ export type GetApprovalResponse = {
4853
5057
  tos: string[];
4854
5058
  value: string;
4855
5059
  fee?: string | undefined;
5060
+ } | {
5061
+ walletId: string;
5062
+ direction: "In" | "Out";
5063
+ network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
5064
+ blockNumber: number;
5065
+ txHash: string;
5066
+ index?: string | undefined;
5067
+ timestamp: string;
5068
+ metadata: {
5069
+ asset: {
5070
+ symbol?: string | undefined;
5071
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
5072
+ decimals?: number | undefined;
5073
+ /** Whether the asset is verified by DFNS as legitimate. */
5074
+ verified?: boolean | undefined;
5075
+ /** Corresponding asset price in USD at the time of transfer. */
5076
+ quotes?: {
5077
+ [x: string]: number;
5078
+ } | undefined;
5079
+ };
5080
+ fee?: {
5081
+ symbol?: string | undefined;
5082
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
5083
+ decimals?: number | undefined;
5084
+ /** Whether the asset is verified by DFNS as legitimate. */
5085
+ verified?: boolean | undefined;
5086
+ /** Corresponding asset price in USD at the time of transfer. */
5087
+ quotes?: {
5088
+ [x: string]: number;
5089
+ } | undefined;
5090
+ } | undefined;
5091
+ };
5092
+ kind: "IouTransfer";
5093
+ currency: string;
5094
+ issuer: string;
5095
+ from?: string | undefined;
5096
+ to?: string | undefined;
5097
+ value: string;
5098
+ fee?: string | undefined;
5099
+ memo?: string | undefined;
4856
5100
  } | {
4857
5101
  walletId: string;
4858
5102
  direction: "In" | "Out";
@@ -4891,6 +5135,45 @@ export type GetApprovalResponse = {
4891
5135
  tos?: string[] | undefined;
4892
5136
  value: string;
4893
5137
  fee?: string | undefined;
5138
+ } | {
5139
+ walletId: string;
5140
+ direction: "In" | "Out";
5141
+ network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
5142
+ blockNumber: number;
5143
+ txHash: string;
5144
+ index?: string | undefined;
5145
+ timestamp: string;
5146
+ metadata: {
5147
+ asset: {
5148
+ symbol?: string | undefined;
5149
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
5150
+ decimals?: number | undefined;
5151
+ /** Whether the asset is verified by DFNS as legitimate. */
5152
+ verified?: boolean | undefined;
5153
+ /** Corresponding asset price in USD at the time of transfer. */
5154
+ quotes?: {
5155
+ [x: string]: number;
5156
+ } | undefined;
5157
+ };
5158
+ fee?: {
5159
+ symbol?: string | undefined;
5160
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
5161
+ decimals?: number | undefined;
5162
+ /** Whether the asset is verified by DFNS as legitimate. */
5163
+ verified?: boolean | undefined;
5164
+ /** Corresponding asset price in USD at the time of transfer. */
5165
+ quotes?: {
5166
+ [x: string]: number;
5167
+ } | undefined;
5168
+ } | undefined;
5169
+ };
5170
+ kind: "Xls33Transfer";
5171
+ issuanceId: string;
5172
+ from?: string | undefined;
5173
+ to?: string | undefined;
5174
+ value: string;
5175
+ fee?: string | undefined;
5176
+ memo?: string | undefined;
4894
5177
  } | {
4895
5178
  walletId: string;
4896
5179
  direction: "In" | "Out";
@@ -5241,6 +5524,7 @@ export type GetApprovalResponse = {
5241
5524
  kind: "Policies:Modify";
5242
5525
  changeRequest: {
5243
5526
  id: string;
5527
+ /** The user who initiated the change request. */
5244
5528
  requester: {
5245
5529
  userId: string;
5246
5530
  tokenId?: string | undefined;
@@ -5584,6 +5868,7 @@ export type GetApprovalResponse = {
5584
5868
  kind: "Permissions:Modify";
5585
5869
  changeRequest: {
5586
5870
  id: string;
5871
+ /** The user who initiated the change request. */
5587
5872
  requester: {
5588
5873
  userId: string;
5589
5874
  tokenId?: string | undefined;
@@ -5609,6 +5894,7 @@ export type GetApprovalResponse = {
5609
5894
  kind: "Permissions:Assign";
5610
5895
  changeRequest: {
5611
5896
  id: string;
5897
+ /** The user who initiated the change request. */
5612
5898
  requester: {
5613
5899
  userId: string;
5614
5900
  tokenId?: string | undefined;
@@ -6034,6 +6320,7 @@ export type GetPolicyResponse = ({
6034
6320
  }) & {
6035
6321
  pendingChangeRequest?: {
6036
6322
  id: string;
6323
+ /** The user who initiated the change request. */
6037
6324
  requester: {
6038
6325
  userId: string;
6039
6326
  tokenId?: string | undefined;
@@ -6395,11 +6682,11 @@ export type ListApprovalsResponse = {
6395
6682
  walletId: string;
6396
6683
  /** The blockchain network this transfer is on. */
6397
6684
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
6398
- /** The user (including Service Accounts) who requested this transfer. */
6685
+ /** The user who initiated the request. */
6399
6686
  requester: {
6400
- /** The id of the user who requested this transfer. */
6687
+ /** User id. */
6401
6688
  userId: string;
6402
- /** The id of the token used to authenticate the user. */
6689
+ /** Token id. */
6403
6690
  tokenId?: string | undefined;
6404
6691
  };
6405
6692
  requestBody: {
@@ -6409,7 +6696,7 @@ export type ListApprovalsResponse = {
6409
6696
  /** The amount of native tokens to transfer in minimum denomination. */
6410
6697
  amount: string;
6411
6698
  /** The memo or destination tag (supported networks only). */
6412
- memo?: string | undefined;
6699
+ memo?: (string | "") | undefined;
6413
6700
  /** The priority that determines the fees paid for the transfer. All EVM compatible networks and Bitcoin support `priority`. Not supported for other networks. It uses the [estimate fees](https://docs.dfns.co/api-reference/networks/estimate-fees) API to calculate the transfer fees. When not specified, defaults to `Standard` priority. */
6414
6701
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
6415
6702
  /** Whether to create the destination account on chains that require account creation (e.g., Stellar). Only valid for chains that require the receiver account to exist before transfer. */
@@ -6437,15 +6724,13 @@ export type ListApprovalsResponse = {
6437
6724
  /** 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)) */
6438
6725
  feeSponsorId?: string | undefined;
6439
6726
  } | {
6440
- kind: "Asa";
6441
- /** The token asset id. */
6442
- assetId: string;
6727
+ kind: "Aip21";
6728
+ /** The asset metadata address. */
6729
+ metadata: string;
6443
6730
  /** The destination address. */
6444
6731
  to: string;
6445
6732
  /** The amount of tokens to transfer in minimum denomination. */
6446
6733
  amount: string;
6447
- /** The memo. */
6448
- memo?: string | undefined;
6449
6734
  /** 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)) */
6450
6735
  externalId?: string | undefined;
6451
6736
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -6465,13 +6750,15 @@ export type ListApprovalsResponse = {
6465
6750
  /** 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)) */
6466
6751
  feeSponsorId?: string | undefined;
6467
6752
  } | {
6468
- kind: "Aip21";
6469
- /** The asset metadata address. */
6470
- metadata: string;
6753
+ kind: "Asa";
6754
+ /** The token asset id. */
6755
+ assetId: string;
6471
6756
  /** The destination address. */
6472
6757
  to: string;
6473
6758
  /** The amount of tokens to transfer in minimum denomination. */
6474
6759
  amount: string;
6760
+ /** The memo. */
6761
+ memo?: (string | "") | undefined;
6475
6762
  /** 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)) */
6476
6763
  externalId?: string | undefined;
6477
6764
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -6572,6 +6859,34 @@ export type ListApprovalsResponse = {
6572
6859
  }) | undefined;
6573
6860
  /** 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)) */
6574
6861
  feeSponsorId?: string | undefined;
6862
+ } | {
6863
+ kind: "Cis7";
6864
+ /** The destination address. */
6865
+ to: string;
6866
+ /** The amount of tokens to transfer in minimum denomination. */
6867
+ amount: string;
6868
+ /** The Cis7 token identifier. */
6869
+ tokenId: string;
6870
+ /** The memo or destination tag. */
6871
+ memo?: (string | "") | undefined;
6872
+ /** 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)) */
6873
+ externalId?: string | undefined;
6874
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
6875
+ travelRule?: ({
6876
+ kind: "Notabene";
6877
+ beneficiaryVASPdid?: string | undefined;
6878
+ beneficiaryProof?: {
6879
+ [x: string]: any;
6880
+ } | undefined;
6881
+ originator: {
6882
+ [x: string]: any;
6883
+ };
6884
+ beneficiary: {
6885
+ [x: string]: any;
6886
+ };
6887
+ }) | undefined;
6888
+ /** 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)) */
6889
+ feeSponsorId?: string | undefined;
6575
6890
  } | {
6576
6891
  kind: "Coin";
6577
6892
  /** The coin identifier. */
@@ -6662,7 +6977,7 @@ export type ListApprovalsResponse = {
6662
6977
  /** The destination address. */
6663
6978
  to: string;
6664
6979
  /** The memo. */
6665
- memo?: string | undefined;
6980
+ memo?: (string | "") | undefined;
6666
6981
  /** 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)) */
6667
6982
  externalId?: string | undefined;
6668
6983
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -6690,7 +7005,7 @@ export type ListApprovalsResponse = {
6690
7005
  /** The amount of tokens to transfer in minimum denomination. */
6691
7006
  amount: string;
6692
7007
  /** The memo. */
6693
- memo?: string | undefined;
7008
+ memo?: (string | "") | undefined;
6694
7009
  /** 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)) */
6695
7010
  externalId?: string | undefined;
6696
7011
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -6710,14 +7025,16 @@ export type ListApprovalsResponse = {
6710
7025
  /** 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)) */
6711
7026
  feeSponsorId?: string | undefined;
6712
7027
  } | {
6713
- kind: "Cis7";
7028
+ kind: "Iou";
7029
+ /** The IOU currency code. */
7030
+ currency: string;
7031
+ /** The IOU issuer address. */
7032
+ issuer: string;
6714
7033
  /** The destination address. */
6715
7034
  to: string;
6716
7035
  /** The amount of tokens to transfer in minimum denomination. */
6717
7036
  amount: string;
6718
- /** The Cis7 token identifier. */
6719
- tokenId: string;
6720
- /** The memo or destination tag. */
7037
+ /** The memo or destination tag for XRPL transactions. */
6721
7038
  memo?: string | undefined;
6722
7039
  /** 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)) */
6723
7040
  externalId?: string | undefined;
@@ -6748,7 +7065,7 @@ export type ListApprovalsResponse = {
6748
7065
  /** The amount of tokens to transfer in minimum denomination. */
6749
7066
  amount: string;
6750
7067
  /** The memo or destination tag. */
6751
- memo?: string | undefined;
7068
+ memo?: (string | "") | undefined;
6752
7069
  /** 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)) */
6753
7070
  externalId?: string | undefined;
6754
7071
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -6856,7 +7173,7 @@ export type ListApprovalsResponse = {
6856
7173
  /** The amount of tokens to transfer in minimum denomination. */
6857
7174
  amount: string;
6858
7175
  /** The memo or destination tag. */
6859
- memo?: string | undefined;
7176
+ memo?: (string | "") | undefined;
6860
7177
  /** 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)) */
6861
7178
  externalId?: string | undefined;
6862
7179
  /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
@@ -6953,6 +7270,34 @@ export type ListApprovalsResponse = {
6953
7270
  }) | undefined;
6954
7271
  /** 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)) */
6955
7272
  feeSponsorId?: string | undefined;
7273
+ } | {
7274
+ kind: "Xls33";
7275
+ /** The XLS-33 issuance identifier. */
7276
+ issuanceId: string;
7277
+ /** The destination address. */
7278
+ to: string;
7279
+ /** The amount of tokens to transfer in minimum denomination. */
7280
+ amount: string;
7281
+ /** The memo or destination tag for XRPL transactions. */
7282
+ memo?: string | undefined;
7283
+ /** 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
+ externalId?: string | undefined;
7285
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
7286
+ travelRule?: ({
7287
+ kind: "Notabene";
7288
+ beneficiaryVASPdid?: string | undefined;
7289
+ beneficiaryProof?: {
7290
+ [x: string]: any;
7291
+ } | undefined;
7292
+ originator: {
7293
+ [x: string]: any;
7294
+ };
7295
+ beneficiary: {
7296
+ [x: string]: any;
7297
+ };
7298
+ }) | undefined;
7299
+ /** 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)) */
7300
+ feeSponsorId?: string | undefined;
6956
7301
  };
6957
7302
  /** Additional metadata about the transfered asset. */
6958
7303
  metadata: {
@@ -7002,6 +7347,7 @@ export type ListApprovalsResponse = {
7002
7347
  /** Wallet id. */
7003
7348
  walletId: string;
7004
7349
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
7350
+ /** The user who initiated the request. */
7005
7351
  requester: {
7006
7352
  /** User id. */
7007
7353
  userId: string;
@@ -7110,6 +7456,7 @@ export type ListApprovalsResponse = {
7110
7456
  id: string;
7111
7457
  /** Key id. */
7112
7458
  keyId: string;
7459
+ /** The user who initiated the request. */
7113
7460
  requester: {
7114
7461
  /** User id. */
7115
7462
  userId: string;
@@ -7412,10 +7759,11 @@ export type ListApprovalsResponse = {
7412
7759
  amount: string;
7413
7760
  };
7414
7761
  } | {};
7762
+ /** The user who initiated the request. */
7415
7763
  requester: {
7416
- /** User (could be a service account) who requested the resource. */
7764
+ /** User id. */
7417
7765
  userId: string;
7418
- /** Service Account token or Personal Access token used when requesting the resource. */
7766
+ /** Token id. */
7419
7767
  tokenId?: string | undefined;
7420
7768
  };
7421
7769
  } | undefined;
@@ -7901,6 +8249,46 @@ export type ListApprovalsResponse = {
7901
8249
  tos: string[];
7902
8250
  value: string;
7903
8251
  fee?: string | undefined;
8252
+ } | {
8253
+ walletId: string;
8254
+ direction: "In" | "Out";
8255
+ network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
8256
+ blockNumber: number;
8257
+ txHash: string;
8258
+ index?: string | undefined;
8259
+ timestamp: string;
8260
+ metadata: {
8261
+ asset: {
8262
+ symbol?: string | undefined;
8263
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
8264
+ decimals?: number | undefined;
8265
+ /** Whether the asset is verified by DFNS as legitimate. */
8266
+ verified?: boolean | undefined;
8267
+ /** Corresponding asset price in USD at the time of transfer. */
8268
+ quotes?: {
8269
+ [x: string]: number;
8270
+ } | undefined;
8271
+ };
8272
+ fee?: {
8273
+ symbol?: string | undefined;
8274
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
8275
+ decimals?: number | undefined;
8276
+ /** Whether the asset is verified by DFNS as legitimate. */
8277
+ verified?: boolean | undefined;
8278
+ /** Corresponding asset price in USD at the time of transfer. */
8279
+ quotes?: {
8280
+ [x: string]: number;
8281
+ } | undefined;
8282
+ } | undefined;
8283
+ };
8284
+ kind: "IouTransfer";
8285
+ currency: string;
8286
+ issuer: string;
8287
+ from?: string | undefined;
8288
+ to?: string | undefined;
8289
+ value: string;
8290
+ fee?: string | undefined;
8291
+ memo?: string | undefined;
7904
8292
  } | {
7905
8293
  walletId: string;
7906
8294
  direction: "In" | "Out";
@@ -7939,6 +8327,45 @@ export type ListApprovalsResponse = {
7939
8327
  tos?: string[] | undefined;
7940
8328
  value: string;
7941
8329
  fee?: string | undefined;
8330
+ } | {
8331
+ walletId: string;
8332
+ direction: "In" | "Out";
8333
+ network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "TempoAndantino" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet";
8334
+ blockNumber: number;
8335
+ txHash: string;
8336
+ index?: string | undefined;
8337
+ timestamp: string;
8338
+ metadata: {
8339
+ asset: {
8340
+ symbol?: string | undefined;
8341
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
8342
+ decimals?: number | undefined;
8343
+ /** Whether the asset is verified by DFNS as legitimate. */
8344
+ verified?: boolean | undefined;
8345
+ /** Corresponding asset price in USD at the time of transfer. */
8346
+ quotes?: {
8347
+ [x: string]: number;
8348
+ } | undefined;
8349
+ };
8350
+ fee?: {
8351
+ symbol?: string | undefined;
8352
+ /** Number of decimals used by the asset, see [this guide](https://docs.dfns.co/guides/developers/displaying-balances) for more details. */
8353
+ decimals?: number | undefined;
8354
+ /** Whether the asset is verified by DFNS as legitimate. */
8355
+ verified?: boolean | undefined;
8356
+ /** Corresponding asset price in USD at the time of transfer. */
8357
+ quotes?: {
8358
+ [x: string]: number;
8359
+ } | undefined;
8360
+ } | undefined;
8361
+ };
8362
+ kind: "Xls33Transfer";
8363
+ issuanceId: string;
8364
+ from?: string | undefined;
8365
+ to?: string | undefined;
8366
+ value: string;
8367
+ fee?: string | undefined;
8368
+ memo?: string | undefined;
7942
8369
  } | {
7943
8370
  walletId: string;
7944
8371
  direction: "In" | "Out";
@@ -8289,6 +8716,7 @@ export type ListApprovalsResponse = {
8289
8716
  kind: "Policies:Modify";
8290
8717
  changeRequest: {
8291
8718
  id: string;
8719
+ /** The user who initiated the change request. */
8292
8720
  requester: {
8293
8721
  userId: string;
8294
8722
  tokenId?: string | undefined;
@@ -8632,6 +9060,7 @@ export type ListApprovalsResponse = {
8632
9060
  kind: "Permissions:Modify";
8633
9061
  changeRequest: {
8634
9062
  id: string;
9063
+ /** The user who initiated the change request. */
8635
9064
  requester: {
8636
9065
  userId: string;
8637
9066
  tokenId?: string | undefined;
@@ -8657,6 +9086,7 @@ export type ListApprovalsResponse = {
8657
9086
  kind: "Permissions:Assign";
8658
9087
  changeRequest: {
8659
9088
  id: string;
9089
+ /** The user who initiated the change request. */
8660
9090
  requester: {
8661
9091
  userId: string;
8662
9092
  tokenId?: string | undefined;
@@ -9089,6 +9519,7 @@ export type ListPoliciesResponse = {
9089
9519
  }) & {
9090
9520
  pendingChangeRequest?: {
9091
9521
  id: string;
9522
+ /** The user who initiated the change request. */
9092
9523
  requester: {
9093
9524
  userId: string;
9094
9525
  tokenId?: string | undefined;