@privy-io/api-types 0.8.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.
- package/CHANGELOG.md +57 -0
- package/client.d.mts +35 -32
- package/client.d.mts.map +1 -1
- package/client.d.ts +35 -32
- package/client.d.ts.map +1 -1
- package/client.js +22 -8
- package/client.js.map +1 -1
- package/client.mjs +22 -8
- package/client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +128 -86
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +128 -86
- package/resources/accounts.d.ts.map +1 -1
- package/resources/aggregations.d.mts +43 -43
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +43 -43
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/apps.d.mts +177 -129
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +177 -129
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +650 -648
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +650 -648
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +84 -84
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +84 -84
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/funding.d.mts +42 -42
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +42 -42
- package/resources/funding.d.ts.map +1 -1
- package/resources/index.d.mts +19 -18
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +19 -18
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +270 -266
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +270 -266
- package/resources/intents.d.ts.map +1 -1
- package/resources/key-quorums.d.mts +20 -20
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +20 -20
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/kraken-embed.d.mts +62 -19
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +62 -19
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/organizations.d.mts +65 -0
- package/resources/organizations.d.mts.map +1 -0
- package/resources/organizations.d.ts +65 -0
- package/resources/organizations.d.ts.map +1 -0
- package/resources/organizations.js +9 -0
- package/resources/organizations.js.map +1 -0
- package/resources/organizations.mjs +5 -0
- package/resources/organizations.mjs.map +1 -0
- package/resources/policies.d.mts +360 -231
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +360 -231
- package/resources/policies.d.ts.map +1 -1
- package/resources/shared.d.mts +28 -28
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +28 -28
- package/resources/shared.d.ts.map +1 -1
- package/resources/swaps.d.mts +8 -11
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +8 -11
- package/resources/swaps.d.ts.map +1 -1
- package/resources/swaps.js.map +1 -1
- package/resources/swaps.mjs.map +1 -1
- package/resources/transactions.d.mts +56 -66
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +56 -66
- package/resources/transactions.d.ts.map +1 -1
- package/resources/users.d.mts +457 -448
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +457 -448
- package/resources/users.d.ts.map +1 -1
- package/resources/wallet-actions.d.mts +450 -41
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +450 -41
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +2 -1
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +2 -1
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.js.map +1 -1
- package/resources/wallets/balance.mjs.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +16 -31
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +16 -31
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js +1 -1
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +1475 -1172
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +1475 -1172
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +10 -6
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +10 -6
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +1345 -582
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +1345 -582
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +157 -157
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +157 -157
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +661 -455
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/accounts.ts +157 -103
- package/src/resources/aggregations.ts +55 -55
- package/src/resources/apps.ts +232 -166
- package/src/resources/client-auth.ts +890 -890
- package/src/resources/embedded-wallets.ts +123 -123
- package/src/resources/funding.ts +66 -66
- package/src/resources/index.ts +521 -431
- package/src/resources/intents.ts +326 -322
- package/src/resources/key-quorums.ts +23 -23
- package/src/resources/kraken-embed.ts +116 -19
- package/src/resources/organizations.ts +82 -0
- package/src/resources/policies.ts +495 -339
- package/src/resources/shared.ts +34 -34
- package/src/resources/swaps.ts +9 -14
- package/src/resources/transactions.ts +88 -115
- package/src/resources/users.ts +664 -653
- package/src/resources/wallet-actions.ts +585 -56
- package/src/resources/wallets/balance.ts +2 -1
- package/src/resources/wallets/index.ts +158 -138
- package/src/resources/wallets/transactions.ts +20 -83
- package/src/resources/wallets/wallets.ts +1997 -1563
- package/src/resources/webhooks.ts +1652 -700
- package/src/resources/yield.ts +188 -188
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -1,35 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
2
|
export declare class WalletActions extends APIResource {
|
|
3
3
|
}
|
|
4
|
-
/**
|
|
5
|
-
* Type of wallet action
|
|
6
|
-
*/
|
|
7
|
-
export type WalletActionType = 'swap' | 'transfer';
|
|
8
|
-
/**
|
|
9
|
-
* Status of a wallet action.
|
|
10
|
-
*/
|
|
11
|
-
export type WalletActionStatus = 'pending' | 'succeeded' | 'rejected' | 'failed';
|
|
12
|
-
/**
|
|
13
|
-
* Type of a wallet action step.
|
|
14
|
-
*/
|
|
15
|
-
export type WalletActionStepType = 'evm_transaction' | 'evm_user_operation';
|
|
16
|
-
/**
|
|
17
|
-
* Status of an EVM step in a wallet action.
|
|
18
|
-
*/
|
|
19
|
-
export type EvmWalletActionStepStatus = 'preparing' | 'queued' | 'pending' | 'retrying' | 'confirmed' | 'rejected' | 'reverted' | 'replaced' | 'abandoned';
|
|
20
|
-
/**
|
|
21
|
-
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
22
|
-
*/
|
|
23
|
-
export interface FailureReason {
|
|
24
|
-
/**
|
|
25
|
-
* Human-readable failure message.
|
|
26
|
-
*/
|
|
27
|
-
message: string;
|
|
28
|
-
/**
|
|
29
|
-
* Additional error details, if available.
|
|
30
|
-
*/
|
|
31
|
-
details?: unknown;
|
|
32
|
-
}
|
|
33
4
|
/**
|
|
34
5
|
* A wallet action step consisting of an EVM transaction.
|
|
35
6
|
*/
|
|
@@ -86,9 +57,398 @@ export interface EvmUserOperationWalletActionStep {
|
|
|
86
57
|
failure_reason?: FailureReason;
|
|
87
58
|
}
|
|
88
59
|
/**
|
|
89
|
-
*
|
|
60
|
+
* Status of an EVM step in a wallet action.
|
|
90
61
|
*/
|
|
91
|
-
export type
|
|
62
|
+
export type EvmWalletActionStepStatus = 'preparing' | 'queued' | 'pending' | 'retrying' | 'confirmed' | 'rejected' | 'reverted' | 'replaced' | 'abandoned';
|
|
63
|
+
/**
|
|
64
|
+
* Asset metadata for an earn vault position.
|
|
65
|
+
*/
|
|
66
|
+
export interface EarnAsset {
|
|
67
|
+
/**
|
|
68
|
+
* Token contract address.
|
|
69
|
+
*/
|
|
70
|
+
address: string;
|
|
71
|
+
/**
|
|
72
|
+
* Number of decimals for the asset (e.g. 6 for USDC).
|
|
73
|
+
*/
|
|
74
|
+
decimals: number;
|
|
75
|
+
/**
|
|
76
|
+
* Lowercase token symbol (e.g. "usdc").
|
|
77
|
+
*/
|
|
78
|
+
symbol: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Response for an earn deposit action.
|
|
82
|
+
*/
|
|
83
|
+
export interface EarnDepositActionResponse {
|
|
84
|
+
/**
|
|
85
|
+
* The ID of the wallet action.
|
|
86
|
+
*/
|
|
87
|
+
id: string;
|
|
88
|
+
/**
|
|
89
|
+
* Underlying asset token address.
|
|
90
|
+
*/
|
|
91
|
+
asset_address: string;
|
|
92
|
+
/**
|
|
93
|
+
* CAIP-2 chain identifier.
|
|
94
|
+
*/
|
|
95
|
+
caip2: string;
|
|
96
|
+
/**
|
|
97
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
98
|
+
*/
|
|
99
|
+
created_at: string;
|
|
100
|
+
/**
|
|
101
|
+
* Base-unit amount of asset deposited (e.g. "1500000").
|
|
102
|
+
*/
|
|
103
|
+
raw_amount: string;
|
|
104
|
+
/**
|
|
105
|
+
* Vault shares received in base units. Populated after on-chain confirmation.
|
|
106
|
+
*/
|
|
107
|
+
share_amount: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* Status of a wallet action.
|
|
110
|
+
*/
|
|
111
|
+
status: WalletActionStatus;
|
|
112
|
+
type: 'earn_deposit';
|
|
113
|
+
/**
|
|
114
|
+
* ERC-4626 vault contract address.
|
|
115
|
+
*/
|
|
116
|
+
vault_address: string;
|
|
117
|
+
/**
|
|
118
|
+
* The vault ID.
|
|
119
|
+
*/
|
|
120
|
+
vault_id: string;
|
|
121
|
+
/**
|
|
122
|
+
* The ID of the wallet involved in the action.
|
|
123
|
+
*/
|
|
124
|
+
wallet_id: string;
|
|
125
|
+
/**
|
|
126
|
+
* Human-readable decimal amount of asset deposited (e.g. "1.5"). Only present when
|
|
127
|
+
* the token is known in the asset registry.
|
|
128
|
+
*/
|
|
129
|
+
amount?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
|
|
132
|
+
* the asset registry.
|
|
133
|
+
*/
|
|
134
|
+
asset?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
|
|
137
|
+
* present when the token is known in the asset registry.
|
|
138
|
+
*/
|
|
139
|
+
decimals?: number;
|
|
140
|
+
/**
|
|
141
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
142
|
+
*/
|
|
143
|
+
failure_reason?: FailureReason;
|
|
144
|
+
/**
|
|
145
|
+
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
146
|
+
*/
|
|
147
|
+
steps?: Array<WalletActionStep>;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Input for depositing assets into an ERC-4626 vault. Exactly one of `amount` or
|
|
151
|
+
* `raw_amount` must be provided.
|
|
152
|
+
*/
|
|
153
|
+
export interface EarnDepositRequestBody {
|
|
154
|
+
/**
|
|
155
|
+
* The ID of the vault to deposit into.
|
|
156
|
+
*/
|
|
157
|
+
vault_id: string;
|
|
158
|
+
/**
|
|
159
|
+
* Human-readable decimal amount to deposit (e.g. "1.5" for 1.5 USDC). Exactly one
|
|
160
|
+
* of `amount` or `raw_amount` must be provided.
|
|
161
|
+
*/
|
|
162
|
+
amount?: string;
|
|
163
|
+
/**
|
|
164
|
+
* Amount in smallest unit to deposit (e.g. "1500000" for 1.5 USDC with 6
|
|
165
|
+
* decimals). Exactly one of `amount` or `raw_amount` must be provided.
|
|
166
|
+
*/
|
|
167
|
+
raw_amount?: string;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Response for an earn incentive claim action.
|
|
171
|
+
*/
|
|
172
|
+
export interface EarnIncentiveClaimActionResponse {
|
|
173
|
+
/**
|
|
174
|
+
* The ID of the wallet action.
|
|
175
|
+
*/
|
|
176
|
+
id: string;
|
|
177
|
+
/**
|
|
178
|
+
* EVM chain name (e.g. "base", "ethereum").
|
|
179
|
+
*/
|
|
180
|
+
chain: string;
|
|
181
|
+
/**
|
|
182
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
183
|
+
*/
|
|
184
|
+
created_at: string;
|
|
185
|
+
/**
|
|
186
|
+
* Claimed reward tokens. Populated after the preparation step fetches from Merkl.
|
|
187
|
+
*/
|
|
188
|
+
rewards: Array<EarnIncetiveClaimRewardEntry> | null;
|
|
189
|
+
/**
|
|
190
|
+
* Status of a wallet action.
|
|
191
|
+
*/
|
|
192
|
+
status: WalletActionStatus;
|
|
193
|
+
type: 'earn_incentive_claim';
|
|
194
|
+
/**
|
|
195
|
+
* The ID of the wallet involved in the action.
|
|
196
|
+
*/
|
|
197
|
+
wallet_id: string;
|
|
198
|
+
/**
|
|
199
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
200
|
+
*/
|
|
201
|
+
failure_reason?: FailureReason;
|
|
202
|
+
/**
|
|
203
|
+
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
204
|
+
*/
|
|
205
|
+
steps?: Array<WalletActionStep>;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Input for claiming incentive rewards.
|
|
209
|
+
*/
|
|
210
|
+
export interface EarnIncentiveClaimRequestBody {
|
|
211
|
+
/**
|
|
212
|
+
* The blockchain network on which to perform the incentive claim. Supported chains
|
|
213
|
+
* include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and more, along
|
|
214
|
+
* with their respective testnets.
|
|
215
|
+
*/
|
|
216
|
+
chain: string;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* A specific reward token and amount associated with an earn incentive claim.
|
|
220
|
+
*/
|
|
221
|
+
export interface EarnIncetiveClaimRewardEntry {
|
|
222
|
+
/**
|
|
223
|
+
* Claimable amount in base units.
|
|
224
|
+
*/
|
|
225
|
+
amount: string;
|
|
226
|
+
/**
|
|
227
|
+
* Address of the reward token.
|
|
228
|
+
*/
|
|
229
|
+
token_address: string;
|
|
230
|
+
/**
|
|
231
|
+
* Symbol of the reward token (e.g. "MORPHO").
|
|
232
|
+
*/
|
|
233
|
+
token_symbol: string;
|
|
234
|
+
/**
|
|
235
|
+
* Number of decimal places for the reward token.
|
|
236
|
+
*/
|
|
237
|
+
token_decimals?: number;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Response for an earn withdraw action.
|
|
241
|
+
*/
|
|
242
|
+
export interface EarnWithdrawActionResponse {
|
|
243
|
+
/**
|
|
244
|
+
* The ID of the wallet action.
|
|
245
|
+
*/
|
|
246
|
+
id: string;
|
|
247
|
+
/**
|
|
248
|
+
* Underlying asset token address.
|
|
249
|
+
*/
|
|
250
|
+
asset_address: string;
|
|
251
|
+
/**
|
|
252
|
+
* CAIP-2 chain identifier.
|
|
253
|
+
*/
|
|
254
|
+
caip2: string;
|
|
255
|
+
/**
|
|
256
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
257
|
+
*/
|
|
258
|
+
created_at: string;
|
|
259
|
+
/**
|
|
260
|
+
* Base-unit amount of asset withdrawn (e.g. "1500000").
|
|
261
|
+
*/
|
|
262
|
+
raw_amount: string;
|
|
263
|
+
/**
|
|
264
|
+
* Vault shares burned in base units. Populated after on-chain confirmation.
|
|
265
|
+
*/
|
|
266
|
+
share_amount: string | null;
|
|
267
|
+
/**
|
|
268
|
+
* Status of a wallet action.
|
|
269
|
+
*/
|
|
270
|
+
status: WalletActionStatus;
|
|
271
|
+
type: 'earn_withdraw';
|
|
272
|
+
/**
|
|
273
|
+
* ERC-4626 vault contract address.
|
|
274
|
+
*/
|
|
275
|
+
vault_address: string;
|
|
276
|
+
/**
|
|
277
|
+
* The vault ID.
|
|
278
|
+
*/
|
|
279
|
+
vault_id: string;
|
|
280
|
+
/**
|
|
281
|
+
* The ID of the wallet involved in the action.
|
|
282
|
+
*/
|
|
283
|
+
wallet_id: string;
|
|
284
|
+
/**
|
|
285
|
+
* Human-readable decimal amount of asset withdrawn (e.g. "1.5"). Only present when
|
|
286
|
+
* the token is known in the asset registry.
|
|
287
|
+
*/
|
|
288
|
+
amount?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
|
|
291
|
+
* the asset registry.
|
|
292
|
+
*/
|
|
293
|
+
asset?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
|
|
296
|
+
* present when the token is known in the asset registry.
|
|
297
|
+
*/
|
|
298
|
+
decimals?: number;
|
|
299
|
+
/**
|
|
300
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
301
|
+
*/
|
|
302
|
+
failure_reason?: FailureReason;
|
|
303
|
+
/**
|
|
304
|
+
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
305
|
+
*/
|
|
306
|
+
steps?: Array<WalletActionStep>;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Input for withdrawing assets from an ERC-4626 vault. Exactly one of `amount` or
|
|
310
|
+
* `raw_amount` must be provided.
|
|
311
|
+
*/
|
|
312
|
+
export interface EarnWithdrawRequestBody {
|
|
313
|
+
/**
|
|
314
|
+
* The ID of the vault to withdraw from.
|
|
315
|
+
*/
|
|
316
|
+
vault_id: string;
|
|
317
|
+
/**
|
|
318
|
+
* Human-readable decimal amount to withdraw (e.g. "1.5" for 1.5 USDC). Exactly one
|
|
319
|
+
* of `amount` or `raw_amount` must be provided.
|
|
320
|
+
*/
|
|
321
|
+
amount?: string;
|
|
322
|
+
/**
|
|
323
|
+
* Amount in smallest unit to withdraw (e.g. "1500000" for 1.5 USDC with 6
|
|
324
|
+
* decimals). Exactly one of `amount` or `raw_amount` must be provided.
|
|
325
|
+
*/
|
|
326
|
+
raw_amount?: string;
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Query parameters for fetching an earn vault position.
|
|
330
|
+
*/
|
|
331
|
+
export interface EthereumEarnPositionQuery {
|
|
332
|
+
/**
|
|
333
|
+
* The vault ID to get position for.
|
|
334
|
+
*/
|
|
335
|
+
vault_id: string;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* A wallet's position in an earn vault.
|
|
339
|
+
*/
|
|
340
|
+
export interface EthereumEarnPositionResponse {
|
|
341
|
+
/**
|
|
342
|
+
* Asset metadata for an earn vault position.
|
|
343
|
+
*/
|
|
344
|
+
asset: EarnAsset;
|
|
345
|
+
/**
|
|
346
|
+
* Current asset value in the vault (realtime from ERC-4626), in smallest unit.
|
|
347
|
+
*/
|
|
348
|
+
assets_in_vault: string;
|
|
349
|
+
/**
|
|
350
|
+
* Current vault shares held (realtime from ERC-4626).
|
|
351
|
+
*/
|
|
352
|
+
shares_in_vault: string;
|
|
353
|
+
/**
|
|
354
|
+
* Total amount deposited into the vault, in smallest unit.
|
|
355
|
+
*/
|
|
356
|
+
total_deposited: string;
|
|
357
|
+
/**
|
|
358
|
+
* Total amount withdrawn from the vault, in smallest unit.
|
|
359
|
+
*/
|
|
360
|
+
total_withdrawn: string;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Supported earn provider protocols.
|
|
364
|
+
*/
|
|
365
|
+
export type EthereumEarnProvider = 'morpho' | 'aave';
|
|
366
|
+
/**
|
|
367
|
+
* Detailed vault information including current APY, liquidity, and asset metadata.
|
|
368
|
+
*/
|
|
369
|
+
export interface EthereumEarnVaultDetailsResponse {
|
|
370
|
+
/**
|
|
371
|
+
* Vault identifier.
|
|
372
|
+
*/
|
|
373
|
+
id: string;
|
|
374
|
+
/**
|
|
375
|
+
* Annual percentage yield earned by the app from fee wrapper fees, in basis
|
|
376
|
+
* points.
|
|
377
|
+
*/
|
|
378
|
+
app_apy: number | null;
|
|
379
|
+
/**
|
|
380
|
+
* Asset metadata for an earn vault position.
|
|
381
|
+
*/
|
|
382
|
+
asset: EarnAsset;
|
|
383
|
+
/**
|
|
384
|
+
* Available liquidity in USD.
|
|
385
|
+
*/
|
|
386
|
+
available_liquidity_usd: number | null;
|
|
387
|
+
/**
|
|
388
|
+
* CAIP-2 chain identifier (e.g. "eip155:8453").
|
|
389
|
+
*/
|
|
390
|
+
caip2: string;
|
|
391
|
+
/**
|
|
392
|
+
* Human-readable vault name from the yield provider.
|
|
393
|
+
*/
|
|
394
|
+
name: string;
|
|
395
|
+
/**
|
|
396
|
+
* Supported earn provider protocols.
|
|
397
|
+
*/
|
|
398
|
+
provider: EthereumEarnProvider;
|
|
399
|
+
/**
|
|
400
|
+
* Total value locked in USD.
|
|
401
|
+
*/
|
|
402
|
+
tvl_usd: number | null;
|
|
403
|
+
/**
|
|
404
|
+
* Current annual percentage yield in basis points (e.g. 500 for 5%). 1 basis point
|
|
405
|
+
* = 0.01%.
|
|
406
|
+
*/
|
|
407
|
+
user_apy: number | null;
|
|
408
|
+
/**
|
|
409
|
+
* Onchain vault contract address.
|
|
410
|
+
*/
|
|
411
|
+
vault_address: string;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
415
|
+
*/
|
|
416
|
+
export interface FailureReason {
|
|
417
|
+
/**
|
|
418
|
+
* Human-readable failure message.
|
|
419
|
+
*/
|
|
420
|
+
message: string;
|
|
421
|
+
/**
|
|
422
|
+
* Additional error details, if available.
|
|
423
|
+
*/
|
|
424
|
+
details?: unknown;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* A wallet action step consisting of an SVM (Solana) transaction.
|
|
428
|
+
*/
|
|
429
|
+
export interface SvmTransactionWalletActionStep {
|
|
430
|
+
/**
|
|
431
|
+
* CAIP-2 chain identifier for the Solana network.
|
|
432
|
+
*/
|
|
433
|
+
caip2: string;
|
|
434
|
+
/**
|
|
435
|
+
* Status of an SVM step in a wallet action.
|
|
436
|
+
*/
|
|
437
|
+
status: SvmWalletActionStepStatus;
|
|
438
|
+
/**
|
|
439
|
+
* The Solana transaction signature (base58-encoded). Null until broadcast.
|
|
440
|
+
*/
|
|
441
|
+
transaction_signature: string | null;
|
|
442
|
+
type: 'svm_transaction';
|
|
443
|
+
/**
|
|
444
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
445
|
+
*/
|
|
446
|
+
failure_reason?: FailureReason;
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* Status of an SVM step in a wallet action.
|
|
450
|
+
*/
|
|
451
|
+
export type SvmWalletActionStepStatus = 'preparing' | 'queued' | 'pending' | 'confirmed' | 'finalized' | 'rejected' | 'reverted' | 'failed';
|
|
92
452
|
/**
|
|
93
453
|
* Response for a swap action.
|
|
94
454
|
*/
|
|
@@ -130,6 +490,10 @@ export interface SwapActionResponse {
|
|
|
130
490
|
* The ID of the wallet involved in the action.
|
|
131
491
|
*/
|
|
132
492
|
wallet_id: string;
|
|
493
|
+
/**
|
|
494
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
495
|
+
*/
|
|
496
|
+
failure_reason?: FailureReason;
|
|
133
497
|
/**
|
|
134
498
|
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
135
499
|
*/
|
|
@@ -151,14 +515,6 @@ export interface TransferActionResponse {
|
|
|
151
515
|
* Recipient address.
|
|
152
516
|
*/
|
|
153
517
|
destination_address: string;
|
|
154
|
-
/**
|
|
155
|
-
* Decimal amount as the user provided (e.g. "1.5").
|
|
156
|
-
*/
|
|
157
|
-
source_amount: string;
|
|
158
|
-
/**
|
|
159
|
-
* Asset identifier (e.g. "usdc", "eth").
|
|
160
|
-
*/
|
|
161
|
-
source_asset: string;
|
|
162
518
|
/**
|
|
163
519
|
* Chain name (e.g. "base", "ethereum").
|
|
164
520
|
*/
|
|
@@ -172,6 +528,43 @@ export interface TransferActionResponse {
|
|
|
172
528
|
* The ID of the wallet involved in the action.
|
|
173
529
|
*/
|
|
174
530
|
wallet_id: string;
|
|
531
|
+
/**
|
|
532
|
+
* Amount received on the destination chain. Populated immediately for exact_output
|
|
533
|
+
* transfers, or after fill confirmation for exact_input transfers.
|
|
534
|
+
*/
|
|
535
|
+
destination_amount?: string;
|
|
536
|
+
/**
|
|
537
|
+
* Destination asset for cross-asset transfers. Omitted for same-asset transfers.
|
|
538
|
+
*/
|
|
539
|
+
destination_asset?: string;
|
|
540
|
+
/**
|
|
541
|
+
* Destination chain for cross-chain transfers. Omitted for same-chain transfers.
|
|
542
|
+
*/
|
|
543
|
+
destination_chain?: string;
|
|
544
|
+
/**
|
|
545
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
546
|
+
*/
|
|
547
|
+
failure_reason?: FailureReason;
|
|
548
|
+
/**
|
|
549
|
+
* Decimal amount sent on the source chain (e.g. "1.5"). Omitted for exact_output
|
|
550
|
+
* cross-chain transfers until the source amount is determined.
|
|
551
|
+
*/
|
|
552
|
+
source_amount?: string;
|
|
553
|
+
/**
|
|
554
|
+
* Asset identifier (e.g. "usdc", "eth"). Present when the transfer was initiated
|
|
555
|
+
* with a named asset; omitted for custom-token transfers.
|
|
556
|
+
*/
|
|
557
|
+
source_asset?: string;
|
|
558
|
+
/**
|
|
559
|
+
* Token contract address (EVM) or mint address (Solana). Present when the transfer
|
|
560
|
+
* was initiated with `asset_address`.
|
|
561
|
+
*/
|
|
562
|
+
source_asset_address?: string;
|
|
563
|
+
/**
|
|
564
|
+
* Number of decimals for the transferred token. Present when the transfer was
|
|
565
|
+
* initiated with `asset_address` and the decimals were resolved on-chain.
|
|
566
|
+
*/
|
|
567
|
+
source_asset_decimals?: number;
|
|
175
568
|
/**
|
|
176
569
|
* The steps of the wallet action. Only returned if `?include=steps` is provided.
|
|
177
570
|
*/
|
|
@@ -180,8 +573,24 @@ export interface TransferActionResponse {
|
|
|
180
573
|
/**
|
|
181
574
|
* Response for a wallet action, discriminated on type.
|
|
182
575
|
*/
|
|
183
|
-
export type WalletActionResponse = SwapActionResponse | TransferActionResponse;
|
|
576
|
+
export type WalletActionResponse = SwapActionResponse | TransferActionResponse | EarnDepositActionResponse | EarnWithdrawActionResponse | EarnIncentiveClaimActionResponse;
|
|
577
|
+
/**
|
|
578
|
+
* Status of a wallet action.
|
|
579
|
+
*/
|
|
580
|
+
export type WalletActionStatus = 'pending' | 'succeeded' | 'rejected' | 'failed';
|
|
581
|
+
/**
|
|
582
|
+
* A step within a wallet action, representing a single onchain action.
|
|
583
|
+
*/
|
|
584
|
+
export type WalletActionStep = EvmTransactionWalletActionStep | EvmUserOperationWalletActionStep | SvmTransactionWalletActionStep;
|
|
585
|
+
/**
|
|
586
|
+
* Type of a wallet action step.
|
|
587
|
+
*/
|
|
588
|
+
export type WalletActionStepType = 'evm_transaction' | 'evm_user_operation' | 'svm_transaction';
|
|
589
|
+
/**
|
|
590
|
+
* Type of wallet action
|
|
591
|
+
*/
|
|
592
|
+
export type WalletActionType = 'swap' | 'transfer' | 'earn_deposit' | 'earn_withdraw' | 'earn_incentive_claim';
|
|
184
593
|
export declare namespace WalletActions {
|
|
185
|
-
export { type
|
|
594
|
+
export { type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep, type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep, type EvmWalletActionStepStatus as EvmWalletActionStepStatus, type EarnAsset as EarnAsset, type EarnDepositActionResponse as EarnDepositActionResponse, type EarnDepositRequestBody as EarnDepositRequestBody, type EarnIncentiveClaimActionResponse as EarnIncentiveClaimActionResponse, type EarnIncentiveClaimRequestBody as EarnIncentiveClaimRequestBody, type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry, type EarnWithdrawActionResponse as EarnWithdrawActionResponse, type EarnWithdrawRequestBody as EarnWithdrawRequestBody, type EthereumEarnPositionQuery as EthereumEarnPositionQuery, type EthereumEarnPositionResponse as EthereumEarnPositionResponse, type EthereumEarnProvider as EthereumEarnProvider, type EthereumEarnVaultDetailsResponse as EthereumEarnVaultDetailsResponse, type FailureReason as FailureReason, type SvmTransactionWalletActionStep as SvmTransactionWalletActionStep, type SvmWalletActionStepStatus as SvmWalletActionStepStatus, type SwapActionResponse as SwapActionResponse, type TransferActionResponse as TransferActionResponse, type WalletActionResponse as WalletActionResponse, type WalletActionStatus as WalletActionStatus, type WalletActionStep as WalletActionStep, type WalletActionStepType as WalletActionStepType, type WalletActionType as WalletActionType, };
|
|
186
595
|
}
|
|
187
596
|
//# sourceMappingURL=wallet-actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-actions.d.ts","sourceRoot":"","sources":["../src/resources/wallet-actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,aAAc,SAAQ,WAAW;CAAG;AAEjD;;GAEG;AACH,MAAM,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"wallet-actions.d.ts","sourceRoot":"","s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,yBAAyB,EAC3D,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as WalletsAPI from "./wallets.mjs";
|
|
2
3
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
4
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
5
|
/**
|
|
@@ -38,7 +39,7 @@ export interface BalanceGetParams {
|
|
|
38
39
|
* "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v").
|
|
39
40
|
*/
|
|
40
41
|
token?: string | Array<string>;
|
|
41
|
-
asset?: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<
|
|
42
|
+
asset?: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<WalletsAPI.WalletAsset>;
|
|
42
43
|
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' | Array<'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'>;
|
|
43
44
|
include_currency?: 'usd' | 'eur';
|
|
44
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balance.d.mts","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC7C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,OAAO;QACtB,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;QAE5F,KAAK,EACD,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,CAAC;QAErB,cAAc,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QAE1C,SAAS,EAAE,MAAM,CAAC;QAElB,kBAAkB,EAAE,MAAM,CAAC;KAC5B;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B,KAAK,CAAC,EACF,MAAM,GACN,QAAQ,GACR,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"balance.d.mts","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC7C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,OAAO;QACtB,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,G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B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as WalletsAPI from "./wallets.js";
|
|
2
3
|
import { APIPromise } from "../../core/api-promise.js";
|
|
3
4
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
5
|
/**
|
|
@@ -38,7 +39,7 @@ export interface BalanceGetParams {
|
|
|
38
39
|
* "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v").
|
|
39
40
|
*/
|
|
40
41
|
token?: string | Array<string>;
|
|
41
|
-
asset?: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<
|
|
42
|
+
asset?: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<WalletsAPI.WalletAsset>;
|
|
42
43
|
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' | Array<'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'>;
|
|
43
44
|
include_currency?: 'usd' | 'eur';
|
|
44
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balance.d.ts","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,c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AAC,EACF,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,KAAK,CACD,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,CACnB,CAAC;IAEN,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balance.js","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"balance.js","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAgB,EAChB,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,QAAQ,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF;AAlBD,0BAkBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balance.mjs","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"balance.mjs","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAgB,EAChB,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,QAAQ,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Balance, type BalanceGetResponse, type BalanceGetParams } from "./balance.mjs";
|
|
2
2
|
export { Transactions, type TransactionGetResponse, type TransactionGetParams } from "./transactions.mjs";
|
|
3
|
-
export { Wallets, type WalletRevokeResponse, type
|
|
3
|
+
export { Wallets, type WalletRevokeResponse, type AdditionalSignerInput, type AdditionalSignerItemInput, type Address, type AmountType, type AuthorizationKeyDashboardResponse, type AuthorizationKeyResponse, type AuthorizationKeyRole, type CurveSigningChainType, type CurveType, type CustodialWallet, type CustodialWalletChainType, type CustodialWalletCreateInput, type CustodialWalletProvider, type CustomTokenTransferSource, type EthereumPersonalSignRpcInput, type EthereumPersonalSignRpcInputParams, type EthereumPersonalSignRpcResponse, type EthereumPersonalSignRpcResponseData, type EthereumRpcInput, type EthereumRpcResponse, type EthereumSecp256k1SignRpcInput, type EthereumSecp256k1SignRpcInputParams, type EthereumSecp256k1SignRpcResponse, type EthereumSecp256k1SignRpcResponseData, type EthereumSendCallsCall, type EthereumSendCallsRpcInput, type EthereumSendCallsRpcInputParams, type EthereumSendCallsRpcResponse, type EthereumSendCallsRpcResponseData, type EthereumSendTransactionRpcInput, type EthereumSendTransactionRpcInputParams, type EthereumSendTransactionRpcResponse, type EthereumSendTransactionRpcResponseData, type EthereumSign7702Authorization, type EthereumSign7702AuthorizationRpcInput, type EthereumSign7702AuthorizationRpcInputParams, type EthereumSign7702AuthorizationRpcResponse, type EthereumSign7702AuthorizationRpcResponseData, type EthereumSignTransactionRpcInput, type EthereumSignTransactionRpcInputParams, type EthereumSignTransactionRpcResponse, type EthereumSignTransactionRpcResponseData, type EthereumSignTypedDataRpcInput, type EthereumSignTypedDataRpcInputParams, type EthereumSignTypedDataRpcResponse, type EthereumSignTypedDataRpcResponseData, type EthereumSignUserOperationRpcInput, type EthereumSignUserOperationRpcInputParams, type EthereumSignUserOperationRpcResponse, type EthereumSignUserOperationRpcResponseData, type EthereumTypedDataInput, type ExportPrivateKeyRpcInput, type ExportPrivateKeyRpcResponse, type ExportSeedPhraseRpcInput, type ExportSeedPhraseRpcResponse, type ExportType, type ExtendedChainType, type FirstClassChainType, type GetByWalletAddressRequestBody, type HDInitInput, type HDPath, type HDSubmitInput, type HpkeAeadAlgorithm, type HpkeEncryption, type HpkeImportConfig, type Hex, type NamedTokenTransferSource, type OutputWithPreviousTransactionData, type PolicyInput, type PrivateKeyExportInput, type PrivateKeyExportResponse, type PrivateKeyInitInput, type PrivateKeySubmitInput, type Quantity, type RawSignBytesEncoding, type RawSignBytesHashFunction, type RawSignBytesParams, type RawSignHashParams, type RawSignInput, type RawSignInputParams, type RawSignResponse, type RawSignResponseData, type RecipientPublicKey, type SeedPhraseExportInput, type SeedPhraseExportResponse, type SigningAlgorithm, type SolanaRpcInput, type SolanaRpcResponse, type SolanaSignAndSendTransactionRpcInput, type SolanaSignAndSendTransactionRpcInputParams, type SolanaSignAndSendTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponseData, type SolanaSignMessageRpcInput, type SolanaSignMessageRpcInputParams, type SolanaSignMessageRpcResponse, type SolanaSignMessageRpcResponseData, type SolanaSignTransactionRpcInput, type SolanaSignTransactionRpcInputParams, type SolanaSignTransactionRpcResponse, type SolanaSignTransactionRpcResponseData, type SolanaWalletDerivationStrategy, type SparkBalance, type SparkClaimStaticDepositRpcInput, type SparkClaimStaticDepositRpcInputParams, type SparkClaimStaticDepositRpcResponse, type SparkClaimStaticDepositRpcResponseData, type SparkCreateLightningInvoiceRpcInput, type SparkCreateLightningInvoiceRpcInputParams, type SparkCreateLightningInvoiceRpcResponse, type SparkGetBalanceRpcInput, type SparkGetBalanceRpcResponse, type SparkGetClaimStaticDepositQuoteRpcInput, type SparkGetClaimStaticDepositQuoteRpcInputParams, type SparkGetClaimStaticDepositQuoteRpcResponse, type SparkGetClaimStaticDepositQuoteRpcResponseData, type SparkGetStaticDepositAddressRpcInput, type SparkGetStaticDepositAddressRpcResponse, type SparkGetStaticDepositAddressRpcResponseData, type SparkLightningFee, type SparkLightningReceiveRequest, type SparkLightningSendRequest, type SparkNetwork, type SparkOutputSelectionStrategy, type SparkPayLightningInvoiceRpcInput, type SparkPayLightningInvoiceRpcInputParams, type SparkPayLightningInvoiceRpcResponse, type SparkRpcInput, type SparkRpcResponse, type SparkSignMessageWithIdentityKeyRpcInput, type SparkSignMessageWithIdentityKeyRpcInputParams, type SparkSignMessageWithIdentityKeyRpcResponse, type SparkSignMessageWithIdentityKeyRpcResponseData, type SparkSigningKeyshare, type SparkTokenBalance, type SparkTransfer, type SparkTransferLeaf, type SparkTransferRpcInput, type SparkTransferRpcInputParams, type SparkTransferRpcResponse, type SparkTransferTokensRpcInput, type SparkTransferTokensRpcInputParams, type SparkTransferTokensRpcResponse, type SparkTransferTokensRpcResponseData, type SparkUserTokenMetadata, type SparkWalletLeaf, type SuiCommandName, type TempoAaAuthorization, type TempoCall, type TempoFeePayerSignature, type TokenOutput, type TokenTransferDestination, type TokenTransferSource, type TransactionDetail, type TransactionTokenAddressInput, type TransferReceivedTransactionDetail, type TransferRequestBody, type TransferSentTransactionDetail, type TypedDataDomainInputParams, type TypedDataTypeFieldInput, type TypedDataTypesInputParams, type UnsignedEthereumTransaction, type UnsignedStandardEthereumTransaction, type UnsignedTempoTransaction, type UserOperationInput, type Wallet, type WalletAdditionalSigner, type WalletAdditionalSignerItem, type WalletAPIRegisterAuthorizationKeyInput, type WalletAPIRevokeAuthorizationKeyInput, type WalletAsset, type WalletAuthenticateRequestBody, type WalletAuthorizationHeaders, type WalletBatchCreateInput, type WalletBatchCreateResponse, type WalletBatchCreateResult, type WalletBatchItemInput, type WalletChainType, type WalletCustodian, type WalletEntropyType, type WalletEthereumAsset, type WalletExportRequestBody, type WalletExportResponseBody, type WalletImportInitResponse, type WalletImportSupportedChains, type WalletImportSupportedEntropyTypes, type WalletRpcRequestBody, type WalletRpcResponse, type WalletSolanaAsset, type WalletUpdateRequestBody, type WalletInitImportResponse, type WalletAuthenticateWithJwtResponse, type WalletCreateWalletsWithRecoveryResponse, type WalletCreateParams, type WalletListParams, type WalletExportParams, type WalletInitImportParams, type WalletRawSignParams, type WalletRpcParams, type WalletSubmitImportParams, type WalletUpdateParams, type WalletAuthenticateWithJwtParams, type WalletCreateWalletsWithRecoveryParams, type WalletsCursor, } from "./wallets.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|