@privy-io/api-types 0.9.0 → 0.10.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 (153) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/client.d.mts +33 -30
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +33 -30
  5. package/client.d.ts.map +1 -1
  6. package/client.js +22 -8
  7. package/client.js.map +1 -1
  8. package/client.mjs +23 -9
  9. package/client.mjs.map +1 -1
  10. package/internal/types.d.mts +6 -6
  11. package/internal/types.d.mts.map +1 -1
  12. package/internal/types.d.ts +6 -6
  13. package/internal/types.d.ts.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/accounts.d.mts +128 -86
  16. package/resources/accounts.d.mts.map +1 -1
  17. package/resources/accounts.d.ts +128 -86
  18. package/resources/accounts.d.ts.map +1 -1
  19. package/resources/aggregations.d.mts +43 -43
  20. package/resources/aggregations.d.mts.map +1 -1
  21. package/resources/aggregations.d.ts +43 -43
  22. package/resources/aggregations.d.ts.map +1 -1
  23. package/resources/apps.d.mts +169 -135
  24. package/resources/apps.d.mts.map +1 -1
  25. package/resources/apps.d.ts +169 -135
  26. package/resources/apps.d.ts.map +1 -1
  27. package/resources/client-auth.d.mts +646 -644
  28. package/resources/client-auth.d.mts.map +1 -1
  29. package/resources/client-auth.d.ts +646 -644
  30. package/resources/client-auth.d.ts.map +1 -1
  31. package/resources/embedded-wallets.d.mts +114 -114
  32. package/resources/embedded-wallets.d.mts.map +1 -1
  33. package/resources/embedded-wallets.d.ts +114 -114
  34. package/resources/embedded-wallets.d.ts.map +1 -1
  35. package/resources/funding.d.mts +42 -42
  36. package/resources/funding.d.mts.map +1 -1
  37. package/resources/funding.d.ts +42 -42
  38. package/resources/funding.d.ts.map +1 -1
  39. package/resources/index.d.mts +19 -18
  40. package/resources/index.d.mts.map +1 -1
  41. package/resources/index.d.ts +19 -18
  42. package/resources/index.d.ts.map +1 -1
  43. package/resources/index.js +3 -1
  44. package/resources/index.js.map +1 -1
  45. package/resources/index.mjs +2 -1
  46. package/resources/index.mjs.map +1 -1
  47. package/resources/intents.d.mts +269 -265
  48. package/resources/intents.d.mts.map +1 -1
  49. package/resources/intents.d.ts +269 -265
  50. package/resources/intents.d.ts.map +1 -1
  51. package/resources/key-quorums.d.mts +20 -20
  52. package/resources/key-quorums.d.mts.map +1 -1
  53. package/resources/key-quorums.d.ts +20 -20
  54. package/resources/key-quorums.d.ts.map +1 -1
  55. package/resources/kraken-embed.d.mts +12 -20
  56. package/resources/kraken-embed.d.mts.map +1 -1
  57. package/resources/kraken-embed.d.ts +12 -20
  58. package/resources/kraken-embed.d.ts.map +1 -1
  59. package/resources/organizations.d.mts +65 -0
  60. package/resources/organizations.d.mts.map +1 -0
  61. package/resources/organizations.d.ts +65 -0
  62. package/resources/organizations.d.ts.map +1 -0
  63. package/resources/organizations.js +9 -0
  64. package/resources/organizations.js.map +1 -0
  65. package/resources/organizations.mjs +5 -0
  66. package/resources/organizations.mjs.map +1 -0
  67. package/resources/policies.d.mts +258 -240
  68. package/resources/policies.d.mts.map +1 -1
  69. package/resources/policies.d.ts +258 -240
  70. package/resources/policies.d.ts.map +1 -1
  71. package/resources/shared.d.mts +28 -28
  72. package/resources/shared.d.mts.map +1 -1
  73. package/resources/shared.d.ts +28 -28
  74. package/resources/shared.d.ts.map +1 -1
  75. package/resources/swaps.d.mts +6 -9
  76. package/resources/swaps.d.mts.map +1 -1
  77. package/resources/swaps.d.ts +6 -9
  78. package/resources/swaps.d.ts.map +1 -1
  79. package/resources/swaps.js.map +1 -1
  80. package/resources/swaps.mjs.map +1 -1
  81. package/resources/transactions.d.mts +53 -53
  82. package/resources/transactions.d.mts.map +1 -1
  83. package/resources/transactions.d.ts +53 -53
  84. package/resources/transactions.d.ts.map +1 -1
  85. package/resources/users.d.mts +468 -459
  86. package/resources/users.d.mts.map +1 -1
  87. package/resources/users.d.ts +468 -459
  88. package/resources/users.d.ts.map +1 -1
  89. package/resources/wallet-actions.d.mts +302 -145
  90. package/resources/wallet-actions.d.mts.map +1 -1
  91. package/resources/wallet-actions.d.ts +302 -145
  92. package/resources/wallet-actions.d.ts.map +1 -1
  93. package/resources/wallets/index.d.mts +1 -1
  94. package/resources/wallets/index.d.mts.map +1 -1
  95. package/resources/wallets/index.d.ts +1 -1
  96. package/resources/wallets/index.d.ts.map +1 -1
  97. package/resources/wallets/index.js.map +1 -1
  98. package/resources/wallets/index.mjs.map +1 -1
  99. package/resources/wallets/transactions.d.mts +7 -2
  100. package/resources/wallets/transactions.d.mts.map +1 -1
  101. package/resources/wallets/transactions.d.ts +7 -2
  102. package/resources/wallets/transactions.d.ts.map +1 -1
  103. package/resources/wallets/transactions.js +1 -1
  104. package/resources/wallets/transactions.mjs +1 -1
  105. package/resources/wallets/wallets.d.mts +1424 -1227
  106. package/resources/wallets/wallets.d.mts.map +1 -1
  107. package/resources/wallets/wallets.d.ts +1424 -1227
  108. package/resources/wallets/wallets.d.ts.map +1 -1
  109. package/resources/wallets/wallets.js +4 -1
  110. package/resources/wallets/wallets.js.map +1 -1
  111. package/resources/wallets/wallets.mjs +4 -1
  112. package/resources/wallets/wallets.mjs.map +1 -1
  113. package/resources/webhooks.d.mts +935 -877
  114. package/resources/webhooks.d.mts.map +1 -1
  115. package/resources/webhooks.d.ts +935 -877
  116. package/resources/webhooks.d.ts.map +1 -1
  117. package/resources/yield.d.mts +157 -157
  118. package/resources/yield.d.mts.map +1 -1
  119. package/resources/yield.d.ts +157 -157
  120. package/resources/yield.d.ts.map +1 -1
  121. package/src/client.ts +594 -516
  122. package/src/internal/types.ts +6 -8
  123. package/src/resources/accounts.ts +157 -103
  124. package/src/resources/aggregations.ts +55 -55
  125. package/src/resources/apps.ts +221 -178
  126. package/src/resources/client-auth.ts +887 -887
  127. package/src/resources/embedded-wallets.ts +150 -150
  128. package/src/resources/funding.ts +66 -66
  129. package/src/resources/index.ts +504 -475
  130. package/src/resources/intents.ts +326 -322
  131. package/src/resources/key-quorums.ts +23 -23
  132. package/src/resources/kraken-embed.ts +14 -22
  133. package/src/resources/organizations.ts +82 -0
  134. package/src/resources/policies.ts +379 -352
  135. package/src/resources/shared.ts +34 -34
  136. package/src/resources/swaps.ts +5 -10
  137. package/src/resources/transactions.ts +86 -86
  138. package/src/resources/users.ts +707 -696
  139. package/src/resources/wallet-actions.ts +392 -185
  140. package/src/resources/wallets/index.ts +157 -148
  141. package/src/resources/wallets/transactions.ts +18 -3
  142. package/src/resources/wallets/wallets.ts +1937 -1686
  143. package/src/resources/webhooks.ts +1172 -1100
  144. package/src/resources/yield.ts +188 -188
  145. package/src/version.ts +1 -1
  146. package/version.d.mts +1 -1
  147. package/version.d.mts.map +1 -1
  148. package/version.d.ts +1 -1
  149. package/version.d.ts.map +1 -1
  150. package/version.js +1 -1
  151. package/version.js.map +1 -1
  152. package/version.mjs +1 -1
  153. package/version.mjs.map +1 -1
@@ -5,186 +5,195 @@ export { Transactions, type TransactionGetResponse, type TransactionGetParams }
5
5
  export {
6
6
  Wallets,
7
7
  type WalletRevokeResponse,
8
- type CurveSigningChainType,
9
- type ExtendedChainType,
10
- type FirstClassChainType,
11
- type WalletChainType,
12
- type AuthorizationKeyRole,
13
- type WalletEntropyType,
14
- type SolanaWalletDerivationStrategy,
15
- type PolicyInput,
16
- type AdditionalSignerItemInput,
17
8
  type AdditionalSignerInput,
18
- type WalletAdditionalSignerItem,
19
- type WalletAdditionalSigner,
9
+ type AdditionalSignerItemInput,
20
10
  type Address,
21
- type WalletCustodian,
22
- type CustodialWalletProvider,
11
+ type AmountType,
12
+ type AuthorizationKeyDashboardResponse,
13
+ type AuthorizationKeyResponse,
14
+ type AuthorizationKeyRole,
15
+ type CurveSigningChainType,
16
+ type CurveType,
17
+ type CustodialWallet,
23
18
  type CustodialWalletChainType,
24
19
  type CustodialWalletCreateInput,
25
- type CustodialWallet,
26
- type HpkeEncryption,
27
- type RecipientPublicKey,
20
+ type CustodialWalletProvider,
21
+ type CustomTokenTransferSource,
22
+ type EthereumPersonalSignRpcInput,
23
+ type EthereumPersonalSignRpcInputParams,
24
+ type EthereumPersonalSignRpcResponse,
25
+ type EthereumPersonalSignRpcResponseData,
26
+ type EthereumRpcInput,
27
+ type EthereumRpcResponse,
28
+ type EthereumSecp256k1SignRpcInput,
29
+ type EthereumSecp256k1SignRpcInputParams,
30
+ type EthereumSecp256k1SignRpcResponse,
31
+ type EthereumSecp256k1SignRpcResponseData,
32
+ type EthereumSendCallsCall,
33
+ type EthereumSendCallsRpcInput,
34
+ type EthereumSendCallsRpcInputParams,
35
+ type EthereumSendCallsRpcResponse,
36
+ type EthereumSendCallsRpcResponseData,
37
+ type EthereumSendTransactionRpcInput,
38
+ type EthereumSendTransactionRpcInputParams,
39
+ type EthereumSendTransactionRpcResponse,
40
+ type EthereumSendTransactionRpcResponseData,
41
+ type EthereumSign7702Authorization,
42
+ type EthereumSign7702AuthorizationRpcInput,
43
+ type EthereumSign7702AuthorizationRpcInputParams,
44
+ type EthereumSign7702AuthorizationRpcResponse,
45
+ type EthereumSign7702AuthorizationRpcResponseData,
46
+ type EthereumSignTransactionRpcInput,
47
+ type EthereumSignTransactionRpcInputParams,
48
+ type EthereumSignTransactionRpcResponse,
49
+ type EthereumSignTransactionRpcResponseData,
50
+ type EthereumSignTypedDataRpcInput,
51
+ type EthereumSignTypedDataRpcInputParams,
52
+ type EthereumSignTypedDataRpcResponse,
53
+ type EthereumSignTypedDataRpcResponseData,
54
+ type EthereumSignUserOperationRpcInput,
55
+ type EthereumSignUserOperationRpcInputParams,
56
+ type EthereumSignUserOperationRpcResponse,
57
+ type EthereumSignUserOperationRpcResponseData,
58
+ type EthereumTypedDataInput,
59
+ type ExportPrivateKeyRpcInput,
60
+ type ExportPrivateKeyRpcResponse,
61
+ type ExportSeedPhraseRpcInput,
62
+ type ExportSeedPhraseRpcResponse,
28
63
  type ExportType,
29
- type PrivateKeyExportInput,
30
- type PrivateKeyExportResponse,
31
- type SeedPhraseExportInput,
32
- type SeedPhraseExportResponse,
33
- type WalletImportSupportedChains,
34
- type WalletImportSupportedEntropyTypes,
35
- type WalletImportInitResponse,
64
+ type ExtendedChainType,
65
+ type FirstClassChainType,
66
+ type GetByWalletAddressRequestBody,
67
+ type HDInitInput,
68
+ type HDPath,
69
+ type HDSubmitInput,
36
70
  type HpkeAeadAlgorithm,
71
+ type HpkeEncryption,
37
72
  type HpkeImportConfig,
38
- type CurveType,
39
- type HDPath,
40
- type SigningAlgorithm,
41
73
  type Hex,
74
+ type NamedTokenTransferSource,
75
+ type OutputWithPreviousTransactionData,
76
+ type PolicyInput,
77
+ type PrivateKeyExportInput,
78
+ type PrivateKeyExportResponse,
79
+ type PrivateKeyInitInput,
80
+ type PrivateKeySubmitInput,
42
81
  type Quantity,
43
- type ExportPrivateKeyRpcInput,
44
- type ExportPrivateKeyRpcResponse,
45
- type ExportSeedPhraseRpcInput,
46
- type ExportSeedPhraseRpcResponse,
47
- type RawSignHashParams,
48
82
  type RawSignBytesEncoding,
49
83
  type RawSignBytesHashFunction,
50
84
  type RawSignBytesParams,
51
- type RawSignInputParams,
85
+ type RawSignHashParams,
52
86
  type RawSignInput,
53
- type RawSignResponseData,
87
+ type RawSignInputParams,
54
88
  type RawSignResponse,
55
- type EthereumSign7702Authorization,
56
- type UnsignedEthereumTransaction,
57
- type UserOperationInput,
58
- type TypedDataDomainInputParams,
59
- type TypedDataTypeFieldInput,
60
- type TypedDataTypesInputParams,
61
- type EthereumPersonalSignRpcInputParams,
62
- type EthereumPersonalSignRpcInput,
63
- type EthereumSignTransactionRpcInputParams,
64
- type EthereumSignTransactionRpcInput,
65
- type EthereumSendTransactionRpcInputParams,
66
- type EthereumSendTransactionRpcInput,
67
- type EthereumTypedDataInput,
68
- type EthereumSignTypedDataRpcInputParams,
69
- type EthereumSignTypedDataRpcInput,
70
- type EthereumSecp256k1SignRpcInputParams,
71
- type EthereumSecp256k1SignRpcInput,
72
- type EthereumSign7702AuthorizationRpcInputParams,
73
- type EthereumSign7702AuthorizationRpcInput,
74
- type EthereumSignUserOperationRpcInputParams,
75
- type EthereumSignUserOperationRpcInput,
76
- type EthereumSendCallsCall,
77
- type EthereumSendCallsRpcInputParams,
78
- type EthereumSendCallsRpcInput,
79
- type EthereumRpcInput,
80
- type EthereumPersonalSignRpcResponseData,
81
- type EthereumPersonalSignRpcResponse,
82
- type EthereumSignTransactionRpcResponseData,
83
- type EthereumSignTransactionRpcResponse,
84
- type EthereumSendTransactionRpcResponseData,
85
- type EthereumSendTransactionRpcResponse,
86
- type EthereumSignTypedDataRpcResponseData,
87
- type EthereumSignTypedDataRpcResponse,
88
- type EthereumSecp256k1SignRpcResponseData,
89
- type EthereumSecp256k1SignRpcResponse,
90
- type EthereumSign7702AuthorizationRpcResponseData,
91
- type EthereumSign7702AuthorizationRpcResponse,
92
- type EthereumSignUserOperationRpcResponseData,
93
- type EthereumSignUserOperationRpcResponse,
94
- type EthereumSendCallsRpcResponseData,
95
- type EthereumSendCallsRpcResponse,
96
- type EthereumRpcResponse,
97
- type SolanaSignTransactionRpcInputParams,
98
- type SolanaSignTransactionRpcInput,
99
- type SolanaSignAndSendTransactionRpcInputParams,
100
- type SolanaSignAndSendTransactionRpcInput,
101
- type SolanaSignMessageRpcInputParams,
102
- type SolanaSignMessageRpcInput,
89
+ type RawSignResponseData,
90
+ type RecipientPublicKey,
91
+ type SeedPhraseExportInput,
92
+ type SeedPhraseExportResponse,
93
+ type SigningAlgorithm,
103
94
  type SolanaRpcInput,
104
- type SolanaSignTransactionRpcResponseData,
105
- type SolanaSignTransactionRpcResponse,
106
- type SolanaSignAndSendTransactionRpcResponseData,
95
+ type SolanaRpcResponse,
96
+ type SolanaSignAndSendTransactionRpcInput,
97
+ type SolanaSignAndSendTransactionRpcInputParams,
107
98
  type SolanaSignAndSendTransactionRpcResponse,
108
- type SolanaSignMessageRpcResponseData,
99
+ type SolanaSignAndSendTransactionRpcResponseData,
100
+ type SolanaSignMessageRpcInput,
101
+ type SolanaSignMessageRpcInputParams,
109
102
  type SolanaSignMessageRpcResponse,
110
- type SolanaRpcResponse,
111
- type SparkNetwork,
112
- type SparkSigningKeyshare,
113
- type SparkWalletLeaf,
114
- type SparkTransferLeaf,
115
- type SparkTransfer,
116
- type SparkUserTokenMetadata,
117
- type SparkTokenBalance,
103
+ type SolanaSignMessageRpcResponseData,
104
+ type SolanaSignTransactionRpcInput,
105
+ type SolanaSignTransactionRpcInputParams,
106
+ type SolanaSignTransactionRpcResponse,
107
+ type SolanaSignTransactionRpcResponseData,
108
+ type SolanaWalletDerivationStrategy,
118
109
  type SparkBalance,
119
- type TokenOutput,
120
- type OutputWithPreviousTransactionData,
110
+ type SparkClaimStaticDepositRpcInput,
111
+ type SparkClaimStaticDepositRpcInputParams,
112
+ type SparkClaimStaticDepositRpcResponse,
113
+ type SparkClaimStaticDepositRpcResponseData,
114
+ type SparkCreateLightningInvoiceRpcInput,
115
+ type SparkCreateLightningInvoiceRpcInputParams,
116
+ type SparkCreateLightningInvoiceRpcResponse,
117
+ type SparkGetBalanceRpcInput,
118
+ type SparkGetBalanceRpcResponse,
119
+ type SparkGetClaimStaticDepositQuoteRpcInput,
120
+ type SparkGetClaimStaticDepositQuoteRpcInputParams,
121
+ type SparkGetClaimStaticDepositQuoteRpcResponse,
122
+ type SparkGetClaimStaticDepositQuoteRpcResponseData,
123
+ type SparkGetStaticDepositAddressRpcInput,
124
+ type SparkGetStaticDepositAddressRpcResponse,
125
+ type SparkGetStaticDepositAddressRpcResponseData,
121
126
  type SparkLightningFee,
122
127
  type SparkLightningReceiveRequest,
123
128
  type SparkLightningSendRequest,
124
- type SparkTransferRpcInputParams,
125
- type SparkTransferRpcInput,
126
- type SparkGetBalanceRpcInput,
129
+ type SparkNetwork,
127
130
  type SparkOutputSelectionStrategy,
128
- type SparkTransferTokensRpcInputParams,
129
- type SparkTransferTokensRpcInput,
130
- type SparkGetStaticDepositAddressRpcInput,
131
- type SparkGetClaimStaticDepositQuoteRpcInputParams,
132
- type SparkGetClaimStaticDepositQuoteRpcInput,
133
- type SparkClaimStaticDepositRpcInputParams,
134
- type SparkClaimStaticDepositRpcInput,
135
- type SparkCreateLightningInvoiceRpcInputParams,
136
- type SparkCreateLightningInvoiceRpcInput,
137
- type SparkPayLightningInvoiceRpcInputParams,
138
131
  type SparkPayLightningInvoiceRpcInput,
139
- type SparkSignMessageWithIdentityKeyRpcInputParams,
140
- type SparkSignMessageWithIdentityKeyRpcInput,
132
+ type SparkPayLightningInvoiceRpcInputParams,
133
+ type SparkPayLightningInvoiceRpcResponse,
141
134
  type SparkRpcInput,
135
+ type SparkRpcResponse,
136
+ type SparkSignMessageWithIdentityKeyRpcInput,
137
+ type SparkSignMessageWithIdentityKeyRpcInputParams,
138
+ type SparkSignMessageWithIdentityKeyRpcResponse,
139
+ type SparkSignMessageWithIdentityKeyRpcResponseData,
140
+ type SparkSigningKeyshare,
141
+ type SparkTokenBalance,
142
+ type SparkTransfer,
143
+ type SparkTransferLeaf,
144
+ type SparkTransferRpcInput,
145
+ type SparkTransferRpcInputParams,
142
146
  type SparkTransferRpcResponse,
143
- type SparkGetBalanceRpcResponse,
144
- type SparkTransferTokensRpcResponseData,
147
+ type SparkTransferTokensRpcInput,
148
+ type SparkTransferTokensRpcInputParams,
145
149
  type SparkTransferTokensRpcResponse,
146
- type SparkGetStaticDepositAddressRpcResponseData,
147
- type SparkGetStaticDepositAddressRpcResponse,
148
- type SparkGetClaimStaticDepositQuoteRpcResponseData,
149
- type SparkGetClaimStaticDepositQuoteRpcResponse,
150
- type SparkClaimStaticDepositRpcResponseData,
151
- type SparkClaimStaticDepositRpcResponse,
152
- type SparkCreateLightningInvoiceRpcResponse,
153
- type SparkPayLightningInvoiceRpcResponse,
154
- type SparkSignMessageWithIdentityKeyRpcResponseData,
155
- type SparkSignMessageWithIdentityKeyRpcResponse,
156
- type SparkRpcResponse,
157
- type Wallet,
158
- type GetByWalletAddressRequestBody,
159
- type WalletUpdateRequestBody,
160
- type WalletBatchItemInput,
161
- type WalletBatchCreateInput,
162
- type WalletBatchCreateResult,
163
- type WalletBatchCreateResponse,
164
- type WalletRpcRequestBody,
165
- type WalletRpcResponse,
166
- type WalletAuthenticateRequestBody,
167
- type PrivateKeyInitInput,
168
- type HDInitInput,
169
- type PrivateKeySubmitInput,
170
- type HDSubmitInput,
171
- type WalletExportRequestBody,
172
- type WalletExportResponseBody,
173
- type TokenTransferSource,
150
+ type SparkTransferTokensRpcResponseData,
151
+ type SparkUserTokenMetadata,
152
+ type SparkWalletLeaf,
153
+ type SuiCommandName,
154
+ type TempoAaAuthorization,
155
+ type TempoCall,
156
+ type TempoFeePayerSignature,
157
+ type TokenOutput,
174
158
  type TokenTransferDestination,
159
+ type TokenTransferSource,
160
+ type TransactionDetail,
161
+ type TransactionTokenAddressInput,
162
+ type TransferReceivedTransactionDetail,
175
163
  type TransferRequestBody,
176
- type SuiCommandName,
177
- type WalletEthereumAsset,
178
- type WalletSolanaAsset,
179
- type WalletAsset,
180
164
  type TransferSentTransactionDetail,
181
- type TransferReceivedTransactionDetail,
182
- type TransactionDetail,
165
+ type TypedDataDomainInputParams,
166
+ type TypedDataTypeFieldInput,
167
+ type TypedDataTypesInputParams,
168
+ type UnsignedEthereumTransaction,
169
+ type UnsignedStandardEthereumTransaction,
170
+ type UnsignedTempoTransaction,
171
+ type UserOperationInput,
172
+ type Wallet,
173
+ type WalletAdditionalSigner,
174
+ type WalletAdditionalSignerItem,
183
175
  type WalletAPIRegisterAuthorizationKeyInput,
184
176
  type WalletAPIRevokeAuthorizationKeyInput,
185
- type AuthorizationKeyDashboardResponse,
186
- type AuthorizationKeyResponse,
177
+ type WalletAsset,
178
+ type WalletAuthenticateRequestBody,
187
179
  type WalletAuthorizationHeaders,
180
+ type WalletBatchCreateInput,
181
+ type WalletBatchCreateResponse,
182
+ type WalletBatchCreateResult,
183
+ type WalletBatchItemInput,
184
+ type WalletChainType,
185
+ type WalletCustodian,
186
+ type WalletEntropyType,
187
+ type WalletEthereumAsset,
188
+ type WalletExportRequestBody,
189
+ type WalletExportResponseBody,
190
+ type WalletImportInitResponse,
191
+ type WalletImportSupportedChains,
192
+ type WalletImportSupportedEntropyTypes,
193
+ type WalletRpcRequestBody,
194
+ type WalletRpcResponse,
195
+ type WalletSolanaAsset,
196
+ type WalletUpdateRequestBody,
188
197
  type WalletInitImportResponse,
189
198
  type WalletAuthenticateWithJwtResponse,
190
199
  type WalletCreateWalletsWithRecoveryResponse,
@@ -17,7 +17,7 @@ export class Transactions extends APIResource {
17
17
  * ```ts
18
18
  * const transaction = await client.wallets.transactions.get(
19
19
  * 'wallet_id',
20
- * { asset: 'usdc', chain: 'ethereum' },
20
+ * { chain: 'ethereum' },
21
21
  * );
22
22
  * ```
23
23
  */
@@ -77,10 +77,25 @@ export namespace TransactionGetResponse {
77
77
  }
78
78
 
79
79
  export interface TransactionGetParams {
80
- asset: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<WalletsAPI.WalletAsset>;
81
-
82
80
  chain: 'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'sepolia';
83
81
 
82
+ /**
83
+ * Token contract address (EVM: 0x-prefixed hex) or mint address (Solana: base58),
84
+ * used to filter wallet transactions.
85
+ */
86
+ token?: WalletsAPI.TransactionTokenAddressInput | Array<WalletsAPI.TransactionTokenAddressInput>;
87
+
88
+ asset?:
89
+ | 'usdc'
90
+ | 'usdc.e'
91
+ | 'eth'
92
+ | 'pol'
93
+ | 'usdt'
94
+ | 'eurc'
95
+ | 'usdb'
96
+ | 'sol'
97
+ | Array<WalletsAPI.WalletAsset>;
98
+
84
99
  cursor?: string;
85
100
 
86
101
  limit?: number | null;