@dfns/sdk 0.4.2 → 0.4.3-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/auth/types.d.ts +3 -3
- package/generated/permissions/types.d.ts +50 -25
- package/generated/policies/client.d.ts +1 -0
- package/generated/policies/client.js +11 -0
- package/generated/policies/delegatedClient.d.ts +1 -0
- package/generated/policies/delegatedClient.js +11 -0
- package/generated/policies/types.d.ts +1952 -620
- package/generated/wallets/client.d.ts +2 -0
- package/generated/wallets/client.js +24 -0
- package/generated/wallets/delegatedClient.d.ts +4 -0
- package/generated/wallets/delegatedClient.js +54 -0
- package/generated/wallets/types.d.ts +97 -40
- package/generated/webhooks/types.d.ts +9 -9
- package/package.json +1 -1
|
@@ -35,7 +35,7 @@ export type BroadcastTransactionParams = {
|
|
|
35
35
|
export type BroadcastTransactionResponse = {
|
|
36
36
|
id: string;
|
|
37
37
|
walletId: string;
|
|
38
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
38
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
39
39
|
requester: {
|
|
40
40
|
userId: string;
|
|
41
41
|
tokenId?: string | undefined;
|
|
@@ -76,6 +76,7 @@ export type BroadcastTransactionResponse = {
|
|
|
76
76
|
reason?: string | undefined;
|
|
77
77
|
txHash?: string | undefined;
|
|
78
78
|
fee?: string | undefined;
|
|
79
|
+
approvalId?: string | undefined;
|
|
79
80
|
dateRequested: string;
|
|
80
81
|
datePolicyResolved?: string | undefined;
|
|
81
82
|
dateBroadcasted?: string | undefined;
|
|
@@ -85,15 +86,16 @@ export type BroadcastTransactionRequest = BroadcastTransactionParams & {
|
|
|
85
86
|
body: BroadcastTransactionBody;
|
|
86
87
|
};
|
|
87
88
|
export type CreateWalletBody = {
|
|
88
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismSepolia" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Tron" | "TronNile" | "ArbitrumGoerli" | "BaseGoerli" | "Cardano" | "CardanoPreprod" | "Kusama" | "OptimismGoerli" | "Polkadot" | "Westend" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "XrpLedger" | "XrpLedgerTestnet" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark";
|
|
89
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismSepolia" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Stellar" | "StellarTestnet" | "Tron" | "TronNile" | "ArbitrumGoerli" | "BaseGoerli" | "Cardano" | "CardanoPreprod" | "Kusama" | "OptimismGoerli" | "Polkadot" | "Westend" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "XrpLedger" | "XrpLedgerTestnet" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark";
|
|
89
90
|
name?: string | undefined;
|
|
90
|
-
externalId?: string | undefined;
|
|
91
91
|
delegateTo?: string | undefined;
|
|
92
92
|
delayDelegation?: boolean | undefined;
|
|
93
|
+
externalId?: string | undefined;
|
|
94
|
+
tags?: string[] | undefined;
|
|
93
95
|
};
|
|
94
96
|
export type CreateWalletResponse = {
|
|
95
97
|
id: string;
|
|
96
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
98
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
97
99
|
address?: string | undefined;
|
|
98
100
|
signingKey: {
|
|
99
101
|
scheme: "ECDSA" | "EdDSA";
|
|
@@ -108,7 +110,7 @@ export type CreateWalletResponse = {
|
|
|
108
110
|
exported?: boolean | undefined;
|
|
109
111
|
dateExported?: string | undefined;
|
|
110
112
|
externalId?: string | undefined;
|
|
111
|
-
tags
|
|
113
|
+
tags: string[];
|
|
112
114
|
};
|
|
113
115
|
export type CreateWalletRequest = {
|
|
114
116
|
body: CreateWalletBody;
|
|
@@ -190,7 +192,7 @@ export type GenerateSignatureParams = {
|
|
|
190
192
|
export type GenerateSignatureResponse = {
|
|
191
193
|
id: string;
|
|
192
194
|
walletId: string;
|
|
193
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
195
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
194
196
|
requester: {
|
|
195
197
|
userId: string;
|
|
196
198
|
tokenId?: string | undefined;
|
|
@@ -244,6 +246,7 @@ export type GenerateSignatureResponse = {
|
|
|
244
246
|
signedData?: string | undefined;
|
|
245
247
|
txHash?: string | undefined;
|
|
246
248
|
fee?: string | undefined;
|
|
249
|
+
approvalId?: string | undefined;
|
|
247
250
|
dateRequested: string;
|
|
248
251
|
datePolicyResolved?: string | undefined;
|
|
249
252
|
dateSigned?: string | undefined;
|
|
@@ -259,7 +262,7 @@ export type GetSignatureParams = {
|
|
|
259
262
|
export type GetSignatureResponse = {
|
|
260
263
|
id: string;
|
|
261
264
|
walletId: string;
|
|
262
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
265
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
263
266
|
requester: {
|
|
264
267
|
userId: string;
|
|
265
268
|
tokenId?: string | undefined;
|
|
@@ -313,6 +316,7 @@ export type GetSignatureResponse = {
|
|
|
313
316
|
signedData?: string | undefined;
|
|
314
317
|
txHash?: string | undefined;
|
|
315
318
|
fee?: string | undefined;
|
|
319
|
+
approvalId?: string | undefined;
|
|
316
320
|
dateRequested: string;
|
|
317
321
|
datePolicyResolved?: string | undefined;
|
|
318
322
|
dateSigned?: string | undefined;
|
|
@@ -326,7 +330,7 @@ export type GetTransactionParams = {
|
|
|
326
330
|
export type GetTransactionResponse = {
|
|
327
331
|
id: string;
|
|
328
332
|
walletId: string;
|
|
329
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
333
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
330
334
|
requester: {
|
|
331
335
|
userId: string;
|
|
332
336
|
tokenId?: string | undefined;
|
|
@@ -367,6 +371,7 @@ export type GetTransactionResponse = {
|
|
|
367
371
|
reason?: string | undefined;
|
|
368
372
|
txHash?: string | undefined;
|
|
369
373
|
fee?: string | undefined;
|
|
374
|
+
approvalId?: string | undefined;
|
|
370
375
|
dateRequested: string;
|
|
371
376
|
datePolicyResolved?: string | undefined;
|
|
372
377
|
dateBroadcasted?: string | undefined;
|
|
@@ -380,7 +385,7 @@ export type GetTransferParams = {
|
|
|
380
385
|
export type GetTransferResponse = {
|
|
381
386
|
id: string;
|
|
382
387
|
walletId: string;
|
|
383
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
388
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
384
389
|
requester: {
|
|
385
390
|
userId: string;
|
|
386
391
|
tokenId?: string | undefined;
|
|
@@ -388,7 +393,7 @@ export type GetTransferResponse = {
|
|
|
388
393
|
};
|
|
389
394
|
requestBody: {
|
|
390
395
|
kind: "Native";
|
|
391
|
-
to: string | string | string | string | string | string | string | string | string | string;
|
|
396
|
+
to: string | string | string | string | string | string | string | string | string | string | string;
|
|
392
397
|
amount: string;
|
|
393
398
|
memo?: string | undefined;
|
|
394
399
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
@@ -424,6 +429,13 @@ export type GetTransferResponse = {
|
|
|
424
429
|
assetId: string;
|
|
425
430
|
to: string;
|
|
426
431
|
amount: string;
|
|
432
|
+
} | {
|
|
433
|
+
kind: "Sep41";
|
|
434
|
+
issuer: string;
|
|
435
|
+
assetCode: string;
|
|
436
|
+
to: string;
|
|
437
|
+
amount: string;
|
|
438
|
+
memo?: string | undefined;
|
|
427
439
|
};
|
|
428
440
|
metadata: {
|
|
429
441
|
asset: {
|
|
@@ -443,6 +455,7 @@ export type GetTransferResponse = {
|
|
|
443
455
|
datePolicyResolved?: string | undefined;
|
|
444
456
|
dateBroadcasted?: string | undefined;
|
|
445
457
|
dateConfirmed?: string | undefined;
|
|
458
|
+
approvalId?: string | undefined;
|
|
446
459
|
};
|
|
447
460
|
export type GetTransferRequest = GetTransferParams;
|
|
448
461
|
export type GetWalletParams = {
|
|
@@ -450,7 +463,7 @@ export type GetWalletParams = {
|
|
|
450
463
|
};
|
|
451
464
|
export type GetWalletResponse = {
|
|
452
465
|
id: string;
|
|
453
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
466
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
454
467
|
address?: string | undefined;
|
|
455
468
|
signingKey: {
|
|
456
469
|
scheme: "ECDSA" | "EdDSA";
|
|
@@ -465,7 +478,7 @@ export type GetWalletResponse = {
|
|
|
465
478
|
exported?: boolean | undefined;
|
|
466
479
|
dateExported?: string | undefined;
|
|
467
480
|
externalId?: string | undefined;
|
|
468
|
-
tags
|
|
481
|
+
tags: string[];
|
|
469
482
|
};
|
|
470
483
|
export type GetWalletRequest = GetWalletParams;
|
|
471
484
|
export type GetWalletAssetsParams = {
|
|
@@ -473,9 +486,9 @@ export type GetWalletAssetsParams = {
|
|
|
473
486
|
};
|
|
474
487
|
export type GetWalletAssetsResponse = {
|
|
475
488
|
walletId: string;
|
|
476
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
489
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
477
490
|
assets: {
|
|
478
|
-
kind: "Native" | "Asa" | "Erc20" | "Erc721" | "Trc10" | "Trc20" | "Trc721";
|
|
491
|
+
kind: "Native" | "Asa" | "Erc20" | "Erc721" | "Sep41" | "Trc10" | "Trc20" | "Trc721";
|
|
479
492
|
assetId?: string | undefined;
|
|
480
493
|
contract?: string | undefined;
|
|
481
494
|
tokenId?: string | undefined;
|
|
@@ -498,11 +511,11 @@ export type GetWalletHistoryQuery = {
|
|
|
498
511
|
};
|
|
499
512
|
export type GetWalletHistoryResponse = {
|
|
500
513
|
walletId: string;
|
|
501
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
514
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
502
515
|
items: ({
|
|
503
516
|
walletId: string;
|
|
504
517
|
direction: "In" | "Out";
|
|
505
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
518
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
506
519
|
blockNumber: number;
|
|
507
520
|
txHash: string;
|
|
508
521
|
index?: string | undefined;
|
|
@@ -539,7 +552,7 @@ export type GetWalletHistoryResponse = {
|
|
|
539
552
|
} | {
|
|
540
553
|
walletId: string;
|
|
541
554
|
direction: "In" | "Out";
|
|
542
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
555
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
543
556
|
blockNumber: number;
|
|
544
557
|
txHash: string;
|
|
545
558
|
index?: string | undefined;
|
|
@@ -574,7 +587,7 @@ export type GetWalletHistoryResponse = {
|
|
|
574
587
|
} | {
|
|
575
588
|
walletId: string;
|
|
576
589
|
direction: "In" | "Out";
|
|
577
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
590
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
578
591
|
blockNumber: number;
|
|
579
592
|
txHash: string;
|
|
580
593
|
index?: string | undefined;
|
|
@@ -612,7 +625,7 @@ export type GetWalletHistoryResponse = {
|
|
|
612
625
|
} | {
|
|
613
626
|
walletId: string;
|
|
614
627
|
direction: "In" | "Out";
|
|
615
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
628
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
616
629
|
blockNumber: number;
|
|
617
630
|
txHash: string;
|
|
618
631
|
index?: string | undefined;
|
|
@@ -648,7 +661,7 @@ export type GetWalletHistoryResponse = {
|
|
|
648
661
|
} | {
|
|
649
662
|
walletId: string;
|
|
650
663
|
direction: "In" | "Out";
|
|
651
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
664
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
652
665
|
blockNumber: number;
|
|
653
666
|
txHash: string;
|
|
654
667
|
index?: string | undefined;
|
|
@@ -680,7 +693,7 @@ export type GetWalletHistoryResponse = {
|
|
|
680
693
|
} | {
|
|
681
694
|
walletId: string;
|
|
682
695
|
direction: "In" | "Out";
|
|
683
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
696
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
684
697
|
blockNumber: number;
|
|
685
698
|
txHash: string;
|
|
686
699
|
index?: string | undefined;
|
|
@@ -712,7 +725,7 @@ export type GetWalletHistoryResponse = {
|
|
|
712
725
|
} | {
|
|
713
726
|
walletId: string;
|
|
714
727
|
direction: "In" | "Out";
|
|
715
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
728
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
716
729
|
blockNumber: number;
|
|
717
730
|
txHash: string;
|
|
718
731
|
index?: string | undefined;
|
|
@@ -744,7 +757,7 @@ export type GetWalletHistoryResponse = {
|
|
|
744
757
|
} | {
|
|
745
758
|
walletId: string;
|
|
746
759
|
direction: "In" | "Out";
|
|
747
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
760
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
748
761
|
blockNumber: number;
|
|
749
762
|
txHash: string;
|
|
750
763
|
index?: string | undefined;
|
|
@@ -783,9 +796,9 @@ export type GetWalletNftsParams = {
|
|
|
783
796
|
};
|
|
784
797
|
export type GetWalletNftsResponse = {
|
|
785
798
|
walletId: string;
|
|
786
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
799
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
787
800
|
nfts: {
|
|
788
|
-
kind: "Native" | "Asa" | "Erc20" | "Erc721" | "Trc10" | "Trc20" | "Trc721";
|
|
801
|
+
kind: "Native" | "Asa" | "Erc20" | "Erc721" | "Sep41" | "Trc10" | "Trc20" | "Trc721";
|
|
789
802
|
contract?: string | undefined;
|
|
790
803
|
symbol?: string | undefined;
|
|
791
804
|
verified?: boolean | undefined;
|
|
@@ -795,10 +808,9 @@ export type GetWalletNftsResponse = {
|
|
|
795
808
|
};
|
|
796
809
|
export type GetWalletNftsRequest = GetWalletNftsParams;
|
|
797
810
|
export type ImportWalletBody = {
|
|
798
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismSepolia" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Tron" | "TronNile" | "ArbitrumGoerli" | "BaseGoerli" | "Cardano" | "CardanoPreprod" | "Kusama" | "OptimismGoerli" | "Polkadot" | "Westend" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "XrpLedger" | "XrpLedgerTestnet" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark";
|
|
811
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismSepolia" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Stellar" | "StellarTestnet" | "Tron" | "TronNile" | "ArbitrumGoerli" | "BaseGoerli" | "Cardano" | "CardanoPreprod" | "Kusama" | "OptimismGoerli" | "Polkadot" | "Westend" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "XrpLedger" | "XrpLedgerTestnet" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark";
|
|
799
812
|
name?: string | undefined;
|
|
800
813
|
externalId?: string | undefined;
|
|
801
|
-
tags?: string[] | undefined;
|
|
802
814
|
curve: "secp256k1";
|
|
803
815
|
protocol: "CGGMP21";
|
|
804
816
|
minSigners: number;
|
|
@@ -809,7 +821,7 @@ export type ImportWalletBody = {
|
|
|
809
821
|
};
|
|
810
822
|
export type ImportWalletResponse = {
|
|
811
823
|
id: string;
|
|
812
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
824
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
813
825
|
address?: string | undefined;
|
|
814
826
|
signingKey: {
|
|
815
827
|
scheme: "ECDSA" | "EdDSA";
|
|
@@ -824,7 +836,7 @@ export type ImportWalletResponse = {
|
|
|
824
836
|
exported?: boolean | undefined;
|
|
825
837
|
dateExported?: string | undefined;
|
|
826
838
|
externalId?: string | undefined;
|
|
827
|
-
tags
|
|
839
|
+
tags: string[];
|
|
828
840
|
};
|
|
829
841
|
export type ImportWalletRequest = {
|
|
830
842
|
body: ImportWalletBody;
|
|
@@ -841,7 +853,7 @@ export type ListSignaturesResponse = {
|
|
|
841
853
|
items: {
|
|
842
854
|
id: string;
|
|
843
855
|
walletId: string;
|
|
844
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
856
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
845
857
|
requester: {
|
|
846
858
|
userId: string;
|
|
847
859
|
tokenId?: string | undefined;
|
|
@@ -895,6 +907,7 @@ export type ListSignaturesResponse = {
|
|
|
895
907
|
signedData?: string | undefined;
|
|
896
908
|
txHash?: string | undefined;
|
|
897
909
|
fee?: string | undefined;
|
|
910
|
+
approvalId?: string | undefined;
|
|
898
911
|
dateRequested: string;
|
|
899
912
|
datePolicyResolved?: string | undefined;
|
|
900
913
|
dateSigned?: string | undefined;
|
|
@@ -917,7 +930,7 @@ export type ListTransactionsResponse = {
|
|
|
917
930
|
items: {
|
|
918
931
|
id: string;
|
|
919
932
|
walletId: string;
|
|
920
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
933
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
921
934
|
requester: {
|
|
922
935
|
userId: string;
|
|
923
936
|
tokenId?: string | undefined;
|
|
@@ -958,6 +971,7 @@ export type ListTransactionsResponse = {
|
|
|
958
971
|
reason?: string | undefined;
|
|
959
972
|
txHash?: string | undefined;
|
|
960
973
|
fee?: string | undefined;
|
|
974
|
+
approvalId?: string | undefined;
|
|
961
975
|
dateRequested: string;
|
|
962
976
|
datePolicyResolved?: string | undefined;
|
|
963
977
|
dateBroadcasted?: string | undefined;
|
|
@@ -980,7 +994,7 @@ export type ListTransfersResponse = {
|
|
|
980
994
|
items: {
|
|
981
995
|
id: string;
|
|
982
996
|
walletId: string;
|
|
983
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
997
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
984
998
|
requester: {
|
|
985
999
|
userId: string;
|
|
986
1000
|
tokenId?: string | undefined;
|
|
@@ -988,7 +1002,7 @@ export type ListTransfersResponse = {
|
|
|
988
1002
|
};
|
|
989
1003
|
requestBody: {
|
|
990
1004
|
kind: "Native";
|
|
991
|
-
to: string | string | string | string | string | string | string | string | string | string;
|
|
1005
|
+
to: string | string | string | string | string | string | string | string | string | string | string;
|
|
992
1006
|
amount: string;
|
|
993
1007
|
memo?: string | undefined;
|
|
994
1008
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
@@ -1024,6 +1038,13 @@ export type ListTransfersResponse = {
|
|
|
1024
1038
|
assetId: string;
|
|
1025
1039
|
to: string;
|
|
1026
1040
|
amount: string;
|
|
1041
|
+
} | {
|
|
1042
|
+
kind: "Sep41";
|
|
1043
|
+
issuer: string;
|
|
1044
|
+
assetCode: string;
|
|
1045
|
+
to: string;
|
|
1046
|
+
amount: string;
|
|
1047
|
+
memo?: string | undefined;
|
|
1027
1048
|
};
|
|
1028
1049
|
metadata: {
|
|
1029
1050
|
asset: {
|
|
@@ -1043,6 +1064,7 @@ export type ListTransfersResponse = {
|
|
|
1043
1064
|
datePolicyResolved?: string | undefined;
|
|
1044
1065
|
dateBroadcasted?: string | undefined;
|
|
1045
1066
|
dateConfirmed?: string | undefined;
|
|
1067
|
+
approvalId?: string | undefined;
|
|
1046
1068
|
}[];
|
|
1047
1069
|
nextPageToken?: string | undefined;
|
|
1048
1070
|
};
|
|
@@ -1056,7 +1078,7 @@ export type ListWalletsQuery = {
|
|
|
1056
1078
|
export type ListWalletsResponse = {
|
|
1057
1079
|
items: {
|
|
1058
1080
|
id: string;
|
|
1059
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1081
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1060
1082
|
address?: string | undefined;
|
|
1061
1083
|
signingKey: {
|
|
1062
1084
|
scheme: "ECDSA" | "EdDSA";
|
|
@@ -1071,16 +1093,26 @@ export type ListWalletsResponse = {
|
|
|
1071
1093
|
exported?: boolean | undefined;
|
|
1072
1094
|
dateExported?: string | undefined;
|
|
1073
1095
|
externalId?: string | undefined;
|
|
1074
|
-
tags
|
|
1096
|
+
tags: string[];
|
|
1075
1097
|
}[];
|
|
1076
1098
|
nextPageToken?: string | undefined;
|
|
1077
1099
|
};
|
|
1078
1100
|
export type ListWalletsRequest = {
|
|
1079
1101
|
query?: ListWalletsQuery;
|
|
1080
1102
|
};
|
|
1103
|
+
export type TagWalletBody = {
|
|
1104
|
+
tags: string[];
|
|
1105
|
+
};
|
|
1106
|
+
export type TagWalletParams = {
|
|
1107
|
+
walletId: string;
|
|
1108
|
+
};
|
|
1109
|
+
export type TagWalletResponse = {};
|
|
1110
|
+
export type TagWalletRequest = TagWalletParams & {
|
|
1111
|
+
body: TagWalletBody;
|
|
1112
|
+
};
|
|
1081
1113
|
export type TransferAssetBody = {
|
|
1082
1114
|
kind: "Native";
|
|
1083
|
-
to: string | string | string | string | string | string | string | string | string | string;
|
|
1115
|
+
to: string | string | string | string | string | string | string | string | string | string | string;
|
|
1084
1116
|
amount: string;
|
|
1085
1117
|
memo?: string | undefined;
|
|
1086
1118
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
@@ -1116,6 +1148,13 @@ export type TransferAssetBody = {
|
|
|
1116
1148
|
assetId: string;
|
|
1117
1149
|
to: string;
|
|
1118
1150
|
amount: string;
|
|
1151
|
+
} | {
|
|
1152
|
+
kind: "Sep41";
|
|
1153
|
+
issuer: string;
|
|
1154
|
+
assetCode: string;
|
|
1155
|
+
to: string;
|
|
1156
|
+
amount: string;
|
|
1157
|
+
memo?: string | undefined;
|
|
1119
1158
|
};
|
|
1120
1159
|
export type TransferAssetParams = {
|
|
1121
1160
|
walletId: string;
|
|
@@ -1123,7 +1162,7 @@ export type TransferAssetParams = {
|
|
|
1123
1162
|
export type TransferAssetResponse = {
|
|
1124
1163
|
id: string;
|
|
1125
1164
|
walletId: string;
|
|
1126
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1165
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1127
1166
|
requester: {
|
|
1128
1167
|
userId: string;
|
|
1129
1168
|
tokenId?: string | undefined;
|
|
@@ -1131,7 +1170,7 @@ export type TransferAssetResponse = {
|
|
|
1131
1170
|
};
|
|
1132
1171
|
requestBody: {
|
|
1133
1172
|
kind: "Native";
|
|
1134
|
-
to: string | string | string | string | string | string | string | string | string | string;
|
|
1173
|
+
to: string | string | string | string | string | string | string | string | string | string | string;
|
|
1135
1174
|
amount: string;
|
|
1136
1175
|
memo?: string | undefined;
|
|
1137
1176
|
priority?: ("Slow" | "Standard" | "Fast") | undefined;
|
|
@@ -1167,6 +1206,13 @@ export type TransferAssetResponse = {
|
|
|
1167
1206
|
assetId: string;
|
|
1168
1207
|
to: string;
|
|
1169
1208
|
amount: string;
|
|
1209
|
+
} | {
|
|
1210
|
+
kind: "Sep41";
|
|
1211
|
+
issuer: string;
|
|
1212
|
+
assetCode: string;
|
|
1213
|
+
to: string;
|
|
1214
|
+
amount: string;
|
|
1215
|
+
memo?: string | undefined;
|
|
1170
1216
|
};
|
|
1171
1217
|
metadata: {
|
|
1172
1218
|
asset: {
|
|
@@ -1186,10 +1232,21 @@ export type TransferAssetResponse = {
|
|
|
1186
1232
|
datePolicyResolved?: string | undefined;
|
|
1187
1233
|
dateBroadcasted?: string | undefined;
|
|
1188
1234
|
dateConfirmed?: string | undefined;
|
|
1235
|
+
approvalId?: string | undefined;
|
|
1189
1236
|
};
|
|
1190
1237
|
export type TransferAssetRequest = TransferAssetParams & {
|
|
1191
1238
|
body: TransferAssetBody;
|
|
1192
1239
|
};
|
|
1240
|
+
export type UntagWalletBody = {
|
|
1241
|
+
tags: string[];
|
|
1242
|
+
};
|
|
1243
|
+
export type UntagWalletParams = {
|
|
1244
|
+
walletId: string;
|
|
1245
|
+
};
|
|
1246
|
+
export type UntagWalletResponse = {};
|
|
1247
|
+
export type UntagWalletRequest = UntagWalletParams & {
|
|
1248
|
+
body: UntagWalletBody;
|
|
1249
|
+
};
|
|
1193
1250
|
export type UpdateWalletBody = {
|
|
1194
1251
|
name: string;
|
|
1195
1252
|
};
|
|
@@ -1198,7 +1255,7 @@ export type UpdateWalletParams = {
|
|
|
1198
1255
|
};
|
|
1199
1256
|
export type UpdateWalletResponse = {
|
|
1200
1257
|
id: string;
|
|
1201
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1258
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1202
1259
|
address?: string | undefined;
|
|
1203
1260
|
signingKey: {
|
|
1204
1261
|
scheme: "ECDSA" | "EdDSA";
|
|
@@ -1213,7 +1270,7 @@ export type UpdateWalletResponse = {
|
|
|
1213
1270
|
exported?: boolean | undefined;
|
|
1214
1271
|
dateExported?: string | undefined;
|
|
1215
1272
|
externalId?: string | undefined;
|
|
1216
|
-
tags
|
|
1273
|
+
tags: string[];
|
|
1217
1274
|
};
|
|
1218
1275
|
export type UpdateWalletRequest = UpdateWalletParams & {
|
|
1219
1276
|
body: UpdateWalletBody;
|