@privy-io/api-types 0.9.0 → 0.11.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 (180) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/client.d.mts +40 -43
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +40 -43
  5. package/client.d.ts.map +1 -1
  6. package/client.js +28 -20
  7. package/client.js.map +1 -1
  8. package/client.mjs +29 -21
  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 +931 -947
  28. package/resources/client-auth.d.mts.map +1 -1
  29. package/resources/client-auth.d.ts +931 -947
  30. package/resources/client-auth.d.ts.map +1 -1
  31. package/resources/client-auth.js.map +1 -1
  32. package/resources/client-auth.mjs.map +1 -1
  33. package/resources/embedded-wallets.d.mts +122 -122
  34. package/resources/embedded-wallets.d.mts.map +1 -1
  35. package/resources/embedded-wallets.d.ts +122 -122
  36. package/resources/embedded-wallets.d.ts.map +1 -1
  37. package/resources/fiat.d.mts +110 -0
  38. package/resources/fiat.d.mts.map +1 -0
  39. package/resources/fiat.d.ts +110 -0
  40. package/resources/fiat.d.ts.map +1 -0
  41. package/resources/fiat.js +9 -0
  42. package/resources/fiat.js.map +1 -0
  43. package/resources/fiat.mjs +5 -0
  44. package/resources/fiat.mjs.map +1 -0
  45. package/resources/funding.d.mts +86 -86
  46. package/resources/funding.d.mts.map +1 -1
  47. package/resources/funding.d.ts +86 -86
  48. package/resources/funding.d.ts.map +1 -1
  49. package/resources/index.d.mts +20 -18
  50. package/resources/index.d.mts.map +1 -1
  51. package/resources/index.d.ts +20 -18
  52. package/resources/index.d.ts.map +1 -1
  53. package/resources/index.js +5 -1
  54. package/resources/index.js.map +1 -1
  55. package/resources/index.mjs +3 -1
  56. package/resources/index.mjs.map +1 -1
  57. package/resources/intents.d.mts +269 -265
  58. package/resources/intents.d.mts.map +1 -1
  59. package/resources/intents.d.ts +269 -265
  60. package/resources/intents.d.ts.map +1 -1
  61. package/resources/key-quorums.d.mts +15 -146
  62. package/resources/key-quorums.d.mts.map +1 -1
  63. package/resources/key-quorums.d.ts +15 -146
  64. package/resources/key-quorums.d.ts.map +1 -1
  65. package/resources/key-quorums.js +0 -92
  66. package/resources/key-quorums.js.map +1 -1
  67. package/resources/key-quorums.mjs +0 -92
  68. package/resources/key-quorums.mjs.map +1 -1
  69. package/resources/kraken-embed.d.mts +12 -20
  70. package/resources/kraken-embed.d.mts.map +1 -1
  71. package/resources/kraken-embed.d.ts +12 -20
  72. package/resources/kraken-embed.d.ts.map +1 -1
  73. package/resources/organizations.d.mts +65 -0
  74. package/resources/organizations.d.mts.map +1 -0
  75. package/resources/organizations.d.ts +65 -0
  76. package/resources/organizations.d.ts.map +1 -0
  77. package/resources/organizations.js +9 -0
  78. package/resources/organizations.js.map +1 -0
  79. package/resources/organizations.mjs +5 -0
  80. package/resources/organizations.mjs.map +1 -0
  81. package/resources/policies.d.mts +261 -553
  82. package/resources/policies.d.mts.map +1 -1
  83. package/resources/policies.d.ts +261 -553
  84. package/resources/policies.d.ts.map +1 -1
  85. package/resources/policies.js +0 -229
  86. package/resources/policies.js.map +1 -1
  87. package/resources/policies.mjs +0 -229
  88. package/resources/policies.mjs.map +1 -1
  89. package/resources/shared.d.mts +28 -28
  90. package/resources/shared.d.mts.map +1 -1
  91. package/resources/shared.d.ts +28 -28
  92. package/resources/shared.d.ts.map +1 -1
  93. package/resources/swaps.d.mts +6 -9
  94. package/resources/swaps.d.mts.map +1 -1
  95. package/resources/swaps.d.ts +6 -9
  96. package/resources/swaps.d.ts.map +1 -1
  97. package/resources/swaps.js.map +1 -1
  98. package/resources/swaps.mjs.map +1 -1
  99. package/resources/transactions.d.mts +80 -96
  100. package/resources/transactions.d.mts.map +1 -1
  101. package/resources/transactions.d.ts +80 -96
  102. package/resources/transactions.d.ts.map +1 -1
  103. package/resources/transactions.js +0 -17
  104. package/resources/transactions.js.map +1 -1
  105. package/resources/transactions.mjs +0 -17
  106. package/resources/transactions.mjs.map +1 -1
  107. package/resources/users.d.mts +480 -815
  108. package/resources/users.d.mts.map +1 -1
  109. package/resources/users.d.ts +480 -815
  110. package/resources/users.d.ts.map +1 -1
  111. package/resources/users.js +0 -272
  112. package/resources/users.js.map +1 -1
  113. package/resources/users.mjs +0 -272
  114. package/resources/users.mjs.map +1 -1
  115. package/resources/wallet-actions.d.mts +302 -145
  116. package/resources/wallet-actions.d.mts.map +1 -1
  117. package/resources/wallet-actions.d.ts +302 -145
  118. package/resources/wallet-actions.d.ts.map +1 -1
  119. package/resources/wallets/index.d.mts +1 -1
  120. package/resources/wallets/index.d.mts.map +1 -1
  121. package/resources/wallets/index.d.ts +1 -1
  122. package/resources/wallets/index.d.ts.map +1 -1
  123. package/resources/wallets/index.js.map +1 -1
  124. package/resources/wallets/index.mjs.map +1 -1
  125. package/resources/wallets/transactions.d.mts +7 -2
  126. package/resources/wallets/transactions.d.mts.map +1 -1
  127. package/resources/wallets/transactions.d.ts +7 -2
  128. package/resources/wallets/transactions.d.ts.map +1 -1
  129. package/resources/wallets/transactions.js +1 -1
  130. package/resources/wallets/transactions.mjs +1 -1
  131. package/resources/wallets/wallets.d.mts +1592 -1580
  132. package/resources/wallets/wallets.d.mts.map +1 -1
  133. package/resources/wallets/wallets.d.ts +1592 -1580
  134. package/resources/wallets/wallets.d.ts.map +1 -1
  135. package/resources/wallets/wallets.js +45 -103
  136. package/resources/wallets/wallets.js.map +1 -1
  137. package/resources/wallets/wallets.mjs +45 -103
  138. package/resources/wallets/wallets.mjs.map +1 -1
  139. package/resources/webhooks.d.mts +935 -877
  140. package/resources/webhooks.d.mts.map +1 -1
  141. package/resources/webhooks.d.ts +935 -877
  142. package/resources/webhooks.d.ts.map +1 -1
  143. package/resources/yield.d.mts +157 -157
  144. package/resources/yield.d.mts.map +1 -1
  145. package/resources/yield.d.ts +157 -157
  146. package/resources/yield.d.ts.map +1 -1
  147. package/src/client.ts +650 -618
  148. package/src/internal/types.ts +6 -8
  149. package/src/resources/accounts.ts +157 -103
  150. package/src/resources/aggregations.ts +55 -55
  151. package/src/resources/apps.ts +221 -178
  152. package/src/resources/client-auth.ts +1271 -1315
  153. package/src/resources/embedded-wallets.ts +160 -160
  154. package/src/resources/fiat.ts +177 -0
  155. package/src/resources/funding.ts +130 -130
  156. package/src/resources/index.ts +551 -542
  157. package/src/resources/intents.ts +326 -322
  158. package/src/resources/key-quorums.ts +16 -218
  159. package/src/resources/kraken-embed.ts +14 -22
  160. package/src/resources/organizations.ts +82 -0
  161. package/src/resources/policies.ts +383 -848
  162. package/src/resources/shared.ts +34 -34
  163. package/src/resources/swaps.ts +5 -10
  164. package/src/resources/transactions.ts +116 -136
  165. package/src/resources/users.ts +693 -1160
  166. package/src/resources/wallet-actions.ts +392 -185
  167. package/src/resources/wallets/index.ts +160 -156
  168. package/src/resources/wallets/transactions.ts +18 -3
  169. package/src/resources/wallets/wallets.ts +2123 -2113
  170. package/src/resources/webhooks.ts +1172 -1100
  171. package/src/resources/yield.ts +188 -188
  172. package/src/version.ts +1 -1
  173. package/version.d.mts +1 -1
  174. package/version.d.mts.map +1 -1
  175. package/version.d.ts +1 -1
  176. package/version.d.ts.map +1 -1
  177. package/version.js +1 -1
  178. package/version.js.map +1 -1
  179. package/version.mjs +1 -1
  180. package/version.mjs.map +1 -1
@@ -4,199 +4,203 @@ export { Balance, type BalanceGetResponse, type BalanceGetParams } from './balan
4
4
  export { Transactions, type TransactionGetResponse, type TransactionGetParams } from './transactions';
5
5
  export {
6
6
  Wallets,
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
7
  type AdditionalSignerInput,
18
- type WalletAdditionalSignerItem,
19
- type WalletAdditionalSigner,
8
+ type AdditionalSignerItemInput,
20
9
  type Address,
21
- type WalletCustodian,
22
- type CustodialWalletProvider,
10
+ type AmountType,
11
+ type AuthorizationKeyDashboardResponse,
12
+ type AuthorizationKeyResponse,
13
+ type AuthorizationKeyRole,
14
+ type CurveSigningChainType,
15
+ type CurveType,
16
+ type CustodialWallet,
23
17
  type CustodialWalletChainType,
24
18
  type CustodialWalletCreateInput,
25
- type CustodialWallet,
26
- type HpkeEncryption,
27
- type RecipientPublicKey,
19
+ type CustodialWalletProvider,
20
+ type CustomTokenTransferSource,
21
+ type EthereumPersonalSignRpcInput,
22
+ type EthereumPersonalSignRpcInputParams,
23
+ type EthereumPersonalSignRpcResponse,
24
+ type EthereumPersonalSignRpcResponseData,
25
+ type EthereumRpcInput,
26
+ type EthereumRpcResponse,
27
+ type EthereumSecp256k1SignRpcInput,
28
+ type EthereumSecp256k1SignRpcInputParams,
29
+ type EthereumSecp256k1SignRpcResponse,
30
+ type EthereumSecp256k1SignRpcResponseData,
31
+ type EthereumSendCallsCall,
32
+ type EthereumSendCallsRpcInput,
33
+ type EthereumSendCallsRpcInputParams,
34
+ type EthereumSendCallsRpcResponse,
35
+ type EthereumSendCallsRpcResponseData,
36
+ type EthereumSendTransactionRpcInput,
37
+ type EthereumSendTransactionRpcInputParams,
38
+ type EthereumSendTransactionRpcResponse,
39
+ type EthereumSendTransactionRpcResponseData,
40
+ type EthereumSign7702Authorization,
41
+ type EthereumSign7702AuthorizationRpcInput,
42
+ type EthereumSign7702AuthorizationRpcInputParams,
43
+ type EthereumSign7702AuthorizationRpcResponse,
44
+ type EthereumSign7702AuthorizationRpcResponseData,
45
+ type EthereumSignTransactionRpcInput,
46
+ type EthereumSignTransactionRpcInputParams,
47
+ type EthereumSignTransactionRpcResponse,
48
+ type EthereumSignTransactionRpcResponseData,
49
+ type EthereumSignTypedDataRpcInput,
50
+ type EthereumSignTypedDataRpcInputParams,
51
+ type EthereumSignTypedDataRpcResponse,
52
+ type EthereumSignTypedDataRpcResponseData,
53
+ type EthereumSignUserOperationRpcInput,
54
+ type EthereumSignUserOperationRpcInputParams,
55
+ type EthereumSignUserOperationRpcResponse,
56
+ type EthereumSignUserOperationRpcResponseData,
57
+ type EthereumTypedDataInput,
58
+ type ExportPrivateKeyRpcInput,
59
+ type ExportPrivateKeyRpcResponse,
60
+ type ExportSeedPhraseRpcInput,
61
+ type ExportSeedPhraseRpcResponse,
28
62
  type ExportType,
29
- type PrivateKeyExportInput,
30
- type PrivateKeyExportResponse,
31
- type SeedPhraseExportInput,
32
- type SeedPhraseExportResponse,
33
- type WalletImportSupportedChains,
34
- type WalletImportSupportedEntropyTypes,
35
- type WalletImportInitResponse,
63
+ type ExtendedChainType,
64
+ type FirstClassChainType,
65
+ type GetByWalletAddressRequestBody,
66
+ type HDInitInput,
67
+ type HDPath,
68
+ type HDSubmitInput,
36
69
  type HpkeAeadAlgorithm,
70
+ type HpkeEncryption,
37
71
  type HpkeImportConfig,
38
- type CurveType,
39
- type HDPath,
40
- type SigningAlgorithm,
41
72
  type Hex,
73
+ type NamedTokenTransferSource,
74
+ type OutputWithPreviousTransactionData,
75
+ type PolicyInput,
76
+ type PrivateKeyExportInput,
77
+ type PrivateKeyExportResponse,
78
+ type PrivateKeyInitInput,
79
+ type PrivateKeySubmitInput,
42
80
  type Quantity,
43
- type ExportPrivateKeyRpcInput,
44
- type ExportPrivateKeyRpcResponse,
45
- type ExportSeedPhraseRpcInput,
46
- type ExportSeedPhraseRpcResponse,
47
- type RawSignHashParams,
48
81
  type RawSignBytesEncoding,
49
82
  type RawSignBytesHashFunction,
50
83
  type RawSignBytesParams,
51
- type RawSignInputParams,
84
+ type RawSignHashParams,
52
85
  type RawSignInput,
53
- type RawSignResponseData,
86
+ type RawSignInputParams,
54
87
  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,
88
+ type RawSignResponseData,
89
+ type RecipientPublicKey,
90
+ type SeedPhraseExportInput,
91
+ type SeedPhraseExportResponse,
92
+ type SigningAlgorithm,
103
93
  type SolanaRpcInput,
104
- type SolanaSignTransactionRpcResponseData,
105
- type SolanaSignTransactionRpcResponse,
106
- type SolanaSignAndSendTransactionRpcResponseData,
94
+ type SolanaRpcResponse,
95
+ type SolanaSignAndSendTransactionRpcInput,
96
+ type SolanaSignAndSendTransactionRpcInputParams,
107
97
  type SolanaSignAndSendTransactionRpcResponse,
108
- type SolanaSignMessageRpcResponseData,
98
+ type SolanaSignAndSendTransactionRpcResponseData,
99
+ type SolanaSignMessageRpcInput,
100
+ type SolanaSignMessageRpcInputParams,
109
101
  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,
102
+ type SolanaSignMessageRpcResponseData,
103
+ type SolanaSignTransactionRpcInput,
104
+ type SolanaSignTransactionRpcInputParams,
105
+ type SolanaSignTransactionRpcResponse,
106
+ type SolanaSignTransactionRpcResponseData,
107
+ type SolanaWalletDerivationStrategy,
118
108
  type SparkBalance,
119
- type TokenOutput,
120
- type OutputWithPreviousTransactionData,
109
+ type SparkClaimStaticDepositRpcInput,
110
+ type SparkClaimStaticDepositRpcInputParams,
111
+ type SparkClaimStaticDepositRpcResponse,
112
+ type SparkClaimStaticDepositRpcResponseData,
113
+ type SparkCreateLightningInvoiceRpcInput,
114
+ type SparkCreateLightningInvoiceRpcInputParams,
115
+ type SparkCreateLightningInvoiceRpcResponse,
116
+ type SparkGetBalanceRpcInput,
117
+ type SparkGetBalanceRpcResponse,
118
+ type SparkGetClaimStaticDepositQuoteRpcInput,
119
+ type SparkGetClaimStaticDepositQuoteRpcInputParams,
120
+ type SparkGetClaimStaticDepositQuoteRpcResponse,
121
+ type SparkGetClaimStaticDepositQuoteRpcResponseData,
122
+ type SparkGetStaticDepositAddressRpcInput,
123
+ type SparkGetStaticDepositAddressRpcResponse,
124
+ type SparkGetStaticDepositAddressRpcResponseData,
121
125
  type SparkLightningFee,
122
126
  type SparkLightningReceiveRequest,
123
127
  type SparkLightningSendRequest,
124
- type SparkTransferRpcInputParams,
125
- type SparkTransferRpcInput,
126
- type SparkGetBalanceRpcInput,
128
+ type SparkNetwork,
127
129
  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
130
  type SparkPayLightningInvoiceRpcInput,
139
- type SparkSignMessageWithIdentityKeyRpcInputParams,
140
- type SparkSignMessageWithIdentityKeyRpcInput,
131
+ type SparkPayLightningInvoiceRpcInputParams,
132
+ type SparkPayLightningInvoiceRpcResponse,
141
133
  type SparkRpcInput,
134
+ type SparkRpcResponse,
135
+ type SparkSignMessageWithIdentityKeyRpcInput,
136
+ type SparkSignMessageWithIdentityKeyRpcInputParams,
137
+ type SparkSignMessageWithIdentityKeyRpcResponse,
138
+ type SparkSignMessageWithIdentityKeyRpcResponseData,
139
+ type SparkSigningKeyshare,
140
+ type SparkTokenBalance,
141
+ type SparkTransfer,
142
+ type SparkTransferLeaf,
143
+ type SparkTransferRpcInput,
144
+ type SparkTransferRpcInputParams,
142
145
  type SparkTransferRpcResponse,
143
- type SparkGetBalanceRpcResponse,
144
- type SparkTransferTokensRpcResponseData,
146
+ type SparkTransferTokensRpcInput,
147
+ type SparkTransferTokensRpcInputParams,
145
148
  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,
149
+ type SparkTransferTokensRpcResponseData,
150
+ type SparkUserTokenMetadata,
151
+ type SparkWalletLeaf,
152
+ type SuiCommandName,
153
+ type TempoAaAuthorization,
154
+ type TempoCall,
155
+ type TempoFeePayerSignature,
156
+ type TokenOutput,
174
157
  type TokenTransferDestination,
158
+ type TokenTransferSource,
159
+ type TransactionDetail,
160
+ type TransactionTokenAddressInput,
161
+ type TransferReceivedTransactionDetail,
175
162
  type TransferRequestBody,
176
- type SuiCommandName,
177
- type WalletEthereumAsset,
178
- type WalletSolanaAsset,
179
- type WalletAsset,
180
163
  type TransferSentTransactionDetail,
181
- type TransferReceivedTransactionDetail,
182
- type TransactionDetail,
164
+ type TypedDataDomainInputParams,
165
+ type TypedDataTypeFieldInput,
166
+ type TypedDataTypesInputParams,
167
+ type UnsignedEthereumTransaction,
168
+ type UnsignedStandardEthereumTransaction,
169
+ type UnsignedTempoTransaction,
170
+ type UserOperationInput,
171
+ type Wallet,
172
+ type WalletAdditionalSigner,
173
+ type WalletAdditionalSignerItem,
183
174
  type WalletAPIRegisterAuthorizationKeyInput,
184
175
  type WalletAPIRevokeAuthorizationKeyInput,
185
- type AuthorizationKeyDashboardResponse,
186
- type AuthorizationKeyResponse,
187
- type WalletAuthorizationHeaders,
188
- type WalletInitImportResponse,
176
+ type WalletAsset,
177
+ type WalletAuthenticateRequestBody,
189
178
  type WalletAuthenticateWithJwtResponse,
179
+ type WalletAuthorizationHeaders,
180
+ type WalletBatchCreateInput,
181
+ type WalletBatchCreateResponse,
182
+ type WalletBatchCreateResult,
183
+ type WalletBatchItemInput,
184
+ type WalletChainType,
190
185
  type WalletCreateWalletsWithRecoveryResponse,
186
+ type WalletCustodian,
187
+ type WalletEntropyType,
188
+ type WalletEthereumAsset,
189
+ type WalletExportRequestBody,
190
+ type WalletExportResponseBody,
191
+ type WalletImportInitResponse,
192
+ type WalletImportSupportedChains,
193
+ type WalletImportSupportedEntropyTypes,
194
+ type WalletRevokeResponse,
195
+ type WalletRpcRequestBody,
196
+ type WalletRpcResponse,
197
+ type WalletSolanaAsset,
198
+ type WalletUpdateRequestBody,
191
199
  type WalletCreateParams,
200
+ type WalletUpdateParams,
192
201
  type WalletListParams,
193
202
  type WalletExportParams,
194
- type WalletInitImportParams,
195
203
  type WalletRawSignParams,
196
204
  type WalletRpcParams,
197
- type WalletSubmitImportParams,
198
- type WalletUpdateParams,
199
- type WalletAuthenticateWithJwtParams,
200
- type WalletCreateWalletsWithRecoveryParams,
201
205
  type WalletsCursor,
202
206
  } from './wallets';
@@ -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;