@herd-labs/sdk 0.5.2 → 0.5.3
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/dist/src/errors.js +1 -1
- package/dist/src/live/ActionsServiceLive.d.ts +2 -2
- package/dist/src/live/AgentSafesServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWalletsServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWorkflowsServiceLive.d.ts +2 -2
- package/dist/src/live/AuthServiceLive.d.ts +2 -2
- package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
- package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
- package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
- package/dist/src/live/ContractsServiceLive.d.ts +2 -2
- package/dist/src/live/DocsServiceLive.d.ts +2 -2
- package/dist/src/live/DoubleClickServiceLive.js +13 -2
- package/dist/src/live/GroupsServiceLive.d.ts +2 -2
- package/dist/src/live/HalServiceLive.d.ts +2 -2
- package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
- package/dist/src/live/WalletsServiceLive.d.ts +2 -2
- package/dist/src/schemas/actions.d.ts +4 -4
- package/dist/src/schemas/actions.js +3 -3
- package/dist/src/schemas/agent-wallets.d.ts +6 -6
- package/dist/src/schemas/agent-wallets.js +1 -1
- package/dist/src/schemas/auth.d.ts +1 -1
- package/dist/src/schemas/auth.js +1 -1
- package/dist/src/schemas/bookmarks.d.ts +4 -4
- package/dist/src/schemas/codeblocks.d.ts +2 -2
- package/dist/src/schemas/codeblocks.js +2 -2
- package/dist/src/schemas/collections.d.ts +3 -3
- package/dist/src/schemas/collections.js +3 -3
- package/dist/src/schemas/common.d.ts +6 -6
- package/dist/src/schemas/common.js +12 -6
- package/dist/src/schemas/contracts.d.ts +55 -55
- package/dist/src/schemas/contracts.js +21 -21
- package/dist/src/schemas/doubleclick.d.ts +16 -3
- package/dist/src/schemas/doubleclick.js +2 -1
- package/dist/src/schemas/groups.d.ts +7 -7
- package/dist/src/schemas/groups.js +5 -5
- package/dist/src/schemas/hal.d.ts +16 -16
- package/dist/src/schemas/hal.js +5 -5
- package/dist/src/schemas/transactions.d.ts +145 -145
- package/dist/src/schemas/transactions.js +52 -52
- package/dist/src/schemas/wallets.d.ts +137 -137
- package/dist/src/schemas/wallets.js +51 -51
- package/dist/src/services/DoubleClickService.d.ts +7 -1
- package/package.json +3 -3
|
@@ -3,11 +3,11 @@ import { Schema } from "effect";
|
|
|
3
3
|
//#region src/schemas/wallets.d.ts
|
|
4
4
|
declare const WalletBalanceSchema: Schema.Struct<{
|
|
5
5
|
readonly address: Schema.String;
|
|
6
|
-
readonly amount: Schema.Union<readonly [Schema.String, Schema.
|
|
7
|
-
readonly decimals: Schema.NullOr<Schema.
|
|
6
|
+
readonly amount: Schema.Union<readonly [Schema.String, Schema.Finite]>;
|
|
7
|
+
readonly decimals: Schema.NullOr<Schema.Finite>;
|
|
8
8
|
readonly logoUrl: Schema.NullOr<Schema.String>;
|
|
9
9
|
readonly symbol: Schema.NullOr<Schema.String>;
|
|
10
|
-
readonly valueUsd: Schema.NullOr<Schema.
|
|
10
|
+
readonly valueUsd: Schema.NullOr<Schema.Finite>;
|
|
11
11
|
}>;
|
|
12
12
|
type WalletBalance = typeof WalletBalanceSchema.Type;
|
|
13
13
|
declare const Erc7702DelegationSchema: Schema.Struct<{
|
|
@@ -22,11 +22,11 @@ declare const MultisigSignerSchema: Schema.Struct<{
|
|
|
22
22
|
}>;
|
|
23
23
|
type MultisigSigner = typeof MultisigSignerSchema.Type;
|
|
24
24
|
declare const PendingTransactionSchema: Schema.Struct<{
|
|
25
|
-
readonly confirmationsReceived: Schema.optional<Schema.
|
|
26
|
-
readonly confirmationsRequired: Schema.optional<Schema.
|
|
25
|
+
readonly confirmationsReceived: Schema.optional<Schema.Finite>;
|
|
26
|
+
readonly confirmationsRequired: Schema.optional<Schema.Finite>;
|
|
27
27
|
readonly data: Schema.NullOr<Schema.String>;
|
|
28
28
|
readonly method: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
29
|
-
readonly nonce: Schema.
|
|
29
|
+
readonly nonce: Schema.Finite;
|
|
30
30
|
readonly proposer: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
31
31
|
readonly safeTxHash: Schema.String;
|
|
32
32
|
readonly submissionDate: Schema.optional<Schema.String>;
|
|
@@ -36,11 +36,11 @@ declare const PendingTransactionSchema: Schema.Struct<{
|
|
|
36
36
|
type PendingTransaction = typeof PendingTransactionSchema.Type;
|
|
37
37
|
declare const MultisigDetailsSchema: Schema.Struct<{
|
|
38
38
|
readonly pendingTransactions: Schema.$Array<Schema.Struct<{
|
|
39
|
-
readonly confirmationsReceived: Schema.optional<Schema.
|
|
40
|
-
readonly confirmationsRequired: Schema.optional<Schema.
|
|
39
|
+
readonly confirmationsReceived: Schema.optional<Schema.Finite>;
|
|
40
|
+
readonly confirmationsRequired: Schema.optional<Schema.Finite>;
|
|
41
41
|
readonly data: Schema.NullOr<Schema.String>;
|
|
42
42
|
readonly method: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
43
|
-
readonly nonce: Schema.
|
|
43
|
+
readonly nonce: Schema.Finite;
|
|
44
44
|
readonly proposer: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
45
45
|
readonly safeTxHash: Schema.String;
|
|
46
46
|
readonly submissionDate: Schema.optional<Schema.String>;
|
|
@@ -51,20 +51,20 @@ declare const MultisigDetailsSchema: Schema.Struct<{
|
|
|
51
51
|
readonly address: Schema.String;
|
|
52
52
|
readonly isContract: Schema.Boolean;
|
|
53
53
|
}>>;
|
|
54
|
-
readonly threshold: Schema.
|
|
54
|
+
readonly threshold: Schema.Finite;
|
|
55
55
|
}>;
|
|
56
56
|
type MultisigDetails = typeof MultisigDetailsSchema.Type;
|
|
57
57
|
declare const WalletOverviewSchema: Schema.Struct<{
|
|
58
58
|
readonly balances: Schema.$Array<Schema.Struct<{
|
|
59
59
|
readonly address: Schema.String;
|
|
60
|
-
readonly amount: Schema.Union<readonly [Schema.String, Schema.
|
|
61
|
-
readonly decimals: Schema.NullOr<Schema.
|
|
60
|
+
readonly amount: Schema.Union<readonly [Schema.String, Schema.Finite]>;
|
|
61
|
+
readonly decimals: Schema.NullOr<Schema.Finite>;
|
|
62
62
|
readonly logoUrl: Schema.NullOr<Schema.String>;
|
|
63
63
|
readonly symbol: Schema.NullOr<Schema.String>;
|
|
64
|
-
readonly valueUsd: Schema.NullOr<Schema.
|
|
64
|
+
readonly valueUsd: Schema.NullOr<Schema.Finite>;
|
|
65
65
|
}>>;
|
|
66
|
-
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
67
|
-
readonly earliestTx: Schema.NullOr<Schema.
|
|
66
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base", "bsc", "arbitrum", "monad"]>;
|
|
67
|
+
readonly earliestTx: Schema.NullOr<Schema.Finite>;
|
|
68
68
|
readonly erc7702Delegation: Schema.optional<Schema.Struct<{
|
|
69
69
|
readonly address: Schema.String;
|
|
70
70
|
readonly contractName: Schema.String;
|
|
@@ -73,11 +73,11 @@ declare const WalletOverviewSchema: Schema.Struct<{
|
|
|
73
73
|
readonly implementationAddress: Schema.optional<Schema.String>;
|
|
74
74
|
readonly multisigDetails: Schema.optional<Schema.Struct<{
|
|
75
75
|
readonly pendingTransactions: Schema.$Array<Schema.Struct<{
|
|
76
|
-
readonly confirmationsReceived: Schema.optional<Schema.
|
|
77
|
-
readonly confirmationsRequired: Schema.optional<Schema.
|
|
76
|
+
readonly confirmationsReceived: Schema.optional<Schema.Finite>;
|
|
77
|
+
readonly confirmationsRequired: Schema.optional<Schema.Finite>;
|
|
78
78
|
readonly data: Schema.NullOr<Schema.String>;
|
|
79
79
|
readonly method: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
80
|
-
readonly nonce: Schema.
|
|
80
|
+
readonly nonce: Schema.Finite;
|
|
81
81
|
readonly proposer: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
82
82
|
readonly safeTxHash: Schema.String;
|
|
83
83
|
readonly submissionDate: Schema.optional<Schema.String>;
|
|
@@ -88,10 +88,10 @@ declare const WalletOverviewSchema: Schema.Struct<{
|
|
|
88
88
|
readonly address: Schema.String;
|
|
89
89
|
readonly isContract: Schema.Boolean;
|
|
90
90
|
}>>;
|
|
91
|
-
readonly threshold: Schema.
|
|
91
|
+
readonly threshold: Schema.Finite;
|
|
92
92
|
}>>;
|
|
93
|
-
readonly totalDeployedContractsCount: Schema.
|
|
94
|
-
readonly totalTransactionCount: Schema.
|
|
93
|
+
readonly totalDeployedContractsCount: Schema.Finite;
|
|
94
|
+
readonly totalTransactionCount: Schema.Finite;
|
|
95
95
|
readonly walletAddress: Schema.String;
|
|
96
96
|
readonly walletType: Schema.Literals<readonly ["eoa", "erc7702", "erc4337", "multisig", "contract"]>;
|
|
97
97
|
}>;
|
|
@@ -100,7 +100,7 @@ declare const TokenTypeSchema: Schema.Literals<readonly ["ERC20", "ERC721", "ERC
|
|
|
100
100
|
type TokenType = typeof TokenTypeSchema.Type;
|
|
101
101
|
declare const Erc20BalanceInfoSchema: Schema.Struct<{
|
|
102
102
|
readonly tokenType: Schema.Literal<"ERC20">;
|
|
103
|
-
readonly decimals: Schema.NullOr<Schema.
|
|
103
|
+
readonly decimals: Schema.NullOr<Schema.Finite>;
|
|
104
104
|
readonly formatted: Schema.String;
|
|
105
105
|
readonly raw: Schema.String;
|
|
106
106
|
readonly symbol: Schema.NullOr<Schema.String>;
|
|
@@ -120,7 +120,7 @@ declare const Erc1155BalanceInfoSchema: Schema.Struct<{
|
|
|
120
120
|
}>;
|
|
121
121
|
declare const TokenBalanceInfoSchema: Schema.Union<readonly [Schema.Struct<{
|
|
122
122
|
readonly tokenType: Schema.Literal<"ERC20">;
|
|
123
|
-
readonly decimals: Schema.NullOr<Schema.
|
|
123
|
+
readonly decimals: Schema.NullOr<Schema.Finite>;
|
|
124
124
|
readonly formatted: Schema.String;
|
|
125
125
|
readonly raw: Schema.String;
|
|
126
126
|
readonly symbol: Schema.NullOr<Schema.String>;
|
|
@@ -141,24 +141,24 @@ declare const Erc20TransferSchema: Schema.Struct<{
|
|
|
141
141
|
readonly tokenType: Schema.Literal<"ERC20">;
|
|
142
142
|
readonly amount: Schema.String;
|
|
143
143
|
readonly formattedAmount: Schema.String;
|
|
144
|
-
readonly blockNumber: Schema.
|
|
145
|
-
readonly blockTimestamp: Schema.
|
|
144
|
+
readonly blockNumber: Schema.Finite;
|
|
145
|
+
readonly blockTimestamp: Schema.Finite;
|
|
146
146
|
readonly blockTimestampUtc: Schema.String;
|
|
147
147
|
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
148
148
|
readonly fromAddress: Schema.String;
|
|
149
|
-
readonly logIndex: Schema.
|
|
149
|
+
readonly logIndex: Schema.Finite;
|
|
150
150
|
readonly toAddress: Schema.String;
|
|
151
151
|
readonly txHash: Schema.String;
|
|
152
152
|
}>;
|
|
153
153
|
declare const Erc721TransferSchema: Schema.Struct<{
|
|
154
154
|
readonly tokenType: Schema.Literal<"ERC721">;
|
|
155
155
|
readonly tokenId: Schema.String;
|
|
156
|
-
readonly blockNumber: Schema.
|
|
157
|
-
readonly blockTimestamp: Schema.
|
|
156
|
+
readonly blockNumber: Schema.Finite;
|
|
157
|
+
readonly blockTimestamp: Schema.Finite;
|
|
158
158
|
readonly blockTimestampUtc: Schema.String;
|
|
159
159
|
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
160
160
|
readonly fromAddress: Schema.String;
|
|
161
|
-
readonly logIndex: Schema.
|
|
161
|
+
readonly logIndex: Schema.Finite;
|
|
162
162
|
readonly toAddress: Schema.String;
|
|
163
163
|
readonly txHash: Schema.String;
|
|
164
164
|
}>;
|
|
@@ -166,12 +166,12 @@ declare const Erc1155TransferSchema: Schema.Struct<{
|
|
|
166
166
|
readonly tokenType: Schema.Literal<"ERC1155">;
|
|
167
167
|
readonly tokenId: Schema.String;
|
|
168
168
|
readonly amount: Schema.String;
|
|
169
|
-
readonly blockNumber: Schema.
|
|
170
|
-
readonly blockTimestamp: Schema.
|
|
169
|
+
readonly blockNumber: Schema.Finite;
|
|
170
|
+
readonly blockTimestamp: Schema.Finite;
|
|
171
171
|
readonly blockTimestampUtc: Schema.String;
|
|
172
172
|
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
173
173
|
readonly fromAddress: Schema.String;
|
|
174
|
-
readonly logIndex: Schema.
|
|
174
|
+
readonly logIndex: Schema.Finite;
|
|
175
175
|
readonly toAddress: Schema.String;
|
|
176
176
|
readonly txHash: Schema.String;
|
|
177
177
|
}>;
|
|
@@ -179,49 +179,49 @@ declare const TokenTransferSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
179
179
|
readonly tokenType: Schema.Literal<"ERC20">;
|
|
180
180
|
readonly amount: Schema.String;
|
|
181
181
|
readonly formattedAmount: Schema.String;
|
|
182
|
-
readonly blockNumber: Schema.
|
|
183
|
-
readonly blockTimestamp: Schema.
|
|
182
|
+
readonly blockNumber: Schema.Finite;
|
|
183
|
+
readonly blockTimestamp: Schema.Finite;
|
|
184
184
|
readonly blockTimestampUtc: Schema.String;
|
|
185
185
|
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
186
186
|
readonly fromAddress: Schema.String;
|
|
187
|
-
readonly logIndex: Schema.
|
|
187
|
+
readonly logIndex: Schema.Finite;
|
|
188
188
|
readonly toAddress: Schema.String;
|
|
189
189
|
readonly txHash: Schema.String;
|
|
190
190
|
}>, Schema.Struct<{
|
|
191
191
|
readonly tokenType: Schema.Literal<"ERC721">;
|
|
192
192
|
readonly tokenId: Schema.String;
|
|
193
|
-
readonly blockNumber: Schema.
|
|
194
|
-
readonly blockTimestamp: Schema.
|
|
193
|
+
readonly blockNumber: Schema.Finite;
|
|
194
|
+
readonly blockTimestamp: Schema.Finite;
|
|
195
195
|
readonly blockTimestampUtc: Schema.String;
|
|
196
196
|
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
197
197
|
readonly fromAddress: Schema.String;
|
|
198
|
-
readonly logIndex: Schema.
|
|
198
|
+
readonly logIndex: Schema.Finite;
|
|
199
199
|
readonly toAddress: Schema.String;
|
|
200
200
|
readonly txHash: Schema.String;
|
|
201
201
|
}>, Schema.Struct<{
|
|
202
202
|
readonly tokenType: Schema.Literal<"ERC1155">;
|
|
203
203
|
readonly tokenId: Schema.String;
|
|
204
204
|
readonly amount: Schema.String;
|
|
205
|
-
readonly blockNumber: Schema.
|
|
206
|
-
readonly blockTimestamp: Schema.
|
|
205
|
+
readonly blockNumber: Schema.Finite;
|
|
206
|
+
readonly blockTimestamp: Schema.Finite;
|
|
207
207
|
readonly blockTimestampUtc: Schema.String;
|
|
208
208
|
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
209
209
|
readonly fromAddress: Schema.String;
|
|
210
|
-
readonly logIndex: Schema.
|
|
210
|
+
readonly logIndex: Schema.Finite;
|
|
211
211
|
readonly toAddress: Schema.String;
|
|
212
212
|
readonly txHash: Schema.String;
|
|
213
213
|
}>]>;
|
|
214
214
|
type TokenTransfer = typeof TokenTransferSchema.Type;
|
|
215
215
|
declare const TokenActivityPaginationSchema: Schema.Struct<{
|
|
216
216
|
readonly hasMore: Schema.Boolean;
|
|
217
|
-
readonly page: Schema.
|
|
218
|
-
readonly pageSize: Schema.
|
|
217
|
+
readonly page: Schema.Finite;
|
|
218
|
+
readonly pageSize: Schema.Finite;
|
|
219
219
|
}>;
|
|
220
220
|
type TokenActivityPagination = typeof TokenActivityPaginationSchema.Type;
|
|
221
221
|
declare const TokenActivitySchema: Schema.Struct<{
|
|
222
222
|
readonly balance: Schema.Union<readonly [Schema.Struct<{
|
|
223
223
|
readonly tokenType: Schema.Literal<"ERC20">;
|
|
224
|
-
readonly decimals: Schema.NullOr<Schema.
|
|
224
|
+
readonly decimals: Schema.NullOr<Schema.Finite>;
|
|
225
225
|
readonly formatted: Schema.String;
|
|
226
226
|
readonly raw: Schema.String;
|
|
227
227
|
readonly symbol: Schema.NullOr<Schema.String>;
|
|
@@ -237,12 +237,12 @@ declare const TokenActivitySchema: Schema.Struct<{
|
|
|
237
237
|
readonly tokenId: Schema.String;
|
|
238
238
|
}>>;
|
|
239
239
|
}>]>;
|
|
240
|
-
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
240
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base", "bsc", "arbitrum", "monad"]>;
|
|
241
241
|
readonly holderAddress: Schema.String;
|
|
242
242
|
readonly pagination: Schema.Struct<{
|
|
243
243
|
readonly hasMore: Schema.Boolean;
|
|
244
|
-
readonly page: Schema.
|
|
245
|
-
readonly pageSize: Schema.
|
|
244
|
+
readonly page: Schema.Finite;
|
|
245
|
+
readonly pageSize: Schema.Finite;
|
|
246
246
|
}>;
|
|
247
247
|
readonly tokenAddress: Schema.String;
|
|
248
248
|
readonly tokenType: Schema.Literals<readonly ["ERC20", "ERC721", "ERC1155"]>;
|
|
@@ -250,35 +250,35 @@ declare const TokenActivitySchema: Schema.Struct<{
|
|
|
250
250
|
readonly tokenType: Schema.Literal<"ERC20">;
|
|
251
251
|
readonly amount: Schema.String;
|
|
252
252
|
readonly formattedAmount: Schema.String;
|
|
253
|
-
readonly blockNumber: Schema.
|
|
254
|
-
readonly blockTimestamp: Schema.
|
|
253
|
+
readonly blockNumber: Schema.Finite;
|
|
254
|
+
readonly blockTimestamp: Schema.Finite;
|
|
255
255
|
readonly blockTimestampUtc: Schema.String;
|
|
256
256
|
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
257
257
|
readonly fromAddress: Schema.String;
|
|
258
|
-
readonly logIndex: Schema.
|
|
258
|
+
readonly logIndex: Schema.Finite;
|
|
259
259
|
readonly toAddress: Schema.String;
|
|
260
260
|
readonly txHash: Schema.String;
|
|
261
261
|
}>, Schema.Struct<{
|
|
262
262
|
readonly tokenType: Schema.Literal<"ERC721">;
|
|
263
263
|
readonly tokenId: Schema.String;
|
|
264
|
-
readonly blockNumber: Schema.
|
|
265
|
-
readonly blockTimestamp: Schema.
|
|
264
|
+
readonly blockNumber: Schema.Finite;
|
|
265
|
+
readonly blockTimestamp: Schema.Finite;
|
|
266
266
|
readonly blockTimestampUtc: Schema.String;
|
|
267
267
|
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
268
268
|
readonly fromAddress: Schema.String;
|
|
269
|
-
readonly logIndex: Schema.
|
|
269
|
+
readonly logIndex: Schema.Finite;
|
|
270
270
|
readonly toAddress: Schema.String;
|
|
271
271
|
readonly txHash: Schema.String;
|
|
272
272
|
}>, Schema.Struct<{
|
|
273
273
|
readonly tokenType: Schema.Literal<"ERC1155">;
|
|
274
274
|
readonly tokenId: Schema.String;
|
|
275
275
|
readonly amount: Schema.String;
|
|
276
|
-
readonly blockNumber: Schema.
|
|
277
|
-
readonly blockTimestamp: Schema.
|
|
276
|
+
readonly blockNumber: Schema.Finite;
|
|
277
|
+
readonly blockTimestamp: Schema.Finite;
|
|
278
278
|
readonly blockTimestampUtc: Schema.String;
|
|
279
279
|
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
280
280
|
readonly fromAddress: Schema.String;
|
|
281
|
-
readonly logIndex: Schema.
|
|
281
|
+
readonly logIndex: Schema.Finite;
|
|
282
282
|
readonly toAddress: Schema.String;
|
|
283
283
|
readonly txHash: Schema.String;
|
|
284
284
|
}>]>>;
|
|
@@ -300,10 +300,10 @@ declare const WalletTxActionExecutionSchema: Schema.Struct<{
|
|
|
300
300
|
}>;
|
|
301
301
|
type WalletTxActionExecution = typeof WalletTxActionExecutionSchema.Type;
|
|
302
302
|
declare const WalletTxTransferSchema: Schema.Struct<{
|
|
303
|
-
readonly amount: Schema.
|
|
304
|
-
readonly blockNumber: Schema.
|
|
305
|
-
readonly blockTimestamp: Schema.
|
|
306
|
-
readonly chainId: Schema.
|
|
303
|
+
readonly amount: Schema.Finite;
|
|
304
|
+
readonly blockNumber: Schema.Finite;
|
|
305
|
+
readonly blockTimestamp: Schema.Finite;
|
|
306
|
+
readonly chainId: Schema.Finite;
|
|
307
307
|
readonly fromAddress: Schema.String;
|
|
308
308
|
readonly fromAddressIsContract: Schema.Boolean;
|
|
309
309
|
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -311,38 +311,38 @@ declare const WalletTxTransferSchema: Schema.Struct<{
|
|
|
311
311
|
readonly toAddressIsContract: Schema.Boolean;
|
|
312
312
|
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
313
313
|
readonly tokenAddress: Schema.String;
|
|
314
|
-
readonly tokenDecimals: Schema.
|
|
315
|
-
readonly tokenId: Schema.
|
|
314
|
+
readonly tokenDecimals: Schema.Finite;
|
|
315
|
+
readonly tokenId: Schema.Finite;
|
|
316
316
|
readonly tokenLogoUrl: Schema.String;
|
|
317
317
|
readonly tokenName: Schema.String;
|
|
318
|
-
readonly tokenPriceUsd: Schema.
|
|
318
|
+
readonly tokenPriceUsd: Schema.Finite;
|
|
319
319
|
readonly tokenSymbol: Schema.String;
|
|
320
320
|
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
321
321
|
readonly txHash: Schema.String;
|
|
322
322
|
}>;
|
|
323
323
|
type WalletTxTransfer = typeof WalletTxTransferSchema.Type;
|
|
324
324
|
declare const WalletTxBalanceChangeSchema: Schema.Struct<{
|
|
325
|
-
readonly balanceChange: Schema.
|
|
326
|
-
readonly blockNumber: Schema.
|
|
327
|
-
readonly blockTimestamp: Schema.
|
|
328
|
-
readonly chainId: Schema.
|
|
325
|
+
readonly balanceChange: Schema.Finite;
|
|
326
|
+
readonly blockNumber: Schema.Finite;
|
|
327
|
+
readonly blockTimestamp: Schema.Finite;
|
|
328
|
+
readonly chainId: Schema.Finite;
|
|
329
329
|
readonly holderAddress: Schema.String;
|
|
330
330
|
readonly holderEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
331
331
|
readonly holderIsContract: Schema.Boolean;
|
|
332
332
|
readonly tokenAddress: Schema.String;
|
|
333
|
-
readonly tokenDecimals: Schema.
|
|
333
|
+
readonly tokenDecimals: Schema.Finite;
|
|
334
334
|
readonly tokenEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
335
|
-
readonly tokenId: Schema.
|
|
335
|
+
readonly tokenId: Schema.Finite;
|
|
336
336
|
readonly tokenLogoUrl: Schema.String;
|
|
337
337
|
readonly tokenName: Schema.String;
|
|
338
|
-
readonly tokenPriceUsd: Schema.
|
|
338
|
+
readonly tokenPriceUsd: Schema.Finite;
|
|
339
339
|
readonly tokenSymbol: Schema.String;
|
|
340
340
|
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
341
341
|
readonly transfers: Schema.$Array<Schema.Struct<{
|
|
342
|
-
readonly amount: Schema.
|
|
343
|
-
readonly blockNumber: Schema.
|
|
344
|
-
readonly blockTimestamp: Schema.
|
|
345
|
-
readonly chainId: Schema.
|
|
342
|
+
readonly amount: Schema.Finite;
|
|
343
|
+
readonly blockNumber: Schema.Finite;
|
|
344
|
+
readonly blockTimestamp: Schema.Finite;
|
|
345
|
+
readonly chainId: Schema.Finite;
|
|
346
346
|
readonly fromAddress: Schema.String;
|
|
347
347
|
readonly fromAddressIsContract: Schema.Boolean;
|
|
348
348
|
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -350,11 +350,11 @@ declare const WalletTxBalanceChangeSchema: Schema.Struct<{
|
|
|
350
350
|
readonly toAddressIsContract: Schema.Boolean;
|
|
351
351
|
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
352
352
|
readonly tokenAddress: Schema.String;
|
|
353
|
-
readonly tokenDecimals: Schema.
|
|
354
|
-
readonly tokenId: Schema.
|
|
353
|
+
readonly tokenDecimals: Schema.Finite;
|
|
354
|
+
readonly tokenId: Schema.Finite;
|
|
355
355
|
readonly tokenLogoUrl: Schema.String;
|
|
356
356
|
readonly tokenName: Schema.String;
|
|
357
|
-
readonly tokenPriceUsd: Schema.
|
|
357
|
+
readonly tokenPriceUsd: Schema.Finite;
|
|
358
358
|
readonly tokenSymbol: Schema.String;
|
|
359
359
|
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
360
360
|
readonly txHash: Schema.String;
|
|
@@ -369,8 +369,8 @@ declare const WalletTransactionSchema: Schema.Struct<{
|
|
|
369
369
|
readonly executionId: Schema.String;
|
|
370
370
|
readonly versionId: Schema.String;
|
|
371
371
|
}>>;
|
|
372
|
-
readonly blockNumber: Schema.
|
|
373
|
-
readonly blockTimestamp: Schema.
|
|
372
|
+
readonly blockNumber: Schema.Finite;
|
|
373
|
+
readonly blockTimestamp: Schema.Finite;
|
|
374
374
|
readonly blockTimestampUtc: Schema.String;
|
|
375
375
|
readonly calls: Schema.$Array<Schema.Struct<{
|
|
376
376
|
readonly callee: Schema.String;
|
|
@@ -388,27 +388,27 @@ declare const WalletTransactionSchema: Schema.Struct<{
|
|
|
388
388
|
readonly success: Schema.Boolean;
|
|
389
389
|
readonly txHash: Schema.String;
|
|
390
390
|
readonly walletBalanceChanges: Schema.$Array<Schema.Struct<{
|
|
391
|
-
readonly balanceChange: Schema.
|
|
392
|
-
readonly blockNumber: Schema.
|
|
393
|
-
readonly blockTimestamp: Schema.
|
|
394
|
-
readonly chainId: Schema.
|
|
391
|
+
readonly balanceChange: Schema.Finite;
|
|
392
|
+
readonly blockNumber: Schema.Finite;
|
|
393
|
+
readonly blockTimestamp: Schema.Finite;
|
|
394
|
+
readonly chainId: Schema.Finite;
|
|
395
395
|
readonly holderAddress: Schema.String;
|
|
396
396
|
readonly holderEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
397
397
|
readonly holderIsContract: Schema.Boolean;
|
|
398
398
|
readonly tokenAddress: Schema.String;
|
|
399
|
-
readonly tokenDecimals: Schema.
|
|
399
|
+
readonly tokenDecimals: Schema.Finite;
|
|
400
400
|
readonly tokenEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
401
|
-
readonly tokenId: Schema.
|
|
401
|
+
readonly tokenId: Schema.Finite;
|
|
402
402
|
readonly tokenLogoUrl: Schema.String;
|
|
403
403
|
readonly tokenName: Schema.String;
|
|
404
|
-
readonly tokenPriceUsd: Schema.
|
|
404
|
+
readonly tokenPriceUsd: Schema.Finite;
|
|
405
405
|
readonly tokenSymbol: Schema.String;
|
|
406
406
|
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
407
407
|
readonly transfers: Schema.$Array<Schema.Struct<{
|
|
408
|
-
readonly amount: Schema.
|
|
409
|
-
readonly blockNumber: Schema.
|
|
410
|
-
readonly blockTimestamp: Schema.
|
|
411
|
-
readonly chainId: Schema.
|
|
408
|
+
readonly amount: Schema.Finite;
|
|
409
|
+
readonly blockNumber: Schema.Finite;
|
|
410
|
+
readonly blockTimestamp: Schema.Finite;
|
|
411
|
+
readonly chainId: Schema.Finite;
|
|
412
412
|
readonly fromAddress: Schema.String;
|
|
413
413
|
readonly fromAddressIsContract: Schema.Boolean;
|
|
414
414
|
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -416,11 +416,11 @@ declare const WalletTransactionSchema: Schema.Struct<{
|
|
|
416
416
|
readonly toAddressIsContract: Schema.Boolean;
|
|
417
417
|
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
418
418
|
readonly tokenAddress: Schema.String;
|
|
419
|
-
readonly tokenDecimals: Schema.
|
|
420
|
-
readonly tokenId: Schema.
|
|
419
|
+
readonly tokenDecimals: Schema.Finite;
|
|
420
|
+
readonly tokenId: Schema.Finite;
|
|
421
421
|
readonly tokenLogoUrl: Schema.String;
|
|
422
422
|
readonly tokenName: Schema.String;
|
|
423
|
-
readonly tokenPriceUsd: Schema.
|
|
423
|
+
readonly tokenPriceUsd: Schema.Finite;
|
|
424
424
|
readonly tokenSymbol: Schema.String;
|
|
425
425
|
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
426
426
|
readonly txHash: Schema.String;
|
|
@@ -431,21 +431,21 @@ declare const WalletTransactionSchema: Schema.Struct<{
|
|
|
431
431
|
type WalletTransaction = typeof WalletTransactionSchema.Type;
|
|
432
432
|
declare const TransactionActivityPaginationSchema: Schema.Struct<{
|
|
433
433
|
readonly hasMore: Schema.Boolean;
|
|
434
|
-
readonly page: Schema.
|
|
435
|
-
readonly pageSize: Schema.
|
|
434
|
+
readonly page: Schema.Finite;
|
|
435
|
+
readonly pageSize: Schema.Finite;
|
|
436
436
|
}>;
|
|
437
437
|
type TransactionActivityPagination = typeof TransactionActivityPaginationSchema.Type;
|
|
438
438
|
declare const TransactionActivitySchema: Schema.Struct<{
|
|
439
|
-
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
440
|
-
readonly earliestTx: Schema.NullOr<Schema.
|
|
439
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base", "bsc", "arbitrum", "monad"]>;
|
|
440
|
+
readonly earliestTx: Schema.NullOr<Schema.Finite>;
|
|
441
441
|
readonly fromAddress: Schema.String;
|
|
442
442
|
readonly pagination: Schema.Struct<{
|
|
443
443
|
readonly hasMore: Schema.Boolean;
|
|
444
|
-
readonly page: Schema.
|
|
445
|
-
readonly pageSize: Schema.
|
|
444
|
+
readonly page: Schema.Finite;
|
|
445
|
+
readonly pageSize: Schema.Finite;
|
|
446
446
|
}>;
|
|
447
447
|
readonly toAddressesFilter: Schema.optional<Schema.$Array<Schema.String>>;
|
|
448
|
-
readonly totalTransactionCount: Schema.
|
|
448
|
+
readonly totalTransactionCount: Schema.Finite;
|
|
449
449
|
readonly transactions: Schema.$Array<Schema.Struct<{
|
|
450
450
|
readonly actionExecution: Schema.optional<Schema.Struct<{
|
|
451
451
|
readonly actionId: Schema.String;
|
|
@@ -453,8 +453,8 @@ declare const TransactionActivitySchema: Schema.Struct<{
|
|
|
453
453
|
readonly executionId: Schema.String;
|
|
454
454
|
readonly versionId: Schema.String;
|
|
455
455
|
}>>;
|
|
456
|
-
readonly blockNumber: Schema.
|
|
457
|
-
readonly blockTimestamp: Schema.
|
|
456
|
+
readonly blockNumber: Schema.Finite;
|
|
457
|
+
readonly blockTimestamp: Schema.Finite;
|
|
458
458
|
readonly blockTimestampUtc: Schema.String;
|
|
459
459
|
readonly calls: Schema.$Array<Schema.Struct<{
|
|
460
460
|
readonly callee: Schema.String;
|
|
@@ -472,27 +472,27 @@ declare const TransactionActivitySchema: Schema.Struct<{
|
|
|
472
472
|
readonly success: Schema.Boolean;
|
|
473
473
|
readonly txHash: Schema.String;
|
|
474
474
|
readonly walletBalanceChanges: Schema.$Array<Schema.Struct<{
|
|
475
|
-
readonly balanceChange: Schema.
|
|
476
|
-
readonly blockNumber: Schema.
|
|
477
|
-
readonly blockTimestamp: Schema.
|
|
478
|
-
readonly chainId: Schema.
|
|
475
|
+
readonly balanceChange: Schema.Finite;
|
|
476
|
+
readonly blockNumber: Schema.Finite;
|
|
477
|
+
readonly blockTimestamp: Schema.Finite;
|
|
478
|
+
readonly chainId: Schema.Finite;
|
|
479
479
|
readonly holderAddress: Schema.String;
|
|
480
480
|
readonly holderEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
481
481
|
readonly holderIsContract: Schema.Boolean;
|
|
482
482
|
readonly tokenAddress: Schema.String;
|
|
483
|
-
readonly tokenDecimals: Schema.
|
|
483
|
+
readonly tokenDecimals: Schema.Finite;
|
|
484
484
|
readonly tokenEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
485
|
-
readonly tokenId: Schema.
|
|
485
|
+
readonly tokenId: Schema.Finite;
|
|
486
486
|
readonly tokenLogoUrl: Schema.String;
|
|
487
487
|
readonly tokenName: Schema.String;
|
|
488
|
-
readonly tokenPriceUsd: Schema.
|
|
488
|
+
readonly tokenPriceUsd: Schema.Finite;
|
|
489
489
|
readonly tokenSymbol: Schema.String;
|
|
490
490
|
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
491
491
|
readonly transfers: Schema.$Array<Schema.Struct<{
|
|
492
|
-
readonly amount: Schema.
|
|
493
|
-
readonly blockNumber: Schema.
|
|
494
|
-
readonly blockTimestamp: Schema.
|
|
495
|
-
readonly chainId: Schema.
|
|
492
|
+
readonly amount: Schema.Finite;
|
|
493
|
+
readonly blockNumber: Schema.Finite;
|
|
494
|
+
readonly blockTimestamp: Schema.Finite;
|
|
495
|
+
readonly chainId: Schema.Finite;
|
|
496
496
|
readonly fromAddress: Schema.String;
|
|
497
497
|
readonly fromAddressIsContract: Schema.Boolean;
|
|
498
498
|
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -500,11 +500,11 @@ declare const TransactionActivitySchema: Schema.Struct<{
|
|
|
500
500
|
readonly toAddressIsContract: Schema.Boolean;
|
|
501
501
|
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
502
502
|
readonly tokenAddress: Schema.String;
|
|
503
|
-
readonly tokenDecimals: Schema.
|
|
504
|
-
readonly tokenId: Schema.
|
|
503
|
+
readonly tokenDecimals: Schema.Finite;
|
|
504
|
+
readonly tokenId: Schema.Finite;
|
|
505
505
|
readonly tokenLogoUrl: Schema.String;
|
|
506
506
|
readonly tokenName: Schema.String;
|
|
507
|
-
readonly tokenPriceUsd: Schema.
|
|
507
|
+
readonly tokenPriceUsd: Schema.Finite;
|
|
508
508
|
readonly tokenSymbol: Schema.String;
|
|
509
509
|
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
510
510
|
readonly txHash: Schema.String;
|
|
@@ -515,8 +515,8 @@ declare const TransactionActivitySchema: Schema.Struct<{
|
|
|
515
515
|
}>;
|
|
516
516
|
type TransactionActivity = typeof TransactionActivitySchema.Type;
|
|
517
517
|
declare const DeployedContractSchema: Schema.Struct<{
|
|
518
|
-
readonly blockNumber: Schema.
|
|
519
|
-
readonly blockTimestamp: Schema.
|
|
518
|
+
readonly blockNumber: Schema.Finite;
|
|
519
|
+
readonly blockTimestamp: Schema.Finite;
|
|
520
520
|
readonly blockTimestampUtc: Schema.String;
|
|
521
521
|
readonly contractAddress: Schema.String;
|
|
522
522
|
readonly contractName: Schema.NullOr<Schema.String>;
|
|
@@ -529,15 +529,15 @@ declare const DeployedContractSchema: Schema.Struct<{
|
|
|
529
529
|
type DeployedContract = typeof DeployedContractSchema.Type;
|
|
530
530
|
declare const DeployedContractsPaginationSchema: Schema.Struct<{
|
|
531
531
|
readonly hasMore: Schema.Boolean;
|
|
532
|
-
readonly page: Schema.
|
|
533
|
-
readonly pageSize: Schema.
|
|
532
|
+
readonly page: Schema.Finite;
|
|
533
|
+
readonly pageSize: Schema.Finite;
|
|
534
534
|
}>;
|
|
535
535
|
type DeployedContractsPagination = typeof DeployedContractsPaginationSchema.Type;
|
|
536
536
|
declare const DeployedContractsSchema: Schema.Struct<{
|
|
537
|
-
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
537
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base", "bsc", "arbitrum", "monad"]>;
|
|
538
538
|
readonly deployedContracts: Schema.$Array<Schema.Struct<{
|
|
539
|
-
readonly blockNumber: Schema.
|
|
540
|
-
readonly blockTimestamp: Schema.
|
|
539
|
+
readonly blockNumber: Schema.Finite;
|
|
540
|
+
readonly blockTimestamp: Schema.Finite;
|
|
541
541
|
readonly blockTimestampUtc: Schema.String;
|
|
542
542
|
readonly contractAddress: Schema.String;
|
|
543
543
|
readonly contractName: Schema.NullOr<Schema.String>;
|
|
@@ -551,31 +551,31 @@ declare const DeployedContractsSchema: Schema.Struct<{
|
|
|
551
551
|
readonly isEOA: Schema.Boolean;
|
|
552
552
|
readonly pagination: Schema.Struct<{
|
|
553
553
|
readonly hasMore: Schema.Boolean;
|
|
554
|
-
readonly page: Schema.
|
|
555
|
-
readonly pageSize: Schema.
|
|
554
|
+
readonly page: Schema.Finite;
|
|
555
|
+
readonly pageSize: Schema.Finite;
|
|
556
556
|
}>;
|
|
557
|
-
readonly totalDeployedContractsCount: Schema.
|
|
557
|
+
readonly totalDeployedContractsCount: Schema.Finite;
|
|
558
558
|
}>;
|
|
559
559
|
type DeployedContracts = typeof DeployedContractsSchema.Type;
|
|
560
560
|
declare const TokenActivityParamsSchema: Schema.Struct<{
|
|
561
|
-
readonly afterBlocknumber: Schema.optional<Schema.
|
|
562
|
-
readonly afterTimestamp: Schema.optional<Schema.
|
|
563
|
-
readonly beforeBlocknumber: Schema.optional<Schema.
|
|
564
|
-
readonly beforeTimestamp: Schema.optional<Schema.
|
|
561
|
+
readonly afterBlocknumber: Schema.optional<Schema.Finite>;
|
|
562
|
+
readonly afterTimestamp: Schema.optional<Schema.Finite>;
|
|
563
|
+
readonly beforeBlocknumber: Schema.optional<Schema.Finite>;
|
|
564
|
+
readonly beforeTimestamp: Schema.optional<Schema.Finite>;
|
|
565
565
|
readonly fromAddress: Schema.optional<Schema.String>;
|
|
566
|
-
readonly page: Schema.optional<Schema.
|
|
566
|
+
readonly page: Schema.optional<Schema.Finite>;
|
|
567
567
|
readonly toAddress: Schema.optional<Schema.String>;
|
|
568
568
|
}>;
|
|
569
569
|
type TokenActivityParams = typeof TokenActivityParamsSchema.Type;
|
|
570
570
|
/** Same fields as MCP `getTransactionActivityTool` inputs (camelCase); POST `/v1/wallets/transaction-activity` body uses snake_case. */
|
|
571
571
|
declare const TransactionActivityQuerySchema: Schema.Struct<{
|
|
572
|
-
readonly afterBlocknumber: Schema.optional<Schema.
|
|
573
|
-
readonly afterTimestamp: Schema.optional<Schema.
|
|
574
|
-
readonly beforeBlocknumber: Schema.optional<Schema.
|
|
575
|
-
readonly beforeTimestamp: Schema.optional<Schema.
|
|
576
|
-
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
572
|
+
readonly afterBlocknumber: Schema.optional<Schema.Finite>;
|
|
573
|
+
readonly afterTimestamp: Schema.optional<Schema.Finite>;
|
|
574
|
+
readonly beforeBlocknumber: Schema.optional<Schema.Finite>;
|
|
575
|
+
readonly beforeTimestamp: Schema.optional<Schema.Finite>;
|
|
576
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base", "bsc", "arbitrum", "monad"]>;
|
|
577
577
|
readonly fromAddress: Schema.optional<Schema.String>;
|
|
578
|
-
readonly page: Schema.optional<Schema.
|
|
578
|
+
readonly page: Schema.optional<Schema.Finite>;
|
|
579
579
|
readonly successOnly: Schema.optional<Schema.Boolean>;
|
|
580
580
|
readonly toAddresses: Schema.optional<Schema.$Array<Schema.String>>;
|
|
581
581
|
}>;
|