@privy-io/api-types 0.15.0 → 0.17.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.
Files changed (158) hide show
  1. package/CHANGELOG.md +141 -0
  2. package/client.d.mts +30 -33
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +30 -33
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -4
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -4
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/accounts.d.mts +6 -2
  12. package/resources/accounts.d.mts.map +1 -1
  13. package/resources/accounts.d.ts +6 -2
  14. package/resources/accounts.d.ts.map +1 -1
  15. package/resources/aggregations.d.mts +14 -4
  16. package/resources/aggregations.d.mts.map +1 -1
  17. package/resources/aggregations.d.ts +14 -4
  18. package/resources/aggregations.d.ts.map +1 -1
  19. package/resources/apps.d.mts +44 -23
  20. package/resources/apps.d.mts.map +1 -1
  21. package/resources/apps.d.ts +44 -23
  22. package/resources/apps.d.ts.map +1 -1
  23. package/resources/client-auth.d.mts +32 -8
  24. package/resources/client-auth.d.mts.map +1 -1
  25. package/resources/client-auth.d.ts +32 -8
  26. package/resources/client-auth.d.ts.map +1 -1
  27. package/resources/embedded-wallets.d.mts +6 -0
  28. package/resources/embedded-wallets.d.mts.map +1 -1
  29. package/resources/embedded-wallets.d.ts +6 -0
  30. package/resources/embedded-wallets.d.ts.map +1 -1
  31. package/resources/index.d.mts +15 -16
  32. package/resources/index.d.mts.map +1 -1
  33. package/resources/index.d.ts +15 -16
  34. package/resources/index.d.ts.map +1 -1
  35. package/resources/index.js +1 -3
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +0 -1
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/intents.d.mts +65 -79
  40. package/resources/intents.d.mts.map +1 -1
  41. package/resources/intents.d.ts +65 -79
  42. package/resources/intents.d.ts.map +1 -1
  43. package/resources/intents.js.map +1 -1
  44. package/resources/intents.mjs.map +1 -1
  45. package/resources/key-quorums.d.mts +9 -8
  46. package/resources/key-quorums.d.mts.map +1 -1
  47. package/resources/key-quorums.d.ts +9 -8
  48. package/resources/key-quorums.d.ts.map +1 -1
  49. package/resources/kraken-embed.d.mts +208 -218
  50. package/resources/kraken-embed.d.mts.map +1 -1
  51. package/resources/kraken-embed.d.ts +208 -218
  52. package/resources/kraken-embed.d.ts.map +1 -1
  53. package/resources/kraken-embed.js.map +1 -1
  54. package/resources/kraken-embed.mjs.map +1 -1
  55. package/resources/onramps.d.mts +50 -48
  56. package/resources/onramps.d.mts.map +1 -1
  57. package/resources/onramps.d.ts +50 -48
  58. package/resources/onramps.d.ts.map +1 -1
  59. package/resources/policies.d.mts +93 -24
  60. package/resources/policies.d.mts.map +1 -1
  61. package/resources/policies.d.ts +93 -24
  62. package/resources/policies.d.ts.map +1 -1
  63. package/resources/shared.d.mts +15 -3
  64. package/resources/shared.d.mts.map +1 -1
  65. package/resources/shared.d.ts +15 -3
  66. package/resources/shared.d.ts.map +1 -1
  67. package/resources/swaps.d.mts +3 -2
  68. package/resources/swaps.d.mts.map +1 -1
  69. package/resources/swaps.d.ts +3 -2
  70. package/resources/swaps.d.ts.map +1 -1
  71. package/resources/transactions.d.mts +9 -2
  72. package/resources/transactions.d.mts.map +1 -1
  73. package/resources/transactions.d.ts +9 -2
  74. package/resources/transactions.d.ts.map +1 -1
  75. package/resources/users.d.mts +33 -7
  76. package/resources/users.d.mts.map +1 -1
  77. package/resources/users.d.ts +33 -7
  78. package/resources/users.d.ts.map +1 -1
  79. package/resources/{wallet-actions.d.ts → wallets/actions.d.mts} +383 -68
  80. package/resources/wallets/actions.d.mts.map +1 -0
  81. package/resources/{wallet-actions.d.mts → wallets/actions.d.ts} +383 -68
  82. package/resources/wallets/actions.d.ts.map +1 -0
  83. package/resources/wallets/actions.js +9 -0
  84. package/resources/wallets/actions.js.map +1 -0
  85. package/resources/wallets/actions.mjs +5 -0
  86. package/resources/wallets/actions.mjs.map +1 -0
  87. package/resources/wallets/balance.d.mts +11 -4
  88. package/resources/wallets/balance.d.mts.map +1 -1
  89. package/resources/wallets/balance.d.ts +11 -4
  90. package/resources/wallets/balance.d.ts.map +1 -1
  91. package/resources/wallets/index.d.mts +2 -1
  92. package/resources/wallets/index.d.mts.map +1 -1
  93. package/resources/wallets/index.d.ts +2 -1
  94. package/resources/wallets/index.d.ts.map +1 -1
  95. package/resources/wallets/index.js +3 -1
  96. package/resources/wallets/index.js.map +1 -1
  97. package/resources/wallets/index.mjs +1 -0
  98. package/resources/wallets/index.mjs.map +1 -1
  99. package/resources/wallets/transactions.d.mts +14 -3
  100. package/resources/wallets/transactions.d.mts.map +1 -1
  101. package/resources/wallets/transactions.d.ts +14 -3
  102. package/resources/wallets/transactions.d.ts.map +1 -1
  103. package/resources/wallets/transactions.js.map +1 -1
  104. package/resources/wallets/transactions.mjs.map +1 -1
  105. package/resources/wallets/wallets.d.mts +846 -97
  106. package/resources/wallets/wallets.d.mts.map +1 -1
  107. package/resources/wallets/wallets.d.ts +846 -97
  108. package/resources/wallets/wallets.d.ts.map +1 -1
  109. package/resources/wallets/wallets.js +19 -2
  110. package/resources/wallets/wallets.js.map +1 -1
  111. package/resources/wallets/wallets.mjs +19 -2
  112. package/resources/wallets/wallets.mjs.map +1 -1
  113. package/resources/webhooks.d.mts +596 -108
  114. package/resources/webhooks.d.mts.map +1 -1
  115. package/resources/webhooks.d.ts +596 -108
  116. package/resources/webhooks.d.ts.map +1 -1
  117. package/resources/webhooks.js.map +1 -1
  118. package/resources/webhooks.mjs.map +1 -1
  119. package/resources/yield.d.mts +30 -30
  120. package/resources/yield.d.mts.map +1 -1
  121. package/resources/yield.d.ts +30 -30
  122. package/resources/yield.d.ts.map +1 -1
  123. package/resources/yield.js.map +1 -1
  124. package/resources/yield.mjs.map +1 -1
  125. package/src/client.ts +223 -76
  126. package/src/resources/accounts.ts +7 -1
  127. package/src/resources/aggregations.ts +16 -3
  128. package/src/resources/apps.ts +60 -30
  129. package/src/resources/client-auth.ts +41 -7
  130. package/src/resources/embedded-wallets.ts +7 -0
  131. package/src/resources/index.ts +107 -36
  132. package/src/resources/intents.ts +73 -91
  133. package/src/resources/key-quorums.ts +11 -9
  134. package/src/resources/kraken-embed.ts +560 -1065
  135. package/src/resources/onramps.ts +69 -54
  136. package/src/resources/policies.ts +162 -52
  137. package/src/resources/shared.ts +18 -2
  138. package/src/resources/swaps.ts +3 -2
  139. package/src/resources/transactions.ts +18 -9
  140. package/src/resources/users.ts +38 -6
  141. package/src/resources/{wallet-actions.ts → wallets/actions.ts} +496 -78
  142. package/src/resources/wallets/balance.ts +26 -56
  143. package/src/resources/wallets/index.ts +93 -0
  144. package/src/resources/wallets/transactions.ts +17 -10
  145. package/src/resources/wallets/wallets.ts +1312 -177
  146. package/src/resources/webhooks.ts +729 -118
  147. package/src/resources/yield.ts +33 -41
  148. package/src/version.ts +1 -1
  149. package/version.d.mts +1 -1
  150. package/version.d.ts +1 -1
  151. package/version.js +1 -1
  152. package/version.mjs +1 -1
  153. package/resources/wallet-actions.d.mts.map +0 -1
  154. package/resources/wallet-actions.d.ts.map +0 -1
  155. package/resources/wallet-actions.js +0 -9
  156. package/resources/wallet-actions.js.map +0 -1
  157. package/resources/wallet-actions.mjs +0 -5
  158. package/resources/wallet-actions.mjs.map +0 -1
@@ -2,6 +2,8 @@ import { APIResource } from "../../core/resource.mjs";
2
2
  import * as WalletsAPI from "./wallets.mjs";
3
3
  import * as AppsAPI from "../apps.mjs";
4
4
  import * as SharedAPI from "../shared.mjs";
5
+ import * as ActionsAPI from "./actions.mjs";
6
+ import { AaveVaultDetails, Actions, CustodianTransactionWalletActionStep, CustodianTransactionWalletActionStepStatus, EarnAsset, EarnDepositActionResponse, EarnDepositRequestBody, EarnFeeCollectActionResponse, EarnFeeCollectRequestBody, EarnIncentiveClaimActionResponse, EarnIncentiveClaimRequestBody, EarnIncentiveRewardEntry, EarnIncentiveRewardsQuery, EarnIncentiveRewardsResponse, EarnIncetiveClaimRewardEntry, EarnWithdrawActionResponse, EarnWithdrawRequestBody, EthereumEarnPositionQuery, EthereumEarnPositionResponse, EthereumEarnProvider, EthereumEarnVaultDetailsResponse, EvmTransactionWalletActionStep, EvmUserOperationEntrypointVersion, EvmUserOperationWalletActionStep, EvmWalletActionStepStatus, ExternalTransactionWalletActionStep, ExternalTransactionWalletActionStepStatus, FailureReason, ListWalletActionsQuery, ListWalletActionsResponse, MorphoVaultDetails, SvmTransactionWalletActionStep, SvmWalletActionStepStatus, SwapActionResponse, TransferActionResponse, TvmTransactionWalletActionStep, TvmWalletActionStepStatus, VedaVaultDetails, WalletActionInclude, WalletActionResponse, WalletActionStatus, WalletActionStep, WalletActionStepType, WalletActionType } from "./actions.mjs";
5
7
  import * as BalanceAPI from "./balance.mjs";
6
8
  import { Balance, BalanceGetParams, BalanceGetResponse } from "./balance.mjs";
7
9
  import * as TransactionsAPI from "./transactions.mjs";
@@ -15,6 +17,7 @@ import { RequestOptions } from "../../internal/request-options.mjs";
15
17
  export declare class Wallets extends APIResource {
16
18
  balance: BalanceAPI.Balance;
17
19
  transactions: TransactionsAPI.Transactions;
20
+ actions: ActionsAPI.Actions;
18
21
  /**
19
22
  * Creates a new wallet on the requested chain and for the requested owner.
20
23
  *
@@ -49,6 +52,17 @@ export declare class Wallets extends APIResource {
49
52
  * ```
50
53
  */
51
54
  list(query?: WalletListParams | null | undefined, options?: RequestOptions): PagePromise<WalletsCursor, Wallet>;
55
+ /**
56
+ * Archives a wallet, preventing it from being used in any write or signing
57
+ * operations. Archived wallets are hidden from list endpoints by default. Returns
58
+ * 404 if the wallet does not exist or is already archived.
59
+ *
60
+ * @example
61
+ * ```ts
62
+ * const wallet = await client.wallets.archive('wallet_id');
63
+ * ```
64
+ */
65
+ archive(walletID: string, options?: RequestOptions): APIPromise<Wallet>;
52
66
  /**
53
67
  * Export a wallet's private key
54
68
  *
@@ -71,7 +85,7 @@ export declare class Wallets extends APIResource {
71
85
  * const wallet = await client.wallets.get('wallet_id');
72
86
  * ```
73
87
  */
74
- get(walletID: string, options?: RequestOptions): APIPromise<Wallet>;
88
+ get(walletID: string, query?: WalletGetParams | null | undefined, options?: RequestOptions): APIPromise<Wallet>;
75
89
  /**
76
90
  * Sign a message with a wallet by wallet ID.
77
91
  *
@@ -114,6 +128,13 @@ export declare class Wallets extends APIResource {
114
128
  rpc(walletID: string, params: WalletRpcParams, options?: RequestOptions): APIPromise<WalletRpcResponse>;
115
129
  }
116
130
  export type WalletsCursor = Cursor<Wallet>;
131
+ /**
132
+ * An entry in an EIP-2930 access list, specifying an address and its storage keys.
133
+ */
134
+ export interface AccessListEntry {
135
+ address: string;
136
+ storage_keys: Array<Hex>;
137
+ }
117
138
  /**
118
139
  * Additional signers for the wallet.
119
140
  */
@@ -132,9 +153,122 @@ export interface AdditionalSignerItemInput {
132
153
  override_policy_ids?: PolicyInput;
133
154
  }
134
155
  /**
135
- * A blockchain wallet address (Ethereum or Solana).
156
+ * A blockchain wallet address. Ethereum addresses are normalized to EIP-55
157
+ * checksum format. Solana addresses are validated as base58. All other chain
158
+ * addresses (Stellar, Tron, Sui, Aptos, etc.) are accepted as-is.
136
159
  */
137
160
  export type Address = string;
161
+ /**
162
+ * Platform fee collected on a swap.
163
+ */
164
+ export interface AdvancedSwapPlatformFee {
165
+ /**
166
+ * Token the fee was taken from (output token in v1).
167
+ */
168
+ token: string;
169
+ /**
170
+ * Fee amount in the smallest unit of the fee token.
171
+ */
172
+ amount: string;
173
+ /**
174
+ * Fee in basis points.
175
+ */
176
+ bps: number;
177
+ }
178
+ /**
179
+ * Request body for initiating a synchronous Solana token swap through an embedded
180
+ * wallet.
181
+ */
182
+ export interface AdvancedSwapRequestBody {
183
+ /**
184
+ * Amount in the smallest unit of the input token (e.g. lamports for SOL).
185
+ */
186
+ amount: string;
187
+ /**
188
+ * Input token address (base58 mint address).
189
+ */
190
+ input_token: string;
191
+ /**
192
+ * Output token address (base58 mint address).
193
+ */
194
+ output_token: string;
195
+ /**
196
+ * CAIP-2 chain identifier. Defaults to Solana mainnet.
197
+ */
198
+ caip2?: string;
199
+ /**
200
+ * When true, skip transaction submission (quote + sign only). The signed
201
+ * transaction is still returned.
202
+ */
203
+ dry_run?: boolean;
204
+ /**
205
+ * Token account (base58) to receive the platform fee. Must exist on-chain for the
206
+ * output token.
207
+ */
208
+ fee_recipient?: string;
209
+ /**
210
+ * Platform fee in basis points, taken from the output token. Requires
211
+ * fee_recipient when > 0.
212
+ */
213
+ platform_fee_bps?: number;
214
+ /**
215
+ * Max slippage tolerance in basis points (0-10000), or "auto" for
216
+ * provider-determined. Defaults to "auto".
217
+ */
218
+ slippage_bps?: number | 'auto';
219
+ }
220
+ /**
221
+ * Response from the synchronous Solana swap endpoint.
222
+ */
223
+ export interface AdvancedSwapResponse {
224
+ /**
225
+ * Input amount consumed (smallest unit).
226
+ */
227
+ in_amount: string;
228
+ /**
229
+ * Input token address (base58).
230
+ */
231
+ input_token: string;
232
+ /**
233
+ * Minimum output amount guaranteed by slippage tolerance (smallest unit).
234
+ */
235
+ min_out_amount: string;
236
+ /**
237
+ * Expected output amount before slippage (smallest unit).
238
+ */
239
+ out_amount: string;
240
+ /**
241
+ * Output token address (base58).
242
+ */
243
+ output_token: string;
244
+ /**
245
+ * Which aggregator fulfilled the swap (e.g. "dflow").
246
+ */
247
+ provider: string;
248
+ /**
249
+ * Fully signed transaction (base64). Callers can re-submit to any Solana RPC for
250
+ * redundancy.
251
+ */
252
+ signed_transaction: string;
253
+ /**
254
+ * Slippage applied in basis points. Reflects the resolved value if "auto" was
255
+ * requested.
256
+ */
257
+ slippage_bps: number;
258
+ /**
259
+ * "accepted" if the network has acknowledged the transaction, "rejected" if the
260
+ * network refused it, "skipped" if dry_run was set. Not an onchain confirmation.
261
+ */
262
+ submission_status: SwapSubmissionStatus;
263
+ /**
264
+ * Solana transaction signature (base58).
265
+ */
266
+ transaction_hash: string;
267
+ /**
268
+ * Platform fee collected on a swap.
269
+ */
270
+ platform_fee?: AdvancedSwapPlatformFee;
271
+ }
138
272
  /**
139
273
  * Whether the amount refers to the input token or output token.
140
274
  */
@@ -190,7 +324,10 @@ export interface CustodialWallet {
190
324
  * Information about the custodian managing this wallet.
191
325
  */
192
326
  custody: WalletCustodian;
193
- owner_id: string | null;
327
+ /**
328
+ * A unique identifier for a key quorum.
329
+ */
330
+ owner_id: SharedAPI.KeyQuorumID | null;
194
331
  /**
195
332
  * Additional signers for the wallet.
196
333
  */
@@ -241,12 +378,6 @@ export type CustodialWalletProvider = 'bridge';
241
378
  * address (Solana). Use this variant for tokens that are not first-class assets.
242
379
  */
243
380
  export interface CustomTokenTransferSource {
244
- /**
245
- * Amount as a decimal string in the token's standard unit (e.g. "1.5" for 1.5
246
- * USDC, "0.01" for 0.01 ETH). Not in the smallest on-chain unit (wei, lamports,
247
- * etc.). Maximum 100 characters.
248
- */
249
- amount: string;
250
381
  /**
251
382
  * The token contract address (EVM) or mint address (Solana) of the asset to
252
383
  * transfer.
@@ -258,6 +389,13 @@ export interface CustomTokenTransferSource {
258
389
  * respective testnets.
259
390
  */
260
391
  chain: string;
392
+ /**
393
+ * @deprecated Amount as a decimal string in the token's standard unit (e.g. "1.5"
394
+ * for 1.5 USDC, "0.01" for 0.01 ETH). For exact_input, specifies the amount to
395
+ * send. Not in the smallest on-chain unit (wei, lamports, etc.). Maximum 100
396
+ * characters. Deprecated: use the top-level `amount` field instead.
397
+ */
398
+ amount?: string;
261
399
  }
262
400
  /**
263
401
  * Estimated fee paid to the developer.
@@ -270,6 +408,52 @@ export interface DeveloperFee {
270
408
  type: 'developer';
271
409
  recipient?: string;
272
410
  }
411
+ /**
412
+ * HPKE-encrypted authorization key with encapsulated key and ciphertext.
413
+ */
414
+ export interface EncryptedAuthorizationKey {
415
+ /**
416
+ * The encrypted authorization key corresponding to the user's current
417
+ * authentication session.
418
+ */
419
+ ciphertext: string;
420
+ /**
421
+ * Base64-encoded ephemeral public key used in the HPKE encryption process.
422
+ * Required for decryption.
423
+ */
424
+ encapsulated_key: string;
425
+ /**
426
+ * The encryption type used. Currently only supports HPKE.
427
+ */
428
+ encryption_type: 'HPKE';
429
+ }
430
+ /**
431
+ * Encrypted response from bound wallet authentication, with bindings.
432
+ */
433
+ export interface EncryptedBoundAuthenticateResponse {
434
+ bindings: Array<UserSigningKeyBinding>;
435
+ /**
436
+ * HPKE-encrypted authorization key with encapsulated key and ciphertext.
437
+ */
438
+ encrypted_authorization_key: EncryptedAuthorizationKey;
439
+ expires_at: number;
440
+ wallets: Array<Wallet>;
441
+ }
442
+ /**
443
+ * The response from authenticating a wallet with HPKE encryption, containing an
444
+ * encrypted authorization key and wallet data.
445
+ */
446
+ export interface EncryptedWalletAuthenticateResponse {
447
+ /**
448
+ * HPKE-encrypted authorization key with encapsulated key and ciphertext.
449
+ */
450
+ encrypted_authorization_key: EncryptedAuthorizationKey;
451
+ /**
452
+ * The expiration time of the authorization key in milliseconds since the epoch.
453
+ */
454
+ expires_at: number;
455
+ wallets: Array<Wallet>;
456
+ }
273
457
  /**
274
458
  * Executes the EVM `personal_sign` RPC (EIP-191) to sign a message.
275
459
  */
@@ -280,7 +464,16 @@ export interface EthereumPersonalSignRpcInput {
280
464
  */
281
465
  params: EthereumPersonalSignRpcInputParams;
282
466
  address?: string;
467
+ /**
468
+ * A valid CAIP-2 chain ID (e.g. 'eip155:1').
469
+ */
470
+ caip2?: AppsAPI.Caip2;
283
471
  chain_type?: 'ethereum';
472
+ /**
473
+ * Options controlling signature production for personal_sign and
474
+ * eth_signTypedData_v4.
475
+ */
476
+ signature_options?: SignatureOptions;
284
477
  wallet_id?: string;
285
478
  }
286
479
  /**
@@ -616,7 +809,16 @@ export interface EthereumSignTypedDataRpcInput {
616
809
  */
617
810
  params: EthereumSignTypedDataRpcInputParams;
618
811
  address?: string;
812
+ /**
813
+ * A valid CAIP-2 chain ID (e.g. 'eip155:1').
814
+ */
815
+ caip2?: AppsAPI.Caip2;
619
816
  chain_type?: 'ethereum';
817
+ /**
818
+ * Options controlling signature production for personal_sign and
819
+ * eth_signTypedData_v4.
820
+ */
821
+ signature_options?: SignatureOptions;
620
822
  wallet_id?: string;
621
823
  }
622
824
  /**
@@ -802,9 +1004,16 @@ export interface Gas {
802
1004
  */
803
1005
  export interface GetByWalletAddressRequestBody {
804
1006
  /**
805
- * A blockchain wallet address (Ethereum or Solana).
1007
+ * A blockchain wallet address. Ethereum addresses are normalized to EIP-55
1008
+ * checksum format. Solana addresses are validated as base58. All other chain
1009
+ * addresses (Stellar, Tron, Sui, Aptos, etc.) are accepted as-is.
806
1010
  */
807
1011
  address: Address;
1012
+ /**
1013
+ * Include archived wallets in lookup. Defaults to false (archived wallets return
1014
+ * 404).
1015
+ */
1016
+ include_archived?: boolean;
808
1017
  }
809
1018
  /**
810
1019
  * The input for HD wallets.
@@ -815,8 +1024,8 @@ export interface HDInitInput {
815
1024
  */
816
1025
  address: string;
817
1026
  /**
818
- * The chain type of the wallet to import. Currently supports `ethereum` and
819
- * `solana`.
1027
+ * The chain type of the wallet to import. Supports `ethereum`, `solana`,
1028
+ * `stellar`, `tron`, `sui`, and `aptos`.
820
1029
  */
821
1030
  chain_type: WalletImportSupportedChains;
822
1031
  /**
@@ -845,8 +1054,8 @@ export interface HDSubmitInput {
845
1054
  */
846
1055
  address: string;
847
1056
  /**
848
- * The chain type of the wallet to import. Currently supports `ethereum` and
849
- * `solana`.
1057
+ * The chain type of the wallet to import. Supports `ethereum`, `solana`,
1058
+ * `stellar`, `tron`, `sui`, and `aptos`.
850
1059
  */
851
1060
  chain_type: WalletImportSupportedChains;
852
1061
  /**
@@ -911,17 +1120,18 @@ export interface HpkeImportConfig {
911
1120
  * bytes).
912
1121
  */
913
1122
  export type Hex = string;
1123
+ /**
1124
+ * A binding that scopes a user signing key to a specific intent.
1125
+ */
1126
+ export interface IntentBinding {
1127
+ intentId: string;
1128
+ type: 'intent';
1129
+ }
914
1130
  /**
915
1131
  * Source for a transfer identified by a named asset (e.g. "usdc", "eth"). Use this
916
1132
  * variant for first-class assets maintained by Privy.
917
1133
  */
918
1134
  export interface NamedTokenTransferSource {
919
- /**
920
- * Amount as a decimal string in the token's standard unit (e.g. "1.5" for 1.5
921
- * USDC, "0.01" for 0.01 ETH). Not in the smallest on-chain unit (wei, lamports,
922
- * etc.). Maximum 100 characters.
923
- */
924
- amount: string;
925
1135
  /**
926
1136
  * The asset to transfer. Supported: 'usdc', 'usdb', 'usdt' (stablecoins), 'eth'
927
1137
  * (native Ethereum), 'sol' (native Solana).
@@ -933,6 +1143,13 @@ export interface NamedTokenTransferSource {
933
1143
  * respective testnets.
934
1144
  */
935
1145
  chain: string;
1146
+ /**
1147
+ * @deprecated Amount as a decimal string in the token's standard unit (e.g. "1.5"
1148
+ * for 1.5 USDC, "0.01" for 0.01 ETH). For exact_input, specifies the amount to
1149
+ * send. Not in the smallest on-chain unit (wei, lamports, etc.). Maximum 100
1150
+ * characters. Deprecated: use the top-level `amount` field instead.
1151
+ */
1152
+ amount?: string;
936
1153
  }
937
1154
  /**
938
1155
  * A Spark token output with its previous transaction data.
@@ -989,8 +1206,8 @@ export interface PrivateKeyInitInput {
989
1206
  */
990
1207
  address: string;
991
1208
  /**
992
- * The chain type of the wallet to import. Currently supports `ethereum` and
993
- * `solana`.
1209
+ * The chain type of the wallet to import. Supports `ethereum`, `solana`,
1210
+ * `stellar`, `tron`, `sui`, and `aptos`.
994
1211
  */
995
1212
  chain_type: WalletImportSupportedChains;
996
1213
  /**
@@ -1008,8 +1225,8 @@ export interface PrivateKeySubmitInput {
1008
1225
  */
1009
1226
  address: string;
1010
1227
  /**
1011
- * The chain type of the wallet to import. Currently supports `ethereum` and
1012
- * `solana`.
1228
+ * The chain type of the wallet to import. Supports `ethereum`, `solana`,
1229
+ * `stellar`, `tron`, `sui`, and `aptos`.
1013
1230
  */
1014
1231
  chain_type: WalletImportSupportedChains;
1015
1232
  /**
@@ -1049,6 +1266,15 @@ export interface PrivyFee {
1049
1266
  * non-negative integer.
1050
1267
  */
1051
1268
  export type Quantity = Hex | number;
1269
+ /**
1270
+ * Unencrypted response from bound wallet authentication, with bindings.
1271
+ */
1272
+ export interface RawBoundAuthenticateResponse {
1273
+ authorization_key: string;
1274
+ bindings: Array<UserSigningKeyBinding>;
1275
+ expires_at: number;
1276
+ wallets: Array<Wallet>;
1277
+ }
1052
1278
  /**
1053
1279
  * Encoding scheme for bytes in the `raw_sign` RPC.
1054
1280
  */
@@ -1119,6 +1345,21 @@ export interface RawSignResponseData {
1119
1345
  */
1120
1346
  signature: Hex;
1121
1347
  }
1348
+ /**
1349
+ * The response from authenticating a wallet without encryption, containing a raw
1350
+ * authorization key and wallet data.
1351
+ */
1352
+ export interface RawWalletAuthenticateResponse {
1353
+ /**
1354
+ * The raw authorization key data.
1355
+ */
1356
+ authorization_key: string;
1357
+ /**
1358
+ * The expiration time of the authorization key in milliseconds since the epoch.
1359
+ */
1360
+ expires_at: number;
1361
+ wallets: Array<Wallet>;
1362
+ }
1122
1363
  /**
1123
1364
  * The recipient public key for HPKE encryption, in PEM or DER (base64-encoded)
1124
1365
  * format.
@@ -1166,6 +1407,24 @@ export interface SeedPhraseExportResponse {
1166
1407
  */
1167
1408
  encryption_type: HpkeEncryption;
1168
1409
  }
1410
+ /**
1411
+ * Options controlling signature production for personal_sign and
1412
+ * eth_signTypedData_v4.
1413
+ */
1414
+ export interface SignatureOptions {
1415
+ /**
1416
+ * The type of cryptographic signature to produce. Use "ecdsa" for standard ECDSA
1417
+ * signatures, or "erc1271" for ERC-1271 compliant signatures for smart account
1418
+ * wallets.
1419
+ */
1420
+ type: SignatureType;
1421
+ }
1422
+ /**
1423
+ * The type of cryptographic signature to produce. Use "ecdsa" for standard ECDSA
1424
+ * signatures, or "erc1271" for ERC-1271 compliant signatures for smart account
1425
+ * wallets.
1426
+ */
1427
+ export type SignatureType = 'ecdsa' | 'erc1271';
1169
1428
  /**
1170
1429
  * The signing algorithm used by the wallet.
1171
1430
  */
@@ -1355,6 +1614,69 @@ export interface SparkClaimStaticDepositRpcResponse {
1355
1614
  export interface SparkClaimStaticDepositRpcResponseData {
1356
1615
  transfer_id: string;
1357
1616
  }
1617
+ /**
1618
+ * A fee quote for a cooperative exit from Spark to Bitcoin L1.
1619
+ */
1620
+ export interface SparkCoopExitFeeQuote {
1621
+ id: string;
1622
+ created_at: string;
1623
+ expires_at: string;
1624
+ /**
1625
+ * A currency amount with its original value and unit.
1626
+ */
1627
+ l1_broadcast_fee_fast: SparkCurrencyAmount;
1628
+ /**
1629
+ * A currency amount with its original value and unit.
1630
+ */
1631
+ l1_broadcast_fee_medium: SparkCurrencyAmount;
1632
+ /**
1633
+ * A currency amount with its original value and unit.
1634
+ */
1635
+ l1_broadcast_fee_slow: SparkCurrencyAmount;
1636
+ network: string;
1637
+ /**
1638
+ * A currency amount with its original value and unit.
1639
+ */
1640
+ total_amount: SparkCurrencyAmount;
1641
+ updated_at: string;
1642
+ /**
1643
+ * A currency amount with its original value and unit.
1644
+ */
1645
+ user_fee_fast: SparkCurrencyAmount;
1646
+ /**
1647
+ * A currency amount with its original value and unit.
1648
+ */
1649
+ user_fee_medium: SparkCurrencyAmount;
1650
+ /**
1651
+ * A currency amount with its original value and unit.
1652
+ */
1653
+ user_fee_slow: SparkCurrencyAmount;
1654
+ }
1655
+ /**
1656
+ * A cooperative exit request from Spark to Bitcoin L1.
1657
+ */
1658
+ export interface SparkCoopExitRequest {
1659
+ id: string;
1660
+ coop_exit_txid: string;
1661
+ created_at: string;
1662
+ expires_at: string;
1663
+ /**
1664
+ * A currency amount with its original value and unit.
1665
+ */
1666
+ fee: SparkCurrencyAmount;
1667
+ /**
1668
+ * A currency amount with its original value and unit.
1669
+ */
1670
+ l1_broadcast_fee: SparkCurrencyAmount;
1671
+ network: string;
1672
+ status: string;
1673
+ updated_at: string;
1674
+ /**
1675
+ * The exit speed for a cooperative withdrawal from Spark to L1.
1676
+ */
1677
+ exit_speed?: SparkExitSpeed;
1678
+ fee_quote_id?: string;
1679
+ }
1358
1680
  /**
1359
1681
  * Creates a Lightning invoice for the Spark wallet.
1360
1682
  */
@@ -1390,6 +1712,17 @@ export interface SparkCreateLightningInvoiceRpcResponse {
1390
1712
  */
1391
1713
  data?: SparkLightningReceiveRequest;
1392
1714
  }
1715
+ /**
1716
+ * A currency amount with its original value and unit.
1717
+ */
1718
+ export interface SparkCurrencyAmount {
1719
+ original_unit: string;
1720
+ original_value: number;
1721
+ }
1722
+ /**
1723
+ * The exit speed for a cooperative withdrawal from Spark to L1.
1724
+ */
1725
+ export type SparkExitSpeed = 'FAST' | 'MEDIUM' | 'SLOW';
1393
1726
  /**
1394
1727
  * Gets the balance of the Spark wallet.
1395
1728
  */
@@ -1477,6 +1810,37 @@ export interface SparkGetStaticDepositAddressRpcResponse {
1477
1810
  export interface SparkGetStaticDepositAddressRpcResponseData {
1478
1811
  address: string;
1479
1812
  }
1813
+ /**
1814
+ * Gets a fee quote for withdrawing from Spark to a Bitcoin L1 address.
1815
+ */
1816
+ export interface SparkGetWithdrawalFeeQuoteRpcInput {
1817
+ method: 'getWithdrawalFeeQuote';
1818
+ /**
1819
+ * Parameters for the Spark `getWithdrawalFeeQuote` RPC.
1820
+ */
1821
+ params: SparkGetWithdrawalFeeQuoteRpcInputParams;
1822
+ /**
1823
+ * The Spark network.
1824
+ */
1825
+ network?: SparkNetwork;
1826
+ }
1827
+ /**
1828
+ * Parameters for the Spark `getWithdrawalFeeQuote` RPC.
1829
+ */
1830
+ export interface SparkGetWithdrawalFeeQuoteRpcInputParams {
1831
+ amount_sats: number;
1832
+ onchain_address: string;
1833
+ }
1834
+ /**
1835
+ * Response to the Spark `getWithdrawalFeeQuote` RPC.
1836
+ */
1837
+ export interface SparkGetWithdrawalFeeQuoteRpcResponse {
1838
+ method: 'getWithdrawalFeeQuote';
1839
+ /**
1840
+ * A fee quote for a cooperative exit from Spark to Bitcoin L1.
1841
+ */
1842
+ data?: SparkCoopExitFeeQuote;
1843
+ }
1480
1844
  /**
1481
1845
  * The fee for a Spark Lightning payment.
1482
1846
  */
@@ -1562,11 +1926,11 @@ export interface SparkPayLightningInvoiceRpcResponse {
1562
1926
  /**
1563
1927
  * Request body for Spark wallet RPC operations, discriminated by method.
1564
1928
  */
1565
- export type SparkRpcInput = SparkTransferRpcInput | SparkGetBalanceRpcInput | SparkTransferTokensRpcInput | SparkGetStaticDepositAddressRpcInput | SparkGetClaimStaticDepositQuoteRpcInput | SparkClaimStaticDepositRpcInput | SparkCreateLightningInvoiceRpcInput | SparkPayLightningInvoiceRpcInput | SparkSignMessageWithIdentityKeyRpcInput;
1929
+ export type SparkRpcInput = SparkTransferRpcInput | SparkGetBalanceRpcInput | SparkTransferTokensRpcInput | SparkGetStaticDepositAddressRpcInput | SparkGetClaimStaticDepositQuoteRpcInput | SparkClaimStaticDepositRpcInput | SparkCreateLightningInvoiceRpcInput | SparkPayLightningInvoiceRpcInput | SparkSignMessageWithIdentityKeyRpcInput | SparkWithdrawRpcInput | SparkGetWithdrawalFeeQuoteRpcInput;
1566
1930
  /**
1567
1931
  * Response body for Spark wallet RPC operations, discriminated by method.
1568
1932
  */
1569
- export type SparkRpcResponse = SparkTransferRpcResponse | SparkGetBalanceRpcResponse | SparkTransferTokensRpcResponse | SparkGetStaticDepositAddressRpcResponse | SparkGetClaimStaticDepositQuoteRpcResponse | SparkClaimStaticDepositRpcResponse | SparkCreateLightningInvoiceRpcResponse | SparkPayLightningInvoiceRpcResponse | SparkSignMessageWithIdentityKeyRpcResponse;
1933
+ export type SparkRpcResponse = SparkTransferRpcResponse | SparkGetBalanceRpcResponse | SparkTransferTokensRpcResponse | SparkGetStaticDepositAddressRpcResponse | SparkGetClaimStaticDepositQuoteRpcResponse | SparkClaimStaticDepositRpcResponse | SparkCreateLightningInvoiceRpcResponse | SparkPayLightningInvoiceRpcResponse | SparkSignMessageWithIdentityKeyRpcResponse | SparkWithdrawRpcResponse | SparkGetWithdrawalFeeQuoteRpcResponse;
1570
1934
  /**
1571
1935
  * Signs a message with the Spark identity key.
1572
1936
  */
@@ -1762,10 +2126,53 @@ export interface SparkWalletLeaf {
1762
2126
  */
1763
2127
  signing_keyshare?: SparkSigningKeyshare;
1764
2128
  }
2129
+ /**
2130
+ * Withdraws from Spark to a Bitcoin L1 address (cooperative exit).
2131
+ */
2132
+ export interface SparkWithdrawRpcInput {
2133
+ method: 'withdraw';
2134
+ /**
2135
+ * Parameters for the Spark `withdraw` RPC.
2136
+ */
2137
+ params: SparkWithdrawRpcInputParams;
2138
+ /**
2139
+ * The Spark network.
2140
+ */
2141
+ network?: SparkNetwork;
2142
+ }
2143
+ /**
2144
+ * Parameters for the Spark `withdraw` RPC.
2145
+ */
2146
+ export interface SparkWithdrawRpcInputParams {
2147
+ /**
2148
+ * The exit speed for a cooperative withdrawal from Spark to L1.
2149
+ */
2150
+ exit_speed: SparkExitSpeed;
2151
+ onchain_address: string;
2152
+ amount_sats?: number;
2153
+ deduct_fee_from_withdrawal_amount?: boolean;
2154
+ fee_amount_sats?: number;
2155
+ fee_quote_id?: string;
2156
+ }
2157
+ /**
2158
+ * Response to the Spark `withdraw` RPC.
2159
+ */
2160
+ export interface SparkWithdrawRpcResponse {
2161
+ method: 'withdraw';
2162
+ /**
2163
+ * A cooperative exit request from Spark to Bitcoin L1.
2164
+ */
2165
+ data?: SparkCoopExitRequest;
2166
+ }
1765
2167
  /**
1766
2168
  * SUI transaction commands allowlist for raw_sign endpoint policy evaluation
1767
2169
  */
1768
2170
  export type SuiCommandName = 'TransferObjects' | 'SplitCoins' | 'MergeCoins';
2171
+ /**
2172
+ * "accepted" if the network has acknowledged the transaction, "rejected" if the
2173
+ * network refused it, "skipped" if dry_run was set. Not an onchain confirmation.
2174
+ */
2175
+ export type SwapSubmissionStatus = 'accepted' | 'rejected' | 'skipped';
1769
2176
  /**
1770
2177
  * An AA authorization for Tempo transactions with P256/WebAuthn signatures.
1771
2178
  */
@@ -1870,6 +2277,10 @@ export interface TotalFeeConfigurationBps {
1870
2277
  */
1871
2278
  value: number;
1872
2279
  }
2280
+ /**
2281
+ * Chains supported for transaction history queries.
2282
+ */
2283
+ export type TransactionChainNameInput = 'ethereum' | 'arbitrum' | 'avalanche' | 'base' | 'bsc' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'sepolia';
1873
2284
  /**
1874
2285
  * Details of a wallet transaction, varying by transaction type.
1875
2286
  */
@@ -1894,6 +2305,12 @@ export interface TransferQuoteRequestBody {
1894
2305
  * (named) or `asset_address` (custom), not both.
1895
2306
  */
1896
2307
  source: TokenTransferSource;
2308
+ /**
2309
+ * Amount as a decimal string in the token's standard unit (e.g. "1.5" for 1.5
2310
+ * USDC). For exact_input, the amount to send. For exact_output, the exact amount
2311
+ * to receive. Takes precedence over source.amount when both are provided.
2312
+ */
2313
+ amount?: string;
1897
2314
  /**
1898
2315
  * Whether the amount refers to the input token or output token.
1899
2316
  */
@@ -1903,7 +2320,8 @@ export interface TransferQuoteRequestBody {
1903
2320
  */
1904
2321
  fee_configuration?: FeeConfiguration;
1905
2322
  /**
1906
- * Maximum allowed slippage in basis points (1 bps = 0.01%).
2323
+ * Maximum allowed slippage in basis points (1 bps = 0.01%). Only applicable for
2324
+ * cross-chain or cross-asset transfers; omit to use the provider default.
1907
2325
  */
1908
2326
  slippage_bps?: number;
1909
2327
  }
@@ -1917,15 +2335,22 @@ export interface TransferQuoteResponse {
1917
2335
  */
1918
2336
  destination: TokenTransferDestination;
1919
2337
  /**
1920
- * Estimated fees in USD
2338
+ * Estimated fees in USD for the transfer. Only present for cross-chain transfers.
1921
2339
  */
1922
2340
  estimated_fees: Array<FeeLineItem>;
1923
2341
  /**
1924
- * Estimated output amount in decimals
2342
+ * Estimated input amount in decimals. For exact_input, this equals source.amount.
2343
+ * For exact_output, this is the estimated amount the sender needs to provide.
2344
+ */
2345
+ estimated_input_amount: string;
2346
+ /**
2347
+ * Estimated output amount in decimals. For exact_input, this is an estimate
2348
+ * subject to slippage. For exact_output, this is the guaranteed exact amount to be
2349
+ * received.
1925
2350
  */
1926
2351
  estimated_output_amount: string;
1927
2352
  /**
1928
- * Quote expiry as unix timestamp (seconds)
2353
+ * Quote expiry as Unix timestamp (seconds).
1929
2354
  */
1930
2355
  expires_at: number;
1931
2356
  /**
@@ -1947,8 +2372,11 @@ export interface TransferQuoteResponse {
1947
2372
  * Details for a received transfer transaction.
1948
2373
  */
1949
2374
  export interface TransferReceivedTransactionDetail {
1950
- asset: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
1951
- chain: 'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
2375
+ asset: 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb' | 'sol' | 'trx' | (string & {});
2376
+ /**
2377
+ * Supported blockchain network names for wallet balance and transaction queries.
2378
+ */
2379
+ chain: WalletAssetChainNameInput;
1952
2380
  display_values: {
1953
2381
  [key: string]: string;
1954
2382
  };
@@ -1974,6 +2402,12 @@ export interface TransferRequestBody {
1974
2402
  * (named) or `asset_address` (custom), not both.
1975
2403
  */
1976
2404
  source: TokenTransferSource;
2405
+ /**
2406
+ * Amount as a decimal string in the token's standard unit (e.g. "1.5" for 1.5
2407
+ * USDC). For exact_input, the amount to send. For exact_output, the exact amount
2408
+ * to receive. Takes precedence over source.amount when both are provided.
2409
+ */
2410
+ amount?: string;
1977
2411
  /**
1978
2412
  * Whether the amount refers to the input token or output token.
1979
2413
  */
@@ -1983,7 +2417,8 @@ export interface TransferRequestBody {
1983
2417
  */
1984
2418
  fee_configuration?: FeeConfiguration;
1985
2419
  /**
1986
- * Maximum allowed slippage in basis points (1 bps = 0.01%).
2420
+ * Maximum allowed slippage in basis points (1 bps = 0.01%). Only applicable for
2421
+ * cross-chain or cross-asset transfers; omit to use the provider default.
1987
2422
  */
1988
2423
  slippage_bps?: number;
1989
2424
  }
@@ -1991,8 +2426,11 @@ export interface TransferRequestBody {
1991
2426
  * Details for a sent transfer transaction.
1992
2427
  */
1993
2428
  export interface TransferSentTransactionDetail {
1994
- asset: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
1995
- chain: 'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
2429
+ asset: 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb' | 'sol' | 'trx' | (string & {});
2430
+ /**
2431
+ * Supported blockchain network names for wallet balance and transaction queries.
2432
+ */
2433
+ chain: WalletAssetChainNameInput;
1996
2434
  display_values: {
1997
2435
  [key: string]: string;
1998
2436
  };
@@ -2004,6 +2442,168 @@ export interface TransferSentTransactionDetail {
2004
2442
  sender_privy_user_id: string | null;
2005
2443
  type: 'transfer_sent';
2006
2444
  }
2445
+ /**
2446
+ * A Tron contract, discriminated by type. Supported types: TransferContract,
2447
+ * TriggerSmartContract.
2448
+ */
2449
+ export type TronContract = TronTransferContract | TronTriggerSmartContract;
2450
+ /**
2451
+ * Tron raw_data for tron_sendTransaction. Block reference fields are optional;
2452
+ * Privy fetches fresh values if omitted.
2453
+ */
2454
+ export interface TronRawDataForSend {
2455
+ contract: Array<TronContract>;
2456
+ data?: string;
2457
+ expiration?: number;
2458
+ fee_limit?: number;
2459
+ ref_block_bytes?: string;
2460
+ ref_block_hash?: string;
2461
+ timestamp?: number;
2462
+ }
2463
+ /**
2464
+ * Tron raw_data for tron_signTransaction. Block reference fields are required;
2465
+ * caller is responsible for fetching them.
2466
+ */
2467
+ export interface TronRawDataForSign {
2468
+ contract: Array<TronContract>;
2469
+ expiration: number;
2470
+ ref_block_bytes: string;
2471
+ ref_block_hash: string;
2472
+ data?: string;
2473
+ fee_limit?: number;
2474
+ timestamp?: number;
2475
+ }
2476
+ /**
2477
+ * Request body for Tron wallet RPC operations, discriminated by method.
2478
+ */
2479
+ export type TronRpcInput = TronSignTransactionRpcInput | TronSendTransactionRpcInput;
2480
+ /**
2481
+ * Response body for Tron wallet RPC operations, discriminated by method.
2482
+ */
2483
+ export type TronRpcResponse = TronSignTransactionRpcResponse | TronSendTransactionRpcResponse;
2484
+ /**
2485
+ * Executes the Tron `tron_sendTransaction` RPC to sign and broadcast a
2486
+ * transaction.
2487
+ */
2488
+ export interface TronSendTransactionRpcInput {
2489
+ method: 'tron_sendTransaction';
2490
+ /**
2491
+ * Parameters for the Tron `tron_sendTransaction` RPC.
2492
+ */
2493
+ params: TronSendTransactionRpcInputParams;
2494
+ /**
2495
+ * A valid CAIP-2 chain ID (e.g. 'eip155:1').
2496
+ */
2497
+ caip2?: AppsAPI.Caip2;
2498
+ }
2499
+ /**
2500
+ * Parameters for the Tron `tron_sendTransaction` RPC.
2501
+ */
2502
+ export interface TronSendTransactionRpcInputParams {
2503
+ /**
2504
+ * Tron raw_data for tron_sendTransaction. Block reference fields are optional;
2505
+ * Privy fetches fresh values if omitted.
2506
+ */
2507
+ raw_data: TronRawDataForSend;
2508
+ reference_id?: string;
2509
+ }
2510
+ /**
2511
+ * Response to the Tron `tron_sendTransaction` RPC.
2512
+ */
2513
+ export interface TronSendTransactionRpcResponse {
2514
+ /**
2515
+ * Data returned by the Tron `tron_sendTransaction` RPC.
2516
+ */
2517
+ data: TronSendTransactionRpcResponseData;
2518
+ method: 'tron_sendTransaction';
2519
+ }
2520
+ /**
2521
+ * Data returned by the Tron `tron_sendTransaction` RPC.
2522
+ */
2523
+ export interface TronSendTransactionRpcResponseData {
2524
+ /**
2525
+ * A valid CAIP-2 chain ID (e.g. 'eip155:1').
2526
+ */
2527
+ caip2: AppsAPI.Caip2;
2528
+ hash: string;
2529
+ transaction_id: string;
2530
+ reference_id?: string;
2531
+ }
2532
+ /**
2533
+ * Executes the Tron `tron_signTransaction` RPC to sign a transaction. The caller
2534
+ * is responsible for broadcasting.
2535
+ */
2536
+ export interface TronSignTransactionRpcInput {
2537
+ method: 'tron_signTransaction';
2538
+ /**
2539
+ * Parameters for the Tron `tron_signTransaction` RPC.
2540
+ */
2541
+ params: TronSignTransactionRpcInputParams;
2542
+ }
2543
+ /**
2544
+ * Parameters for the Tron `tron_signTransaction` RPC.
2545
+ */
2546
+ export interface TronSignTransactionRpcInputParams {
2547
+ /**
2548
+ * Tron raw_data for tron_signTransaction. Block reference fields are required;
2549
+ * caller is responsible for fetching them.
2550
+ */
2551
+ raw_data: TronRawDataForSign;
2552
+ }
2553
+ /**
2554
+ * Response to the Tron `tron_signTransaction` RPC.
2555
+ */
2556
+ export interface TronSignTransactionRpcResponse {
2557
+ /**
2558
+ * Data returned by the Tron `tron_signTransaction` RPC.
2559
+ */
2560
+ data: TronSignTransactionRpcResponseData;
2561
+ method: 'tron_signTransaction';
2562
+ }
2563
+ /**
2564
+ * Data returned by the Tron `tron_signTransaction` RPC.
2565
+ */
2566
+ export interface TronSignTransactionRpcResponseData {
2567
+ encoding: 'hex';
2568
+ signed_transaction: string;
2569
+ }
2570
+ /**
2571
+ * Tron native TRX transfer contract.
2572
+ */
2573
+ export interface TronTransferContract {
2574
+ amount: number;
2575
+ /**
2576
+ * Tron address in hex format: 41-prefixed, 42 hex characters (21 bytes), no 0x
2577
+ * prefix.
2578
+ */
2579
+ owner_address: SharedAPI.TronHexAddress;
2580
+ /**
2581
+ * Tron address in hex format: 41-prefixed, 42 hex characters (21 bytes), no 0x
2582
+ * prefix.
2583
+ */
2584
+ to_address: SharedAPI.TronHexAddress;
2585
+ type: 'TransferContract';
2586
+ }
2587
+ /**
2588
+ * Tron smart contract call (TRC-20 transfers and general contract interactions).
2589
+ */
2590
+ export interface TronTriggerSmartContract {
2591
+ /**
2592
+ * Tron address in hex format: 41-prefixed, 42 hex characters (21 bytes), no 0x
2593
+ * prefix.
2594
+ */
2595
+ contract_address: SharedAPI.TronHexAddress;
2596
+ /**
2597
+ * Tron address in hex format: 41-prefixed, 42 hex characters (21 bytes), no 0x
2598
+ * prefix.
2599
+ */
2600
+ owner_address: SharedAPI.TronHexAddress;
2601
+ type: 'TriggerSmartContract';
2602
+ call_token_value?: number;
2603
+ call_value?: number;
2604
+ data?: string;
2605
+ token_id?: number;
2606
+ }
2007
2607
  /**
2008
2608
  * The domain parameters for EIP-712 typed data signing.
2009
2609
  */
@@ -2085,7 +2685,7 @@ export interface UnsignedTempoTransaction {
2085
2685
  calls: Array<TempoCall>;
2086
2686
  type: 118;
2087
2687
  aa_authorization_list?: Array<TempoAaAuthorization>;
2088
- access_list?: Array<UnsignedTempoTransaction.AccessList>;
2688
+ access_list?: Array<AccessListEntry>;
2089
2689
  /**
2090
2690
  * A quantity value that can be either a hex string starting with '0x' or a
2091
2691
  * non-negative integer.
@@ -2133,12 +2733,6 @@ export interface UnsignedTempoTransaction {
2133
2733
  */
2134
2734
  valid_before?: Quantity;
2135
2735
  }
2136
- export declare namespace UnsignedTempoTransaction {
2137
- interface AccessList {
2138
- address: string;
2139
- storage_keys: Array<WalletsAPI.Hex>;
2140
- }
2141
- }
2142
2736
  /**
2143
2737
  * An ERC-4337 user operation.
2144
2738
  */
@@ -2196,6 +2790,13 @@ export interface UserOperationInput {
2196
2790
  */
2197
2791
  paymaster_verification_gas_limit?: Hex;
2198
2792
  }
2793
+ /**
2794
+ * A binding that scopes a user signing key to a specific intent.
2795
+ */
2796
+ export interface UserSigningKeyBinding {
2797
+ intentId: string;
2798
+ type: 'intent';
2799
+ }
2199
2800
  /**
2200
2801
  * A wallet managed by Privy's wallet infrastructure.
2201
2802
  */
@@ -2239,6 +2840,11 @@ export interface Wallet {
2239
2840
  * List of policy IDs for policies that are enforced on the wallet.
2240
2841
  */
2241
2842
  policy_ids: Array<string>;
2843
+ /**
2844
+ * Unix timestamp of when the wallet was archived in milliseconds, or null if the
2845
+ * wallet is active.
2846
+ */
2847
+ archived_at?: number | null;
2242
2848
  /**
2243
2849
  * The number of keys that must sign for an action to be valid.
2244
2850
  */
@@ -2301,7 +2907,44 @@ export interface WalletAPIRevokeAuthorizationKeyInput {
2301
2907
  /**
2302
2908
  * A named asset supported across all chains.
2303
2909
  */
2304
- export type WalletAsset = 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol';
2910
+ export type WalletAsset = 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb' | 'sol' | 'trx';
2911
+ /**
2912
+ * Supported blockchain network names for wallet balance and transaction queries.
2913
+ */
2914
+ export type WalletAssetChainNameInput = 'ethereum' | 'arbitrum' | 'avalanche' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'bsc' | 'solana' | 'tron' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'avalanche_fuji' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet' | 'tron_nile';
2915
+ /**
2916
+ * Request body for creating an encrypted, bound user signing key.
2917
+ */
2918
+ export interface WalletAuthenticateBoundEncryptedRequestBody {
2919
+ /**
2920
+ * Bindings that scope the USK. The key can only authorize the bound values.
2921
+ */
2922
+ bindings: Array<UserSigningKeyBinding>;
2923
+ encryption_type: 'HPKE';
2924
+ recipient_public_key: string;
2925
+ user_jwt: string;
2926
+ }
2927
+ /**
2928
+ * Request body for creating a user signing key scoped to specific bindings. The
2929
+ * returned USK can only authorize the bound values and cannot sign other RPC
2930
+ * requests.
2931
+ */
2932
+ export type WalletAuthenticateBoundRequestBody = WalletAuthenticateBoundEncryptedRequestBody | WalletAuthenticateBoundUnencryptedRequestBody;
2933
+ /**
2934
+ * Request body for creating an unencrypted, bound user signing key.
2935
+ */
2936
+ export interface WalletAuthenticateBoundUnencryptedRequestBody {
2937
+ /**
2938
+ * Bindings that scope the USK. The key can only authorize the bound values.
2939
+ */
2940
+ bindings: Array<UserSigningKeyBinding>;
2941
+ user_jwt: string;
2942
+ }
2943
+ /**
2944
+ * The response from authenticating a wallet with intent bindings, containing an
2945
+ * authorization key, wallet data, and the bindings the key is scoped to.
2946
+ */
2947
+ export type WalletAuthenticateIntentsResponse = EncryptedBoundAuthenticateResponse | RawBoundAuthenticateResponse;
2305
2948
  /**
2306
2949
  * Request body for wallet authentication with HPKE-encrypted response.
2307
2950
  */
@@ -2325,52 +2968,7 @@ export interface WalletAuthenticateRequestBody {
2325
2968
  * The response from authenticating a wallet, containing an authorization key and
2326
2969
  * wallet data.
2327
2970
  */
2328
- export type WalletAuthenticateWithJwtResponse = WalletAuthenticateWithJwtResponse.WithEncryption | WalletAuthenticateWithJwtResponse.WithoutEncryption;
2329
- export declare namespace WalletAuthenticateWithJwtResponse {
2330
- interface WithEncryption {
2331
- /**
2332
- * The encrypted authorization key data.
2333
- */
2334
- encrypted_authorization_key: WithEncryption.EncryptedAuthorizationKey;
2335
- /**
2336
- * The expiration time of the authorization key in milliseconds since the epoch.
2337
- */
2338
- expires_at: number;
2339
- wallets: Array<WalletsAPI.Wallet>;
2340
- }
2341
- namespace WithEncryption {
2342
- /**
2343
- * The encrypted authorization key data.
2344
- */
2345
- interface EncryptedAuthorizationKey {
2346
- /**
2347
- * The encrypted authorization key corresponding to the user's current
2348
- * authentication session.
2349
- */
2350
- ciphertext: string;
2351
- /**
2352
- * Base64-encoded ephemeral public key used in the HPKE encryption process.
2353
- * Required for decryption.
2354
- */
2355
- encapsulated_key: string;
2356
- /**
2357
- * The encryption type used. Currently only supports HPKE.
2358
- */
2359
- encryption_type: 'HPKE';
2360
- }
2361
- }
2362
- interface WithoutEncryption {
2363
- /**
2364
- * The raw authorization key data.
2365
- */
2366
- authorization_key: string;
2367
- /**
2368
- * The expiration time of the authorization key in milliseconds since the epoch.
2369
- */
2370
- expires_at: number;
2371
- wallets: Array<WalletsAPI.Wallet>;
2372
- }
2373
- }
2971
+ export type WalletAuthenticateWithJwtResponse = EncryptedWalletAuthenticateResponse | RawWalletAuthenticateResponse;
2374
2972
  /**
2375
2973
  * Headers required to authorize wallet operations.
2376
2974
  */
@@ -2522,7 +3120,7 @@ export type WalletEntropyType = 'hd' | 'private-key';
2522
3120
  /**
2523
3121
  * A named asset on Ethereum-compatible chains.
2524
3122
  */
2525
- export type WalletEthereumAsset = 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb';
3123
+ export type WalletEthereumAsset = 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb';
2526
3124
  /**
2527
3125
  * Request body for exporting a wallet private key.
2528
3126
  */
@@ -2568,10 +3166,10 @@ export interface WalletImportInitResponse {
2568
3166
  import_id?: string;
2569
3167
  }
2570
3168
  /**
2571
- * The chain type of the wallet to import. Currently supports `ethereum` and
2572
- * `solana`.
3169
+ * The chain type of the wallet to import. Supports `ethereum`, `solana`,
3170
+ * `stellar`, `tron`, `sui`, and `aptos`.
2573
3171
  */
2574
- export type WalletImportSupportedChains = 'ethereum' | 'solana';
3172
+ export type WalletImportSupportedChains = 'ethereum' | 'solana' | 'stellar' | 'tron' | 'sui' | 'aptos';
2575
3173
  /**
2576
3174
  * The entropy type of the wallet to import. Supports `private-key` for raw private
2577
3175
  * keys and `hd` for HD wallet seed phrases.
@@ -2586,15 +3184,19 @@ export interface WalletRevokeResponse {
2586
3184
  /**
2587
3185
  * Request body for wallet RPC operations, discriminated by method.
2588
3186
  */
2589
- export type WalletRpcRequestBody = EthereumSignTransactionRpcInput | EthereumSendTransactionRpcInput | EthereumPersonalSignRpcInput | EthereumSignTypedDataRpcInput | EthereumSecp256k1SignRpcInput | EthereumSign7702AuthorizationRpcInput | EthereumSignUserOperationRpcInput | EthereumSendCallsRpcInput | SolanaSignTransactionRpcInput | SolanaSignAndSendTransactionRpcInput | SolanaSignMessageRpcInput | SparkTransferRpcInput | SparkGetBalanceRpcInput | SparkTransferTokensRpcInput | SparkGetStaticDepositAddressRpcInput | SparkGetClaimStaticDepositQuoteRpcInput | SparkClaimStaticDepositRpcInput | SparkCreateLightningInvoiceRpcInput | SparkPayLightningInvoiceRpcInput | SparkSignMessageWithIdentityKeyRpcInput | ExportPrivateKeyRpcInput | ExportSeedPhraseRpcInput;
3187
+ export type WalletRpcRequestBody = EthereumSignTransactionRpcInput | EthereumSendTransactionRpcInput | EthereumPersonalSignRpcInput | EthereumSignTypedDataRpcInput | EthereumSecp256k1SignRpcInput | EthereumSign7702AuthorizationRpcInput | EthereumSignUserOperationRpcInput | EthereumSendCallsRpcInput | SolanaSignTransactionRpcInput | SolanaSignAndSendTransactionRpcInput | SolanaSignMessageRpcInput | SparkTransferRpcInput | SparkGetBalanceRpcInput | SparkTransferTokensRpcInput | SparkGetStaticDepositAddressRpcInput | SparkGetClaimStaticDepositQuoteRpcInput | SparkClaimStaticDepositRpcInput | SparkCreateLightningInvoiceRpcInput | SparkPayLightningInvoiceRpcInput | SparkSignMessageWithIdentityKeyRpcInput | SparkWithdrawRpcInput | SparkGetWithdrawalFeeQuoteRpcInput | TronSignTransactionRpcInput | TronSendTransactionRpcInput | ExportPrivateKeyRpcInput | ExportSeedPhraseRpcInput;
2590
3188
  /**
2591
3189
  * Response body for wallet RPC operations, discriminated by method.
2592
3190
  */
2593
- export type WalletRpcResponse = EthereumPersonalSignRpcResponse | EthereumSignTypedDataRpcResponse | EthereumSignTransactionRpcResponse | EthereumSendTransactionRpcResponse | EthereumSignUserOperationRpcResponse | EthereumSign7702AuthorizationRpcResponse | EthereumSecp256k1SignRpcResponse | EthereumSendCallsRpcResponse | SolanaSignMessageRpcResponse | SolanaSignTransactionRpcResponse | SolanaSignAndSendTransactionRpcResponse | SparkTransferRpcResponse | SparkGetBalanceRpcResponse | SparkTransferTokensRpcResponse | SparkGetStaticDepositAddressRpcResponse | SparkGetClaimStaticDepositQuoteRpcResponse | SparkClaimStaticDepositRpcResponse | SparkCreateLightningInvoiceRpcResponse | SparkPayLightningInvoiceRpcResponse | SparkSignMessageWithIdentityKeyRpcResponse | ExportPrivateKeyRpcResponse | ExportSeedPhraseRpcResponse;
3191
+ export type WalletRpcResponse = EthereumPersonalSignRpcResponse | EthereumSignTypedDataRpcResponse | EthereumSignTransactionRpcResponse | EthereumSendTransactionRpcResponse | EthereumSignUserOperationRpcResponse | EthereumSign7702AuthorizationRpcResponse | EthereumSecp256k1SignRpcResponse | EthereumSendCallsRpcResponse | SolanaSignMessageRpcResponse | SolanaSignTransactionRpcResponse | SolanaSignAndSendTransactionRpcResponse | SparkTransferRpcResponse | SparkGetBalanceRpcResponse | SparkTransferTokensRpcResponse | SparkGetStaticDepositAddressRpcResponse | SparkGetClaimStaticDepositQuoteRpcResponse | SparkClaimStaticDepositRpcResponse | SparkCreateLightningInvoiceRpcResponse | SparkPayLightningInvoiceRpcResponse | SparkSignMessageWithIdentityKeyRpcResponse | SparkWithdrawRpcResponse | SparkGetWithdrawalFeeQuoteRpcResponse | TronSignTransactionRpcResponse | TronSendTransactionRpcResponse | ExportPrivateKeyRpcResponse | ExportSeedPhraseRpcResponse;
2594
3192
  /**
2595
3193
  * A named asset on Solana.
2596
3194
  */
2597
3195
  export type WalletSolanaAsset = 'sol' | 'usdc' | 'eurc' | 'usdb';
3196
+ /**
3197
+ * A named asset on Tron.
3198
+ */
3199
+ export type WalletTronAsset = 'trx' | 'usdt' | 'usdc';
2598
3200
  /**
2599
3201
  * Request body for updating a wallet. `owner` and `owner_id` are mutually
2600
3202
  * exclusive.
@@ -2699,6 +3301,12 @@ export interface WalletUpdateParams {
2699
3301
  'privy-request-expiry'?: string;
2700
3302
  }
2701
3303
  export interface WalletListParams extends CursorParams {
3304
+ /**
3305
+ * A blockchain wallet address. Ethereum addresses are normalized to EIP-55
3306
+ * checksum format. Solana addresses are validated as base58. All other chain
3307
+ * addresses (Stellar, Tron, Sui, Aptos, etc.) are accepted as-is.
3308
+ */
3309
+ address?: Address;
2702
3310
  /**
2703
3311
  * Filter wallets by authorization public key. Returns wallets owned by key quorums
2704
3312
  * that include the specified P-256 public key (base64-encoded DER format). Cannot
@@ -2713,6 +3321,10 @@ export interface WalletListParams extends CursorParams {
2713
3321
  * Filter wallets by external ID.
2714
3322
  */
2715
3323
  external_id?: string;
3324
+ /**
3325
+ * Include archived wallets in lookup. Defaults to false.
3326
+ */
3327
+ include_archived?: boolean;
2716
3328
  /**
2717
3329
  * Filter wallets by user ID. Cannot be used together with authorization_key.
2718
3330
  */
@@ -2744,6 +3356,12 @@ export interface WalletExportParams {
2744
3356
  */
2745
3357
  'privy-request-expiry'?: string;
2746
3358
  }
3359
+ export interface WalletGetParams {
3360
+ /**
3361
+ * Include archived wallets in lookup. Defaults to false.
3362
+ */
3363
+ include_archived?: boolean;
3364
+ }
2747
3365
  export interface WalletRawSignParams {
2748
3366
  /**
2749
3367
  * Body param: Parameters for the `raw_sign` RPC.
@@ -2765,7 +3383,7 @@ export interface WalletRawSignParams {
2765
3383
  */
2766
3384
  'privy-request-expiry'?: string;
2767
3385
  }
2768
- export type WalletRpcParams = WalletRpcParams.EthereumSignTransactionRpcInput | WalletRpcParams.EthereumSendTransactionRpcInput | WalletRpcParams.EthereumPersonalSignRpcInput | WalletRpcParams.EthereumSignTypedDataRpcInput | WalletRpcParams.EthereumSecp256k1SignRpcInput | WalletRpcParams.EthereumSign7702AuthorizationRpcInput | WalletRpcParams.EthereumSignUserOperationRpcInput | WalletRpcParams.EthereumSendCallsRpcInput | WalletRpcParams.SolanaSignTransactionRpcInput | WalletRpcParams.SolanaSignAndSendTransactionRpcInput | WalletRpcParams.SolanaSignMessageRpcInput | WalletRpcParams.SparkTransferRpcInput | WalletRpcParams.SparkGetBalanceRpcInput | WalletRpcParams.SparkTransferTokensRpcInput | WalletRpcParams.SparkGetStaticDepositAddressRpcInput | WalletRpcParams.SparkGetClaimStaticDepositQuoteRpcInput | WalletRpcParams.SparkClaimStaticDepositRpcInput | WalletRpcParams.SparkCreateLightningInvoiceRpcInput | WalletRpcParams.SparkPayLightningInvoiceRpcInput | WalletRpcParams.SparkSignMessageWithIdentityKeyRpcInput | WalletRpcParams.ExportPrivateKeyRpcInput | WalletRpcParams.ExportSeedPhraseRpcInput;
3386
+ export type WalletRpcParams = WalletRpcParams.EthereumSignTransactionRpcInput | WalletRpcParams.EthereumSendTransactionRpcInput | WalletRpcParams.EthereumPersonalSignRpcInput | WalletRpcParams.EthereumSignTypedDataRpcInput | WalletRpcParams.EthereumSecp256k1SignRpcInput | WalletRpcParams.EthereumSign7702AuthorizationRpcInput | WalletRpcParams.EthereumSignUserOperationRpcInput | WalletRpcParams.EthereumSendCallsRpcInput | WalletRpcParams.SolanaSignTransactionRpcInput | WalletRpcParams.SolanaSignAndSendTransactionRpcInput | WalletRpcParams.SolanaSignMessageRpcInput | WalletRpcParams.SparkTransferRpcInput | WalletRpcParams.SparkGetBalanceRpcInput | WalletRpcParams.SparkTransferTokensRpcInput | WalletRpcParams.SparkGetStaticDepositAddressRpcInput | WalletRpcParams.SparkGetClaimStaticDepositQuoteRpcInput | WalletRpcParams.SparkClaimStaticDepositRpcInput | WalletRpcParams.SparkCreateLightningInvoiceRpcInput | WalletRpcParams.SparkPayLightningInvoiceRpcInput | WalletRpcParams.SparkSignMessageWithIdentityKeyRpcInput | WalletRpcParams.SparkWithdrawRpcInput | WalletRpcParams.SparkGetWithdrawalFeeQuoteRpcInput | WalletRpcParams.TronSignTransactionRpcInput | WalletRpcParams.TronSendTransactionRpcInput | WalletRpcParams.ExportPrivateKeyRpcInput | WalletRpcParams.ExportSeedPhraseRpcInput;
2769
3387
  export declare namespace WalletRpcParams {
2770
3388
  interface EthereumSignTransactionRpcInput {
2771
3389
  /**
@@ -2871,10 +3489,19 @@ export declare namespace WalletRpcParams {
2871
3489
  * Body param
2872
3490
  */
2873
3491
  address?: string;
3492
+ /**
3493
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
3494
+ */
3495
+ caip2?: AppsAPI.Caip2;
2874
3496
  /**
2875
3497
  * Body param
2876
3498
  */
2877
3499
  chain_type?: 'ethereum';
3500
+ /**
3501
+ * Body param: Options controlling signature production for personal_sign and
3502
+ * eth_signTypedData_v4.
3503
+ */
3504
+ signature_options?: SignatureOptions;
2878
3505
  /**
2879
3506
  * Body param
2880
3507
  */
@@ -2908,10 +3535,19 @@ export declare namespace WalletRpcParams {
2908
3535
  * Body param
2909
3536
  */
2910
3537
  address?: string;
3538
+ /**
3539
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
3540
+ */
3541
+ caip2?: AppsAPI.Caip2;
2911
3542
  /**
2912
3543
  * Body param
2913
3544
  */
2914
3545
  chain_type?: 'ethereum';
3546
+ /**
3547
+ * Body param: Options controlling signature production for personal_sign and
3548
+ * eth_signTypedData_v4.
3549
+ */
3550
+ signature_options?: SignatureOptions;
2915
3551
  /**
2916
3552
  * Body param
2917
3553
  */
@@ -3473,6 +4109,118 @@ export declare namespace WalletRpcParams {
3473
4109
  */
3474
4110
  'privy-request-expiry'?: string;
3475
4111
  }
4112
+ interface SparkWithdrawRpcInput {
4113
+ /**
4114
+ * Body param
4115
+ */
4116
+ method: 'withdraw';
4117
+ /**
4118
+ * Body param: Parameters for the Spark `withdraw` RPC.
4119
+ */
4120
+ params: SparkWithdrawRpcInputParams;
4121
+ /**
4122
+ * Body param: The Spark network.
4123
+ */
4124
+ network?: SparkNetwork;
4125
+ /**
4126
+ * Header param: Request authorization signature. If multiple signatures are
4127
+ * required, they should be comma separated.
4128
+ */
4129
+ 'privy-authorization-signature'?: string;
4130
+ /**
4131
+ * Header param: Idempotency keys ensure API requests are executed only once within
4132
+ * a 24-hour window.
4133
+ */
4134
+ 'privy-idempotency-key'?: string;
4135
+ /**
4136
+ * Header param: Request expiry. Value is a Unix timestamp in milliseconds
4137
+ * representing the deadline by which the request must be processed.
4138
+ */
4139
+ 'privy-request-expiry'?: string;
4140
+ }
4141
+ interface SparkGetWithdrawalFeeQuoteRpcInput {
4142
+ /**
4143
+ * Body param
4144
+ */
4145
+ method: 'getWithdrawalFeeQuote';
4146
+ /**
4147
+ * Body param: Parameters for the Spark `getWithdrawalFeeQuote` RPC.
4148
+ */
4149
+ params: SparkGetWithdrawalFeeQuoteRpcInputParams;
4150
+ /**
4151
+ * Body param: The Spark network.
4152
+ */
4153
+ network?: SparkNetwork;
4154
+ /**
4155
+ * Header param: Request authorization signature. If multiple signatures are
4156
+ * required, they should be comma separated.
4157
+ */
4158
+ 'privy-authorization-signature'?: string;
4159
+ /**
4160
+ * Header param: Idempotency keys ensure API requests are executed only once within
4161
+ * a 24-hour window.
4162
+ */
4163
+ 'privy-idempotency-key'?: string;
4164
+ /**
4165
+ * Header param: Request expiry. Value is a Unix timestamp in milliseconds
4166
+ * representing the deadline by which the request must be processed.
4167
+ */
4168
+ 'privy-request-expiry'?: string;
4169
+ }
4170
+ interface TronSignTransactionRpcInput {
4171
+ /**
4172
+ * Body param
4173
+ */
4174
+ method: 'tron_signTransaction';
4175
+ /**
4176
+ * Body param: Parameters for the Tron `tron_signTransaction` RPC.
4177
+ */
4178
+ params: TronSignTransactionRpcInputParams;
4179
+ /**
4180
+ * Header param: Request authorization signature. If multiple signatures are
4181
+ * required, they should be comma separated.
4182
+ */
4183
+ 'privy-authorization-signature'?: string;
4184
+ /**
4185
+ * Header param: Idempotency keys ensure API requests are executed only once within
4186
+ * a 24-hour window.
4187
+ */
4188
+ 'privy-idempotency-key'?: string;
4189
+ /**
4190
+ * Header param: Request expiry. Value is a Unix timestamp in milliseconds
4191
+ * representing the deadline by which the request must be processed.
4192
+ */
4193
+ 'privy-request-expiry'?: string;
4194
+ }
4195
+ interface TronSendTransactionRpcInput {
4196
+ /**
4197
+ * Body param
4198
+ */
4199
+ method: 'tron_sendTransaction';
4200
+ /**
4201
+ * Body param: Parameters for the Tron `tron_sendTransaction` RPC.
4202
+ */
4203
+ params: TronSendTransactionRpcInputParams;
4204
+ /**
4205
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
4206
+ */
4207
+ caip2?: AppsAPI.Caip2;
4208
+ /**
4209
+ * Header param: Request authorization signature. If multiple signatures are
4210
+ * required, they should be comma separated.
4211
+ */
4212
+ 'privy-authorization-signature'?: string;
4213
+ /**
4214
+ * Header param: Idempotency keys ensure API requests are executed only once within
4215
+ * a 24-hour window.
4216
+ */
4217
+ 'privy-idempotency-key'?: string;
4218
+ /**
4219
+ * Header param: Request expiry. Value is a Unix timestamp in milliseconds
4220
+ * representing the deadline by which the request must be processed.
4221
+ */
4222
+ 'privy-request-expiry'?: string;
4223
+ }
3476
4224
  interface ExportPrivateKeyRpcInput {
3477
4225
  /**
3478
4226
  * Body param
@@ -3535,8 +4283,9 @@ export declare namespace WalletRpcParams {
3535
4283
  }
3536
4284
  }
3537
4285
  export declare namespace Wallets {
3538
- export { type AdditionalSignerInput as AdditionalSignerInput, type AdditionalSignerItemInput as AdditionalSignerItemInput, type Address as Address, type AmountType as AmountType, type AuthorizationKeyDashboardResponse as AuthorizationKeyDashboardResponse, type AuthorizationKeyResponse as AuthorizationKeyResponse, type AuthorizationKeyRole as AuthorizationKeyRole, type CurveSigningChainType as CurveSigningChainType, type CurveType as CurveType, type CustodialWallet as CustodialWallet, type CustodialWalletChainType as CustodialWalletChainType, type CustodialWalletCreateInput as CustodialWalletCreateInput, type CustodialWalletProvider as CustodialWalletProvider, type CustomTokenTransferSource as CustomTokenTransferSource, type DeveloperFee as DeveloperFee, type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput, type EthereumPersonalSignRpcInputParams as EthereumPersonalSignRpcInputParams, type EthereumPersonalSignRpcResponse as EthereumPersonalSignRpcResponse, type EthereumPersonalSignRpcResponseData as EthereumPersonalSignRpcResponseData, type EthereumRpcInput as EthereumRpcInput, type EthereumRpcResponse as EthereumRpcResponse, type EthereumSecp256k1SignRpcInput as EthereumSecp256k1SignRpcInput, type EthereumSecp256k1SignRpcInputParams as EthereumSecp256k1SignRpcInputParams, type EthereumSecp256k1SignRpcResponse as EthereumSecp256k1SignRpcResponse, type EthereumSecp256k1SignRpcResponseData as EthereumSecp256k1SignRpcResponseData, type EthereumSendCallsCall as EthereumSendCallsCall, type EthereumSendCallsRpcInput as EthereumSendCallsRpcInput, type EthereumSendCallsRpcInputParams as EthereumSendCallsRpcInputParams, type EthereumSendCallsRpcResponse as EthereumSendCallsRpcResponse, type EthereumSendCallsRpcResponseData as EthereumSendCallsRpcResponseData, type EthereumSendTransactionRpcInput as EthereumSendTransactionRpcInput, type EthereumSendTransactionRpcInputParams as EthereumSendTransactionRpcInputParams, type EthereumSendTransactionRpcResponse as EthereumSendTransactionRpcResponse, type EthereumSendTransactionRpcResponseData as EthereumSendTransactionRpcResponseData, type EthereumSign7702Authorization as EthereumSign7702Authorization, type EthereumSign7702AuthorizationRpcInput as EthereumSign7702AuthorizationRpcInput, type EthereumSign7702AuthorizationRpcInputParams as EthereumSign7702AuthorizationRpcInputParams, type EthereumSign7702AuthorizationRpcResponse as EthereumSign7702AuthorizationRpcResponse, type EthereumSign7702AuthorizationRpcResponseData as EthereumSign7702AuthorizationRpcResponseData, type EthereumSignTransactionRpcInput as EthereumSignTransactionRpcInput, type EthereumSignTransactionRpcInputParams as EthereumSignTransactionRpcInputParams, type EthereumSignTransactionRpcResponse as EthereumSignTransactionRpcResponse, type EthereumSignTransactionRpcResponseData as EthereumSignTransactionRpcResponseData, type EthereumSignTypedDataRpcInput as EthereumSignTypedDataRpcInput, type EthereumSignTypedDataRpcInputParams as EthereumSignTypedDataRpcInputParams, type EthereumSignTypedDataRpcResponse as EthereumSignTypedDataRpcResponse, type EthereumSignTypedDataRpcResponseData as EthereumSignTypedDataRpcResponseData, type EthereumSignUserOperationRpcInput as EthereumSignUserOperationRpcInput, type EthereumSignUserOperationRpcInputParams as EthereumSignUserOperationRpcInputParams, type EthereumSignUserOperationRpcResponse as EthereumSignUserOperationRpcResponse, type EthereumSignUserOperationRpcResponseData as EthereumSignUserOperationRpcResponseData, type EthereumTypedDataInput as EthereumTypedDataInput, type ExportPrivateKeyRpcInput as ExportPrivateKeyRpcInput, type ExportPrivateKeyRpcResponse as ExportPrivateKeyRpcResponse, type ExportSeedPhraseRpcInput as ExportSeedPhraseRpcInput, type ExportSeedPhraseRpcResponse as ExportSeedPhraseRpcResponse, type ExportType as ExportType, type ExtendedChainType as ExtendedChainType, type FeeConfiguration as FeeConfiguration, type FeeLineItem as FeeLineItem, type FirstClassChainType as FirstClassChainType, type Gas as Gas, type GetByWalletAddressRequestBody as GetByWalletAddressRequestBody, type HDInitInput as HDInitInput, type HDPath as HDPath, type HDSubmitInput as HDSubmitInput, type HpkeAeadAlgorithm as HpkeAeadAlgorithm, type HpkeEncryption as HpkeEncryption, type HpkeImportConfig as HpkeImportConfig, type Hex as Hex, type NamedTokenTransferSource as NamedTokenTransferSource, type OutputWithPreviousTransactionData as OutputWithPreviousTransactionData, type PolicyInput as PolicyInput, type PrivateKeyExportInput as PrivateKeyExportInput, type PrivateKeyExportResponse as PrivateKeyExportResponse, type PrivateKeyInitInput as PrivateKeyInitInput, type PrivateKeySubmitInput as PrivateKeySubmitInput, type PrivyFee as PrivyFee, type Quantity as Quantity, type RawSignBytesEncoding as RawSignBytesEncoding, type RawSignBytesHashFunction as RawSignBytesHashFunction, type RawSignBytesParams as RawSignBytesParams, type RawSignHashParams as RawSignHashParams, type RawSignInput as RawSignInput, type RawSignInputParams as RawSignInputParams, type RawSignResponse as RawSignResponse, type RawSignResponseData as RawSignResponseData, type RecipientPublicKey as RecipientPublicKey, type RelayerFee as RelayerFee, type SeedPhraseExportInput as SeedPhraseExportInput, type SeedPhraseExportResponse as SeedPhraseExportResponse, type SigningAlgorithm as SigningAlgorithm, type SolanaRpcInput as SolanaRpcInput, type SolanaRpcResponse as SolanaRpcResponse, type SolanaSignAndSendTransactionRpcInput as SolanaSignAndSendTransactionRpcInput, type SolanaSignAndSendTransactionRpcInputParams as SolanaSignAndSendTransactionRpcInputParams, type SolanaSignAndSendTransactionRpcResponse as SolanaSignAndSendTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponseData as SolanaSignAndSendTransactionRpcResponseData, type SolanaSignMessageRpcInput as SolanaSignMessageRpcInput, type SolanaSignMessageRpcInputParams as SolanaSignMessageRpcInputParams, type SolanaSignMessageRpcResponse as SolanaSignMessageRpcResponse, type SolanaSignMessageRpcResponseData as SolanaSignMessageRpcResponseData, type SolanaSignTransactionRpcInput as SolanaSignTransactionRpcInput, type SolanaSignTransactionRpcInputParams as SolanaSignTransactionRpcInputParams, type SolanaSignTransactionRpcResponse as SolanaSignTransactionRpcResponse, type SolanaSignTransactionRpcResponseData as SolanaSignTransactionRpcResponseData, type SolanaWalletDerivationStrategy as SolanaWalletDerivationStrategy, type SparkBalance as SparkBalance, type SparkClaimStaticDepositRpcInput as SparkClaimStaticDepositRpcInput, type SparkClaimStaticDepositRpcInputParams as SparkClaimStaticDepositRpcInputParams, type SparkClaimStaticDepositRpcResponse as SparkClaimStaticDepositRpcResponse, type SparkClaimStaticDepositRpcResponseData as SparkClaimStaticDepositRpcResponseData, type SparkCreateLightningInvoiceRpcInput as SparkCreateLightningInvoiceRpcInput, type SparkCreateLightningInvoiceRpcInputParams as SparkCreateLightningInvoiceRpcInputParams, type SparkCreateLightningInvoiceRpcResponse as SparkCreateLightningInvoiceRpcResponse, type SparkGetBalanceRpcInput as SparkGetBalanceRpcInput, type SparkGetBalanceRpcResponse as SparkGetBalanceRpcResponse, type SparkGetClaimStaticDepositQuoteRpcInput as SparkGetClaimStaticDepositQuoteRpcInput, type SparkGetClaimStaticDepositQuoteRpcInputParams as SparkGetClaimStaticDepositQuoteRpcInputParams, type SparkGetClaimStaticDepositQuoteRpcResponse as SparkGetClaimStaticDepositQuoteRpcResponse, type SparkGetClaimStaticDepositQuoteRpcResponseData as SparkGetClaimStaticDepositQuoteRpcResponseData, type SparkGetStaticDepositAddressRpcInput as SparkGetStaticDepositAddressRpcInput, type SparkGetStaticDepositAddressRpcResponse as SparkGetStaticDepositAddressRpcResponse, type SparkGetStaticDepositAddressRpcResponseData as SparkGetStaticDepositAddressRpcResponseData, type SparkLightningFee as SparkLightningFee, type SparkLightningReceiveRequest as SparkLightningReceiveRequest, type SparkLightningSendRequest as SparkLightningSendRequest, type SparkNetwork as SparkNetwork, type SparkOutputSelectionStrategy as SparkOutputSelectionStrategy, type SparkPayLightningInvoiceRpcInput as SparkPayLightningInvoiceRpcInput, type SparkPayLightningInvoiceRpcInputParams as SparkPayLightningInvoiceRpcInputParams, type SparkPayLightningInvoiceRpcResponse as SparkPayLightningInvoiceRpcResponse, type SparkRpcInput as SparkRpcInput, type SparkRpcResponse as SparkRpcResponse, type SparkSignMessageWithIdentityKeyRpcInput as SparkSignMessageWithIdentityKeyRpcInput, type SparkSignMessageWithIdentityKeyRpcInputParams as SparkSignMessageWithIdentityKeyRpcInputParams, type SparkSignMessageWithIdentityKeyRpcResponse as SparkSignMessageWithIdentityKeyRpcResponse, type SparkSignMessageWithIdentityKeyRpcResponseData as SparkSignMessageWithIdentityKeyRpcResponseData, type SparkSigningKeyshare as SparkSigningKeyshare, type SparkTokenBalance as SparkTokenBalance, type SparkTransfer as SparkTransfer, type SparkTransferLeaf as SparkTransferLeaf, type SparkTransferRpcInput as SparkTransferRpcInput, type SparkTransferRpcInputParams as SparkTransferRpcInputParams, type SparkTransferRpcResponse as SparkTransferRpcResponse, type SparkTransferTokensRpcInput as SparkTransferTokensRpcInput, type SparkTransferTokensRpcInputParams as SparkTransferTokensRpcInputParams, type SparkTransferTokensRpcResponse as SparkTransferTokensRpcResponse, type SparkTransferTokensRpcResponseData as SparkTransferTokensRpcResponseData, type SparkUserTokenMetadata as SparkUserTokenMetadata, type SparkWalletLeaf as SparkWalletLeaf, type SuiCommandName as SuiCommandName, type TempoAaAuthorization as TempoAaAuthorization, type TempoCall as TempoCall, type TempoFeePayerSignature as TempoFeePayerSignature, type TokenOutput as TokenOutput, type TokenTransferDestination as TokenTransferDestination, type TokenTransferSource as TokenTransferSource, type TotalFeeConfigurationBps as TotalFeeConfigurationBps, type TransactionDetail as TransactionDetail, type TransactionTokenAddressInput as TransactionTokenAddressInput, type TransferQuoteRequestBody as TransferQuoteRequestBody, type TransferQuoteResponse as TransferQuoteResponse, type TransferReceivedTransactionDetail as TransferReceivedTransactionDetail, type TransferRequestBody as TransferRequestBody, type TransferSentTransactionDetail as TransferSentTransactionDetail, type TypedDataDomainInputParams as TypedDataDomainInputParams, type TypedDataTypeFieldInput as TypedDataTypeFieldInput, type TypedDataTypesInputParams as TypedDataTypesInputParams, type UnsignedEthereumTransaction as UnsignedEthereumTransaction, type UnsignedStandardEthereumTransaction as UnsignedStandardEthereumTransaction, type UnsignedTempoTransaction as UnsignedTempoTransaction, type UserOperationInput as UserOperationInput, type Wallet as Wallet, type WalletAdditionalSigner as WalletAdditionalSigner, type WalletAdditionalSignerItem as WalletAdditionalSignerItem, type WalletAPIRegisterAuthorizationKeyInput as WalletAPIRegisterAuthorizationKeyInput, type WalletAPIRevokeAuthorizationKeyInput as WalletAPIRevokeAuthorizationKeyInput, type WalletAsset as WalletAsset, type WalletAuthenticateRequestBody as WalletAuthenticateRequestBody, type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse, type WalletAuthorizationHeaders as WalletAuthorizationHeaders, type WalletBatchCreateInput as WalletBatchCreateInput, type WalletBatchCreateResponse as WalletBatchCreateResponse, type WalletBatchCreateResult as WalletBatchCreateResult, type WalletBatchItemInput as WalletBatchItemInput, type WalletChainType as WalletChainType, type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse, type WalletCustodian as WalletCustodian, type WalletEntropyType as WalletEntropyType, type WalletEthereumAsset as WalletEthereumAsset, type WalletExportRequestBody as WalletExportRequestBody, type WalletExportResponseBody as WalletExportResponseBody, type WalletImportInitResponse as WalletImportInitResponse, type WalletImportSupportedChains as WalletImportSupportedChains, type WalletImportSupportedEntropyTypes as WalletImportSupportedEntropyTypes, type WalletRevokeResponse as WalletRevokeResponse, type WalletRpcRequestBody as WalletRpcRequestBody, type WalletRpcResponse as WalletRpcResponse, type WalletSolanaAsset as WalletSolanaAsset, type WalletUpdateRequestBody as WalletUpdateRequestBody, type WalletsCursor as WalletsCursor, type WalletCreateParams as WalletCreateParams, type WalletUpdateParams as WalletUpdateParams, type WalletListParams as WalletListParams, type WalletExportParams as WalletExportParams, type WalletRawSignParams as WalletRawSignParams, type WalletRpcParams as WalletRpcParams, };
4286
+ export { type AccessListEntry as AccessListEntry, type AdditionalSignerInput as AdditionalSignerInput, type AdditionalSignerItemInput as AdditionalSignerItemInput, type Address as Address, type AdvancedSwapPlatformFee as AdvancedSwapPlatformFee, type AdvancedSwapRequestBody as AdvancedSwapRequestBody, type AdvancedSwapResponse as AdvancedSwapResponse, type AmountType as AmountType, type AuthorizationKeyDashboardResponse as AuthorizationKeyDashboardResponse, type AuthorizationKeyResponse as AuthorizationKeyResponse, type AuthorizationKeyRole as AuthorizationKeyRole, type CurveSigningChainType as CurveSigningChainType, type CurveType as CurveType, type CustodialWallet as CustodialWallet, type CustodialWalletChainType as CustodialWalletChainType, type CustodialWalletCreateInput as CustodialWalletCreateInput, type CustodialWalletProvider as CustodialWalletProvider, type CustomTokenTransferSource as CustomTokenTransferSource, type DeveloperFee as DeveloperFee, type EncryptedAuthorizationKey as EncryptedAuthorizationKey, type EncryptedBoundAuthenticateResponse as EncryptedBoundAuthenticateResponse, type EncryptedWalletAuthenticateResponse as EncryptedWalletAuthenticateResponse, type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput, type EthereumPersonalSignRpcInputParams as EthereumPersonalSignRpcInputParams, type EthereumPersonalSignRpcResponse as EthereumPersonalSignRpcResponse, type EthereumPersonalSignRpcResponseData as EthereumPersonalSignRpcResponseData, type EthereumRpcInput as EthereumRpcInput, type EthereumRpcResponse as EthereumRpcResponse, type EthereumSecp256k1SignRpcInput as EthereumSecp256k1SignRpcInput, type EthereumSecp256k1SignRpcInputParams as EthereumSecp256k1SignRpcInputParams, type EthereumSecp256k1SignRpcResponse as EthereumSecp256k1SignRpcResponse, type EthereumSecp256k1SignRpcResponseData as EthereumSecp256k1SignRpcResponseData, type EthereumSendCallsCall as EthereumSendCallsCall, type EthereumSendCallsRpcInput as EthereumSendCallsRpcInput, type EthereumSendCallsRpcInputParams as EthereumSendCallsRpcInputParams, type EthereumSendCallsRpcResponse as EthereumSendCallsRpcResponse, type EthereumSendCallsRpcResponseData as EthereumSendCallsRpcResponseData, type EthereumSendTransactionRpcInput as EthereumSendTransactionRpcInput, type EthereumSendTransactionRpcInputParams as EthereumSendTransactionRpcInputParams, type EthereumSendTransactionRpcResponse as EthereumSendTransactionRpcResponse, type EthereumSendTransactionRpcResponseData as EthereumSendTransactionRpcResponseData, type EthereumSign7702Authorization as EthereumSign7702Authorization, type EthereumSign7702AuthorizationRpcInput as EthereumSign7702AuthorizationRpcInput, type EthereumSign7702AuthorizationRpcInputParams as EthereumSign7702AuthorizationRpcInputParams, type EthereumSign7702AuthorizationRpcResponse as EthereumSign7702AuthorizationRpcResponse, type EthereumSign7702AuthorizationRpcResponseData as EthereumSign7702AuthorizationRpcResponseData, type EthereumSignTransactionRpcInput as EthereumSignTransactionRpcInput, type EthereumSignTransactionRpcInputParams as EthereumSignTransactionRpcInputParams, type EthereumSignTransactionRpcResponse as EthereumSignTransactionRpcResponse, type EthereumSignTransactionRpcResponseData as EthereumSignTransactionRpcResponseData, type EthereumSignTypedDataRpcInput as EthereumSignTypedDataRpcInput, type EthereumSignTypedDataRpcInputParams as EthereumSignTypedDataRpcInputParams, type EthereumSignTypedDataRpcResponse as EthereumSignTypedDataRpcResponse, type EthereumSignTypedDataRpcResponseData as EthereumSignTypedDataRpcResponseData, type EthereumSignUserOperationRpcInput as EthereumSignUserOperationRpcInput, type EthereumSignUserOperationRpcInputParams as EthereumSignUserOperationRpcInputParams, type EthereumSignUserOperationRpcResponse as EthereumSignUserOperationRpcResponse, type EthereumSignUserOperationRpcResponseData as EthereumSignUserOperationRpcResponseData, type EthereumTypedDataInput as EthereumTypedDataInput, type ExportPrivateKeyRpcInput as ExportPrivateKeyRpcInput, type ExportPrivateKeyRpcResponse as ExportPrivateKeyRpcResponse, type ExportSeedPhraseRpcInput as ExportSeedPhraseRpcInput, type ExportSeedPhraseRpcResponse as ExportSeedPhraseRpcResponse, type ExportType as ExportType, type ExtendedChainType as ExtendedChainType, type FeeConfiguration as FeeConfiguration, type FeeLineItem as FeeLineItem, type FirstClassChainType as FirstClassChainType, type Gas as Gas, type GetByWalletAddressRequestBody as GetByWalletAddressRequestBody, type HDInitInput as HDInitInput, type HDPath as HDPath, type HDSubmitInput as HDSubmitInput, type HpkeAeadAlgorithm as HpkeAeadAlgorithm, type HpkeEncryption as HpkeEncryption, type HpkeImportConfig as HpkeImportConfig, type Hex as Hex, type IntentBinding as IntentBinding, type NamedTokenTransferSource as NamedTokenTransferSource, type OutputWithPreviousTransactionData as OutputWithPreviousTransactionData, type PolicyInput as PolicyInput, type PrivateKeyExportInput as PrivateKeyExportInput, type PrivateKeyExportResponse as PrivateKeyExportResponse, type PrivateKeyInitInput as PrivateKeyInitInput, type PrivateKeySubmitInput as PrivateKeySubmitInput, type PrivyFee as PrivyFee, type Quantity as Quantity, type RawBoundAuthenticateResponse as RawBoundAuthenticateResponse, type RawSignBytesEncoding as RawSignBytesEncoding, type RawSignBytesHashFunction as RawSignBytesHashFunction, type RawSignBytesParams as RawSignBytesParams, type RawSignHashParams as RawSignHashParams, type RawSignInput as RawSignInput, type RawSignInputParams as RawSignInputParams, type RawSignResponse as RawSignResponse, type RawSignResponseData as RawSignResponseData, type RawWalletAuthenticateResponse as RawWalletAuthenticateResponse, type RecipientPublicKey as RecipientPublicKey, type RelayerFee as RelayerFee, type SeedPhraseExportInput as SeedPhraseExportInput, type SeedPhraseExportResponse as SeedPhraseExportResponse, type SignatureOptions as SignatureOptions, type SignatureType as SignatureType, type SigningAlgorithm as SigningAlgorithm, type SolanaRpcInput as SolanaRpcInput, type SolanaRpcResponse as SolanaRpcResponse, type SolanaSignAndSendTransactionRpcInput as SolanaSignAndSendTransactionRpcInput, type SolanaSignAndSendTransactionRpcInputParams as SolanaSignAndSendTransactionRpcInputParams, type SolanaSignAndSendTransactionRpcResponse as SolanaSignAndSendTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponseData as SolanaSignAndSendTransactionRpcResponseData, type SolanaSignMessageRpcInput as SolanaSignMessageRpcInput, type SolanaSignMessageRpcInputParams as SolanaSignMessageRpcInputParams, type SolanaSignMessageRpcResponse as SolanaSignMessageRpcResponse, type SolanaSignMessageRpcResponseData as SolanaSignMessageRpcResponseData, type SolanaSignTransactionRpcInput as SolanaSignTransactionRpcInput, type SolanaSignTransactionRpcInputParams as SolanaSignTransactionRpcInputParams, type SolanaSignTransactionRpcResponse as SolanaSignTransactionRpcResponse, type SolanaSignTransactionRpcResponseData as SolanaSignTransactionRpcResponseData, type SolanaWalletDerivationStrategy as SolanaWalletDerivationStrategy, type SparkBalance as SparkBalance, type SparkClaimStaticDepositRpcInput as SparkClaimStaticDepositRpcInput, type SparkClaimStaticDepositRpcInputParams as SparkClaimStaticDepositRpcInputParams, type SparkClaimStaticDepositRpcResponse as SparkClaimStaticDepositRpcResponse, type SparkClaimStaticDepositRpcResponseData as SparkClaimStaticDepositRpcResponseData, type SparkCoopExitFeeQuote as SparkCoopExitFeeQuote, type SparkCoopExitRequest as SparkCoopExitRequest, type SparkCreateLightningInvoiceRpcInput as SparkCreateLightningInvoiceRpcInput, type SparkCreateLightningInvoiceRpcInputParams as SparkCreateLightningInvoiceRpcInputParams, type SparkCreateLightningInvoiceRpcResponse as SparkCreateLightningInvoiceRpcResponse, type SparkCurrencyAmount as SparkCurrencyAmount, type SparkExitSpeed as SparkExitSpeed, type SparkGetBalanceRpcInput as SparkGetBalanceRpcInput, type SparkGetBalanceRpcResponse as SparkGetBalanceRpcResponse, type SparkGetClaimStaticDepositQuoteRpcInput as SparkGetClaimStaticDepositQuoteRpcInput, type SparkGetClaimStaticDepositQuoteRpcInputParams as SparkGetClaimStaticDepositQuoteRpcInputParams, type SparkGetClaimStaticDepositQuoteRpcResponse as SparkGetClaimStaticDepositQuoteRpcResponse, type SparkGetClaimStaticDepositQuoteRpcResponseData as SparkGetClaimStaticDepositQuoteRpcResponseData, type SparkGetStaticDepositAddressRpcInput as SparkGetStaticDepositAddressRpcInput, type SparkGetStaticDepositAddressRpcResponse as SparkGetStaticDepositAddressRpcResponse, type SparkGetStaticDepositAddressRpcResponseData as SparkGetStaticDepositAddressRpcResponseData, type SparkGetWithdrawalFeeQuoteRpcInput as SparkGetWithdrawalFeeQuoteRpcInput, type SparkGetWithdrawalFeeQuoteRpcInputParams as SparkGetWithdrawalFeeQuoteRpcInputParams, type SparkGetWithdrawalFeeQuoteRpcResponse as SparkGetWithdrawalFeeQuoteRpcResponse, type SparkLightningFee as SparkLightningFee, type SparkLightningReceiveRequest as SparkLightningReceiveRequest, type SparkLightningSendRequest as SparkLightningSendRequest, type SparkNetwork as SparkNetwork, type SparkOutputSelectionStrategy as SparkOutputSelectionStrategy, type SparkPayLightningInvoiceRpcInput as SparkPayLightningInvoiceRpcInput, type SparkPayLightningInvoiceRpcInputParams as SparkPayLightningInvoiceRpcInputParams, type SparkPayLightningInvoiceRpcResponse as SparkPayLightningInvoiceRpcResponse, type SparkRpcInput as SparkRpcInput, type SparkRpcResponse as SparkRpcResponse, type SparkSignMessageWithIdentityKeyRpcInput as SparkSignMessageWithIdentityKeyRpcInput, type SparkSignMessageWithIdentityKeyRpcInputParams as SparkSignMessageWithIdentityKeyRpcInputParams, type SparkSignMessageWithIdentityKeyRpcResponse as SparkSignMessageWithIdentityKeyRpcResponse, type SparkSignMessageWithIdentityKeyRpcResponseData as SparkSignMessageWithIdentityKeyRpcResponseData, type SparkSigningKeyshare as SparkSigningKeyshare, type SparkTokenBalance as SparkTokenBalance, type SparkTransfer as SparkTransfer, type SparkTransferLeaf as SparkTransferLeaf, type SparkTransferRpcInput as SparkTransferRpcInput, type SparkTransferRpcInputParams as SparkTransferRpcInputParams, type SparkTransferRpcResponse as SparkTransferRpcResponse, type SparkTransferTokensRpcInput as SparkTransferTokensRpcInput, type SparkTransferTokensRpcInputParams as SparkTransferTokensRpcInputParams, type SparkTransferTokensRpcResponse as SparkTransferTokensRpcResponse, type SparkTransferTokensRpcResponseData as SparkTransferTokensRpcResponseData, type SparkUserTokenMetadata as SparkUserTokenMetadata, type SparkWalletLeaf as SparkWalletLeaf, type SparkWithdrawRpcInput as SparkWithdrawRpcInput, type SparkWithdrawRpcInputParams as SparkWithdrawRpcInputParams, type SparkWithdrawRpcResponse as SparkWithdrawRpcResponse, type SuiCommandName as SuiCommandName, type SwapSubmissionStatus as SwapSubmissionStatus, type TempoAaAuthorization as TempoAaAuthorization, type TempoCall as TempoCall, type TempoFeePayerSignature as TempoFeePayerSignature, type TokenOutput as TokenOutput, type TokenTransferDestination as TokenTransferDestination, type TokenTransferSource as TokenTransferSource, type TotalFeeConfigurationBps as TotalFeeConfigurationBps, type TransactionChainNameInput as TransactionChainNameInput, type TransactionDetail as TransactionDetail, type TransactionTokenAddressInput as TransactionTokenAddressInput, type TransferQuoteRequestBody as TransferQuoteRequestBody, type TransferQuoteResponse as TransferQuoteResponse, type TransferReceivedTransactionDetail as TransferReceivedTransactionDetail, type TransferRequestBody as TransferRequestBody, type TransferSentTransactionDetail as TransferSentTransactionDetail, type TronContract as TronContract, type TronRawDataForSend as TronRawDataForSend, type TronRawDataForSign as TronRawDataForSign, type TronRpcInput as TronRpcInput, type TronRpcResponse as TronRpcResponse, type TronSendTransactionRpcInput as TronSendTransactionRpcInput, type TronSendTransactionRpcInputParams as TronSendTransactionRpcInputParams, type TronSendTransactionRpcResponse as TronSendTransactionRpcResponse, type TronSendTransactionRpcResponseData as TronSendTransactionRpcResponseData, type TronSignTransactionRpcInput as TronSignTransactionRpcInput, type TronSignTransactionRpcInputParams as TronSignTransactionRpcInputParams, type TronSignTransactionRpcResponse as TronSignTransactionRpcResponse, type TronSignTransactionRpcResponseData as TronSignTransactionRpcResponseData, type TronTransferContract as TronTransferContract, type TronTriggerSmartContract as TronTriggerSmartContract, type TypedDataDomainInputParams as TypedDataDomainInputParams, type TypedDataTypeFieldInput as TypedDataTypeFieldInput, type TypedDataTypesInputParams as TypedDataTypesInputParams, type UnsignedEthereumTransaction as UnsignedEthereumTransaction, type UnsignedStandardEthereumTransaction as UnsignedStandardEthereumTransaction, type UnsignedTempoTransaction as UnsignedTempoTransaction, type UserOperationInput as UserOperationInput, type UserSigningKeyBinding as UserSigningKeyBinding, type Wallet as Wallet, type WalletAdditionalSigner as WalletAdditionalSigner, type WalletAdditionalSignerItem as WalletAdditionalSignerItem, type WalletAPIRegisterAuthorizationKeyInput as WalletAPIRegisterAuthorizationKeyInput, type WalletAPIRevokeAuthorizationKeyInput as WalletAPIRevokeAuthorizationKeyInput, type WalletAsset as WalletAsset, type WalletAssetChainNameInput as WalletAssetChainNameInput, type WalletAuthenticateBoundEncryptedRequestBody as WalletAuthenticateBoundEncryptedRequestBody, type WalletAuthenticateBoundRequestBody as WalletAuthenticateBoundRequestBody, type WalletAuthenticateBoundUnencryptedRequestBody as WalletAuthenticateBoundUnencryptedRequestBody, type WalletAuthenticateIntentsResponse as WalletAuthenticateIntentsResponse, type WalletAuthenticateRequestBody as WalletAuthenticateRequestBody, type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse, type WalletAuthorizationHeaders as WalletAuthorizationHeaders, type WalletBatchCreateInput as WalletBatchCreateInput, type WalletBatchCreateResponse as WalletBatchCreateResponse, type WalletBatchCreateResult as WalletBatchCreateResult, type WalletBatchItemInput as WalletBatchItemInput, type WalletChainType as WalletChainType, type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse, type WalletCustodian as WalletCustodian, type WalletEntropyType as WalletEntropyType, type WalletEthereumAsset as WalletEthereumAsset, type WalletExportRequestBody as WalletExportRequestBody, type WalletExportResponseBody as WalletExportResponseBody, type WalletImportInitResponse as WalletImportInitResponse, type WalletImportSupportedChains as WalletImportSupportedChains, type WalletImportSupportedEntropyTypes as WalletImportSupportedEntropyTypes, type WalletRevokeResponse as WalletRevokeResponse, type WalletRpcRequestBody as WalletRpcRequestBody, type WalletRpcResponse as WalletRpcResponse, type WalletSolanaAsset as WalletSolanaAsset, type WalletTronAsset as WalletTronAsset, type WalletUpdateRequestBody as WalletUpdateRequestBody, type WalletsCursor as WalletsCursor, type WalletCreateParams as WalletCreateParams, type WalletUpdateParams as WalletUpdateParams, type WalletListParams as WalletListParams, type WalletExportParams as WalletExportParams, type WalletGetParams as WalletGetParams, type WalletRawSignParams as WalletRawSignParams, type WalletRpcParams as WalletRpcParams, };
3539
4287
  export { Balance as Balance, type BalanceGetResponse as BalanceGetResponse, type BalanceGetParams as BalanceGetParams, };
3540
4288
  export { Transactions as Transactions, type TransactionGetResponse as TransactionGetResponse, type TransactionGetParams as TransactionGetParams, };
4289
+ export { Actions as Actions, type AaveVaultDetails as AaveVaultDetails, type CustodianTransactionWalletActionStep as CustodianTransactionWalletActionStep, type CustodianTransactionWalletActionStepStatus as CustodianTransactionWalletActionStepStatus, type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep, type EvmUserOperationEntrypointVersion as EvmUserOperationEntrypointVersion, type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep, type EvmWalletActionStepStatus as EvmWalletActionStepStatus, type EarnAsset as EarnAsset, type EarnDepositActionResponse as EarnDepositActionResponse, type EarnDepositRequestBody as EarnDepositRequestBody, type EarnFeeCollectActionResponse as EarnFeeCollectActionResponse, type EarnFeeCollectRequestBody as EarnFeeCollectRequestBody, type EarnIncentiveClaimActionResponse as EarnIncentiveClaimActionResponse, type EarnIncentiveClaimRequestBody as EarnIncentiveClaimRequestBody, type EarnIncentiveRewardEntry as EarnIncentiveRewardEntry, type EarnIncentiveRewardsQuery as EarnIncentiveRewardsQuery, type EarnIncentiveRewardsResponse as EarnIncentiveRewardsResponse, type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry, type EarnWithdrawActionResponse as EarnWithdrawActionResponse, type EarnWithdrawRequestBody as EarnWithdrawRequestBody, type EthereumEarnPositionQuery as EthereumEarnPositionQuery, type EthereumEarnPositionResponse as EthereumEarnPositionResponse, type EthereumEarnProvider as EthereumEarnProvider, type EthereumEarnVaultDetailsResponse as EthereumEarnVaultDetailsResponse, type ExternalTransactionWalletActionStep as ExternalTransactionWalletActionStep, type ExternalTransactionWalletActionStepStatus as ExternalTransactionWalletActionStepStatus, type FailureReason as FailureReason, type ListWalletActionsQuery as ListWalletActionsQuery, type ListWalletActionsResponse as ListWalletActionsResponse, type MorphoVaultDetails as MorphoVaultDetails, type SvmTransactionWalletActionStep as SvmTransactionWalletActionStep, type SvmWalletActionStepStatus as SvmWalletActionStepStatus, type SwapActionResponse as SwapActionResponse, type TvmTransactionWalletActionStep as TvmTransactionWalletActionStep, type TvmWalletActionStepStatus as TvmWalletActionStepStatus, type TransferActionResponse as TransferActionResponse, type VedaVaultDetails as VedaVaultDetails, type WalletActionInclude as WalletActionInclude, type WalletActionResponse as WalletActionResponse, type WalletActionStatus as WalletActionStatus, type WalletActionStep as WalletActionStep, type WalletActionStepType as WalletActionStepType, type WalletActionType as WalletActionType, };
3541
4290
  }
3542
4291
  //# sourceMappingURL=wallets.d.mts.map