@privy-io/api-types 0.16.0 → 0.18.0
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/CHANGELOG.md +74 -0
- package/client.d.mts +14 -17
- package/client.d.mts.map +1 -1
- package/client.d.ts +14 -17
- package/client.d.ts.map +1 -1
- package/client.js +0 -3
- package/client.js.map +1 -1
- package/client.mjs +0 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +1 -1
- package/resources/accounts.d.ts +1 -1
- package/resources/apps.d.mts +3 -3
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +3 -3
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +42 -4
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +42 -4
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +6 -0
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +6 -0
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/index.d.mts +7 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -1
- package/resources/index.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +110 -17
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +110 -17
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/onramps.d.mts +4 -4
- package/resources/onramps.d.ts +4 -4
- package/resources/policies.d.mts +48 -8
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +48 -8
- package/resources/policies.d.ts.map +1 -1
- package/resources/swaps.d.mts +2 -1
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +2 -1
- package/resources/swaps.d.ts.map +1 -1
- package/resources/transactions.d.mts +9 -2
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +9 -2
- package/resources/transactions.d.ts.map +1 -1
- package/resources/users.d.mts +41 -8
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +41 -8
- package/resources/users.d.ts.map +1 -1
- package/resources/{wallet-actions.d.ts → wallets/actions.d.mts} +262 -60
- package/resources/wallets/actions.d.mts.map +1 -0
- package/resources/{wallet-actions.d.mts → wallets/actions.d.ts} +262 -60
- package/resources/wallets/actions.d.ts.map +1 -0
- package/resources/wallets/actions.js +9 -0
- package/resources/wallets/actions.js.map +1 -0
- package/resources/wallets/actions.mjs +5 -0
- package/resources/wallets/actions.mjs.map +1 -0
- package/resources/wallets/balance.d.mts +9 -6
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +9 -6
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/index.d.mts +2 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +2 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js +3 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs +1 -0
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +10 -3
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +10 -3
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +323 -78
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +323 -78
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +4 -0
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +4 -0
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +379 -71
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +379 -71
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +11 -7
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +11 -7
- package/resources/yield.d.ts.map +1 -1
- package/resources/yield.js.map +1 -1
- package/resources/yield.mjs.map +1 -1
- package/src/client.ts +96 -83
- package/src/resources/accounts.ts +1 -1
- package/src/resources/apps.ts +3 -3
- package/src/resources/client-auth.ts +61 -3
- package/src/resources/embedded-wallets.ts +7 -0
- package/src/resources/index.ts +48 -40
- package/src/resources/kraken-embed.ts +439 -848
- package/src/resources/onramps.ts +4 -4
- package/src/resources/policies.ts +96 -36
- package/src/resources/swaps.ts +2 -1
- package/src/resources/transactions.ts +18 -9
- package/src/resources/users.ts +49 -7
- package/src/resources/{wallet-actions.ts → wallets/actions.ts} +323 -67
- package/src/resources/wallets/balance.ts +24 -64
- package/src/resources/wallets/index.ts +59 -0
- package/src/resources/wallets/transactions.ts +12 -10
- package/src/resources/wallets/wallets.ts +582 -116
- package/src/resources/webhooks.ts +458 -76
- package/src/resources/yield.ts +11 -15
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/wallet-actions.d.mts.map +0 -1
- package/resources/wallet-actions.d.ts.map +0 -1
- package/resources/wallet-actions.js +0 -9
- package/resources/wallet-actions.js.map +0 -1
- package/resources/wallet-actions.mjs +0 -5
- package/resources/wallet-actions.mjs.map +0 -1
|
@@ -4,6 +4,53 @@ import { APIResource } from '../../core/resource';
|
|
|
4
4
|
import * as WalletsAPI from './wallets';
|
|
5
5
|
import * as AppsAPI from '../apps';
|
|
6
6
|
import * as SharedAPI from '../shared';
|
|
7
|
+
import * as ActionsAPI from './actions';
|
|
8
|
+
import {
|
|
9
|
+
AaveVaultDetails,
|
|
10
|
+
Actions,
|
|
11
|
+
CustodianTransactionWalletActionStep,
|
|
12
|
+
CustodianTransactionWalletActionStepStatus,
|
|
13
|
+
EarnAsset,
|
|
14
|
+
EarnDepositActionResponse,
|
|
15
|
+
EarnDepositRequestBody,
|
|
16
|
+
EarnFeeCollectActionResponse,
|
|
17
|
+
EarnFeeCollectRequestBody,
|
|
18
|
+
EarnIncentiveClaimActionResponse,
|
|
19
|
+
EarnIncentiveClaimRequestBody,
|
|
20
|
+
EarnIncentiveRewardEntry,
|
|
21
|
+
EarnIncentiveRewardsQuery,
|
|
22
|
+
EarnIncentiveRewardsResponse,
|
|
23
|
+
EarnIncetiveClaimRewardEntry,
|
|
24
|
+
EarnWithdrawActionResponse,
|
|
25
|
+
EarnWithdrawRequestBody,
|
|
26
|
+
EthereumEarnPositionQuery,
|
|
27
|
+
EthereumEarnPositionResponse,
|
|
28
|
+
EthereumEarnProvider,
|
|
29
|
+
EthereumEarnVaultDetailsResponse,
|
|
30
|
+
EvmTransactionWalletActionStep,
|
|
31
|
+
EvmUserOperationEntrypointVersion,
|
|
32
|
+
EvmUserOperationWalletActionStep,
|
|
33
|
+
EvmWalletActionStepStatus,
|
|
34
|
+
ExternalTransactionWalletActionStep,
|
|
35
|
+
ExternalTransactionWalletActionStepStatus,
|
|
36
|
+
FailureReason,
|
|
37
|
+
ListWalletActionsQuery,
|
|
38
|
+
ListWalletActionsResponse,
|
|
39
|
+
MorphoVaultDetails,
|
|
40
|
+
SvmTransactionWalletActionStep,
|
|
41
|
+
SvmWalletActionStepStatus,
|
|
42
|
+
SwapActionResponse,
|
|
43
|
+
TransferActionResponse,
|
|
44
|
+
TvmTransactionWalletActionStep,
|
|
45
|
+
TvmWalletActionStepStatus,
|
|
46
|
+
VedaVaultDetails,
|
|
47
|
+
WalletActionInclude,
|
|
48
|
+
WalletActionResponse,
|
|
49
|
+
WalletActionStatus,
|
|
50
|
+
WalletActionStep,
|
|
51
|
+
WalletActionStepType,
|
|
52
|
+
WalletActionType,
|
|
53
|
+
} from './actions';
|
|
7
54
|
import * as BalanceAPI from './balance';
|
|
8
55
|
import { Balance, BalanceGetParams, BalanceGetResponse } from './balance';
|
|
9
56
|
import * as TransactionsAPI from './transactions';
|
|
@@ -20,6 +67,7 @@ import { path } from '../../internal/utils/path';
|
|
|
20
67
|
export class Wallets extends APIResource {
|
|
21
68
|
balance: BalanceAPI.Balance = new BalanceAPI.Balance(this._client);
|
|
22
69
|
transactions: TransactionsAPI.Transactions = new TransactionsAPI.Transactions(this._client);
|
|
70
|
+
actions: ActionsAPI.Actions = new ActionsAPI.Actions(this._client);
|
|
23
71
|
|
|
24
72
|
/**
|
|
25
73
|
* Creates a new wallet on the requested chain and for the requested owner.
|
|
@@ -281,7 +329,9 @@ export interface AdditionalSignerItemInput {
|
|
|
281
329
|
}
|
|
282
330
|
|
|
283
331
|
/**
|
|
284
|
-
* A blockchain wallet address
|
|
332
|
+
* A blockchain wallet address. Ethereum addresses are normalized to EIP-55
|
|
333
|
+
* checksum format. Solana addresses are validated as base58. All other chain
|
|
334
|
+
* addresses (Stellar, Tron, Sui, Aptos, etc.) are accepted as-is.
|
|
285
335
|
*/
|
|
286
336
|
export type Address = string;
|
|
287
337
|
|
|
@@ -567,14 +617,6 @@ export type CustodialWalletProvider = 'bridge';
|
|
|
567
617
|
* address (Solana). Use this variant for tokens that are not first-class assets.
|
|
568
618
|
*/
|
|
569
619
|
export interface CustomTokenTransferSource {
|
|
570
|
-
/**
|
|
571
|
-
* @deprecated Amount as a decimal string in the token's standard unit (e.g. "1.5"
|
|
572
|
-
* for 1.5 USDC, "0.01" for 0.01 ETH). For exact_input, specifies the amount to
|
|
573
|
-
* send. Not in the smallest on-chain unit (wei, lamports, etc.). Maximum 100
|
|
574
|
-
* characters.
|
|
575
|
-
*/
|
|
576
|
-
amount: string;
|
|
577
|
-
|
|
578
620
|
/**
|
|
579
621
|
* The token contract address (EVM) or mint address (Solana) of the asset to
|
|
580
622
|
* transfer.
|
|
@@ -583,10 +625,18 @@ export interface CustomTokenTransferSource {
|
|
|
583
625
|
|
|
584
626
|
/**
|
|
585
627
|
* The blockchain network on which to perform the transfer. Supported chains
|
|
586
|
-
* include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
628
|
+
* include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
587
629
|
* respective testnets.
|
|
588
630
|
*/
|
|
589
631
|
chain: string;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @deprecated Amount as a decimal string in the token's standard unit (e.g. "1.5"
|
|
635
|
+
* for 1.5 USDC, "0.01" for 0.01 ETH). For exact_input, specifies the amount to
|
|
636
|
+
* send. Not in the smallest on-chain unit (wei, lamports, etc.). Maximum 100
|
|
637
|
+
* characters. Deprecated: use the top-level `amount` field instead.
|
|
638
|
+
*/
|
|
639
|
+
amount?: string;
|
|
590
640
|
}
|
|
591
641
|
|
|
592
642
|
/**
|
|
@@ -673,7 +723,7 @@ export interface EthereumPersonalSignRpcInput {
|
|
|
673
723
|
address?: string;
|
|
674
724
|
|
|
675
725
|
/**
|
|
676
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
726
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
677
727
|
*/
|
|
678
728
|
caip2?: AppsAPI.Caip2;
|
|
679
729
|
|
|
@@ -767,7 +817,7 @@ export interface EthereumSecp256k1SignRpcInput {
|
|
|
767
817
|
*/
|
|
768
818
|
export interface EthereumSecp256k1SignRpcInputParams {
|
|
769
819
|
/**
|
|
770
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
820
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
771
821
|
* bytes).
|
|
772
822
|
*/
|
|
773
823
|
hash: Hex;
|
|
@@ -792,7 +842,7 @@ export interface EthereumSecp256k1SignRpcResponseData {
|
|
|
792
842
|
encoding: 'hex';
|
|
793
843
|
|
|
794
844
|
/**
|
|
795
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
845
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
796
846
|
* bytes).
|
|
797
847
|
*/
|
|
798
848
|
signature: Hex;
|
|
@@ -805,7 +855,7 @@ export interface EthereumSendCallsCall {
|
|
|
805
855
|
to: string;
|
|
806
856
|
|
|
807
857
|
/**
|
|
808
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
858
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
809
859
|
* bytes).
|
|
810
860
|
*/
|
|
811
861
|
data?: Hex;
|
|
@@ -823,7 +873,7 @@ export interface EthereumSendCallsCall {
|
|
|
823
873
|
*/
|
|
824
874
|
export interface EthereumSendCallsRpcInput {
|
|
825
875
|
/**
|
|
826
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
876
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
827
877
|
*/
|
|
828
878
|
caip2: AppsAPI.Caip2;
|
|
829
879
|
|
|
@@ -839,7 +889,7 @@ export interface EthereumSendCallsRpcInput {
|
|
|
839
889
|
chain_type?: 'ethereum';
|
|
840
890
|
|
|
841
891
|
/**
|
|
842
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
892
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
843
893
|
* bytes).
|
|
844
894
|
*/
|
|
845
895
|
experimental_data_suffix?: Hex;
|
|
@@ -873,7 +923,7 @@ export interface EthereumSendCallsRpcResponse {
|
|
|
873
923
|
*/
|
|
874
924
|
export interface EthereumSendCallsRpcResponseData {
|
|
875
925
|
/**
|
|
876
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
926
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
877
927
|
*/
|
|
878
928
|
caip2: AppsAPI.Caip2;
|
|
879
929
|
|
|
@@ -885,7 +935,7 @@ export interface EthereumSendCallsRpcResponseData {
|
|
|
885
935
|
*/
|
|
886
936
|
export interface EthereumSendTransactionRpcInput {
|
|
887
937
|
/**
|
|
888
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
938
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
889
939
|
*/
|
|
890
940
|
caip2: AppsAPI.Caip2;
|
|
891
941
|
|
|
@@ -901,7 +951,7 @@ export interface EthereumSendTransactionRpcInput {
|
|
|
901
951
|
chain_type?: 'ethereum';
|
|
902
952
|
|
|
903
953
|
/**
|
|
904
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
954
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
905
955
|
* bytes).
|
|
906
956
|
*/
|
|
907
957
|
experimental_data_suffix?: Hex;
|
|
@@ -941,7 +991,7 @@ export interface EthereumSendTransactionRpcResponse {
|
|
|
941
991
|
*/
|
|
942
992
|
export interface EthereumSendTransactionRpcResponseData {
|
|
943
993
|
/**
|
|
944
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
994
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
945
995
|
*/
|
|
946
996
|
caip2: AppsAPI.Caip2;
|
|
947
997
|
|
|
@@ -980,13 +1030,13 @@ export interface EthereumSign7702Authorization {
|
|
|
980
1030
|
nonce: Quantity;
|
|
981
1031
|
|
|
982
1032
|
/**
|
|
983
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1033
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
984
1034
|
* bytes).
|
|
985
1035
|
*/
|
|
986
1036
|
r: Hex;
|
|
987
1037
|
|
|
988
1038
|
/**
|
|
989
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1039
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
990
1040
|
* bytes).
|
|
991
1041
|
*/
|
|
992
1042
|
s: Hex;
|
|
@@ -1121,7 +1171,7 @@ export interface EthereumSignTypedDataRpcInput {
|
|
|
1121
1171
|
address?: string;
|
|
1122
1172
|
|
|
1123
1173
|
/**
|
|
1124
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
1174
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
1125
1175
|
*/
|
|
1126
1176
|
caip2?: AppsAPI.Caip2;
|
|
1127
1177
|
|
|
@@ -1370,7 +1420,9 @@ export interface Gas {
|
|
|
1370
1420
|
*/
|
|
1371
1421
|
export interface GetByWalletAddressRequestBody {
|
|
1372
1422
|
/**
|
|
1373
|
-
* A blockchain wallet address
|
|
1423
|
+
* A blockchain wallet address. Ethereum addresses are normalized to EIP-55
|
|
1424
|
+
* checksum format. Solana addresses are validated as base58. All other chain
|
|
1425
|
+
* addresses (Stellar, Tron, Sui, Aptos, etc.) are accepted as-is.
|
|
1374
1426
|
*/
|
|
1375
1427
|
address: Address;
|
|
1376
1428
|
|
|
@@ -1501,7 +1553,7 @@ export interface HpkeImportConfig {
|
|
|
1501
1553
|
}
|
|
1502
1554
|
|
|
1503
1555
|
/**
|
|
1504
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1556
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1505
1557
|
* bytes).
|
|
1506
1558
|
*/
|
|
1507
1559
|
export type Hex = string;
|
|
@@ -1521,25 +1573,25 @@ export interface IntentBinding {
|
|
|
1521
1573
|
*/
|
|
1522
1574
|
export interface NamedTokenTransferSource {
|
|
1523
1575
|
/**
|
|
1524
|
-
*
|
|
1525
|
-
*
|
|
1526
|
-
* send. Not in the smallest on-chain unit (wei, lamports, etc.). Maximum 100
|
|
1527
|
-
* characters.
|
|
1528
|
-
*/
|
|
1529
|
-
amount: string;
|
|
1530
|
-
|
|
1531
|
-
/**
|
|
1532
|
-
* The asset to transfer. Supported: 'usdc', 'usdb', 'usdt' (stablecoins), 'eth'
|
|
1533
|
-
* (native Ethereum), 'sol' (native Solana).
|
|
1576
|
+
* The asset to transfer. Supported: 'usdc', 'usdb', 'usdt', 'pathusd'
|
|
1577
|
+
* (stablecoins), 'eth' (native Ethereum), 'sol' (native Solana).
|
|
1534
1578
|
*/
|
|
1535
1579
|
asset: string;
|
|
1536
1580
|
|
|
1537
1581
|
/**
|
|
1538
1582
|
* The blockchain network on which to perform the transfer. Supported chains
|
|
1539
|
-
* include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
1583
|
+
* include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
1540
1584
|
* respective testnets.
|
|
1541
1585
|
*/
|
|
1542
1586
|
chain: string;
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* @deprecated Amount as a decimal string in the token's standard unit (e.g. "1.5"
|
|
1590
|
+
* for 1.5 USDC, "0.01" for 0.01 ETH). For exact_input, specifies the amount to
|
|
1591
|
+
* send. Not in the smallest on-chain unit (wei, lamports, etc.). Maximum 100
|
|
1592
|
+
* characters. Deprecated: use the top-level `amount` field instead.
|
|
1593
|
+
*/
|
|
1594
|
+
amount?: string;
|
|
1543
1595
|
}
|
|
1544
1596
|
|
|
1545
1597
|
/**
|
|
@@ -1731,7 +1783,7 @@ export interface RawSignBytesParams {
|
|
|
1731
1783
|
*/
|
|
1732
1784
|
export interface RawSignHashParams {
|
|
1733
1785
|
/**
|
|
1734
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1786
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1735
1787
|
* bytes).
|
|
1736
1788
|
*/
|
|
1737
1789
|
hash: Hex;
|
|
@@ -1772,7 +1824,7 @@ export interface RawSignResponseData {
|
|
|
1772
1824
|
encoding: 'hex';
|
|
1773
1825
|
|
|
1774
1826
|
/**
|
|
1775
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1827
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1776
1828
|
* bytes).
|
|
1777
1829
|
*/
|
|
1778
1830
|
signature: Hex;
|
|
@@ -1901,7 +1953,7 @@ export type SolanaRpcResponse =
|
|
|
1901
1953
|
*/
|
|
1902
1954
|
export interface SolanaSignAndSendTransactionRpcInput {
|
|
1903
1955
|
/**
|
|
1904
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
1956
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
1905
1957
|
*/
|
|
1906
1958
|
caip2: AppsAPI.Caip2;
|
|
1907
1959
|
|
|
@@ -1951,7 +2003,7 @@ export interface SolanaSignAndSendTransactionRpcResponse {
|
|
|
1951
2003
|
*/
|
|
1952
2004
|
export interface SolanaSignAndSendTransactionRpcResponseData {
|
|
1953
2005
|
/**
|
|
1954
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
2006
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
1955
2007
|
*/
|
|
1956
2008
|
caip2: AppsAPI.Caip2;
|
|
1957
2009
|
|
|
@@ -2123,6 +2175,92 @@ export interface SparkClaimStaticDepositRpcResponseData {
|
|
|
2123
2175
|
transfer_id: string;
|
|
2124
2176
|
}
|
|
2125
2177
|
|
|
2178
|
+
/**
|
|
2179
|
+
* A fee quote for a cooperative exit from Spark to Bitcoin L1.
|
|
2180
|
+
*/
|
|
2181
|
+
export interface SparkCoopExitFeeQuote {
|
|
2182
|
+
id: string;
|
|
2183
|
+
|
|
2184
|
+
created_at: string;
|
|
2185
|
+
|
|
2186
|
+
expires_at: string;
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* A currency amount with its original value and unit.
|
|
2190
|
+
*/
|
|
2191
|
+
l1_broadcast_fee_fast: SparkCurrencyAmount;
|
|
2192
|
+
|
|
2193
|
+
/**
|
|
2194
|
+
* A currency amount with its original value and unit.
|
|
2195
|
+
*/
|
|
2196
|
+
l1_broadcast_fee_medium: SparkCurrencyAmount;
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* A currency amount with its original value and unit.
|
|
2200
|
+
*/
|
|
2201
|
+
l1_broadcast_fee_slow: SparkCurrencyAmount;
|
|
2202
|
+
|
|
2203
|
+
network: string;
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* A currency amount with its original value and unit.
|
|
2207
|
+
*/
|
|
2208
|
+
total_amount: SparkCurrencyAmount;
|
|
2209
|
+
|
|
2210
|
+
updated_at: string;
|
|
2211
|
+
|
|
2212
|
+
/**
|
|
2213
|
+
* A currency amount with its original value and unit.
|
|
2214
|
+
*/
|
|
2215
|
+
user_fee_fast: SparkCurrencyAmount;
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* A currency amount with its original value and unit.
|
|
2219
|
+
*/
|
|
2220
|
+
user_fee_medium: SparkCurrencyAmount;
|
|
2221
|
+
|
|
2222
|
+
/**
|
|
2223
|
+
* A currency amount with its original value and unit.
|
|
2224
|
+
*/
|
|
2225
|
+
user_fee_slow: SparkCurrencyAmount;
|
|
2226
|
+
}
|
|
2227
|
+
|
|
2228
|
+
/**
|
|
2229
|
+
* A cooperative exit request from Spark to Bitcoin L1.
|
|
2230
|
+
*/
|
|
2231
|
+
export interface SparkCoopExitRequest {
|
|
2232
|
+
id: string;
|
|
2233
|
+
|
|
2234
|
+
coop_exit_txid: string;
|
|
2235
|
+
|
|
2236
|
+
created_at: string;
|
|
2237
|
+
|
|
2238
|
+
expires_at: string;
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* A currency amount with its original value and unit.
|
|
2242
|
+
*/
|
|
2243
|
+
fee: SparkCurrencyAmount;
|
|
2244
|
+
|
|
2245
|
+
/**
|
|
2246
|
+
* A currency amount with its original value and unit.
|
|
2247
|
+
*/
|
|
2248
|
+
l1_broadcast_fee: SparkCurrencyAmount;
|
|
2249
|
+
|
|
2250
|
+
network: string;
|
|
2251
|
+
|
|
2252
|
+
status: string;
|
|
2253
|
+
|
|
2254
|
+
updated_at: string;
|
|
2255
|
+
|
|
2256
|
+
/**
|
|
2257
|
+
* The exit speed for a cooperative withdrawal from Spark to L1.
|
|
2258
|
+
*/
|
|
2259
|
+
exit_speed?: SparkExitSpeed;
|
|
2260
|
+
|
|
2261
|
+
fee_quote_id?: string;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2126
2264
|
/**
|
|
2127
2265
|
* Creates a Lightning invoice for the Spark wallet.
|
|
2128
2266
|
*/
|
|
@@ -2169,6 +2307,20 @@ export interface SparkCreateLightningInvoiceRpcResponse {
|
|
|
2169
2307
|
data?: SparkLightningReceiveRequest;
|
|
2170
2308
|
}
|
|
2171
2309
|
|
|
2310
|
+
/**
|
|
2311
|
+
* A currency amount with its original value and unit.
|
|
2312
|
+
*/
|
|
2313
|
+
export interface SparkCurrencyAmount {
|
|
2314
|
+
original_unit: string;
|
|
2315
|
+
|
|
2316
|
+
original_value: number;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
* The exit speed for a cooperative withdrawal from Spark to L1.
|
|
2321
|
+
*/
|
|
2322
|
+
export type SparkExitSpeed = 'FAST' | 'MEDIUM' | 'SLOW';
|
|
2323
|
+
|
|
2172
2324
|
/**
|
|
2173
2325
|
* Gets the balance of the Spark wallet.
|
|
2174
2326
|
*/
|
|
@@ -2277,6 +2429,44 @@ export interface SparkGetStaticDepositAddressRpcResponseData {
|
|
|
2277
2429
|
address: string;
|
|
2278
2430
|
}
|
|
2279
2431
|
|
|
2432
|
+
/**
|
|
2433
|
+
* Gets a fee quote for withdrawing from Spark to a Bitcoin L1 address.
|
|
2434
|
+
*/
|
|
2435
|
+
export interface SparkGetWithdrawalFeeQuoteRpcInput {
|
|
2436
|
+
method: 'getWithdrawalFeeQuote';
|
|
2437
|
+
|
|
2438
|
+
/**
|
|
2439
|
+
* Parameters for the Spark `getWithdrawalFeeQuote` RPC.
|
|
2440
|
+
*/
|
|
2441
|
+
params: SparkGetWithdrawalFeeQuoteRpcInputParams;
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* The Spark network.
|
|
2445
|
+
*/
|
|
2446
|
+
network?: SparkNetwork;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
/**
|
|
2450
|
+
* Parameters for the Spark `getWithdrawalFeeQuote` RPC.
|
|
2451
|
+
*/
|
|
2452
|
+
export interface SparkGetWithdrawalFeeQuoteRpcInputParams {
|
|
2453
|
+
amount_sats: number;
|
|
2454
|
+
|
|
2455
|
+
onchain_address: string;
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* Response to the Spark `getWithdrawalFeeQuote` RPC.
|
|
2460
|
+
*/
|
|
2461
|
+
export interface SparkGetWithdrawalFeeQuoteRpcResponse {
|
|
2462
|
+
method: 'getWithdrawalFeeQuote';
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* A fee quote for a cooperative exit from Spark to Bitcoin L1.
|
|
2466
|
+
*/
|
|
2467
|
+
data?: SparkCoopExitFeeQuote;
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2280
2470
|
/**
|
|
2281
2471
|
* The fee for a Spark Lightning payment.
|
|
2282
2472
|
*/
|
|
@@ -2405,7 +2595,9 @@ export type SparkRpcInput =
|
|
|
2405
2595
|
| SparkClaimStaticDepositRpcInput
|
|
2406
2596
|
| SparkCreateLightningInvoiceRpcInput
|
|
2407
2597
|
| SparkPayLightningInvoiceRpcInput
|
|
2408
|
-
| SparkSignMessageWithIdentityKeyRpcInput
|
|
2598
|
+
| SparkSignMessageWithIdentityKeyRpcInput
|
|
2599
|
+
| SparkWithdrawRpcInput
|
|
2600
|
+
| SparkGetWithdrawalFeeQuoteRpcInput;
|
|
2409
2601
|
|
|
2410
2602
|
/**
|
|
2411
2603
|
* Response body for Spark wallet RPC operations, discriminated by method.
|
|
@@ -2419,7 +2611,9 @@ export type SparkRpcResponse =
|
|
|
2419
2611
|
| SparkClaimStaticDepositRpcResponse
|
|
2420
2612
|
| SparkCreateLightningInvoiceRpcResponse
|
|
2421
2613
|
| SparkPayLightningInvoiceRpcResponse
|
|
2422
|
-
| SparkSignMessageWithIdentityKeyRpcResponse
|
|
2614
|
+
| SparkSignMessageWithIdentityKeyRpcResponse
|
|
2615
|
+
| SparkWithdrawRpcResponse
|
|
2616
|
+
| SparkGetWithdrawalFeeQuoteRpcResponse;
|
|
2423
2617
|
|
|
2424
2618
|
/**
|
|
2425
2619
|
* Signs a message with the Spark identity key.
|
|
@@ -2680,6 +2874,55 @@ export interface SparkWalletLeaf {
|
|
|
2680
2874
|
signing_keyshare?: SparkSigningKeyshare;
|
|
2681
2875
|
}
|
|
2682
2876
|
|
|
2877
|
+
/**
|
|
2878
|
+
* Withdraws from Spark to a Bitcoin L1 address (cooperative exit).
|
|
2879
|
+
*/
|
|
2880
|
+
export interface SparkWithdrawRpcInput {
|
|
2881
|
+
method: 'withdraw';
|
|
2882
|
+
|
|
2883
|
+
/**
|
|
2884
|
+
* Parameters for the Spark `withdraw` RPC.
|
|
2885
|
+
*/
|
|
2886
|
+
params: SparkWithdrawRpcInputParams;
|
|
2887
|
+
|
|
2888
|
+
/**
|
|
2889
|
+
* The Spark network.
|
|
2890
|
+
*/
|
|
2891
|
+
network?: SparkNetwork;
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
/**
|
|
2895
|
+
* Parameters for the Spark `withdraw` RPC.
|
|
2896
|
+
*/
|
|
2897
|
+
export interface SparkWithdrawRpcInputParams {
|
|
2898
|
+
/**
|
|
2899
|
+
* The exit speed for a cooperative withdrawal from Spark to L1.
|
|
2900
|
+
*/
|
|
2901
|
+
exit_speed: SparkExitSpeed;
|
|
2902
|
+
|
|
2903
|
+
onchain_address: string;
|
|
2904
|
+
|
|
2905
|
+
amount_sats?: number;
|
|
2906
|
+
|
|
2907
|
+
deduct_fee_from_withdrawal_amount?: boolean;
|
|
2908
|
+
|
|
2909
|
+
fee_amount_sats?: number;
|
|
2910
|
+
|
|
2911
|
+
fee_quote_id?: string;
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
/**
|
|
2915
|
+
* Response to the Spark `withdraw` RPC.
|
|
2916
|
+
*/
|
|
2917
|
+
export interface SparkWithdrawRpcResponse {
|
|
2918
|
+
method: 'withdraw';
|
|
2919
|
+
|
|
2920
|
+
/**
|
|
2921
|
+
* A cooperative exit request from Spark to Bitcoin L1.
|
|
2922
|
+
*/
|
|
2923
|
+
data?: SparkCoopExitRequest;
|
|
2924
|
+
}
|
|
2925
|
+
|
|
2683
2926
|
/**
|
|
2684
2927
|
* SUI transaction commands allowlist for raw_sign endpoint policy evaluation
|
|
2685
2928
|
*/
|
|
@@ -2710,7 +2953,7 @@ export interface TempoAaAuthorization {
|
|
|
2710
2953
|
nonce: Quantity;
|
|
2711
2954
|
|
|
2712
2955
|
/**
|
|
2713
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2956
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2714
2957
|
* bytes).
|
|
2715
2958
|
*/
|
|
2716
2959
|
signature: Hex;
|
|
@@ -2723,7 +2966,7 @@ export interface TempoCall {
|
|
|
2723
2966
|
to: string;
|
|
2724
2967
|
|
|
2725
2968
|
/**
|
|
2726
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2969
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2727
2970
|
* bytes).
|
|
2728
2971
|
*/
|
|
2729
2972
|
data?: Hex;
|
|
@@ -2740,13 +2983,13 @@ export interface TempoCall {
|
|
|
2740
2983
|
*/
|
|
2741
2984
|
export interface TempoFeePayerSignature {
|
|
2742
2985
|
/**
|
|
2743
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2986
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2744
2987
|
* bytes).
|
|
2745
2988
|
*/
|
|
2746
2989
|
r: Hex;
|
|
2747
2990
|
|
|
2748
2991
|
/**
|
|
2749
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2992
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2750
2993
|
* bytes).
|
|
2751
2994
|
*/
|
|
2752
2995
|
s: Hex;
|
|
@@ -2793,7 +3036,7 @@ export interface TokenTransferDestination {
|
|
|
2793
3036
|
|
|
2794
3037
|
/**
|
|
2795
3038
|
* The destination blockchain network. Required for cross-chain transfers (e.g.,
|
|
2796
|
-
* source '
|
|
3039
|
+
* source 'tempo' to destination 'base').
|
|
2797
3040
|
*/
|
|
2798
3041
|
chain?: string;
|
|
2799
3042
|
}
|
|
@@ -2819,6 +3062,23 @@ export interface TotalFeeConfigurationBps {
|
|
|
2819
3062
|
value: number;
|
|
2820
3063
|
}
|
|
2821
3064
|
|
|
3065
|
+
/**
|
|
3066
|
+
* Chains supported for transaction history queries.
|
|
3067
|
+
*/
|
|
3068
|
+
export type TransactionChainNameInput =
|
|
3069
|
+
| 'ethereum'
|
|
3070
|
+
| 'arbitrum'
|
|
3071
|
+
| 'avalanche'
|
|
3072
|
+
| 'base'
|
|
3073
|
+
| 'base_sepolia'
|
|
3074
|
+
| 'bsc'
|
|
3075
|
+
| 'tempo'
|
|
3076
|
+
| 'linea'
|
|
3077
|
+
| 'optimism'
|
|
3078
|
+
| 'polygon'
|
|
3079
|
+
| 'solana'
|
|
3080
|
+
| 'sepolia';
|
|
3081
|
+
|
|
2822
3082
|
/**
|
|
2823
3083
|
* Details of a wallet transaction, varying by transaction type.
|
|
2824
3084
|
*/
|
|
@@ -2926,28 +3186,25 @@ export interface TransferQuoteResponse {
|
|
|
2926
3186
|
* Details for a received transfer transaction.
|
|
2927
3187
|
*/
|
|
2928
3188
|
export interface TransferReceivedTransactionDetail {
|
|
2929
|
-
asset:
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
| '
|
|
2933
|
-
| '
|
|
2934
|
-
| '
|
|
2935
|
-
| '
|
|
2936
|
-
| '
|
|
2937
|
-
| '
|
|
2938
|
-
| '
|
|
2939
|
-
| '
|
|
2940
|
-
| '
|
|
2941
|
-
| '
|
|
2942
|
-
|
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
| 'polygon_amoy'
|
|
2949
|
-
| 'solana_devnet'
|
|
2950
|
-
| 'solana_testnet';
|
|
3189
|
+
asset:
|
|
3190
|
+
| 'usdc'
|
|
3191
|
+
| 'usdc.e'
|
|
3192
|
+
| 'eth'
|
|
3193
|
+
| 'avax'
|
|
3194
|
+
| 'pol'
|
|
3195
|
+
| 'bnb'
|
|
3196
|
+
| 'usdt'
|
|
3197
|
+
| 'eurc'
|
|
3198
|
+
| 'usdb'
|
|
3199
|
+
| 'pathusd'
|
|
3200
|
+
| 'sol'
|
|
3201
|
+
| 'trx'
|
|
3202
|
+
| (string & {});
|
|
3203
|
+
|
|
3204
|
+
/**
|
|
3205
|
+
* Supported blockchain network names for wallet balance and transaction queries.
|
|
3206
|
+
*/
|
|
3207
|
+
chain: WalletAssetChainNameInput;
|
|
2951
3208
|
|
|
2952
3209
|
display_values: { [key: string]: string };
|
|
2953
3210
|
|
|
@@ -3010,28 +3267,25 @@ export interface TransferRequestBody {
|
|
|
3010
3267
|
* Details for a sent transfer transaction.
|
|
3011
3268
|
*/
|
|
3012
3269
|
export interface TransferSentTransactionDetail {
|
|
3013
|
-
asset:
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
| '
|
|
3017
|
-
| '
|
|
3018
|
-
| '
|
|
3019
|
-
| '
|
|
3020
|
-
| '
|
|
3021
|
-
| '
|
|
3022
|
-
| '
|
|
3023
|
-
| '
|
|
3024
|
-
| '
|
|
3025
|
-
| '
|
|
3026
|
-
|
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
| 'polygon_amoy'
|
|
3033
|
-
| 'solana_devnet'
|
|
3034
|
-
| 'solana_testnet';
|
|
3270
|
+
asset:
|
|
3271
|
+
| 'usdc'
|
|
3272
|
+
| 'usdc.e'
|
|
3273
|
+
| 'eth'
|
|
3274
|
+
| 'avax'
|
|
3275
|
+
| 'pol'
|
|
3276
|
+
| 'bnb'
|
|
3277
|
+
| 'usdt'
|
|
3278
|
+
| 'eurc'
|
|
3279
|
+
| 'usdb'
|
|
3280
|
+
| 'pathusd'
|
|
3281
|
+
| 'sol'
|
|
3282
|
+
| 'trx'
|
|
3283
|
+
| (string & {});
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* Supported blockchain network names for wallet balance and transaction queries.
|
|
3287
|
+
*/
|
|
3288
|
+
chain: WalletAssetChainNameInput;
|
|
3035
3289
|
|
|
3036
3290
|
display_values: { [key: string]: string };
|
|
3037
3291
|
|
|
@@ -3119,7 +3373,7 @@ export interface TronSendTransactionRpcInput {
|
|
|
3119
3373
|
params: TronSendTransactionRpcInputParams;
|
|
3120
3374
|
|
|
3121
3375
|
/**
|
|
3122
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
3376
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
3123
3377
|
*/
|
|
3124
3378
|
caip2?: AppsAPI.Caip2;
|
|
3125
3379
|
}
|
|
@@ -3154,7 +3408,7 @@ export interface TronSendTransactionRpcResponse {
|
|
|
3154
3408
|
*/
|
|
3155
3409
|
export interface TronSendTransactionRpcResponseData {
|
|
3156
3410
|
/**
|
|
3157
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
3411
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
3158
3412
|
*/
|
|
3159
3413
|
caip2: AppsAPI.Caip2;
|
|
3160
3414
|
|
|
@@ -3297,7 +3551,7 @@ export interface UnsignedStandardEthereumTransaction {
|
|
|
3297
3551
|
chain_id?: Quantity;
|
|
3298
3552
|
|
|
3299
3553
|
/**
|
|
3300
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3554
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3301
3555
|
* bytes).
|
|
3302
3556
|
*/
|
|
3303
3557
|
data?: Hex;
|
|
@@ -3420,37 +3674,37 @@ export interface UnsignedTempoTransaction {
|
|
|
3420
3674
|
*/
|
|
3421
3675
|
export interface UserOperationInput {
|
|
3422
3676
|
/**
|
|
3423
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3677
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3424
3678
|
* bytes).
|
|
3425
3679
|
*/
|
|
3426
3680
|
call_data: Hex;
|
|
3427
3681
|
|
|
3428
3682
|
/**
|
|
3429
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3683
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3430
3684
|
* bytes).
|
|
3431
3685
|
*/
|
|
3432
3686
|
call_gas_limit: Hex;
|
|
3433
3687
|
|
|
3434
3688
|
/**
|
|
3435
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3689
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3436
3690
|
* bytes).
|
|
3437
3691
|
*/
|
|
3438
3692
|
max_fee_per_gas: Hex;
|
|
3439
3693
|
|
|
3440
3694
|
/**
|
|
3441
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3695
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3442
3696
|
* bytes).
|
|
3443
3697
|
*/
|
|
3444
3698
|
max_priority_fee_per_gas: Hex;
|
|
3445
3699
|
|
|
3446
3700
|
/**
|
|
3447
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3701
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3448
3702
|
* bytes).
|
|
3449
3703
|
*/
|
|
3450
3704
|
nonce: Hex;
|
|
3451
3705
|
|
|
3452
3706
|
/**
|
|
3453
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3707
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3454
3708
|
* bytes).
|
|
3455
3709
|
*/
|
|
3456
3710
|
pre_verification_gas: Hex;
|
|
@@ -3458,27 +3712,35 @@ export interface UserOperationInput {
|
|
|
3458
3712
|
sender: string;
|
|
3459
3713
|
|
|
3460
3714
|
/**
|
|
3461
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3715
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3462
3716
|
* bytes).
|
|
3463
3717
|
*/
|
|
3464
3718
|
verification_gas_limit: Hex;
|
|
3465
3719
|
|
|
3720
|
+
factory?: string;
|
|
3721
|
+
|
|
3722
|
+
/**
|
|
3723
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3724
|
+
* bytes).
|
|
3725
|
+
*/
|
|
3726
|
+
factory_data?: Hex;
|
|
3727
|
+
|
|
3466
3728
|
paymaster?: string;
|
|
3467
3729
|
|
|
3468
3730
|
/**
|
|
3469
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3731
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3470
3732
|
* bytes).
|
|
3471
3733
|
*/
|
|
3472
3734
|
paymaster_data?: Hex;
|
|
3473
3735
|
|
|
3474
3736
|
/**
|
|
3475
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3737
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3476
3738
|
* bytes).
|
|
3477
3739
|
*/
|
|
3478
3740
|
paymaster_post_op_gas_limit?: Hex;
|
|
3479
3741
|
|
|
3480
3742
|
/**
|
|
3481
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3743
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3482
3744
|
* bytes).
|
|
3483
3745
|
*/
|
|
3484
3746
|
paymaster_verification_gas_limit?: Hex;
|
|
@@ -3625,7 +3887,46 @@ export interface WalletAPIRevokeAuthorizationKeyInput {
|
|
|
3625
3887
|
/**
|
|
3626
3888
|
* A named asset supported across all chains.
|
|
3627
3889
|
*/
|
|
3628
|
-
export type WalletAsset =
|
|
3890
|
+
export type WalletAsset =
|
|
3891
|
+
| 'usdc'
|
|
3892
|
+
| 'usdc.e'
|
|
3893
|
+
| 'eth'
|
|
3894
|
+
| 'avax'
|
|
3895
|
+
| 'pol'
|
|
3896
|
+
| 'bnb'
|
|
3897
|
+
| 'usdt'
|
|
3898
|
+
| 'eurc'
|
|
3899
|
+
| 'usdb'
|
|
3900
|
+
| 'pathusd'
|
|
3901
|
+
| 'sol'
|
|
3902
|
+
| 'trx';
|
|
3903
|
+
|
|
3904
|
+
/**
|
|
3905
|
+
* Supported blockchain network names for wallet balance and transaction queries.
|
|
3906
|
+
*/
|
|
3907
|
+
export type WalletAssetChainNameInput =
|
|
3908
|
+
| 'ethereum'
|
|
3909
|
+
| 'arbitrum'
|
|
3910
|
+
| 'avalanche'
|
|
3911
|
+
| 'base'
|
|
3912
|
+
| 'tempo'
|
|
3913
|
+
| 'linea'
|
|
3914
|
+
| 'optimism'
|
|
3915
|
+
| 'polygon'
|
|
3916
|
+
| 'bsc'
|
|
3917
|
+
| 'solana'
|
|
3918
|
+
| 'tron'
|
|
3919
|
+
| 'zksync_era'
|
|
3920
|
+
| 'sepolia'
|
|
3921
|
+
| 'arbitrum_sepolia'
|
|
3922
|
+
| 'avalanche_fuji'
|
|
3923
|
+
| 'base_sepolia'
|
|
3924
|
+
| 'linea_testnet'
|
|
3925
|
+
| 'optimism_sepolia'
|
|
3926
|
+
| 'polygon_amoy'
|
|
3927
|
+
| 'solana_devnet'
|
|
3928
|
+
| 'solana_testnet'
|
|
3929
|
+
| 'tron_nile';
|
|
3629
3930
|
|
|
3630
3931
|
/**
|
|
3631
3932
|
* Request body for creating an encrypted, bound user signing key.
|
|
@@ -3896,7 +4197,17 @@ export type WalletEntropyType = 'hd' | 'private-key';
|
|
|
3896
4197
|
/**
|
|
3897
4198
|
* A named asset on Ethereum-compatible chains.
|
|
3898
4199
|
*/
|
|
3899
|
-
export type WalletEthereumAsset =
|
|
4200
|
+
export type WalletEthereumAsset =
|
|
4201
|
+
| 'usdc'
|
|
4202
|
+
| 'usdc.e'
|
|
4203
|
+
| 'eth'
|
|
4204
|
+
| 'avax'
|
|
4205
|
+
| 'pol'
|
|
4206
|
+
| 'bnb'
|
|
4207
|
+
| 'usdt'
|
|
4208
|
+
| 'eurc'
|
|
4209
|
+
| 'usdb'
|
|
4210
|
+
| 'pathusd';
|
|
3900
4211
|
|
|
3901
4212
|
/**
|
|
3902
4213
|
* Request body for exporting a wallet private key.
|
|
@@ -3994,6 +4305,8 @@ export type WalletRpcRequestBody =
|
|
|
3994
4305
|
| SparkCreateLightningInvoiceRpcInput
|
|
3995
4306
|
| SparkPayLightningInvoiceRpcInput
|
|
3996
4307
|
| SparkSignMessageWithIdentityKeyRpcInput
|
|
4308
|
+
| SparkWithdrawRpcInput
|
|
4309
|
+
| SparkGetWithdrawalFeeQuoteRpcInput
|
|
3997
4310
|
| TronSignTransactionRpcInput
|
|
3998
4311
|
| TronSendTransactionRpcInput
|
|
3999
4312
|
| ExportPrivateKeyRpcInput
|
|
@@ -4023,6 +4336,8 @@ export type WalletRpcResponse =
|
|
|
4023
4336
|
| SparkCreateLightningInvoiceRpcResponse
|
|
4024
4337
|
| SparkPayLightningInvoiceRpcResponse
|
|
4025
4338
|
| SparkSignMessageWithIdentityKeyRpcResponse
|
|
4339
|
+
| SparkWithdrawRpcResponse
|
|
4340
|
+
| SparkGetWithdrawalFeeQuoteRpcResponse
|
|
4026
4341
|
| TronSignTransactionRpcResponse
|
|
4027
4342
|
| TronSendTransactionRpcResponse
|
|
4028
4343
|
| ExportPrivateKeyRpcResponse
|
|
@@ -4033,6 +4348,11 @@ export type WalletRpcResponse =
|
|
|
4033
4348
|
*/
|
|
4034
4349
|
export type WalletSolanaAsset = 'sol' | 'usdc' | 'eurc' | 'usdb';
|
|
4035
4350
|
|
|
4351
|
+
/**
|
|
4352
|
+
* A named asset on Tron.
|
|
4353
|
+
*/
|
|
4354
|
+
export type WalletTronAsset = 'trx' | 'usdt' | 'usdc';
|
|
4355
|
+
|
|
4036
4356
|
/**
|
|
4037
4357
|
* Request body for updating a wallet. `owner` and `owner_id` are mutually
|
|
4038
4358
|
* exclusive.
|
|
@@ -4157,6 +4477,13 @@ export interface WalletUpdateParams {
|
|
|
4157
4477
|
}
|
|
4158
4478
|
|
|
4159
4479
|
export interface WalletListParams extends CursorParams {
|
|
4480
|
+
/**
|
|
4481
|
+
* A blockchain wallet address. Ethereum addresses are normalized to EIP-55
|
|
4482
|
+
* checksum format. Solana addresses are validated as base58. All other chain
|
|
4483
|
+
* addresses (Stellar, Tron, Sui, Aptos, etc.) are accepted as-is.
|
|
4484
|
+
*/
|
|
4485
|
+
address?: Address;
|
|
4486
|
+
|
|
4160
4487
|
/**
|
|
4161
4488
|
* Filter wallets by authorization public key. Returns wallets owned by key quorums
|
|
4162
4489
|
* that include the specified P-256 public key (base64-encoded DER format). Cannot
|
|
@@ -4269,6 +4596,8 @@ export type WalletRpcParams =
|
|
|
4269
4596
|
| WalletRpcParams.SparkCreateLightningInvoiceRpcInput
|
|
4270
4597
|
| WalletRpcParams.SparkPayLightningInvoiceRpcInput
|
|
4271
4598
|
| WalletRpcParams.SparkSignMessageWithIdentityKeyRpcInput
|
|
4599
|
+
| WalletRpcParams.SparkWithdrawRpcInput
|
|
4600
|
+
| WalletRpcParams.SparkGetWithdrawalFeeQuoteRpcInput
|
|
4272
4601
|
| WalletRpcParams.TronSignTransactionRpcInput
|
|
4273
4602
|
| WalletRpcParams.TronSendTransactionRpcInput
|
|
4274
4603
|
| WalletRpcParams.ExportPrivateKeyRpcInput
|
|
@@ -4322,7 +4651,8 @@ export declare namespace WalletRpcParams {
|
|
|
4322
4651
|
|
|
4323
4652
|
export interface EthereumSendTransactionRpcInput {
|
|
4324
4653
|
/**
|
|
4325
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
4654
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
4655
|
+
* for Ethereum).
|
|
4326
4656
|
*/
|
|
4327
4657
|
caip2: AppsAPI.Caip2;
|
|
4328
4658
|
|
|
@@ -4347,8 +4677,8 @@ export declare namespace WalletRpcParams {
|
|
|
4347
4677
|
chain_type?: 'ethereum';
|
|
4348
4678
|
|
|
4349
4679
|
/**
|
|
4350
|
-
* Body param: A hex-encoded string prefixed with '0x', capped at
|
|
4351
|
-
* (
|
|
4680
|
+
* Body param: A hex-encoded string prefixed with '0x', capped at 300002 characters
|
|
4681
|
+
* (150,000 bytes).
|
|
4352
4682
|
*/
|
|
4353
4683
|
experimental_data_suffix?: Hex;
|
|
4354
4684
|
|
|
@@ -4403,7 +4733,8 @@ export declare namespace WalletRpcParams {
|
|
|
4403
4733
|
address?: string;
|
|
4404
4734
|
|
|
4405
4735
|
/**
|
|
4406
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
4736
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
4737
|
+
* for Ethereum).
|
|
4407
4738
|
*/
|
|
4408
4739
|
caip2?: AppsAPI.Caip2;
|
|
4409
4740
|
|
|
@@ -4459,7 +4790,8 @@ export declare namespace WalletRpcParams {
|
|
|
4459
4790
|
address?: string;
|
|
4460
4791
|
|
|
4461
4792
|
/**
|
|
4462
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
4793
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
4794
|
+
* for Ethereum).
|
|
4463
4795
|
*/
|
|
4464
4796
|
caip2?: AppsAPI.Caip2;
|
|
4465
4797
|
|
|
@@ -4635,7 +4967,8 @@ export declare namespace WalletRpcParams {
|
|
|
4635
4967
|
|
|
4636
4968
|
export interface EthereumSendCallsRpcInput {
|
|
4637
4969
|
/**
|
|
4638
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
4970
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
4971
|
+
* for Ethereum).
|
|
4639
4972
|
*/
|
|
4640
4973
|
caip2: AppsAPI.Caip2;
|
|
4641
4974
|
|
|
@@ -4660,8 +4993,8 @@ export declare namespace WalletRpcParams {
|
|
|
4660
4993
|
chain_type?: 'ethereum';
|
|
4661
4994
|
|
|
4662
4995
|
/**
|
|
4663
|
-
* Body param: A hex-encoded string prefixed with '0x', capped at
|
|
4664
|
-
* (
|
|
4996
|
+
* Body param: A hex-encoded string prefixed with '0x', capped at 300002 characters
|
|
4997
|
+
* (150,000 bytes).
|
|
4665
4998
|
*/
|
|
4666
4999
|
experimental_data_suffix?: Hex;
|
|
4667
5000
|
|
|
@@ -4741,7 +5074,8 @@ export declare namespace WalletRpcParams {
|
|
|
4741
5074
|
|
|
4742
5075
|
export interface SolanaSignAndSendTransactionRpcInput {
|
|
4743
5076
|
/**
|
|
4744
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
5077
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
5078
|
+
* for Ethereum).
|
|
4745
5079
|
*/
|
|
4746
5080
|
caip2: AppsAPI.Caip2;
|
|
4747
5081
|
|
|
@@ -5154,6 +5488,76 @@ export declare namespace WalletRpcParams {
|
|
|
5154
5488
|
'privy-request-expiry'?: string;
|
|
5155
5489
|
}
|
|
5156
5490
|
|
|
5491
|
+
export interface SparkWithdrawRpcInput {
|
|
5492
|
+
/**
|
|
5493
|
+
* Body param
|
|
5494
|
+
*/
|
|
5495
|
+
method: 'withdraw';
|
|
5496
|
+
|
|
5497
|
+
/**
|
|
5498
|
+
* Body param: Parameters for the Spark `withdraw` RPC.
|
|
5499
|
+
*/
|
|
5500
|
+
params: SparkWithdrawRpcInputParams;
|
|
5501
|
+
|
|
5502
|
+
/**
|
|
5503
|
+
* Body param: The Spark network.
|
|
5504
|
+
*/
|
|
5505
|
+
network?: SparkNetwork;
|
|
5506
|
+
|
|
5507
|
+
/**
|
|
5508
|
+
* Header param: Request authorization signature. If multiple signatures are
|
|
5509
|
+
* required, they should be comma separated.
|
|
5510
|
+
*/
|
|
5511
|
+
'privy-authorization-signature'?: string;
|
|
5512
|
+
|
|
5513
|
+
/**
|
|
5514
|
+
* Header param: Idempotency keys ensure API requests are executed only once within
|
|
5515
|
+
* a 24-hour window.
|
|
5516
|
+
*/
|
|
5517
|
+
'privy-idempotency-key'?: string;
|
|
5518
|
+
|
|
5519
|
+
/**
|
|
5520
|
+
* Header param: Request expiry. Value is a Unix timestamp in milliseconds
|
|
5521
|
+
* representing the deadline by which the request must be processed.
|
|
5522
|
+
*/
|
|
5523
|
+
'privy-request-expiry'?: string;
|
|
5524
|
+
}
|
|
5525
|
+
|
|
5526
|
+
export interface SparkGetWithdrawalFeeQuoteRpcInput {
|
|
5527
|
+
/**
|
|
5528
|
+
* Body param
|
|
5529
|
+
*/
|
|
5530
|
+
method: 'getWithdrawalFeeQuote';
|
|
5531
|
+
|
|
5532
|
+
/**
|
|
5533
|
+
* Body param: Parameters for the Spark `getWithdrawalFeeQuote` RPC.
|
|
5534
|
+
*/
|
|
5535
|
+
params: SparkGetWithdrawalFeeQuoteRpcInputParams;
|
|
5536
|
+
|
|
5537
|
+
/**
|
|
5538
|
+
* Body param: The Spark network.
|
|
5539
|
+
*/
|
|
5540
|
+
network?: SparkNetwork;
|
|
5541
|
+
|
|
5542
|
+
/**
|
|
5543
|
+
* Header param: Request authorization signature. If multiple signatures are
|
|
5544
|
+
* required, they should be comma separated.
|
|
5545
|
+
*/
|
|
5546
|
+
'privy-authorization-signature'?: string;
|
|
5547
|
+
|
|
5548
|
+
/**
|
|
5549
|
+
* Header param: Idempotency keys ensure API requests are executed only once within
|
|
5550
|
+
* a 24-hour window.
|
|
5551
|
+
*/
|
|
5552
|
+
'privy-idempotency-key'?: string;
|
|
5553
|
+
|
|
5554
|
+
/**
|
|
5555
|
+
* Header param: Request expiry. Value is a Unix timestamp in milliseconds
|
|
5556
|
+
* representing the deadline by which the request must be processed.
|
|
5557
|
+
*/
|
|
5558
|
+
'privy-request-expiry'?: string;
|
|
5559
|
+
}
|
|
5560
|
+
|
|
5157
5561
|
export interface TronSignTransactionRpcInput {
|
|
5158
5562
|
/**
|
|
5159
5563
|
* Body param
|
|
@@ -5196,7 +5600,8 @@ export declare namespace WalletRpcParams {
|
|
|
5196
5600
|
params: TronSendTransactionRpcInputParams;
|
|
5197
5601
|
|
|
5198
5602
|
/**
|
|
5199
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
5603
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
5604
|
+
* for Ethereum).
|
|
5200
5605
|
*/
|
|
5201
5606
|
caip2?: AppsAPI.Caip2;
|
|
5202
5607
|
|
|
@@ -5294,6 +5699,7 @@ export declare namespace WalletRpcParams {
|
|
|
5294
5699
|
|
|
5295
5700
|
Wallets.Balance = Balance;
|
|
5296
5701
|
Wallets.Transactions = Transactions;
|
|
5702
|
+
Wallets.Actions = Actions;
|
|
5297
5703
|
|
|
5298
5704
|
export declare namespace Wallets {
|
|
5299
5705
|
export {
|
|
@@ -5421,9 +5827,13 @@ export declare namespace Wallets {
|
|
|
5421
5827
|
type SparkClaimStaticDepositRpcInputParams as SparkClaimStaticDepositRpcInputParams,
|
|
5422
5828
|
type SparkClaimStaticDepositRpcResponse as SparkClaimStaticDepositRpcResponse,
|
|
5423
5829
|
type SparkClaimStaticDepositRpcResponseData as SparkClaimStaticDepositRpcResponseData,
|
|
5830
|
+
type SparkCoopExitFeeQuote as SparkCoopExitFeeQuote,
|
|
5831
|
+
type SparkCoopExitRequest as SparkCoopExitRequest,
|
|
5424
5832
|
type SparkCreateLightningInvoiceRpcInput as SparkCreateLightningInvoiceRpcInput,
|
|
5425
5833
|
type SparkCreateLightningInvoiceRpcInputParams as SparkCreateLightningInvoiceRpcInputParams,
|
|
5426
5834
|
type SparkCreateLightningInvoiceRpcResponse as SparkCreateLightningInvoiceRpcResponse,
|
|
5835
|
+
type SparkCurrencyAmount as SparkCurrencyAmount,
|
|
5836
|
+
type SparkExitSpeed as SparkExitSpeed,
|
|
5427
5837
|
type SparkGetBalanceRpcInput as SparkGetBalanceRpcInput,
|
|
5428
5838
|
type SparkGetBalanceRpcResponse as SparkGetBalanceRpcResponse,
|
|
5429
5839
|
type SparkGetClaimStaticDepositQuoteRpcInput as SparkGetClaimStaticDepositQuoteRpcInput,
|
|
@@ -5433,6 +5843,9 @@ export declare namespace Wallets {
|
|
|
5433
5843
|
type SparkGetStaticDepositAddressRpcInput as SparkGetStaticDepositAddressRpcInput,
|
|
5434
5844
|
type SparkGetStaticDepositAddressRpcResponse as SparkGetStaticDepositAddressRpcResponse,
|
|
5435
5845
|
type SparkGetStaticDepositAddressRpcResponseData as SparkGetStaticDepositAddressRpcResponseData,
|
|
5846
|
+
type SparkGetWithdrawalFeeQuoteRpcInput as SparkGetWithdrawalFeeQuoteRpcInput,
|
|
5847
|
+
type SparkGetWithdrawalFeeQuoteRpcInputParams as SparkGetWithdrawalFeeQuoteRpcInputParams,
|
|
5848
|
+
type SparkGetWithdrawalFeeQuoteRpcResponse as SparkGetWithdrawalFeeQuoteRpcResponse,
|
|
5436
5849
|
type SparkLightningFee as SparkLightningFee,
|
|
5437
5850
|
type SparkLightningReceiveRequest as SparkLightningReceiveRequest,
|
|
5438
5851
|
type SparkLightningSendRequest as SparkLightningSendRequest,
|
|
@@ -5460,6 +5873,9 @@ export declare namespace Wallets {
|
|
|
5460
5873
|
type SparkTransferTokensRpcResponseData as SparkTransferTokensRpcResponseData,
|
|
5461
5874
|
type SparkUserTokenMetadata as SparkUserTokenMetadata,
|
|
5462
5875
|
type SparkWalletLeaf as SparkWalletLeaf,
|
|
5876
|
+
type SparkWithdrawRpcInput as SparkWithdrawRpcInput,
|
|
5877
|
+
type SparkWithdrawRpcInputParams as SparkWithdrawRpcInputParams,
|
|
5878
|
+
type SparkWithdrawRpcResponse as SparkWithdrawRpcResponse,
|
|
5463
5879
|
type SuiCommandName as SuiCommandName,
|
|
5464
5880
|
type SwapSubmissionStatus as SwapSubmissionStatus,
|
|
5465
5881
|
type TempoAaAuthorization as TempoAaAuthorization,
|
|
@@ -5469,6 +5885,7 @@ export declare namespace Wallets {
|
|
|
5469
5885
|
type TokenTransferDestination as TokenTransferDestination,
|
|
5470
5886
|
type TokenTransferSource as TokenTransferSource,
|
|
5471
5887
|
type TotalFeeConfigurationBps as TotalFeeConfigurationBps,
|
|
5888
|
+
type TransactionChainNameInput as TransactionChainNameInput,
|
|
5472
5889
|
type TransactionDetail as TransactionDetail,
|
|
5473
5890
|
type TransactionTokenAddressInput as TransactionTokenAddressInput,
|
|
5474
5891
|
type TransferQuoteRequestBody as TransferQuoteRequestBody,
|
|
@@ -5505,6 +5922,7 @@ export declare namespace Wallets {
|
|
|
5505
5922
|
type WalletAPIRegisterAuthorizationKeyInput as WalletAPIRegisterAuthorizationKeyInput,
|
|
5506
5923
|
type WalletAPIRevokeAuthorizationKeyInput as WalletAPIRevokeAuthorizationKeyInput,
|
|
5507
5924
|
type WalletAsset as WalletAsset,
|
|
5925
|
+
type WalletAssetChainNameInput as WalletAssetChainNameInput,
|
|
5508
5926
|
type WalletAuthenticateBoundEncryptedRequestBody as WalletAuthenticateBoundEncryptedRequestBody,
|
|
5509
5927
|
type WalletAuthenticateBoundRequestBody as WalletAuthenticateBoundRequestBody,
|
|
5510
5928
|
type WalletAuthenticateBoundUnencryptedRequestBody as WalletAuthenticateBoundUnencryptedRequestBody,
|
|
@@ -5530,6 +5948,7 @@ export declare namespace Wallets {
|
|
|
5530
5948
|
type WalletRpcRequestBody as WalletRpcRequestBody,
|
|
5531
5949
|
type WalletRpcResponse as WalletRpcResponse,
|
|
5532
5950
|
type WalletSolanaAsset as WalletSolanaAsset,
|
|
5951
|
+
type WalletTronAsset as WalletTronAsset,
|
|
5533
5952
|
type WalletUpdateRequestBody as WalletUpdateRequestBody,
|
|
5534
5953
|
type WalletsCursor as WalletsCursor,
|
|
5535
5954
|
type WalletCreateParams as WalletCreateParams,
|
|
@@ -5552,4 +5971,51 @@ export declare namespace Wallets {
|
|
|
5552
5971
|
type TransactionGetResponse as TransactionGetResponse,
|
|
5553
5972
|
type TransactionGetParams as TransactionGetParams,
|
|
5554
5973
|
};
|
|
5974
|
+
|
|
5975
|
+
export {
|
|
5976
|
+
Actions as Actions,
|
|
5977
|
+
type AaveVaultDetails as AaveVaultDetails,
|
|
5978
|
+
type CustodianTransactionWalletActionStep as CustodianTransactionWalletActionStep,
|
|
5979
|
+
type CustodianTransactionWalletActionStepStatus as CustodianTransactionWalletActionStepStatus,
|
|
5980
|
+
type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep,
|
|
5981
|
+
type EvmUserOperationEntrypointVersion as EvmUserOperationEntrypointVersion,
|
|
5982
|
+
type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep,
|
|
5983
|
+
type EvmWalletActionStepStatus as EvmWalletActionStepStatus,
|
|
5984
|
+
type EarnAsset as EarnAsset,
|
|
5985
|
+
type EarnDepositActionResponse as EarnDepositActionResponse,
|
|
5986
|
+
type EarnDepositRequestBody as EarnDepositRequestBody,
|
|
5987
|
+
type EarnFeeCollectActionResponse as EarnFeeCollectActionResponse,
|
|
5988
|
+
type EarnFeeCollectRequestBody as EarnFeeCollectRequestBody,
|
|
5989
|
+
type EarnIncentiveClaimActionResponse as EarnIncentiveClaimActionResponse,
|
|
5990
|
+
type EarnIncentiveClaimRequestBody as EarnIncentiveClaimRequestBody,
|
|
5991
|
+
type EarnIncentiveRewardEntry as EarnIncentiveRewardEntry,
|
|
5992
|
+
type EarnIncentiveRewardsQuery as EarnIncentiveRewardsQuery,
|
|
5993
|
+
type EarnIncentiveRewardsResponse as EarnIncentiveRewardsResponse,
|
|
5994
|
+
type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry,
|
|
5995
|
+
type EarnWithdrawActionResponse as EarnWithdrawActionResponse,
|
|
5996
|
+
type EarnWithdrawRequestBody as EarnWithdrawRequestBody,
|
|
5997
|
+
type EthereumEarnPositionQuery as EthereumEarnPositionQuery,
|
|
5998
|
+
type EthereumEarnPositionResponse as EthereumEarnPositionResponse,
|
|
5999
|
+
type EthereumEarnProvider as EthereumEarnProvider,
|
|
6000
|
+
type EthereumEarnVaultDetailsResponse as EthereumEarnVaultDetailsResponse,
|
|
6001
|
+
type ExternalTransactionWalletActionStep as ExternalTransactionWalletActionStep,
|
|
6002
|
+
type ExternalTransactionWalletActionStepStatus as ExternalTransactionWalletActionStepStatus,
|
|
6003
|
+
type FailureReason as FailureReason,
|
|
6004
|
+
type ListWalletActionsQuery as ListWalletActionsQuery,
|
|
6005
|
+
type ListWalletActionsResponse as ListWalletActionsResponse,
|
|
6006
|
+
type MorphoVaultDetails as MorphoVaultDetails,
|
|
6007
|
+
type SvmTransactionWalletActionStep as SvmTransactionWalletActionStep,
|
|
6008
|
+
type SvmWalletActionStepStatus as SvmWalletActionStepStatus,
|
|
6009
|
+
type SwapActionResponse as SwapActionResponse,
|
|
6010
|
+
type TvmTransactionWalletActionStep as TvmTransactionWalletActionStep,
|
|
6011
|
+
type TvmWalletActionStepStatus as TvmWalletActionStepStatus,
|
|
6012
|
+
type TransferActionResponse as TransferActionResponse,
|
|
6013
|
+
type VedaVaultDetails as VedaVaultDetails,
|
|
6014
|
+
type WalletActionInclude as WalletActionInclude,
|
|
6015
|
+
type WalletActionResponse as WalletActionResponse,
|
|
6016
|
+
type WalletActionStatus as WalletActionStatus,
|
|
6017
|
+
type WalletActionStep as WalletActionStep,
|
|
6018
|
+
type WalletActionStepType as WalletActionStepType,
|
|
6019
|
+
type WalletActionType as WalletActionType,
|
|
6020
|
+
};
|
|
5555
6021
|
}
|