@privy-io/api-types 0.15.0 → 0.16.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 (125) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/client.d.mts +29 -29
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +29 -29
  5. package/client.d.ts.map +1 -1
  6. package/client.js +11 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +11 -3
  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 +21 -5
  24. package/resources/client-auth.d.mts.map +1 -1
  25. package/resources/client-auth.d.ts +21 -5
  26. package/resources/client-auth.d.ts.map +1 -1
  27. package/resources/index.d.mts +14 -14
  28. package/resources/index.d.mts.map +1 -1
  29. package/resources/index.d.ts +14 -14
  30. package/resources/index.d.ts.map +1 -1
  31. package/resources/index.js.map +1 -1
  32. package/resources/index.mjs.map +1 -1
  33. package/resources/intents.d.mts +65 -79
  34. package/resources/intents.d.mts.map +1 -1
  35. package/resources/intents.d.ts +65 -79
  36. package/resources/intents.d.ts.map +1 -1
  37. package/resources/intents.js.map +1 -1
  38. package/resources/intents.mjs.map +1 -1
  39. package/resources/key-quorums.d.mts +9 -8
  40. package/resources/key-quorums.d.mts.map +1 -1
  41. package/resources/key-quorums.d.ts +9 -8
  42. package/resources/key-quorums.d.ts.map +1 -1
  43. package/resources/kraken-embed.d.mts +102 -205
  44. package/resources/kraken-embed.d.mts.map +1 -1
  45. package/resources/kraken-embed.d.ts +102 -205
  46. package/resources/kraken-embed.d.ts.map +1 -1
  47. package/resources/kraken-embed.js.map +1 -1
  48. package/resources/kraken-embed.mjs.map +1 -1
  49. package/resources/onramps.d.mts +50 -48
  50. package/resources/onramps.d.mts.map +1 -1
  51. package/resources/onramps.d.ts +50 -48
  52. package/resources/onramps.d.ts.map +1 -1
  53. package/resources/policies.d.mts +47 -18
  54. package/resources/policies.d.mts.map +1 -1
  55. package/resources/policies.d.ts +47 -18
  56. package/resources/policies.d.ts.map +1 -1
  57. package/resources/shared.d.mts +15 -3
  58. package/resources/shared.d.mts.map +1 -1
  59. package/resources/shared.d.ts +15 -3
  60. package/resources/shared.d.ts.map +1 -1
  61. package/resources/swaps.d.mts +3 -2
  62. package/resources/swaps.d.mts.map +1 -1
  63. package/resources/swaps.d.ts +3 -2
  64. package/resources/swaps.d.ts.map +1 -1
  65. package/resources/wallet-actions.d.mts +134 -21
  66. package/resources/wallet-actions.d.mts.map +1 -1
  67. package/resources/wallet-actions.d.ts +134 -21
  68. package/resources/wallet-actions.d.ts.map +1 -1
  69. package/resources/wallets/balance.d.mts +8 -4
  70. package/resources/wallets/balance.d.mts.map +1 -1
  71. package/resources/wallets/balance.d.ts +8 -4
  72. package/resources/wallets/balance.d.ts.map +1 -1
  73. package/resources/wallets/index.d.mts +1 -1
  74. package/resources/wallets/index.d.mts.map +1 -1
  75. package/resources/wallets/index.d.ts +1 -1
  76. package/resources/wallets/index.d.ts.map +1 -1
  77. package/resources/wallets/index.js.map +1 -1
  78. package/resources/wallets/index.mjs.map +1 -1
  79. package/resources/wallets/transactions.d.mts +5 -1
  80. package/resources/wallets/transactions.d.mts.map +1 -1
  81. package/resources/wallets/transactions.d.ts +5 -1
  82. package/resources/wallets/transactions.d.ts.map +1 -1
  83. package/resources/wallets/wallets.d.mts +603 -87
  84. package/resources/wallets/wallets.d.mts.map +1 -1
  85. package/resources/wallets/wallets.d.ts +603 -87
  86. package/resources/wallets/wallets.d.ts.map +1 -1
  87. package/resources/wallets/wallets.js +15 -2
  88. package/resources/wallets/wallets.js.map +1 -1
  89. package/resources/wallets/wallets.mjs +15 -2
  90. package/resources/wallets/wallets.mjs.map +1 -1
  91. package/resources/webhooks.d.mts +241 -54
  92. package/resources/webhooks.d.mts.map +1 -1
  93. package/resources/webhooks.d.ts +241 -54
  94. package/resources/webhooks.d.ts.map +1 -1
  95. package/resources/webhooks.js.map +1 -1
  96. package/resources/webhooks.mjs.map +1 -1
  97. package/resources/yield.d.mts +26 -27
  98. package/resources/yield.d.mts.map +1 -1
  99. package/resources/yield.d.ts +26 -27
  100. package/resources/yield.d.ts.map +1 -1
  101. package/src/client.ts +163 -17
  102. package/src/resources/accounts.ts +7 -1
  103. package/src/resources/aggregations.ts +16 -3
  104. package/src/resources/apps.ts +60 -30
  105. package/src/resources/client-auth.ts +22 -4
  106. package/src/resources/index.ts +72 -3
  107. package/src/resources/intents.ts +73 -91
  108. package/src/resources/key-quorums.ts +11 -9
  109. package/src/resources/kraken-embed.ts +386 -482
  110. package/src/resources/onramps.ts +69 -54
  111. package/src/resources/policies.ts +66 -16
  112. package/src/resources/shared.ts +18 -2
  113. package/src/resources/swaps.ts +3 -2
  114. package/src/resources/wallet-actions.ts +182 -20
  115. package/src/resources/wallets/balance.ts +13 -1
  116. package/src/resources/wallets/index.ts +34 -0
  117. package/src/resources/wallets/transactions.ts +6 -0
  118. package/src/resources/wallets/wallets.ts +782 -94
  119. package/src/resources/webhooks.ts +293 -57
  120. package/src/resources/yield.ts +29 -30
  121. package/src/version.ts +1 -1
  122. package/version.d.mts +1 -1
  123. package/version.d.ts +1 -1
  124. package/version.js +1 -1
  125. package/version.mjs +1 -1
@@ -49,6 +49,17 @@ export declare class Wallets extends APIResource {
49
49
  * ```
50
50
  */
51
51
  list(query?: WalletListParams | null | undefined, options?: RequestOptions): PagePromise<WalletsCursor, Wallet>;
52
+ /**
53
+ * Archives a wallet, preventing it from being used in any write or signing
54
+ * operations. Archived wallets are hidden from list endpoints by default. Returns
55
+ * 404 if the wallet does not exist or is already archived.
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * const wallet = await client.wallets.archive('wallet_id');
60
+ * ```
61
+ */
62
+ archive(walletID: string, options?: RequestOptions): APIPromise<Wallet>;
52
63
  /**
53
64
  * Export a wallet's private key
54
65
  *
@@ -71,7 +82,7 @@ export declare class Wallets extends APIResource {
71
82
  * const wallet = await client.wallets.get('wallet_id');
72
83
  * ```
73
84
  */
74
- get(walletID: string, options?: RequestOptions): APIPromise<Wallet>;
85
+ get(walletID: string, query?: WalletGetParams | null | undefined, options?: RequestOptions): APIPromise<Wallet>;
75
86
  /**
76
87
  * Sign a message with a wallet by wallet ID.
77
88
  *
@@ -114,6 +125,13 @@ export declare class Wallets extends APIResource {
114
125
  rpc(walletID: string, params: WalletRpcParams, options?: RequestOptions): APIPromise<WalletRpcResponse>;
115
126
  }
116
127
  export type WalletsCursor = Cursor<Wallet>;
128
+ /**
129
+ * An entry in an EIP-2930 access list, specifying an address and its storage keys.
130
+ */
131
+ export interface AccessListEntry {
132
+ address: string;
133
+ storage_keys: Array<Hex>;
134
+ }
117
135
  /**
118
136
  * Additional signers for the wallet.
119
137
  */
@@ -135,6 +153,117 @@ export interface AdditionalSignerItemInput {
135
153
  * A blockchain wallet address (Ethereum or Solana).
136
154
  */
137
155
  export type Address = string;
156
+ /**
157
+ * Platform fee collected on a swap.
158
+ */
159
+ export interface AdvancedSwapPlatformFee {
160
+ /**
161
+ * Token the fee was taken from (output token in v1).
162
+ */
163
+ token: string;
164
+ /**
165
+ * Fee amount in the smallest unit of the fee token.
166
+ */
167
+ amount: string;
168
+ /**
169
+ * Fee in basis points.
170
+ */
171
+ bps: number;
172
+ }
173
+ /**
174
+ * Request body for initiating a synchronous Solana token swap through an embedded
175
+ * wallet.
176
+ */
177
+ export interface AdvancedSwapRequestBody {
178
+ /**
179
+ * Amount in the smallest unit of the input token (e.g. lamports for SOL).
180
+ */
181
+ amount: string;
182
+ /**
183
+ * Input token address (base58 mint address).
184
+ */
185
+ input_token: string;
186
+ /**
187
+ * Output token address (base58 mint address).
188
+ */
189
+ output_token: string;
190
+ /**
191
+ * CAIP-2 chain identifier. Defaults to Solana mainnet.
192
+ */
193
+ caip2?: string;
194
+ /**
195
+ * When true, skip transaction submission (quote + sign only). The signed
196
+ * transaction is still returned.
197
+ */
198
+ dry_run?: boolean;
199
+ /**
200
+ * Token account (base58) to receive the platform fee. Must exist on-chain for the
201
+ * output token.
202
+ */
203
+ fee_recipient?: string;
204
+ /**
205
+ * Platform fee in basis points, taken from the output token. Requires
206
+ * fee_recipient when > 0.
207
+ */
208
+ platform_fee_bps?: number;
209
+ /**
210
+ * Max slippage tolerance in basis points (0-10000), or "auto" for
211
+ * provider-determined. Defaults to "auto".
212
+ */
213
+ slippage_bps?: number | 'auto';
214
+ }
215
+ /**
216
+ * Response from the synchronous Solana swap endpoint.
217
+ */
218
+ export interface AdvancedSwapResponse {
219
+ /**
220
+ * Input amount consumed (smallest unit).
221
+ */
222
+ in_amount: string;
223
+ /**
224
+ * Input token address (base58).
225
+ */
226
+ input_token: string;
227
+ /**
228
+ * Minimum output amount guaranteed by slippage tolerance (smallest unit).
229
+ */
230
+ min_out_amount: string;
231
+ /**
232
+ * Expected output amount before slippage (smallest unit).
233
+ */
234
+ out_amount: string;
235
+ /**
236
+ * Output token address (base58).
237
+ */
238
+ output_token: string;
239
+ /**
240
+ * Which aggregator fulfilled the swap (e.g. "dflow").
241
+ */
242
+ provider: string;
243
+ /**
244
+ * Fully signed transaction (base64). Callers can re-submit to any Solana RPC for
245
+ * redundancy.
246
+ */
247
+ signed_transaction: string;
248
+ /**
249
+ * Slippage applied in basis points. Reflects the resolved value if "auto" was
250
+ * requested.
251
+ */
252
+ slippage_bps: number;
253
+ /**
254
+ * "accepted" if the network has acknowledged the transaction, "rejected" if the
255
+ * network refused it, "skipped" if dry_run was set. Not an onchain confirmation.
256
+ */
257
+ submission_status: SwapSubmissionStatus;
258
+ /**
259
+ * Solana transaction signature (base58).
260
+ */
261
+ transaction_hash: string;
262
+ /**
263
+ * Platform fee collected on a swap.
264
+ */
265
+ platform_fee?: AdvancedSwapPlatformFee;
266
+ }
138
267
  /**
139
268
  * Whether the amount refers to the input token or output token.
140
269
  */
@@ -190,7 +319,10 @@ export interface CustodialWallet {
190
319
  * Information about the custodian managing this wallet.
191
320
  */
192
321
  custody: WalletCustodian;
193
- owner_id: string | null;
322
+ /**
323
+ * A unique identifier for a key quorum.
324
+ */
325
+ owner_id: SharedAPI.KeyQuorumID | null;
194
326
  /**
195
327
  * Additional signers for the wallet.
196
328
  */
@@ -242,9 +374,10 @@ export type CustodialWalletProvider = 'bridge';
242
374
  */
243
375
  export interface CustomTokenTransferSource {
244
376
  /**
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.
377
+ * @deprecated Amount as a decimal string in the token's standard unit (e.g. "1.5"
378
+ * for 1.5 USDC, "0.01" for 0.01 ETH). For exact_input, specifies the amount to
379
+ * send. Not in the smallest on-chain unit (wei, lamports, etc.). Maximum 100
380
+ * characters.
248
381
  */
249
382
  amount: string;
250
383
  /**
@@ -270,6 +403,52 @@ export interface DeveloperFee {
270
403
  type: 'developer';
271
404
  recipient?: string;
272
405
  }
406
+ /**
407
+ * HPKE-encrypted authorization key with encapsulated key and ciphertext.
408
+ */
409
+ export interface EncryptedAuthorizationKey {
410
+ /**
411
+ * The encrypted authorization key corresponding to the user's current
412
+ * authentication session.
413
+ */
414
+ ciphertext: string;
415
+ /**
416
+ * Base64-encoded ephemeral public key used in the HPKE encryption process.
417
+ * Required for decryption.
418
+ */
419
+ encapsulated_key: string;
420
+ /**
421
+ * The encryption type used. Currently only supports HPKE.
422
+ */
423
+ encryption_type: 'HPKE';
424
+ }
425
+ /**
426
+ * Encrypted response from bound wallet authentication, with bindings.
427
+ */
428
+ export interface EncryptedBoundAuthenticateResponse {
429
+ bindings: Array<UserSigningKeyBinding>;
430
+ /**
431
+ * HPKE-encrypted authorization key with encapsulated key and ciphertext.
432
+ */
433
+ encrypted_authorization_key: EncryptedAuthorizationKey;
434
+ expires_at: number;
435
+ wallets: Array<Wallet>;
436
+ }
437
+ /**
438
+ * The response from authenticating a wallet with HPKE encryption, containing an
439
+ * encrypted authorization key and wallet data.
440
+ */
441
+ export interface EncryptedWalletAuthenticateResponse {
442
+ /**
443
+ * HPKE-encrypted authorization key with encapsulated key and ciphertext.
444
+ */
445
+ encrypted_authorization_key: EncryptedAuthorizationKey;
446
+ /**
447
+ * The expiration time of the authorization key in milliseconds since the epoch.
448
+ */
449
+ expires_at: number;
450
+ wallets: Array<Wallet>;
451
+ }
273
452
  /**
274
453
  * Executes the EVM `personal_sign` RPC (EIP-191) to sign a message.
275
454
  */
@@ -280,7 +459,16 @@ export interface EthereumPersonalSignRpcInput {
280
459
  */
281
460
  params: EthereumPersonalSignRpcInputParams;
282
461
  address?: string;
462
+ /**
463
+ * A valid CAIP-2 chain ID (e.g. 'eip155:1').
464
+ */
465
+ caip2?: AppsAPI.Caip2;
283
466
  chain_type?: 'ethereum';
467
+ /**
468
+ * Options controlling signature production for personal_sign and
469
+ * eth_signTypedData_v4.
470
+ */
471
+ signature_options?: SignatureOptions;
284
472
  wallet_id?: string;
285
473
  }
286
474
  /**
@@ -616,7 +804,16 @@ export interface EthereumSignTypedDataRpcInput {
616
804
  */
617
805
  params: EthereumSignTypedDataRpcInputParams;
618
806
  address?: string;
807
+ /**
808
+ * A valid CAIP-2 chain ID (e.g. 'eip155:1').
809
+ */
810
+ caip2?: AppsAPI.Caip2;
619
811
  chain_type?: 'ethereum';
812
+ /**
813
+ * Options controlling signature production for personal_sign and
814
+ * eth_signTypedData_v4.
815
+ */
816
+ signature_options?: SignatureOptions;
620
817
  wallet_id?: string;
621
818
  }
622
819
  /**
@@ -805,6 +1002,11 @@ export interface GetByWalletAddressRequestBody {
805
1002
  * A blockchain wallet address (Ethereum or Solana).
806
1003
  */
807
1004
  address: Address;
1005
+ /**
1006
+ * Include archived wallets in lookup. Defaults to false (archived wallets return
1007
+ * 404).
1008
+ */
1009
+ include_archived?: boolean;
808
1010
  }
809
1011
  /**
810
1012
  * The input for HD wallets.
@@ -815,8 +1017,8 @@ export interface HDInitInput {
815
1017
  */
816
1018
  address: string;
817
1019
  /**
818
- * The chain type of the wallet to import. Currently supports `ethereum` and
819
- * `solana`.
1020
+ * The chain type of the wallet to import. Supports `ethereum`, `solana`,
1021
+ * `stellar`, `tron`, `sui`, and `aptos`.
820
1022
  */
821
1023
  chain_type: WalletImportSupportedChains;
822
1024
  /**
@@ -845,8 +1047,8 @@ export interface HDSubmitInput {
845
1047
  */
846
1048
  address: string;
847
1049
  /**
848
- * The chain type of the wallet to import. Currently supports `ethereum` and
849
- * `solana`.
1050
+ * The chain type of the wallet to import. Supports `ethereum`, `solana`,
1051
+ * `stellar`, `tron`, `sui`, and `aptos`.
850
1052
  */
851
1053
  chain_type: WalletImportSupportedChains;
852
1054
  /**
@@ -911,15 +1113,23 @@ export interface HpkeImportConfig {
911
1113
  * bytes).
912
1114
  */
913
1115
  export type Hex = string;
1116
+ /**
1117
+ * A binding that scopes a user signing key to a specific intent.
1118
+ */
1119
+ export interface IntentBinding {
1120
+ intentId: string;
1121
+ type: 'intent';
1122
+ }
914
1123
  /**
915
1124
  * Source for a transfer identified by a named asset (e.g. "usdc", "eth"). Use this
916
1125
  * variant for first-class assets maintained by Privy.
917
1126
  */
918
1127
  export interface NamedTokenTransferSource {
919
1128
  /**
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.
1129
+ * @deprecated Amount as a decimal string in the token's standard unit (e.g. "1.5"
1130
+ * for 1.5 USDC, "0.01" for 0.01 ETH). For exact_input, specifies the amount to
1131
+ * send. Not in the smallest on-chain unit (wei, lamports, etc.). Maximum 100
1132
+ * characters.
923
1133
  */
924
1134
  amount: string;
925
1135
  /**
@@ -989,8 +1199,8 @@ export interface PrivateKeyInitInput {
989
1199
  */
990
1200
  address: string;
991
1201
  /**
992
- * The chain type of the wallet to import. Currently supports `ethereum` and
993
- * `solana`.
1202
+ * The chain type of the wallet to import. Supports `ethereum`, `solana`,
1203
+ * `stellar`, `tron`, `sui`, and `aptos`.
994
1204
  */
995
1205
  chain_type: WalletImportSupportedChains;
996
1206
  /**
@@ -1008,8 +1218,8 @@ export interface PrivateKeySubmitInput {
1008
1218
  */
1009
1219
  address: string;
1010
1220
  /**
1011
- * The chain type of the wallet to import. Currently supports `ethereum` and
1012
- * `solana`.
1221
+ * The chain type of the wallet to import. Supports `ethereum`, `solana`,
1222
+ * `stellar`, `tron`, `sui`, and `aptos`.
1013
1223
  */
1014
1224
  chain_type: WalletImportSupportedChains;
1015
1225
  /**
@@ -1049,6 +1259,15 @@ export interface PrivyFee {
1049
1259
  * non-negative integer.
1050
1260
  */
1051
1261
  export type Quantity = Hex | number;
1262
+ /**
1263
+ * Unencrypted response from bound wallet authentication, with bindings.
1264
+ */
1265
+ export interface RawBoundAuthenticateResponse {
1266
+ authorization_key: string;
1267
+ bindings: Array<UserSigningKeyBinding>;
1268
+ expires_at: number;
1269
+ wallets: Array<Wallet>;
1270
+ }
1052
1271
  /**
1053
1272
  * Encoding scheme for bytes in the `raw_sign` RPC.
1054
1273
  */
@@ -1119,6 +1338,21 @@ export interface RawSignResponseData {
1119
1338
  */
1120
1339
  signature: Hex;
1121
1340
  }
1341
+ /**
1342
+ * The response from authenticating a wallet without encryption, containing a raw
1343
+ * authorization key and wallet data.
1344
+ */
1345
+ export interface RawWalletAuthenticateResponse {
1346
+ /**
1347
+ * The raw authorization key data.
1348
+ */
1349
+ authorization_key: string;
1350
+ /**
1351
+ * The expiration time of the authorization key in milliseconds since the epoch.
1352
+ */
1353
+ expires_at: number;
1354
+ wallets: Array<Wallet>;
1355
+ }
1122
1356
  /**
1123
1357
  * The recipient public key for HPKE encryption, in PEM or DER (base64-encoded)
1124
1358
  * format.
@@ -1166,6 +1400,24 @@ export interface SeedPhraseExportResponse {
1166
1400
  */
1167
1401
  encryption_type: HpkeEncryption;
1168
1402
  }
1403
+ /**
1404
+ * Options controlling signature production for personal_sign and
1405
+ * eth_signTypedData_v4.
1406
+ */
1407
+ export interface SignatureOptions {
1408
+ /**
1409
+ * The type of cryptographic signature to produce. Use "ecdsa" for standard ECDSA
1410
+ * signatures, or "erc1271" for ERC-1271 compliant signatures for smart account
1411
+ * wallets.
1412
+ */
1413
+ type: SignatureType;
1414
+ }
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
+ export type SignatureType = 'ecdsa' | 'erc1271';
1169
1421
  /**
1170
1422
  * The signing algorithm used by the wallet.
1171
1423
  */
@@ -1766,6 +2018,11 @@ export interface SparkWalletLeaf {
1766
2018
  * SUI transaction commands allowlist for raw_sign endpoint policy evaluation
1767
2019
  */
1768
2020
  export type SuiCommandName = 'TransferObjects' | 'SplitCoins' | 'MergeCoins';
2021
+ /**
2022
+ * "accepted" if the network has acknowledged the transaction, "rejected" if the
2023
+ * network refused it, "skipped" if dry_run was set. Not an onchain confirmation.
2024
+ */
2025
+ export type SwapSubmissionStatus = 'accepted' | 'rejected' | 'skipped';
1769
2026
  /**
1770
2027
  * An AA authorization for Tempo transactions with P256/WebAuthn signatures.
1771
2028
  */
@@ -1894,6 +2151,12 @@ export interface TransferQuoteRequestBody {
1894
2151
  * (named) or `asset_address` (custom), not both.
1895
2152
  */
1896
2153
  source: TokenTransferSource;
2154
+ /**
2155
+ * Amount as a decimal string in the token's standard unit (e.g. "1.5" for 1.5
2156
+ * USDC). For exact_input, the amount to send. For exact_output, the exact amount
2157
+ * to receive. Takes precedence over source.amount when both are provided.
2158
+ */
2159
+ amount?: string;
1897
2160
  /**
1898
2161
  * Whether the amount refers to the input token or output token.
1899
2162
  */
@@ -1903,7 +2166,8 @@ export interface TransferQuoteRequestBody {
1903
2166
  */
1904
2167
  fee_configuration?: FeeConfiguration;
1905
2168
  /**
1906
- * Maximum allowed slippage in basis points (1 bps = 0.01%).
2169
+ * Maximum allowed slippage in basis points (1 bps = 0.01%). Only applicable for
2170
+ * cross-chain or cross-asset transfers; omit to use the provider default.
1907
2171
  */
1908
2172
  slippage_bps?: number;
1909
2173
  }
@@ -1917,15 +2181,22 @@ export interface TransferQuoteResponse {
1917
2181
  */
1918
2182
  destination: TokenTransferDestination;
1919
2183
  /**
1920
- * Estimated fees in USD
2184
+ * Estimated fees in USD for the transfer. Only present for cross-chain transfers.
1921
2185
  */
1922
2186
  estimated_fees: Array<FeeLineItem>;
1923
2187
  /**
1924
- * Estimated output amount in decimals
2188
+ * Estimated input amount in decimals. For exact_input, this equals source.amount.
2189
+ * For exact_output, this is the estimated amount the sender needs to provide.
2190
+ */
2191
+ estimated_input_amount: string;
2192
+ /**
2193
+ * Estimated output amount in decimals. For exact_input, this is an estimate
2194
+ * subject to slippage. For exact_output, this is the guaranteed exact amount to be
2195
+ * received.
1925
2196
  */
1926
2197
  estimated_output_amount: string;
1927
2198
  /**
1928
- * Quote expiry as unix timestamp (seconds)
2199
+ * Quote expiry as Unix timestamp (seconds).
1929
2200
  */
1930
2201
  expires_at: number;
1931
2202
  /**
@@ -1947,8 +2218,8 @@ export interface TransferQuoteResponse {
1947
2218
  * Details for a received transfer transaction.
1948
2219
  */
1949
2220
  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';
2221
+ asset: 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
2222
+ chain: 'ethereum' | 'arbitrum' | 'avalanche' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'avalanche_fuji' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
1952
2223
  display_values: {
1953
2224
  [key: string]: string;
1954
2225
  };
@@ -1974,6 +2245,12 @@ export interface TransferRequestBody {
1974
2245
  * (named) or `asset_address` (custom), not both.
1975
2246
  */
1976
2247
  source: TokenTransferSource;
2248
+ /**
2249
+ * Amount as a decimal string in the token's standard unit (e.g. "1.5" for 1.5
2250
+ * USDC). For exact_input, the amount to send. For exact_output, the exact amount
2251
+ * to receive. Takes precedence over source.amount when both are provided.
2252
+ */
2253
+ amount?: string;
1977
2254
  /**
1978
2255
  * Whether the amount refers to the input token or output token.
1979
2256
  */
@@ -1983,7 +2260,8 @@ export interface TransferRequestBody {
1983
2260
  */
1984
2261
  fee_configuration?: FeeConfiguration;
1985
2262
  /**
1986
- * Maximum allowed slippage in basis points (1 bps = 0.01%).
2263
+ * Maximum allowed slippage in basis points (1 bps = 0.01%). Only applicable for
2264
+ * cross-chain or cross-asset transfers; omit to use the provider default.
1987
2265
  */
1988
2266
  slippage_bps?: number;
1989
2267
  }
@@ -1991,8 +2269,8 @@ export interface TransferRequestBody {
1991
2269
  * Details for a sent transfer transaction.
1992
2270
  */
1993
2271
  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';
2272
+ asset: 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
2273
+ chain: 'ethereum' | 'arbitrum' | 'avalanche' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'avalanche_fuji' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
1996
2274
  display_values: {
1997
2275
  [key: string]: string;
1998
2276
  };
@@ -2004,6 +2282,168 @@ export interface TransferSentTransactionDetail {
2004
2282
  sender_privy_user_id: string | null;
2005
2283
  type: 'transfer_sent';
2006
2284
  }
2285
+ /**
2286
+ * A Tron contract, discriminated by type. Supported types: TransferContract,
2287
+ * TriggerSmartContract.
2288
+ */
2289
+ export type TronContract = TronTransferContract | TronTriggerSmartContract;
2290
+ /**
2291
+ * Tron raw_data for tron_sendTransaction. Block reference fields are optional;
2292
+ * Privy fetches fresh values if omitted.
2293
+ */
2294
+ export interface TronRawDataForSend {
2295
+ contract: Array<TronContract>;
2296
+ data?: string;
2297
+ expiration?: number;
2298
+ fee_limit?: number;
2299
+ ref_block_bytes?: string;
2300
+ ref_block_hash?: string;
2301
+ timestamp?: number;
2302
+ }
2303
+ /**
2304
+ * Tron raw_data for tron_signTransaction. Block reference fields are required;
2305
+ * caller is responsible for fetching them.
2306
+ */
2307
+ export interface TronRawDataForSign {
2308
+ contract: Array<TronContract>;
2309
+ expiration: number;
2310
+ ref_block_bytes: string;
2311
+ ref_block_hash: string;
2312
+ data?: string;
2313
+ fee_limit?: number;
2314
+ timestamp?: number;
2315
+ }
2316
+ /**
2317
+ * Request body for Tron wallet RPC operations, discriminated by method.
2318
+ */
2319
+ export type TronRpcInput = TronSignTransactionRpcInput | TronSendTransactionRpcInput;
2320
+ /**
2321
+ * Response body for Tron wallet RPC operations, discriminated by method.
2322
+ */
2323
+ export type TronRpcResponse = TronSignTransactionRpcResponse | TronSendTransactionRpcResponse;
2324
+ /**
2325
+ * Executes the Tron `tron_sendTransaction` RPC to sign and broadcast a
2326
+ * transaction.
2327
+ */
2328
+ export interface TronSendTransactionRpcInput {
2329
+ method: 'tron_sendTransaction';
2330
+ /**
2331
+ * Parameters for the Tron `tron_sendTransaction` RPC.
2332
+ */
2333
+ params: TronSendTransactionRpcInputParams;
2334
+ /**
2335
+ * A valid CAIP-2 chain ID (e.g. 'eip155:1').
2336
+ */
2337
+ caip2?: AppsAPI.Caip2;
2338
+ }
2339
+ /**
2340
+ * Parameters for the Tron `tron_sendTransaction` RPC.
2341
+ */
2342
+ export interface TronSendTransactionRpcInputParams {
2343
+ /**
2344
+ * Tron raw_data for tron_sendTransaction. Block reference fields are optional;
2345
+ * Privy fetches fresh values if omitted.
2346
+ */
2347
+ raw_data: TronRawDataForSend;
2348
+ reference_id?: string;
2349
+ }
2350
+ /**
2351
+ * Response to the Tron `tron_sendTransaction` RPC.
2352
+ */
2353
+ export interface TronSendTransactionRpcResponse {
2354
+ /**
2355
+ * Data returned by the Tron `tron_sendTransaction` RPC.
2356
+ */
2357
+ data: TronSendTransactionRpcResponseData;
2358
+ method: 'tron_sendTransaction';
2359
+ }
2360
+ /**
2361
+ * Data returned by the Tron `tron_sendTransaction` RPC.
2362
+ */
2363
+ export interface TronSendTransactionRpcResponseData {
2364
+ /**
2365
+ * A valid CAIP-2 chain ID (e.g. 'eip155:1').
2366
+ */
2367
+ caip2: AppsAPI.Caip2;
2368
+ hash: string;
2369
+ transaction_id: string;
2370
+ reference_id?: string;
2371
+ }
2372
+ /**
2373
+ * Executes the Tron `tron_signTransaction` RPC to sign a transaction. The caller
2374
+ * is responsible for broadcasting.
2375
+ */
2376
+ export interface TronSignTransactionRpcInput {
2377
+ method: 'tron_signTransaction';
2378
+ /**
2379
+ * Parameters for the Tron `tron_signTransaction` RPC.
2380
+ */
2381
+ params: TronSignTransactionRpcInputParams;
2382
+ }
2383
+ /**
2384
+ * Parameters for the Tron `tron_signTransaction` RPC.
2385
+ */
2386
+ export interface TronSignTransactionRpcInputParams {
2387
+ /**
2388
+ * Tron raw_data for tron_signTransaction. Block reference fields are required;
2389
+ * caller is responsible for fetching them.
2390
+ */
2391
+ raw_data: TronRawDataForSign;
2392
+ }
2393
+ /**
2394
+ * Response to the Tron `tron_signTransaction` RPC.
2395
+ */
2396
+ export interface TronSignTransactionRpcResponse {
2397
+ /**
2398
+ * Data returned by the Tron `tron_signTransaction` RPC.
2399
+ */
2400
+ data: TronSignTransactionRpcResponseData;
2401
+ method: 'tron_signTransaction';
2402
+ }
2403
+ /**
2404
+ * Data returned by the Tron `tron_signTransaction` RPC.
2405
+ */
2406
+ export interface TronSignTransactionRpcResponseData {
2407
+ encoding: 'hex';
2408
+ signed_transaction: string;
2409
+ }
2410
+ /**
2411
+ * Tron native TRX transfer contract.
2412
+ */
2413
+ export interface TronTransferContract {
2414
+ amount: number;
2415
+ /**
2416
+ * Tron address in hex format: 41-prefixed, 42 hex characters (21 bytes), no 0x
2417
+ * prefix.
2418
+ */
2419
+ owner_address: SharedAPI.TronHexAddress;
2420
+ /**
2421
+ * Tron address in hex format: 41-prefixed, 42 hex characters (21 bytes), no 0x
2422
+ * prefix.
2423
+ */
2424
+ to_address: SharedAPI.TronHexAddress;
2425
+ type: 'TransferContract';
2426
+ }
2427
+ /**
2428
+ * Tron smart contract call (TRC-20 transfers and general contract interactions).
2429
+ */
2430
+ export interface TronTriggerSmartContract {
2431
+ /**
2432
+ * Tron address in hex format: 41-prefixed, 42 hex characters (21 bytes), no 0x
2433
+ * prefix.
2434
+ */
2435
+ contract_address: SharedAPI.TronHexAddress;
2436
+ /**
2437
+ * Tron address in hex format: 41-prefixed, 42 hex characters (21 bytes), no 0x
2438
+ * prefix.
2439
+ */
2440
+ owner_address: SharedAPI.TronHexAddress;
2441
+ type: 'TriggerSmartContract';
2442
+ call_token_value?: number;
2443
+ call_value?: number;
2444
+ data?: string;
2445
+ token_id?: number;
2446
+ }
2007
2447
  /**
2008
2448
  * The domain parameters for EIP-712 typed data signing.
2009
2449
  */
@@ -2085,7 +2525,7 @@ export interface UnsignedTempoTransaction {
2085
2525
  calls: Array<TempoCall>;
2086
2526
  type: 118;
2087
2527
  aa_authorization_list?: Array<TempoAaAuthorization>;
2088
- access_list?: Array<UnsignedTempoTransaction.AccessList>;
2528
+ access_list?: Array<AccessListEntry>;
2089
2529
  /**
2090
2530
  * A quantity value that can be either a hex string starting with '0x' or a
2091
2531
  * non-negative integer.
@@ -2133,12 +2573,6 @@ export interface UnsignedTempoTransaction {
2133
2573
  */
2134
2574
  valid_before?: Quantity;
2135
2575
  }
2136
- export declare namespace UnsignedTempoTransaction {
2137
- interface AccessList {
2138
- address: string;
2139
- storage_keys: Array<WalletsAPI.Hex>;
2140
- }
2141
- }
2142
2576
  /**
2143
2577
  * An ERC-4337 user operation.
2144
2578
  */
@@ -2196,6 +2630,13 @@ export interface UserOperationInput {
2196
2630
  */
2197
2631
  paymaster_verification_gas_limit?: Hex;
2198
2632
  }
2633
+ /**
2634
+ * A binding that scopes a user signing key to a specific intent.
2635
+ */
2636
+ export interface UserSigningKeyBinding {
2637
+ intentId: string;
2638
+ type: 'intent';
2639
+ }
2199
2640
  /**
2200
2641
  * A wallet managed by Privy's wallet infrastructure.
2201
2642
  */
@@ -2239,6 +2680,11 @@ export interface Wallet {
2239
2680
  * List of policy IDs for policies that are enforced on the wallet.
2240
2681
  */
2241
2682
  policy_ids: Array<string>;
2683
+ /**
2684
+ * Unix timestamp of when the wallet was archived in milliseconds, or null if the
2685
+ * wallet is active.
2686
+ */
2687
+ archived_at?: number | null;
2242
2688
  /**
2243
2689
  * The number of keys that must sign for an action to be valid.
2244
2690
  */
@@ -2301,7 +2747,40 @@ export interface WalletAPIRevokeAuthorizationKeyInput {
2301
2747
  /**
2302
2748
  * A named asset supported across all chains.
2303
2749
  */
2304
- export type WalletAsset = 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol';
2750
+ export type WalletAsset = 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol';
2751
+ /**
2752
+ * Request body for creating an encrypted, bound user signing key.
2753
+ */
2754
+ export interface WalletAuthenticateBoundEncryptedRequestBody {
2755
+ /**
2756
+ * Bindings that scope the USK. The key can only authorize the bound values.
2757
+ */
2758
+ bindings: Array<UserSigningKeyBinding>;
2759
+ encryption_type: 'HPKE';
2760
+ recipient_public_key: string;
2761
+ user_jwt: string;
2762
+ }
2763
+ /**
2764
+ * Request body for creating a user signing key scoped to specific bindings. The
2765
+ * returned USK can only authorize the bound values and cannot sign other RPC
2766
+ * requests.
2767
+ */
2768
+ export type WalletAuthenticateBoundRequestBody = WalletAuthenticateBoundEncryptedRequestBody | WalletAuthenticateBoundUnencryptedRequestBody;
2769
+ /**
2770
+ * Request body for creating an unencrypted, bound user signing key.
2771
+ */
2772
+ export interface WalletAuthenticateBoundUnencryptedRequestBody {
2773
+ /**
2774
+ * Bindings that scope the USK. The key can only authorize the bound values.
2775
+ */
2776
+ bindings: Array<UserSigningKeyBinding>;
2777
+ user_jwt: string;
2778
+ }
2779
+ /**
2780
+ * The response from authenticating a wallet with intent bindings, containing an
2781
+ * authorization key, wallet data, and the bindings the key is scoped to.
2782
+ */
2783
+ export type WalletAuthenticateIntentsResponse = EncryptedBoundAuthenticateResponse | RawBoundAuthenticateResponse;
2305
2784
  /**
2306
2785
  * Request body for wallet authentication with HPKE-encrypted response.
2307
2786
  */
@@ -2325,52 +2804,7 @@ export interface WalletAuthenticateRequestBody {
2325
2804
  * The response from authenticating a wallet, containing an authorization key and
2326
2805
  * wallet data.
2327
2806
  */
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
- }
2807
+ export type WalletAuthenticateWithJwtResponse = EncryptedWalletAuthenticateResponse | RawWalletAuthenticateResponse;
2374
2808
  /**
2375
2809
  * Headers required to authorize wallet operations.
2376
2810
  */
@@ -2522,7 +2956,7 @@ export type WalletEntropyType = 'hd' | 'private-key';
2522
2956
  /**
2523
2957
  * A named asset on Ethereum-compatible chains.
2524
2958
  */
2525
- export type WalletEthereumAsset = 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb';
2959
+ export type WalletEthereumAsset = 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'usdt' | 'eurc' | 'usdb';
2526
2960
  /**
2527
2961
  * Request body for exporting a wallet private key.
2528
2962
  */
@@ -2568,10 +3002,10 @@ export interface WalletImportInitResponse {
2568
3002
  import_id?: string;
2569
3003
  }
2570
3004
  /**
2571
- * The chain type of the wallet to import. Currently supports `ethereum` and
2572
- * `solana`.
3005
+ * The chain type of the wallet to import. Supports `ethereum`, `solana`,
3006
+ * `stellar`, `tron`, `sui`, and `aptos`.
2573
3007
  */
2574
- export type WalletImportSupportedChains = 'ethereum' | 'solana';
3008
+ export type WalletImportSupportedChains = 'ethereum' | 'solana' | 'stellar' | 'tron' | 'sui' | 'aptos';
2575
3009
  /**
2576
3010
  * The entropy type of the wallet to import. Supports `private-key` for raw private
2577
3011
  * keys and `hd` for HD wallet seed phrases.
@@ -2586,11 +3020,11 @@ export interface WalletRevokeResponse {
2586
3020
  /**
2587
3021
  * Request body for wallet RPC operations, discriminated by method.
2588
3022
  */
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;
3023
+ export type WalletRpcRequestBody = EthereumSignTransactionRpcInput | EthereumSendTransactionRpcInput | EthereumPersonalSignRpcInput | EthereumSignTypedDataRpcInput | EthereumSecp256k1SignRpcInput | EthereumSign7702AuthorizationRpcInput | EthereumSignUserOperationRpcInput | EthereumSendCallsRpcInput | SolanaSignTransactionRpcInput | SolanaSignAndSendTransactionRpcInput | SolanaSignMessageRpcInput | SparkTransferRpcInput | SparkGetBalanceRpcInput | SparkTransferTokensRpcInput | SparkGetStaticDepositAddressRpcInput | SparkGetClaimStaticDepositQuoteRpcInput | SparkClaimStaticDepositRpcInput | SparkCreateLightningInvoiceRpcInput | SparkPayLightningInvoiceRpcInput | SparkSignMessageWithIdentityKeyRpcInput | TronSignTransactionRpcInput | TronSendTransactionRpcInput | ExportPrivateKeyRpcInput | ExportSeedPhraseRpcInput;
2590
3024
  /**
2591
3025
  * Response body for wallet RPC operations, discriminated by method.
2592
3026
  */
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;
3027
+ export type WalletRpcResponse = EthereumPersonalSignRpcResponse | EthereumSignTypedDataRpcResponse | EthereumSignTransactionRpcResponse | EthereumSendTransactionRpcResponse | EthereumSignUserOperationRpcResponse | EthereumSign7702AuthorizationRpcResponse | EthereumSecp256k1SignRpcResponse | EthereumSendCallsRpcResponse | SolanaSignMessageRpcResponse | SolanaSignTransactionRpcResponse | SolanaSignAndSendTransactionRpcResponse | SparkTransferRpcResponse | SparkGetBalanceRpcResponse | SparkTransferTokensRpcResponse | SparkGetStaticDepositAddressRpcResponse | SparkGetClaimStaticDepositQuoteRpcResponse | SparkClaimStaticDepositRpcResponse | SparkCreateLightningInvoiceRpcResponse | SparkPayLightningInvoiceRpcResponse | SparkSignMessageWithIdentityKeyRpcResponse | TronSignTransactionRpcResponse | TronSendTransactionRpcResponse | ExportPrivateKeyRpcResponse | ExportSeedPhraseRpcResponse;
2594
3028
  /**
2595
3029
  * A named asset on Solana.
2596
3030
  */
@@ -2713,6 +3147,10 @@ export interface WalletListParams extends CursorParams {
2713
3147
  * Filter wallets by external ID.
2714
3148
  */
2715
3149
  external_id?: string;
3150
+ /**
3151
+ * Include archived wallets in lookup. Defaults to false.
3152
+ */
3153
+ include_archived?: boolean;
2716
3154
  /**
2717
3155
  * Filter wallets by user ID. Cannot be used together with authorization_key.
2718
3156
  */
@@ -2744,6 +3182,12 @@ export interface WalletExportParams {
2744
3182
  */
2745
3183
  'privy-request-expiry'?: string;
2746
3184
  }
3185
+ export interface WalletGetParams {
3186
+ /**
3187
+ * Include archived wallets in lookup. Defaults to false.
3188
+ */
3189
+ include_archived?: boolean;
3190
+ }
2747
3191
  export interface WalletRawSignParams {
2748
3192
  /**
2749
3193
  * Body param: Parameters for the `raw_sign` RPC.
@@ -2765,7 +3209,7 @@ export interface WalletRawSignParams {
2765
3209
  */
2766
3210
  'privy-request-expiry'?: string;
2767
3211
  }
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;
3212
+ 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.TronSignTransactionRpcInput | WalletRpcParams.TronSendTransactionRpcInput | WalletRpcParams.ExportPrivateKeyRpcInput | WalletRpcParams.ExportSeedPhraseRpcInput;
2769
3213
  export declare namespace WalletRpcParams {
2770
3214
  interface EthereumSignTransactionRpcInput {
2771
3215
  /**
@@ -2871,10 +3315,19 @@ export declare namespace WalletRpcParams {
2871
3315
  * Body param
2872
3316
  */
2873
3317
  address?: string;
3318
+ /**
3319
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
3320
+ */
3321
+ caip2?: AppsAPI.Caip2;
2874
3322
  /**
2875
3323
  * Body param
2876
3324
  */
2877
3325
  chain_type?: 'ethereum';
3326
+ /**
3327
+ * Body param: Options controlling signature production for personal_sign and
3328
+ * eth_signTypedData_v4.
3329
+ */
3330
+ signature_options?: SignatureOptions;
2878
3331
  /**
2879
3332
  * Body param
2880
3333
  */
@@ -2908,10 +3361,19 @@ export declare namespace WalletRpcParams {
2908
3361
  * Body param
2909
3362
  */
2910
3363
  address?: string;
3364
+ /**
3365
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
3366
+ */
3367
+ caip2?: AppsAPI.Caip2;
2911
3368
  /**
2912
3369
  * Body param
2913
3370
  */
2914
3371
  chain_type?: 'ethereum';
3372
+ /**
3373
+ * Body param: Options controlling signature production for personal_sign and
3374
+ * eth_signTypedData_v4.
3375
+ */
3376
+ signature_options?: SignatureOptions;
2915
3377
  /**
2916
3378
  * Body param
2917
3379
  */
@@ -3473,6 +3935,60 @@ export declare namespace WalletRpcParams {
3473
3935
  */
3474
3936
  'privy-request-expiry'?: string;
3475
3937
  }
3938
+ interface TronSignTransactionRpcInput {
3939
+ /**
3940
+ * Body param
3941
+ */
3942
+ method: 'tron_signTransaction';
3943
+ /**
3944
+ * Body param: Parameters for the Tron `tron_signTransaction` RPC.
3945
+ */
3946
+ params: TronSignTransactionRpcInputParams;
3947
+ /**
3948
+ * Header param: Request authorization signature. If multiple signatures are
3949
+ * required, they should be comma separated.
3950
+ */
3951
+ 'privy-authorization-signature'?: string;
3952
+ /**
3953
+ * Header param: Idempotency keys ensure API requests are executed only once within
3954
+ * a 24-hour window.
3955
+ */
3956
+ 'privy-idempotency-key'?: string;
3957
+ /**
3958
+ * Header param: Request expiry. Value is a Unix timestamp in milliseconds
3959
+ * representing the deadline by which the request must be processed.
3960
+ */
3961
+ 'privy-request-expiry'?: string;
3962
+ }
3963
+ interface TronSendTransactionRpcInput {
3964
+ /**
3965
+ * Body param
3966
+ */
3967
+ method: 'tron_sendTransaction';
3968
+ /**
3969
+ * Body param: Parameters for the Tron `tron_sendTransaction` RPC.
3970
+ */
3971
+ params: TronSendTransactionRpcInputParams;
3972
+ /**
3973
+ * Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1').
3974
+ */
3975
+ caip2?: AppsAPI.Caip2;
3976
+ /**
3977
+ * Header param: Request authorization signature. If multiple signatures are
3978
+ * required, they should be comma separated.
3979
+ */
3980
+ 'privy-authorization-signature'?: string;
3981
+ /**
3982
+ * Header param: Idempotency keys ensure API requests are executed only once within
3983
+ * a 24-hour window.
3984
+ */
3985
+ 'privy-idempotency-key'?: string;
3986
+ /**
3987
+ * Header param: Request expiry. Value is a Unix timestamp in milliseconds
3988
+ * representing the deadline by which the request must be processed.
3989
+ */
3990
+ 'privy-request-expiry'?: string;
3991
+ }
3476
3992
  interface ExportPrivateKeyRpcInput {
3477
3993
  /**
3478
3994
  * Body param
@@ -3535,7 +4051,7 @@ export declare namespace WalletRpcParams {
3535
4051
  }
3536
4052
  }
3537
4053
  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, };
4054
+ 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 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 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 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 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 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
4055
  export { Balance as Balance, type BalanceGetResponse as BalanceGetResponse, type BalanceGetParams as BalanceGetParams, };
3540
4056
  export { Transactions as Transactions, type TransactionGetResponse as TransactionGetResponse, type TransactionGetParams as TransactionGetParams, };
3541
4057
  }