@dfns/sdk 0.7.12 → 0.7.13

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.
@@ -15,6 +15,7 @@ export type ActivatePersonalAccessTokenResponse = {
15
15
  dateCreated: string;
16
16
  credId: string;
17
17
  isActive: boolean;
18
+ /** Access token kind */
18
19
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
19
20
  linkedUserId: string;
20
21
  linkedAppId: string;
@@ -57,6 +58,7 @@ export type ActivateServiceAccountResponse = {
57
58
  dateCreated: string;
58
59
  credId: string;
59
60
  isActive: boolean;
61
+ /** Access token kind */
60
62
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
61
63
  linkedUserId: string;
62
64
  linkedAppId: string;
@@ -103,6 +105,7 @@ export type ArchivePersonalAccessTokenResponse = {
103
105
  dateCreated: string;
104
106
  credId: string;
105
107
  isActive: boolean;
108
+ /** Access token kind */
106
109
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
107
110
  linkedUserId: string;
108
111
  linkedAppId: string;
@@ -145,6 +148,7 @@ export type ArchiveServiceAccountResponse = {
145
148
  dateCreated: string;
146
149
  credId: string;
147
150
  isActive: boolean;
151
+ /** Access token kind */
148
152
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
149
153
  linkedUserId: string;
150
154
  linkedAppId: string;
@@ -853,6 +857,7 @@ export type CreateServiceAccountResponse = {
853
857
  dateCreated: string;
854
858
  credId: string;
855
859
  isActive: boolean;
860
+ /** Access token kind */
856
861
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
857
862
  linkedUserId: string;
858
863
  linkedAppId: string;
@@ -1072,6 +1077,7 @@ export type DeactivatePersonalAccessTokenResponse = {
1072
1077
  dateCreated: string;
1073
1078
  credId: string;
1074
1079
  isActive: boolean;
1080
+ /** Access token kind */
1075
1081
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1076
1082
  linkedUserId: string;
1077
1083
  linkedAppId: string;
@@ -1114,6 +1120,7 @@ export type DeactivateServiceAccountResponse = {
1114
1120
  dateCreated: string;
1115
1121
  credId: string;
1116
1122
  isActive: boolean;
1123
+ /** Access token kind */
1117
1124
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1118
1125
  linkedUserId: string;
1119
1126
  linkedAppId: string;
@@ -1183,6 +1190,7 @@ export type GetApplicationResponse = {
1183
1190
  dateCreated: string;
1184
1191
  credId: string;
1185
1192
  isActive: boolean;
1193
+ /** Access token kind */
1186
1194
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1187
1195
  linkedUserId: string;
1188
1196
  linkedAppId: string;
@@ -1229,6 +1237,7 @@ export type GetPersonalAccessTokenResponse = {
1229
1237
  dateCreated: string;
1230
1238
  credId: string;
1231
1239
  isActive: boolean;
1240
+ /** Access token kind */
1232
1241
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1233
1242
  linkedUserId: string;
1234
1243
  linkedAppId: string;
@@ -1271,6 +1280,7 @@ export type GetServiceAccountResponse = {
1271
1280
  dateCreated: string;
1272
1281
  credId: string;
1273
1282
  isActive: boolean;
1283
+ /** Access token kind */
1274
1284
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1275
1285
  linkedUserId: string;
1276
1286
  linkedAppId: string;
@@ -1329,6 +1339,7 @@ export type ListApplicationsResponse = {
1329
1339
  dateCreated: string;
1330
1340
  credId: string;
1331
1341
  isActive: boolean;
1342
+ /** Access token kind */
1332
1343
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1333
1344
  linkedUserId: string;
1334
1345
  linkedAppId: string;
@@ -1373,6 +1384,7 @@ export type ListPersonalAccessTokensResponse = {
1373
1384
  dateCreated: string;
1374
1385
  credId: string;
1375
1386
  isActive: boolean;
1387
+ /** Access token kind */
1376
1388
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1377
1389
  linkedUserId: string;
1378
1390
  linkedAppId: string;
@@ -1413,6 +1425,7 @@ export type ListServiceAccountsResponse = {
1413
1425
  dateCreated: string;
1414
1426
  credId: string;
1415
1427
  isActive: boolean;
1428
+ /** Access token kind */
1416
1429
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1417
1430
  linkedUserId: string;
1418
1431
  linkedAppId: string;
@@ -1830,21 +1843,34 @@ export type RegisterEndUserResponse = {
1830
1843
  token: string;
1831
1844
  };
1832
1845
  wallets: {
1846
+ /** ID of the wallet. */
1833
1847
  id: string;
1848
+ /** Network this wallet is bound to. */
1834
1849
  network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
1850
+ /** Wallet address on its corresponding network. */
1835
1851
  address?: string | undefined;
1852
+ /** Details about the key underlying the wallet. */
1836
1853
  signingKey: {
1837
1854
  id: string;
1855
+ /** Key scheme. */
1838
1856
  scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
1839
1857
  curve: "ed25519" | "secp256k1" | "stark";
1858
+ /** Hex-encoded value of the public key. */
1840
1859
  publicKey: string;
1860
+ /** The end user ID the key (and wallet) is delegated to. */
1841
1861
  delegatedTo?: string | undefined;
1842
1862
  };
1863
+ /** Wallet status. */
1843
1864
  status: "Active" | "Archived";
1865
+ /** [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date string when wallet was created. */
1844
1866
  dateCreated: string;
1867
+ /** Wallet nickname. */
1845
1868
  name?: string | undefined;
1869
+ /** Whether the wallet is owned by an end user (non-custodial), or by your organization (custodial). */
1846
1870
  custodial: boolean;
1871
+ /** User-defined value that can be used to correlate the entity with an external system. */
1847
1872
  externalId?: string | undefined;
1873
+ /** List of tags. */
1848
1874
  tags: string[];
1849
1875
  /** Id of the validator on which the wallet is created for Canton networks */
1850
1876
  validatorId?: string | undefined;
@@ -1906,6 +1932,7 @@ export type UpdatePersonalAccessTokenResponse = {
1906
1932
  dateCreated: string;
1907
1933
  credId: string;
1908
1934
  isActive: boolean;
1935
+ /** Access token kind */
1909
1936
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1910
1937
  linkedUserId: string;
1911
1938
  linkedAppId: string;
@@ -1954,6 +1981,7 @@ export type UpdateServiceAccountResponse = {
1954
1981
  dateCreated: string;
1955
1982
  credId: string;
1956
1983
  isActive: boolean;
1984
+ /** Access token kind */
1957
1985
  kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
1958
1986
  linkedUserId: string;
1959
1987
  linkedAppId: string;
@@ -8,11 +8,13 @@ export type ActivateFeeSponsorResponse = {
8
8
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
9
9
  status: "Active" | "Deactivated" | "Archived";
10
10
  dateCreated: string;
11
+ allowEndUser?: boolean | undefined;
11
12
  };
12
13
  export type ActivateFeeSponsorRequest = ActivateFeeSponsorParams;
13
14
  export type CreateFeeSponsorBody = {
14
15
  name?: string | undefined;
15
16
  walletId: string;
17
+ allowEndUser?: boolean;
16
18
  };
17
19
  export type CreateFeeSponsorResponse = {
18
20
  id: string;
@@ -21,6 +23,7 @@ export type CreateFeeSponsorResponse = {
21
23
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
22
24
  status: "Active" | "Deactivated" | "Archived";
23
25
  dateCreated: string;
26
+ allowEndUser?: boolean | undefined;
24
27
  };
25
28
  export type CreateFeeSponsorRequest = {
26
29
  body: CreateFeeSponsorBody;
@@ -35,6 +38,7 @@ export type DeactivateFeeSponsorResponse = {
35
38
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
36
39
  status: "Active" | "Deactivated" | "Archived";
37
40
  dateCreated: string;
41
+ allowEndUser?: boolean | undefined;
38
42
  };
39
43
  export type DeactivateFeeSponsorRequest = DeactivateFeeSponsorParams;
40
44
  export type DeleteFeeSponsorParams = {
@@ -47,6 +51,7 @@ export type DeleteFeeSponsorResponse = {
47
51
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
48
52
  status: "Active" | "Deactivated" | "Archived";
49
53
  dateCreated: string;
54
+ allowEndUser?: boolean | undefined;
50
55
  };
51
56
  export type DeleteFeeSponsorRequest = DeleteFeeSponsorParams;
52
57
  export type GetFeeSponsorParams = {
@@ -59,6 +64,7 @@ export type GetFeeSponsorResponse = {
59
64
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
60
65
  status: "Active" | "Deactivated" | "Archived";
61
66
  dateCreated: string;
67
+ allowEndUser?: boolean | undefined;
62
68
  };
63
69
  export type GetFeeSponsorRequest = GetFeeSponsorParams;
64
70
  export type ListFeeSponsorsQuery = {
@@ -73,6 +79,7 @@ export type ListFeeSponsorsResponse = {
73
79
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
74
80
  status: "Active" | "Deactivated" | "Archived";
75
81
  dateCreated: string;
82
+ allowEndUser?: boolean | undefined;
76
83
  }[];
77
84
  nextPageToken?: string | undefined;
78
85
  };
@@ -47,9 +47,7 @@ export type CreateCantonValidatorParams = {
47
47
  network: "canton" | "canton-devnet" | "canton-testnet";
48
48
  };
49
49
  export type CreateCantonValidatorResponse = {
50
- /** e.g. 'cv-7jeof-m584r-p35ucm37ko3cqgts' */
51
50
  id: string;
52
- /** e.g. 'or-30tnh-itmjs-s235s5ontr3r23h2' */
53
51
  orgId: string;
54
52
  network: "Canton" | "CantonDevnet" | "CantonTestnet";
55
53
  name?: string | undefined;
@@ -62,13 +60,10 @@ export type CreateCantonValidatorRequest = CreateCantonValidatorParams & {
62
60
  };
63
61
  export type DeleteCantonValidatorParams = {
64
62
  network: "canton" | "canton-devnet" | "canton-testnet";
65
- /** e.g. 'cv-7jeof-m584r-p35ucm37ko3cqgts' */
66
63
  validatorId: string;
67
64
  };
68
65
  export type DeleteCantonValidatorResponse = {
69
- /** e.g. 'cv-7jeof-m584r-p35ucm37ko3cqgts' */
70
66
  id: string;
71
- /** e.g. 'or-30tnh-itmjs-s235s5ontr3r23h2' */
72
67
  orgId: string;
73
68
  network: "Canton" | "CantonDevnet" | "CantonTestnet";
74
69
  name?: string | undefined;
@@ -79,13 +74,10 @@ export type DeleteCantonValidatorResponse = {
79
74
  export type DeleteCantonValidatorRequest = DeleteCantonValidatorParams;
80
75
  export type GetCantonValidatorParams = {
81
76
  network: "canton" | "canton-devnet" | "canton-testnet";
82
- /** e.g. 'cv-7jeof-m584r-p35ucm37ko3cqgts' */
83
77
  validatorId: string;
84
78
  };
85
79
  export type GetCantonValidatorResponse = {
86
- /** e.g. 'cv-7jeof-m584r-p35ucm37ko3cqgts' */
87
80
  id: string;
88
- /** e.g. 'or-30tnh-itmjs-s235s5ontr3r23h2' */
89
81
  orgId: string;
90
82
  network: "Canton" | "CantonDevnet" | "CantonTestnet";
91
83
  name?: string | undefined;
@@ -143,9 +135,7 @@ export type ListCantonValidatorsQuery = {
143
135
  };
144
136
  export type ListCantonValidatorsResponse = {
145
137
  items: {
146
- /** e.g. 'cv-7jeof-m584r-p35ucm37ko3cqgts' */
147
138
  id: string;
148
- /** e.g. 'or-30tnh-itmjs-s235s5ontr3r23h2' */
149
139
  orgId: string;
150
140
  network: "Canton" | "CantonDevnet" | "CantonTestnet";
151
141
  name?: string | undefined;
@@ -214,13 +204,10 @@ export type UpdateCantonValidatorBody = {
214
204
  };
215
205
  export type UpdateCantonValidatorParams = {
216
206
  network: "canton" | "canton-devnet" | "canton-testnet";
217
- /** e.g. 'cv-7jeof-m584r-p35ucm37ko3cqgts' */
218
207
  validatorId: string;
219
208
  };
220
209
  export type UpdateCantonValidatorResponse = {
221
- /** e.g. 'cv-7jeof-m584r-p35ucm37ko3cqgts' */
222
210
  id: string;
223
- /** e.g. 'or-30tnh-itmjs-s235s5ontr3r23h2' */
224
211
  orgId: string;
225
212
  network: "Canton" | "CantonDevnet" | "CantonTestnet";
226
213
  name?: string | undefined;
@@ -36,7 +36,7 @@ export type CreateAssignmentRequest = CreateAssignmentParams & {
36
36
  };
37
37
  export type CreatePermissionBody = {
38
38
  name: string;
39
- operations: (("Alias:Create" | "Alias:Delete" | "Alias:Read" | "Alias:Update" | "Auth:Logs:Read" | "Auth:Users:Create" | "Auth:Users:Read" | "Auth:Users:Activate" | "Auth:Users:Deactivate" | "Auth:Users:Delete" | "Auth:ServiceAccounts:Create" | "Auth:ServiceAccounts:Read" | "Auth:ServiceAccounts:Update" | "Auth:ServiceAccounts:Deactivate" | "Auth:ServiceAccounts:Activate" | "Auth:ServiceAccounts:Delete" | "Auth:Pats:Create" | "Auth:Register:Delegated" | "Auth:Login:Delegated" | "Auth:Recover:Delegated" | "Agreements:Acceptance:Create" | "Agreements:Acceptance:Read" | "Exchanges:Create" | "Exchanges:Read" | "Exchanges:Delete" | "Exchanges:Deposits:Create" | "Exchanges:Withdrawals:Create" | "FeeSponsors:Create" | "FeeSponsors:Read" | "FeeSponsors:Update" | "FeeSponsors:Delete" | "Orgs:Read" | "Orgs:Update" | "Orgs:Settings:Read" | "Orgs:Settings:Update" | "Permissions:Archive" | "Permissions:Create" | "Permissions:Read" | "Permissions:Update" | "Permissions:Assign" | "Permissions:Revoke" | "Permissions:Assignments:Read" | "Policies:Archive" | "Policies:Create" | "Policies:Read" | "Policies:Update" | "Policies:Approvals:Read" | "Policies:Approvals:Approve" | "Signers:ListSigners" | "Stakes:Create" | "Stakes:Read" | "Stakes:Update" | "Swaps:Create" | "Swaps:Read" | "Keys:Create" | "Keys:Delete" | "Keys:Read" | "Keys:Update" | "Keys:Reuse" | "Keys:Delegate" | "Keys:Import" | "Keys:Export" | "Keys:Derive" | "Keys:Signatures:Create" | "Keys:Signatures:Read" | "Networks:CantonValidators:Create" | "Networks:CantonValidators:Read" | "Networks:CantonValidators:Update" | "Networks:CantonValidators:Delete" | "Wallets:Create" | "Wallets:Read" | "Wallets:Update" | "Wallets:Tags:Add" | "Wallets:Tags:Delete" | "Wallets:Transactions:Create" | "Wallets:Transactions:Read" | "Wallets:Transfers:Create" | "Wallets:Transfers:Read" | "Wallets:Offers:Read" | "Wallets:Offers:Settle" | "Webhooks:Create" | "Webhooks:Read" | "Webhooks:Update" | "Webhooks:Delete" | "Webhooks:Ping" | "Webhooks:Events:Read" | "Billing:Read" | "Billing:Write" | "Analytics:Read") | ("Wallets:GenerateSignature" | "Wallets:BroadcastTransaction" | "Auth:Action:Sign" | "Auth:Apps:Read" | "Auth:Apps:Create" | "Auth:Apps:Update" | "Auth:Creds:Create" | "Auth:Creds:Read" | "Auth:Creds:Update" | "Auth:Creds:Code:Create" | "Auth:Types:Application" | "Auth:Types:Employee" | "Auth:Types:EndUser" | "Auth:Types:Pat" | "Auth:Types:ServiceAccount" | "Internal:Auth:Types:Staff" | "Auth:Users:Delegate" | "Auth:Users:Update" | "PermissionAssignments:Create" | "PermissionAssignments:Read" | "PermissionAssignments:Revoke"))[];
39
+ operations: (("Alias:Create" | "Alias:Delete" | "Alias:Read" | "Alias:Update" | "Auth:Logs:Read" | "Auth:Users:Create" | "Auth:Users:Read" | "Auth:Users:Activate" | "Auth:Users:Deactivate" | "Auth:Users:Delete" | "Auth:ServiceAccounts:Create" | "Auth:ServiceAccounts:Read" | "Auth:ServiceAccounts:Update" | "Auth:ServiceAccounts:Deactivate" | "Auth:ServiceAccounts:Activate" | "Auth:ServiceAccounts:Delete" | "Auth:Pats:Create" | "Auth:Register:Delegated" | "Auth:Login:Delegated" | "Auth:Recover:Delegated" | "Agreements:Acceptance:Create" | "Agreements:Acceptance:Read" | "Exchanges:Create" | "Exchanges:Read" | "Exchanges:Delete" | "Exchanges:Deposits:Create" | "Exchanges:Withdrawals:Create" | "FeeSponsors:Create" | "FeeSponsors:Read" | "FeeSponsors:Update" | "FeeSponsors:Delete" | "FeeSponsors:Use" | "Orgs:Read" | "Orgs:Update" | "Orgs:Settings:Read" | "Orgs:Settings:Update" | "Permissions:Archive" | "Permissions:Create" | "Permissions:Read" | "Permissions:Update" | "Permissions:Assign" | "Permissions:Revoke" | "Permissions:Assignments:Read" | "Policies:Archive" | "Policies:Create" | "Policies:Read" | "Policies:Update" | "Policies:Approvals:Read" | "Policies:Approvals:Approve" | "Signers:ListSigners" | "Stakes:Create" | "Stakes:Read" | "Stakes:Update" | "Swaps:Create" | "Swaps:Read" | "Keys:Create" | "Keys:Delete" | "Keys:Read" | "Keys:Update" | "Keys:Reuse" | "Keys:Delegate" | "Keys:Import" | "Keys:Export" | "Keys:Derive" | "Keys:Signatures:Create" | "Keys:Signatures:Read" | "Networks:CantonValidators:Create" | "Networks:CantonValidators:Read" | "Networks:CantonValidators:Update" | "Networks:CantonValidators:Delete" | "Wallets:Create" | "Wallets:Read" | "Wallets:Update" | "Wallets:Tags:Add" | "Wallets:Tags:Delete" | "Wallets:Transactions:Create" | "Wallets:Transactions:Read" | "Wallets:Transfers:Create" | "Wallets:Transfers:Read" | "Wallets:Offers:Read" | "Wallets:Offers:Settle" | "Webhooks:Create" | "Webhooks:Read" | "Webhooks:Update" | "Webhooks:Delete" | "Webhooks:Ping" | "Webhooks:Events:Read" | "Billing:Read" | "Billing:Write" | "Analytics:Read") | ("Wallets:GenerateSignature" | "Wallets:BroadcastTransaction" | "Auth:Action:Sign" | "Auth:Apps:Read" | "Auth:Apps:Create" | "Auth:Apps:Update" | "Auth:Creds:Create" | "Auth:Creds:Read" | "Auth:Creds:Update" | "Auth:Creds:Code:Create" | "Auth:Types:Application" | "Auth:Types:Employee" | "Auth:Types:EndUser" | "Auth:Types:Pat" | "Auth:Types:ServiceAccount" | "Internal:Auth:Types:Staff" | "Auth:Users:Delegate" | "Auth:Users:Update" | "PermissionAssignments:Create" | "PermissionAssignments:Read" | "PermissionAssignments:Revoke"))[];
40
40
  };
41
41
  export type CreatePermissionResponse = {
42
42
  id: string;
@@ -183,7 +183,7 @@ export type ListPermissionsRequest = {
183
183
  };
184
184
  export type UpdatePermissionBody = {
185
185
  name?: string | undefined;
186
- operations?: (("Alias:Create" | "Alias:Delete" | "Alias:Read" | "Alias:Update" | "Auth:Logs:Read" | "Auth:Users:Create" | "Auth:Users:Read" | "Auth:Users:Activate" | "Auth:Users:Deactivate" | "Auth:Users:Delete" | "Auth:ServiceAccounts:Create" | "Auth:ServiceAccounts:Read" | "Auth:ServiceAccounts:Update" | "Auth:ServiceAccounts:Deactivate" | "Auth:ServiceAccounts:Activate" | "Auth:ServiceAccounts:Delete" | "Auth:Pats:Create" | "Auth:Register:Delegated" | "Auth:Login:Delegated" | "Auth:Recover:Delegated" | "Agreements:Acceptance:Create" | "Agreements:Acceptance:Read" | "Exchanges:Create" | "Exchanges:Read" | "Exchanges:Delete" | "Exchanges:Deposits:Create" | "Exchanges:Withdrawals:Create" | "FeeSponsors:Create" | "FeeSponsors:Read" | "FeeSponsors:Update" | "FeeSponsors:Delete" | "Orgs:Read" | "Orgs:Update" | "Orgs:Settings:Read" | "Orgs:Settings:Update" | "Permissions:Archive" | "Permissions:Create" | "Permissions:Read" | "Permissions:Update" | "Permissions:Assign" | "Permissions:Revoke" | "Permissions:Assignments:Read" | "Policies:Archive" | "Policies:Create" | "Policies:Read" | "Policies:Update" | "Policies:Approvals:Read" | "Policies:Approvals:Approve" | "Signers:ListSigners" | "Stakes:Create" | "Stakes:Read" | "Stakes:Update" | "Swaps:Create" | "Swaps:Read" | "Keys:Create" | "Keys:Delete" | "Keys:Read" | "Keys:Update" | "Keys:Reuse" | "Keys:Delegate" | "Keys:Import" | "Keys:Export" | "Keys:Derive" | "Keys:Signatures:Create" | "Keys:Signatures:Read" | "Networks:CantonValidators:Create" | "Networks:CantonValidators:Read" | "Networks:CantonValidators:Update" | "Networks:CantonValidators:Delete" | "Wallets:Create" | "Wallets:Read" | "Wallets:Update" | "Wallets:Tags:Add" | "Wallets:Tags:Delete" | "Wallets:Transactions:Create" | "Wallets:Transactions:Read" | "Wallets:Transfers:Create" | "Wallets:Transfers:Read" | "Wallets:Offers:Read" | "Wallets:Offers:Settle" | "Webhooks:Create" | "Webhooks:Read" | "Webhooks:Update" | "Webhooks:Delete" | "Webhooks:Ping" | "Webhooks:Events:Read" | "Billing:Read" | "Billing:Write" | "Analytics:Read") | ("Wallets:GenerateSignature" | "Wallets:BroadcastTransaction" | "Auth:Action:Sign" | "Auth:Apps:Read" | "Auth:Apps:Create" | "Auth:Apps:Update" | "Auth:Creds:Create" | "Auth:Creds:Read" | "Auth:Creds:Update" | "Auth:Creds:Code:Create" | "Auth:Types:Application" | "Auth:Types:Employee" | "Auth:Types:EndUser" | "Auth:Types:Pat" | "Auth:Types:ServiceAccount" | "Internal:Auth:Types:Staff" | "Auth:Users:Delegate" | "Auth:Users:Update" | "PermissionAssignments:Create" | "PermissionAssignments:Read" | "PermissionAssignments:Revoke"))[] | undefined;
186
+ operations?: (("Alias:Create" | "Alias:Delete" | "Alias:Read" | "Alias:Update" | "Auth:Logs:Read" | "Auth:Users:Create" | "Auth:Users:Read" | "Auth:Users:Activate" | "Auth:Users:Deactivate" | "Auth:Users:Delete" | "Auth:ServiceAccounts:Create" | "Auth:ServiceAccounts:Read" | "Auth:ServiceAccounts:Update" | "Auth:ServiceAccounts:Deactivate" | "Auth:ServiceAccounts:Activate" | "Auth:ServiceAccounts:Delete" | "Auth:Pats:Create" | "Auth:Register:Delegated" | "Auth:Login:Delegated" | "Auth:Recover:Delegated" | "Agreements:Acceptance:Create" | "Agreements:Acceptance:Read" | "Exchanges:Create" | "Exchanges:Read" | "Exchanges:Delete" | "Exchanges:Deposits:Create" | "Exchanges:Withdrawals:Create" | "FeeSponsors:Create" | "FeeSponsors:Read" | "FeeSponsors:Update" | "FeeSponsors:Delete" | "FeeSponsors:Use" | "Orgs:Read" | "Orgs:Update" | "Orgs:Settings:Read" | "Orgs:Settings:Update" | "Permissions:Archive" | "Permissions:Create" | "Permissions:Read" | "Permissions:Update" | "Permissions:Assign" | "Permissions:Revoke" | "Permissions:Assignments:Read" | "Policies:Archive" | "Policies:Create" | "Policies:Read" | "Policies:Update" | "Policies:Approvals:Read" | "Policies:Approvals:Approve" | "Signers:ListSigners" | "Stakes:Create" | "Stakes:Read" | "Stakes:Update" | "Swaps:Create" | "Swaps:Read" | "Keys:Create" | "Keys:Delete" | "Keys:Read" | "Keys:Update" | "Keys:Reuse" | "Keys:Delegate" | "Keys:Import" | "Keys:Export" | "Keys:Derive" | "Keys:Signatures:Create" | "Keys:Signatures:Read" | "Networks:CantonValidators:Create" | "Networks:CantonValidators:Read" | "Networks:CantonValidators:Update" | "Networks:CantonValidators:Delete" | "Wallets:Create" | "Wallets:Read" | "Wallets:Update" | "Wallets:Tags:Add" | "Wallets:Tags:Delete" | "Wallets:Transactions:Create" | "Wallets:Transactions:Read" | "Wallets:Transfers:Create" | "Wallets:Transfers:Read" | "Wallets:Offers:Read" | "Wallets:Offers:Settle" | "Webhooks:Create" | "Webhooks:Read" | "Webhooks:Update" | "Webhooks:Delete" | "Webhooks:Ping" | "Webhooks:Events:Read" | "Billing:Read" | "Billing:Write" | "Analytics:Read") | ("Wallets:GenerateSignature" | "Wallets:BroadcastTransaction" | "Auth:Action:Sign" | "Auth:Apps:Read" | "Auth:Apps:Create" | "Auth:Apps:Update" | "Auth:Creds:Create" | "Auth:Creds:Read" | "Auth:Creds:Update" | "Auth:Creds:Code:Create" | "Auth:Types:Application" | "Auth:Types:Employee" | "Auth:Types:EndUser" | "Auth:Types:Pat" | "Auth:Types:ServiceAccount" | "Internal:Auth:Types:Staff" | "Auth:Users:Delegate" | "Auth:Users:Update" | "PermissionAssignments:Create" | "PermissionAssignments:Read" | "PermissionAssignments:Revoke"))[] | undefined;
187
187
  };
188
188
  export type UpdatePermissionParams = {
189
189
  permissionId: string;
@@ -1008,7 +1008,6 @@ export type CreateApprovalDecisionResponse = {
1008
1008
  id: string;
1009
1009
  quoteId: string;
1010
1010
  reference: string | null;
1011
- sourceWalletId: string;
1012
1011
  walletId: string;
1013
1012
  targetWalletId: string;
1014
1013
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
@@ -1045,35 +1044,32 @@ export type CreateApprovalDecisionResponse = {
1045
1044
  tid?: string | undefined;
1046
1045
  };
1047
1046
  };
1048
- slippageToleranceInBps: number;
1049
1047
  slippageBps: number;
1050
1048
  dateCreated: string;
1051
1049
  requestBody: {
1052
1050
  quoteId: string;
1053
1051
  reference?: string | undefined;
1054
- provider?: ("UniswapX" | "UniswapClassic") | undefined;
1055
- sourceWalletId?: string | undefined;
1056
- walletId?: string | undefined;
1052
+ provider: "UniswapX" | "UniswapClassic";
1053
+ walletId: string;
1057
1054
  targetWalletId?: string | undefined;
1058
- slippageToleranceInBps?: number | undefined;
1059
- slippageBps?: number | undefined;
1060
- sourceAsset?: ({
1055
+ slippageBps: number;
1056
+ sourceAsset: {
1061
1057
  kind: "Native";
1062
1058
  amount: string;
1063
1059
  } | {
1064
1060
  kind: "Erc20";
1065
1061
  contract: string;
1066
1062
  amount: string;
1067
- }) | undefined;
1068
- targetAsset?: ({
1063
+ };
1064
+ targetAsset: {
1069
1065
  kind: "Native";
1070
1066
  amount: string;
1071
1067
  } | {
1072
1068
  kind: "Erc20";
1073
1069
  contract: string;
1074
1070
  amount: string;
1075
- }) | undefined;
1076
- };
1071
+ };
1072
+ } | {};
1077
1073
  requester: {
1078
1074
  userId: string;
1079
1075
  tokenId?: string | undefined;
@@ -3331,7 +3327,6 @@ export type GetApprovalResponse = {
3331
3327
  id: string;
3332
3328
  quoteId: string;
3333
3329
  reference: string | null;
3334
- sourceWalletId: string;
3335
3330
  walletId: string;
3336
3331
  targetWalletId: string;
3337
3332
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
@@ -3368,35 +3363,32 @@ export type GetApprovalResponse = {
3368
3363
  tid?: string | undefined;
3369
3364
  };
3370
3365
  };
3371
- slippageToleranceInBps: number;
3372
3366
  slippageBps: number;
3373
3367
  dateCreated: string;
3374
3368
  requestBody: {
3375
3369
  quoteId: string;
3376
3370
  reference?: string | undefined;
3377
- provider?: ("UniswapX" | "UniswapClassic") | undefined;
3378
- sourceWalletId?: string | undefined;
3379
- walletId?: string | undefined;
3371
+ provider: "UniswapX" | "UniswapClassic";
3372
+ walletId: string;
3380
3373
  targetWalletId?: string | undefined;
3381
- slippageToleranceInBps?: number | undefined;
3382
- slippageBps?: number | undefined;
3383
- sourceAsset?: ({
3374
+ slippageBps: number;
3375
+ sourceAsset: {
3384
3376
  kind: "Native";
3385
3377
  amount: string;
3386
3378
  } | {
3387
3379
  kind: "Erc20";
3388
3380
  contract: string;
3389
3381
  amount: string;
3390
- }) | undefined;
3391
- targetAsset?: ({
3382
+ };
3383
+ targetAsset: {
3392
3384
  kind: "Native";
3393
3385
  amount: string;
3394
3386
  } | {
3395
3387
  kind: "Erc20";
3396
3388
  contract: string;
3397
3389
  amount: string;
3398
- }) | undefined;
3399
- };
3390
+ };
3391
+ } | {};
3400
3392
  requester: {
3401
3393
  userId: string;
3402
3394
  tokenId?: string | undefined;
@@ -5698,7 +5690,6 @@ export type ListApprovalsResponse = {
5698
5690
  id: string;
5699
5691
  quoteId: string;
5700
5692
  reference: string | null;
5701
- sourceWalletId: string;
5702
5693
  walletId: string;
5703
5694
  targetWalletId: string;
5704
5695
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
@@ -5735,35 +5726,32 @@ export type ListApprovalsResponse = {
5735
5726
  tid?: string | undefined;
5736
5727
  };
5737
5728
  };
5738
- slippageToleranceInBps: number;
5739
5729
  slippageBps: number;
5740
5730
  dateCreated: string;
5741
5731
  requestBody: {
5742
5732
  quoteId: string;
5743
5733
  reference?: string | undefined;
5744
- provider?: ("UniswapX" | "UniswapClassic") | undefined;
5745
- sourceWalletId?: string | undefined;
5746
- walletId?: string | undefined;
5734
+ provider: "UniswapX" | "UniswapClassic";
5735
+ walletId: string;
5747
5736
  targetWalletId?: string | undefined;
5748
- slippageToleranceInBps?: number | undefined;
5749
- slippageBps?: number | undefined;
5750
- sourceAsset?: ({
5737
+ slippageBps: number;
5738
+ sourceAsset: {
5751
5739
  kind: "Native";
5752
5740
  amount: string;
5753
5741
  } | {
5754
5742
  kind: "Erc20";
5755
5743
  contract: string;
5756
5744
  amount: string;
5757
- }) | undefined;
5758
- targetAsset?: ({
5745
+ };
5746
+ targetAsset: {
5759
5747
  kind: "Native";
5760
5748
  amount: string;
5761
5749
  } | {
5762
5750
  kind: "Erc20";
5763
5751
  contract: string;
5764
5752
  amount: string;
5765
- }) | undefined;
5766
- };
5753
+ };
5754
+ } | {};
5767
5755
  requester: {
5768
5756
  userId: string;
5769
5757
  tokenId?: string | undefined;
@@ -162,11 +162,11 @@ export type CreateStakeResponse = ({
162
162
  dateCreated: string;
163
163
  protocol: "Ethereum";
164
164
  data: {
165
- validators: {
165
+ validator: {
166
166
  pubkey: string;
167
167
  withdrawalAddress: string;
168
- }[];
169
- };
168
+ };
169
+ } | null;
170
170
  }) & {
171
171
  actions: {
172
172
  id: string;
@@ -393,11 +393,11 @@ export type CreateStakeActionResponse = ({
393
393
  dateCreated: string;
394
394
  protocol: "Ethereum";
395
395
  data: {
396
- validators: {
396
+ validator: {
397
397
  pubkey: string;
398
398
  withdrawalAddress: string;
399
- }[];
400
- };
399
+ };
400
+ } | null;
401
401
  }) & {
402
402
  actions: {
403
403
  id: string;
@@ -615,11 +615,11 @@ export type GetStakesResponse = ({
615
615
  dateCreated: string;
616
616
  protocol: "Ethereum";
617
617
  data: {
618
- validators: {
618
+ validator: {
619
619
  pubkey: string;
620
620
  withdrawalAddress: string;
621
- }[];
622
- };
621
+ };
622
+ } | null;
623
623
  }) & {
624
624
  actions: {
625
625
  id: string;
@@ -901,11 +901,11 @@ export type ListStakesResponse = {
901
901
  dateCreated: string;
902
902
  protocol: "Ethereum";
903
903
  data: {
904
- validators: {
904
+ validator: {
905
905
  pubkey: string;
906
906
  withdrawalAddress: string;
907
- }[];
908
- };
907
+ };
908
+ } | null;
909
909
  })[];
910
910
  nextPageToken?: string | undefined;
911
911
  };
@@ -1,34 +1,31 @@
1
1
  export type CreateSwapBody = {
2
2
  quoteId: string;
3
3
  reference?: string | undefined;
4
- provider?: ("UniswapX" | "UniswapClassic") | undefined;
5
- sourceWalletId?: string | undefined;
6
- walletId?: string | undefined;
4
+ provider: "UniswapX" | "UniswapClassic";
5
+ walletId: string;
7
6
  targetWalletId?: string | undefined;
8
- slippageToleranceInBps?: number | undefined;
9
- slippageBps?: number | undefined;
10
- sourceAsset?: ({
7
+ slippageBps: number;
8
+ sourceAsset: {
11
9
  kind: "Native";
12
10
  amount: string;
13
11
  } | {
14
12
  kind: "Erc20";
15
13
  contract: string;
16
14
  amount: string;
17
- }) | undefined;
18
- targetAsset?: ({
15
+ };
16
+ targetAsset: {
19
17
  kind: "Native";
20
18
  amount: string;
21
19
  } | {
22
20
  kind: "Erc20";
23
21
  contract: string;
24
22
  amount: string;
25
- }) | undefined;
23
+ };
26
24
  };
27
25
  export type CreateSwapResponse = {
28
26
  id: string;
29
27
  quoteId: string;
30
28
  reference: string | null;
31
- sourceWalletId: string;
32
29
  walletId: string;
33
30
  targetWalletId: string;
34
31
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
@@ -65,35 +62,32 @@ export type CreateSwapResponse = {
65
62
  tid?: string | undefined;
66
63
  };
67
64
  };
68
- slippageToleranceInBps: number;
69
65
  slippageBps: number;
70
66
  dateCreated: string;
71
67
  requestBody: {
72
68
  quoteId: string;
73
69
  reference?: string | undefined;
74
- provider?: ("UniswapX" | "UniswapClassic") | undefined;
75
- sourceWalletId?: string | undefined;
76
- walletId?: string | undefined;
70
+ provider: "UniswapX" | "UniswapClassic";
71
+ walletId: string;
77
72
  targetWalletId?: string | undefined;
78
- slippageToleranceInBps?: number | undefined;
79
- slippageBps?: number | undefined;
80
- sourceAsset?: ({
73
+ slippageBps: number;
74
+ sourceAsset: {
81
75
  kind: "Native";
82
76
  amount: string;
83
77
  } | {
84
78
  kind: "Erc20";
85
79
  contract: string;
86
80
  amount: string;
87
- }) | undefined;
88
- targetAsset?: ({
81
+ };
82
+ targetAsset: {
89
83
  kind: "Native";
90
84
  amount: string;
91
85
  } | {
92
86
  kind: "Erc20";
93
87
  contract: string;
94
88
  amount: string;
95
- }) | undefined;
96
- };
89
+ };
90
+ } | {};
97
91
  requester: {
98
92
  userId: string;
99
93
  tokenId?: string | undefined;
@@ -104,9 +98,8 @@ export type CreateSwapRequest = {
104
98
  };
105
99
  export type CreateSwapQuoteBody = {
106
100
  provider: "UniswapX" | "UniswapClassic";
107
- sourceWalletId?: string | undefined;
108
- walletId?: string | undefined;
109
- targetWalletId: string;
101
+ walletId: string;
102
+ targetWalletId?: string | undefined;
110
103
  sourceAsset: {
111
104
  kind: "Native";
112
105
  amount: string;
@@ -121,14 +114,13 @@ export type CreateSwapQuoteBody = {
121
114
  kind: "Erc20";
122
115
  contract: string;
123
116
  };
124
- slippageToleranceInBps?: number | undefined;
125
- slippageBps?: number | undefined;
117
+ slippageBps: number;
126
118
  };
127
119
  export type CreateSwapQuoteResponse = {
128
120
  id: string;
129
- sourceWalletId: string;
130
121
  walletId: string;
131
- targetWalletId: string;
122
+ /** If not provided, the walletId is used as the target wallet. If provided, this field is currently required to be the same as walletId */
123
+ targetWalletId?: string | undefined;
132
124
  provider: "UniswapX" | "UniswapClassic";
133
125
  sourceAsset: ({
134
126
  kind: "Native";
@@ -162,14 +154,12 @@ export type CreateSwapQuoteResponse = {
162
154
  tid?: string | undefined;
163
155
  };
164
156
  };
165
- slippageToleranceInBps: number;
166
157
  slippageBps: number;
167
158
  dateCreated: string;
168
159
  requestBody: {
169
160
  provider: "UniswapX" | "UniswapClassic";
170
- sourceWalletId?: string | undefined;
171
- walletId?: string | undefined;
172
- targetWalletId: string;
161
+ walletId: string;
162
+ targetWalletId?: string | undefined;
173
163
  sourceAsset: {
174
164
  kind: "Native";
175
165
  amount: string;
@@ -184,9 +174,8 @@ export type CreateSwapQuoteResponse = {
184
174
  kind: "Erc20";
185
175
  contract: string;
186
176
  };
187
- slippageToleranceInBps?: number | undefined;
188
- slippageBps?: number | undefined;
189
- };
177
+ slippageBps: number;
178
+ } | {};
190
179
  requester: {
191
180
  userId: string;
192
181
  tokenId?: string | undefined;
@@ -202,7 +191,6 @@ export type GetSwapResponse = {
202
191
  id: string;
203
192
  quoteId: string;
204
193
  reference: string | null;
205
- sourceWalletId: string;
206
194
  walletId: string;
207
195
  targetWalletId: string;
208
196
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
@@ -239,35 +227,32 @@ export type GetSwapResponse = {
239
227
  tid?: string | undefined;
240
228
  };
241
229
  };
242
- slippageToleranceInBps: number;
243
230
  slippageBps: number;
244
231
  dateCreated: string;
245
232
  requestBody: {
246
233
  quoteId: string;
247
234
  reference?: string | undefined;
248
- provider?: ("UniswapX" | "UniswapClassic") | undefined;
249
- sourceWalletId?: string | undefined;
250
- walletId?: string | undefined;
235
+ provider: "UniswapX" | "UniswapClassic";
236
+ walletId: string;
251
237
  targetWalletId?: string | undefined;
252
- slippageToleranceInBps?: number | undefined;
253
- slippageBps?: number | undefined;
254
- sourceAsset?: ({
238
+ slippageBps: number;
239
+ sourceAsset: {
255
240
  kind: "Native";
256
241
  amount: string;
257
242
  } | {
258
243
  kind: "Erc20";
259
244
  contract: string;
260
245
  amount: string;
261
- }) | undefined;
262
- targetAsset?: ({
246
+ };
247
+ targetAsset: {
263
248
  kind: "Native";
264
249
  amount: string;
265
250
  } | {
266
251
  kind: "Erc20";
267
252
  contract: string;
268
253
  amount: string;
269
- }) | undefined;
270
- };
254
+ };
255
+ } | {};
271
256
  requester: {
272
257
  userId: string;
273
258
  tokenId?: string | undefined;
@@ -279,9 +264,9 @@ export type GetSwapQuoteParams = {
279
264
  };
280
265
  export type GetSwapQuoteResponse = {
281
266
  id: string;
282
- sourceWalletId: string;
283
267
  walletId: string;
284
- targetWalletId: string;
268
+ /** If not provided, the walletId is used as the target wallet. If provided, this field is currently required to be the same as walletId */
269
+ targetWalletId?: string | undefined;
285
270
  provider: "UniswapX" | "UniswapClassic";
286
271
  sourceAsset: ({
287
272
  kind: "Native";
@@ -315,14 +300,12 @@ export type GetSwapQuoteResponse = {
315
300
  tid?: string | undefined;
316
301
  };
317
302
  };
318
- slippageToleranceInBps: number;
319
303
  slippageBps: number;
320
304
  dateCreated: string;
321
305
  requestBody: {
322
306
  provider: "UniswapX" | "UniswapClassic";
323
- sourceWalletId?: string | undefined;
324
- walletId?: string | undefined;
325
- targetWalletId: string;
307
+ walletId: string;
308
+ targetWalletId?: string | undefined;
326
309
  sourceAsset: {
327
310
  kind: "Native";
328
311
  amount: string;
@@ -337,9 +320,8 @@ export type GetSwapQuoteResponse = {
337
320
  kind: "Erc20";
338
321
  contract: string;
339
322
  };
340
- slippageToleranceInBps?: number | undefined;
341
- slippageBps?: number | undefined;
342
- };
323
+ slippageBps: number;
324
+ } | {};
343
325
  requester: {
344
326
  userId: string;
345
327
  tokenId?: string | undefined;
@@ -355,7 +337,6 @@ export type ListSwapsResponse = {
355
337
  id: string;
356
338
  quoteId: string;
357
339
  reference: string | null;
358
- sourceWalletId: string;
359
340
  walletId: string;
360
341
  targetWalletId: string;
361
342
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
@@ -392,35 +373,32 @@ export type ListSwapsResponse = {
392
373
  tid?: string | undefined;
393
374
  };
394
375
  };
395
- slippageToleranceInBps: number;
396
376
  slippageBps: number;
397
377
  dateCreated: string;
398
378
  requestBody: {
399
379
  quoteId: string;
400
380
  reference?: string | undefined;
401
- provider?: ("UniswapX" | "UniswapClassic") | undefined;
402
- sourceWalletId?: string | undefined;
403
- walletId?: string | undefined;
381
+ provider: "UniswapX" | "UniswapClassic";
382
+ walletId: string;
404
383
  targetWalletId?: string | undefined;
405
- slippageToleranceInBps?: number | undefined;
406
- slippageBps?: number | undefined;
407
- sourceAsset?: ({
384
+ slippageBps: number;
385
+ sourceAsset: {
408
386
  kind: "Native";
409
387
  amount: string;
410
388
  } | {
411
389
  kind: "Erc20";
412
390
  contract: string;
413
391
  amount: string;
414
- }) | undefined;
415
- targetAsset?: ({
392
+ };
393
+ targetAsset: {
416
394
  kind: "Native";
417
395
  amount: string;
418
396
  } | {
419
397
  kind: "Erc20";
420
398
  contract: string;
421
399
  amount: string;
422
- }) | undefined;
423
- };
400
+ };
401
+ } | {};
424
402
  requester: {
425
403
  userId: string;
426
404
  tokenId?: string | undefined;
@@ -1,15 +1,10 @@
1
1
  export type AcceptOfferParams = {
2
- /** e.g. 'wa-5pfuu-9euek-h0odgb6snva8ph3k' */
3
2
  walletId: string;
4
- /** e.g. 'offer-3ugfu-o8duj-vqu770ckmg7ilhp4' */
5
3
  offerId: string;
6
4
  };
7
5
  export type AcceptOfferResponse = {
8
- /** e.g. 'offer-3ugfu-o8duj-vqu770ckmg7ilhp4' */
9
6
  id: string;
10
- /** e.g. 'or-30tnh-itmjs-s235s5ontr3r23h2' */
11
7
  orgId: string;
12
- /** e.g. 'wa-5pfuu-9euek-h0odgb6snva8ph3k' */
13
8
  walletId: string;
14
9
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
15
10
  kind: "Native" | "Aip21" | "Asa" | "Coin" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Tep74" | "Trc10" | "Trc20" | "Trc721";
@@ -186,36 +181,59 @@ export type BroadcastTransactionRequest = BroadcastTransactionParams & {
186
181
  body: BroadcastTransactionBody;
187
182
  };
188
183
  export type CreateWalletBody = {
184
+ /** Network used for the wallet. */
189
185
  network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
186
+ /** Wallet nickname. */
190
187
  name?: string | undefined;
188
+ /** Options for the wallet's underlying key */
191
189
  signingKey?: {
190
+ /** Use this parameter to create a wallet from an existing key. This enables one key to be used across multiple networks and have the same address if networks share the same address format, ex. `Ethereum` and `Polygon`. If specified, requires the `Keys:Reuse` permission. If the key is delegated to an end user, then the new wallet will be automatically delegated to the same end user. */
192
191
  id?: string | undefined;
193
- scheme?: ("ECDSA" | "EdDSA" | "Schnorr") | undefined;
192
+ /** Use this to specify the new key scheme for networks that support multiple key formats. ex. use `Schnorr` to create a `Bitcoin Taproot` wallet. */
193
+ scheme?: ("DH" | "ECDSA" | "EdDSA" | "Schnorr") | undefined;
194
+ /** Use this to specify the new key curve for networks that support multiple key formats. */
194
195
  curve?: ("ed25519" | "secp256k1" | "stark") | undefined;
195
196
  } | undefined;
197
+ /** ID of the end user to delegate this wallet to. The wallet will only be usable by the end user. More info [here](https://docs.dfns.co/advanced/delegated-signing). */
196
198
  delegateTo?: string | undefined;
199
+ /** Specify if you want to create the wallet from a service account and later [delegate it](/api-reference/keys/delegate-key) to an end user. */
197
200
  delayDelegation?: boolean | undefined;
201
+ /** User-defined value that can be used to correlate the entity with an external system */
198
202
  externalId?: string | undefined;
203
+ /** List of tags to be created for this wallet. If specified, requires the `Wallets:Tags:Add` permission, like the [Tag Wallet](https://docs.dfns.co/api-reference/wallets/tag-wallet) endpoint. */
199
204
  tags?: string[] | undefined;
200
205
  /** Id of the validator on which the wallet is created for Canton networks */
201
206
  validatorId?: string | undefined;
202
207
  };
203
208
  export type CreateWalletResponse = {
209
+ /** ID of the wallet. */
204
210
  id: string;
211
+ /** Network this wallet is bound to. */
205
212
  network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
213
+ /** Wallet address on its corresponding network. */
206
214
  address?: string | undefined;
215
+ /** Details about the key underlying the wallet. */
207
216
  signingKey: {
208
217
  id: string;
218
+ /** Key scheme. */
209
219
  scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
210
220
  curve: "ed25519" | "secp256k1" | "stark";
221
+ /** Hex-encoded value of the public key. */
211
222
  publicKey: string;
223
+ /** The end user ID the key (and wallet) is delegated to. */
212
224
  delegatedTo?: string | undefined;
213
225
  };
226
+ /** Wallet status. */
214
227
  status: "Active" | "Archived";
228
+ /** [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date string when wallet was created. */
215
229
  dateCreated: string;
230
+ /** Wallet nickname. */
216
231
  name?: string | undefined;
232
+ /** Whether the wallet is owned by an end user (non-custodial), or by your organization (custodial). */
217
233
  custodial: boolean;
234
+ /** User-defined value that can be used to correlate the entity with an external system. */
218
235
  externalId?: string | undefined;
236
+ /** List of tags. */
219
237
  tags: string[];
220
238
  /** Id of the validator on which the wallet is created for Canton networks */
221
239
  validatorId?: string | undefined;
@@ -629,17 +647,12 @@ export type GenerateSignatureRequest = GenerateSignatureParams & {
629
647
  body: GenerateSignatureBody;
630
648
  };
631
649
  export type GetOfferParams = {
632
- /** e.g. 'wa-5pfuu-9euek-h0odgb6snva8ph3k' */
633
650
  walletId: string;
634
- /** e.g. 'offer-3ugfu-o8duj-vqu770ckmg7ilhp4' */
635
651
  offerId: string;
636
652
  };
637
653
  export type GetOfferResponse = {
638
- /** e.g. 'offer-3ugfu-o8duj-vqu770ckmg7ilhp4' */
639
654
  id: string;
640
- /** e.g. 'or-30tnh-itmjs-s235s5ontr3r23h2' */
641
655
  orgId: string;
642
- /** e.g. 'wa-5pfuu-9euek-h0odgb6snva8ph3k' */
643
656
  walletId: string;
644
657
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
645
658
  kind: "Native" | "Aip21" | "Asa" | "Coin" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Tep74" | "Trc10" | "Trc20" | "Trc721";
@@ -1401,21 +1414,34 @@ export type GetWalletParams = {
1401
1414
  walletId: string;
1402
1415
  };
1403
1416
  export type GetWalletResponse = {
1417
+ /** ID of the wallet. */
1404
1418
  id: string;
1419
+ /** Network this wallet is bound to. */
1405
1420
  network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
1421
+ /** Wallet address on its corresponding network. */
1406
1422
  address?: string | undefined;
1423
+ /** Details about the key underlying the wallet. */
1407
1424
  signingKey: {
1408
1425
  id: string;
1426
+ /** Key scheme. */
1409
1427
  scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
1410
1428
  curve: "ed25519" | "secp256k1" | "stark";
1429
+ /** Hex-encoded value of the public key. */
1411
1430
  publicKey: string;
1431
+ /** The end user ID the key (and wallet) is delegated to. */
1412
1432
  delegatedTo?: string | undefined;
1413
1433
  };
1434
+ /** Wallet status. */
1414
1435
  status: "Active" | "Archived";
1436
+ /** [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date string when wallet was created. */
1415
1437
  dateCreated: string;
1438
+ /** Wallet nickname. */
1416
1439
  name?: string | undefined;
1440
+ /** Whether the wallet is owned by an end user (non-custodial), or by your organization (custodial). */
1417
1441
  custodial: boolean;
1442
+ /** User-defined value that can be used to correlate the entity with an external system. */
1418
1443
  externalId?: string | undefined;
1444
+ /** List of tags. */
1419
1445
  tags: string[];
1420
1446
  /** Id of the validator on which the wallet is created for Canton networks */
1421
1447
  validatorId?: string | undefined;
@@ -2152,21 +2178,34 @@ export type ImportWalletBody = {
2152
2178
  validatorId?: string | undefined;
2153
2179
  };
2154
2180
  export type ImportWalletResponse = {
2181
+ /** ID of the wallet. */
2155
2182
  id: string;
2183
+ /** Network this wallet is bound to. */
2156
2184
  network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
2185
+ /** Wallet address on its corresponding network. */
2157
2186
  address?: string | undefined;
2187
+ /** Details about the key underlying the wallet. */
2158
2188
  signingKey: {
2159
2189
  id: string;
2190
+ /** Key scheme. */
2160
2191
  scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
2161
2192
  curve: "ed25519" | "secp256k1" | "stark";
2193
+ /** Hex-encoded value of the public key. */
2162
2194
  publicKey: string;
2195
+ /** The end user ID the key (and wallet) is delegated to. */
2163
2196
  delegatedTo?: string | undefined;
2164
2197
  };
2198
+ /** Wallet status. */
2165
2199
  status: "Active" | "Archived";
2200
+ /** [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date string when wallet was created. */
2166
2201
  dateCreated: string;
2202
+ /** Wallet nickname. */
2167
2203
  name?: string | undefined;
2204
+ /** Whether the wallet is owned by an end user (non-custodial), or by your organization (custodial). */
2168
2205
  custodial: boolean;
2206
+ /** User-defined value that can be used to correlate the entity with an external system. */
2169
2207
  externalId?: string | undefined;
2208
+ /** List of tags. */
2170
2209
  tags: string[];
2171
2210
  /** Id of the validator on which the wallet is created for Canton networks */
2172
2211
  validatorId?: string | undefined;
@@ -2175,7 +2214,6 @@ export type ImportWalletRequest = {
2175
2214
  body: ImportWalletBody;
2176
2215
  };
2177
2216
  export type ListOffersParams = {
2178
- /** e.g. 'wa-5pfuu-9euek-h0odgb6snva8ph3k' */
2179
2217
  walletId: string;
2180
2218
  };
2181
2219
  export type ListOffersQuery = {
@@ -2184,11 +2222,8 @@ export type ListOffersQuery = {
2184
2222
  };
2185
2223
  export type ListOffersResponse = {
2186
2224
  items: {
2187
- /** e.g. 'offer-3ugfu-o8duj-vqu770ckmg7ilhp4' */
2188
2225
  id: string;
2189
- /** e.g. 'or-30tnh-itmjs-s235s5ontr3r23h2' */
2190
2226
  orgId: string;
2191
- /** e.g. 'wa-5pfuu-9euek-h0odgb6snva8ph3k' */
2192
2227
  walletId: string;
2193
2228
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
2194
2229
  kind: "Native" | "Aip21" | "Asa" | "Coin" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Tep74" | "Trc10" | "Trc20" | "Trc721";
@@ -3018,21 +3053,34 @@ export type ListWalletsQuery = {
3018
3053
  };
3019
3054
  export type ListWalletsResponse = {
3020
3055
  items: {
3056
+ /** ID of the wallet. */
3021
3057
  id: string;
3058
+ /** Network this wallet is bound to. */
3022
3059
  network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
3060
+ /** Wallet address on its corresponding network. */
3023
3061
  address?: string | undefined;
3062
+ /** Details about the key underlying the wallet. */
3024
3063
  signingKey: {
3025
3064
  id: string;
3065
+ /** Key scheme. */
3026
3066
  scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
3027
3067
  curve: "ed25519" | "secp256k1" | "stark";
3068
+ /** Hex-encoded value of the public key. */
3028
3069
  publicKey: string;
3070
+ /** The end user ID the key (and wallet) is delegated to. */
3029
3071
  delegatedTo?: string | undefined;
3030
3072
  };
3073
+ /** Wallet status. */
3031
3074
  status: "Active" | "Archived";
3075
+ /** [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date string when wallet was created. */
3032
3076
  dateCreated: string;
3077
+ /** Wallet nickname. */
3033
3078
  name?: string | undefined;
3079
+ /** Whether the wallet is owned by an end user (non-custodial), or by your organization (custodial). */
3034
3080
  custodial: boolean;
3081
+ /** User-defined value that can be used to correlate the entity with an external system. */
3035
3082
  externalId?: string | undefined;
3083
+ /** List of tags. */
3036
3084
  tags: string[];
3037
3085
  /** Id of the validator on which the wallet is created for Canton networks */
3038
3086
  validatorId?: string | undefined;
@@ -3043,17 +3091,12 @@ export type ListWalletsRequest = {
3043
3091
  query?: ListWalletsQuery;
3044
3092
  };
3045
3093
  export type RejectOfferParams = {
3046
- /** e.g. 'wa-5pfuu-9euek-h0odgb6snva8ph3k' */
3047
3094
  walletId: string;
3048
- /** e.g. 'offer-3ugfu-o8duj-vqu770ckmg7ilhp4' */
3049
3095
  offerId: string;
3050
3096
  };
3051
3097
  export type RejectOfferResponse = {
3052
- /** e.g. 'offer-3ugfu-o8duj-vqu770ckmg7ilhp4' */
3053
3098
  id: string;
3054
- /** e.g. 'or-30tnh-itmjs-s235s5ontr3r23h2' */
3055
3099
  orgId: string;
3056
- /** e.g. 'wa-5pfuu-9euek-h0odgb6snva8ph3k' */
3057
3100
  walletId: string;
3058
3101
  network: "Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet";
3059
3102
  kind: "Native" | "Aip21" | "Asa" | "Coin" | "Erc20" | "Erc721" | "Asset" | "Hip17" | "Hts" | "Sep41" | "Spl" | "Spl2022" | "Tep74" | "Trc10" | "Trc20" | "Trc721";
@@ -3948,6 +3991,7 @@ export type TransferAssetRequest = TransferAssetParams & {
3948
3991
  body: TransferAssetBody;
3949
3992
  };
3950
3993
  export type UntagWalletBody = {
3994
+ /** List of tags. */
3951
3995
  tags: string[];
3952
3996
  };
3953
3997
  export type UntagWalletParams = {
@@ -3965,21 +4009,34 @@ export type UpdateWalletParams = {
3965
4009
  walletId: string;
3966
4010
  };
3967
4011
  export type UpdateWalletResponse = {
4012
+ /** ID of the wallet. */
3968
4013
  id: string;
4014
+ /** Network this wallet is bound to. */
3969
4015
  network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
4016
+ /** Wallet address on its corresponding network. */
3970
4017
  address?: string | undefined;
4018
+ /** Details about the key underlying the wallet. */
3971
4019
  signingKey: {
3972
4020
  id: string;
4021
+ /** Key scheme. */
3973
4022
  scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
3974
4023
  curve: "ed25519" | "secp256k1" | "stark";
4024
+ /** Hex-encoded value of the public key. */
3975
4025
  publicKey: string;
4026
+ /** The end user ID the key (and wallet) is delegated to. */
3976
4027
  delegatedTo?: string | undefined;
3977
4028
  };
4029
+ /** Wallet status. */
3978
4030
  status: "Active" | "Archived";
4031
+ /** [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date string when wallet was created. */
3979
4032
  dateCreated: string;
4033
+ /** Wallet nickname. */
3980
4034
  name?: string | undefined;
4035
+ /** Whether the wallet is owned by an end user (non-custodial), or by your organization (custodial). */
3981
4036
  custodial: boolean;
4037
+ /** User-defined value that can be used to correlate the entity with an external system. */
3982
4038
  externalId?: string | undefined;
4039
+ /** List of tags. */
3983
4040
  tags: string[];
3984
4041
  /** Id of the validator on which the wallet is created for Canton networks */
3985
4042
  validatorId?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfns/sdk",
3
- "version": "0.7.12",
3
+ "version": "0.7.13",
4
4
  "dependencies": {
5
5
  "buffer": "^6.0.3",
6
6
  "cross-fetch": "^3.1.6"