@herd-labs/sdk 0.3.1 → 0.5.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/dist/index.d.ts +17 -17
- package/dist/index.js +17 -17
- package/dist/src/config.d.ts +11 -11
- package/dist/src/config.js +9 -12
- package/dist/src/errors.d.ts +35 -44
- package/dist/src/errors.js +19 -16
- package/dist/src/live/ActionsServiceLive.d.ts +3 -3
- package/dist/src/live/ActionsServiceLive.js +14 -14
- package/dist/src/live/AdaptersServiceLive.d.ts +3 -3
- package/dist/src/live/AdaptersServiceLive.js +8 -8
- package/dist/src/live/AgentSafesServiceLive.d.ts +3 -3
- package/dist/src/live/AgentSafesServiceLive.js +5 -5
- package/dist/src/live/AgentWalletsServiceLive.d.ts +3 -3
- package/dist/src/live/AgentWalletsServiceLive.js +4 -4
- package/dist/src/live/AgentWorkflowsServiceLive.d.ts +3 -3
- package/dist/src/live/AgentWorkflowsServiceLive.js +14 -14
- package/dist/src/live/AuthServiceLive.d.ts +3 -3
- package/dist/src/live/AuthServiceLive.js +7 -7
- package/dist/src/live/BookmarksServiceLive.d.ts +3 -3
- package/dist/src/live/BookmarksServiceLive.js +20 -20
- package/dist/src/live/CodeBlocksServiceLive.d.ts +3 -3
- package/dist/src/live/CodeBlocksServiceLive.js +11 -11
- package/dist/src/live/CollectionsServiceLive.d.ts +3 -3
- package/dist/src/live/CollectionsServiceLive.js +6 -6
- package/dist/src/live/ContractsServiceLive.d.ts +3 -3
- package/dist/src/live/ContractsServiceLive.js +10 -10
- package/dist/src/live/DocsServiceLive.d.ts +3 -3
- package/dist/src/live/DocsServiceLive.js +4 -4
- package/dist/src/live/GroupsServiceLive.d.ts +3 -3
- package/dist/src/live/GroupsServiceLive.js +9 -9
- package/dist/src/live/HalServiceLive.d.ts +3 -3
- package/dist/src/live/HalServiceLive.js +12 -12
- package/dist/src/live/TransactionsServiceLive.d.ts +3 -3
- package/dist/src/live/TransactionsServiceLive.js +18 -18
- package/dist/src/live/WalletsServiceLive.d.ts +3 -3
- package/dist/src/live/WalletsServiceLive.js +18 -18
- package/dist/src/live/http.d.ts +6 -6
- package/dist/src/live/http.js +15 -15
- package/dist/src/schemas/actions.d.ts +179 -339
- package/dist/src/schemas/actions.js +80 -76
- package/dist/src/schemas/adapters.d.ts +7 -17
- package/dist/src/schemas/adapters.js +5 -5
- package/dist/src/schemas/agent-wallets.d.ts +98 -222
- package/dist/src/schemas/agent-wallets.js +52 -52
- package/dist/src/schemas/agent-workflows.d.ts +104 -104
- package/dist/src/schemas/agent-workflows.js +53 -49
- package/dist/src/schemas/auth.d.ts +35 -64
- package/dist/src/schemas/auth.js +16 -16
- package/dist/src/schemas/bookmarks.d.ts +98 -216
- package/dist/src/schemas/bookmarks.js +55 -51
- package/dist/src/schemas/codeblocks.d.ts +149 -308
- package/dist/src/schemas/codeblocks.js +72 -67
- package/dist/src/schemas/collections.d.ts +120 -232
- package/dist/src/schemas/collections.js +48 -44
- package/dist/src/schemas/common.d.ts +13 -29
- package/dist/src/schemas/common.js +8 -8
- package/dist/src/schemas/contracts.d.ts +256 -447
- package/dist/src/schemas/contracts.js +92 -103
- package/dist/src/schemas/docs.d.ts +12 -29
- package/dist/src/schemas/docs.js +9 -9
- package/dist/src/schemas/groups.d.ts +74 -74
- package/dist/src/schemas/groups.js +32 -32
- package/dist/src/schemas/hal.d.ts +109 -217
- package/dist/src/schemas/hal.js +44 -42
- package/dist/src/schemas/transactions.d.ts +648 -926
- package/dist/src/schemas/transactions.js +158 -162
- package/dist/src/schemas/wallets.d.ts +577 -731
- package/dist/src/schemas/wallets.js +206 -145
- package/dist/src/services/ActionsService.d.ts +3 -3
- package/dist/src/services/ActionsService.js +2 -2
- package/dist/src/services/AdaptersService.d.ts +1 -1
- package/dist/src/services/AdaptersService.js +2 -2
- package/dist/src/services/AgentSafesService.d.ts +5 -5
- package/dist/src/services/AgentSafesService.js +2 -2
- package/dist/src/services/AgentWalletsService.d.ts +3 -3
- package/dist/src/services/AgentWalletsService.js +2 -2
- package/dist/src/services/AgentWorkflowsService.d.ts +11 -11
- package/dist/src/services/AgentWorkflowsService.js +6 -2
- package/dist/src/services/AuthService.d.ts +5 -5
- package/dist/src/services/AuthService.js +2 -2
- package/dist/src/services/BookmarksService.d.ts +3 -3
- package/dist/src/services/BookmarksService.js +2 -2
- package/dist/src/services/CodeBlocksService.d.ts +1 -1
- package/dist/src/services/CodeBlocksService.js +2 -2
- package/dist/src/services/CollectionsService.d.ts +1 -1
- package/dist/src/services/CollectionsService.js +2 -2
- package/dist/src/services/ContractsService.d.ts +6 -6
- package/dist/src/services/ContractsService.js +2 -2
- package/dist/src/services/DocsService.d.ts +2 -2
- package/dist/src/services/DocsService.js +2 -2
- package/dist/src/services/GroupsService.d.ts +13 -13
- package/dist/src/services/GroupsService.js +4 -2
- package/dist/src/services/HalService.d.ts +1 -1
- package/dist/src/services/HalService.js +2 -2
- package/dist/src/services/TransactionsService.d.ts +5 -5
- package/dist/src/services/TransactionsService.js +2 -2
- package/dist/src/services/WalletsService.d.ts +5 -5
- package/dist/src/services/WalletsService.js +2 -2
- package/package.json +13 -18
|
@@ -1,738 +1,584 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
|
|
3
3
|
//#region src/schemas/wallets.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
address:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
readonly
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
readonly
|
|
26
|
-
|
|
27
|
-
readonly
|
|
28
|
-
|
|
29
|
-
readonly
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
address: typeof Schema.String;
|
|
50
|
-
isContract: typeof Schema.Boolean;
|
|
51
|
-
}, Schema.Struct.Encoded<{
|
|
52
|
-
address: typeof Schema.String;
|
|
53
|
-
isContract: typeof Schema.Boolean;
|
|
54
|
-
}>, never, {
|
|
55
|
-
readonly address: string;
|
|
56
|
-
} & {
|
|
57
|
-
readonly isContract: boolean;
|
|
58
|
-
}, {}, {}>;
|
|
59
|
-
declare class MultisigSigner extends MultisigSigner_base {}
|
|
60
|
-
declare const PendingTransaction_base: Schema.Class<PendingTransaction, {
|
|
61
|
-
safeTxHash: typeof Schema.String;
|
|
62
|
-
to: typeof Schema.String;
|
|
63
|
-
value: typeof Schema.String;
|
|
64
|
-
data: Schema.NullOr<typeof Schema.String>;
|
|
65
|
-
nonce: typeof Schema.Number;
|
|
66
|
-
submissionDate: Schema.optional<typeof Schema.String>;
|
|
67
|
-
confirmationsRequired: Schema.optional<typeof Schema.Number>;
|
|
68
|
-
confirmationsReceived: Schema.optional<typeof Schema.Number>;
|
|
69
|
-
proposer: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
70
|
-
method: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
71
|
-
}, Schema.Struct.Encoded<{
|
|
72
|
-
safeTxHash: typeof Schema.String;
|
|
73
|
-
to: typeof Schema.String;
|
|
74
|
-
value: typeof Schema.String;
|
|
75
|
-
data: Schema.NullOr<typeof Schema.String>;
|
|
76
|
-
nonce: typeof Schema.Number;
|
|
77
|
-
submissionDate: Schema.optional<typeof Schema.String>;
|
|
78
|
-
confirmationsRequired: Schema.optional<typeof Schema.Number>;
|
|
79
|
-
confirmationsReceived: Schema.optional<typeof Schema.Number>;
|
|
80
|
-
proposer: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
81
|
-
method: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
82
|
-
}>, never, {
|
|
83
|
-
readonly value: string;
|
|
84
|
-
} & {
|
|
85
|
-
readonly method?: string | null | undefined;
|
|
86
|
-
} & {
|
|
87
|
-
readonly to: string;
|
|
88
|
-
} & {
|
|
89
|
-
readonly data: string | null;
|
|
90
|
-
} & {
|
|
91
|
-
readonly safeTxHash: string;
|
|
92
|
-
} & {
|
|
93
|
-
readonly nonce: number;
|
|
94
|
-
} & {
|
|
95
|
-
readonly submissionDate?: string | undefined;
|
|
96
|
-
} & {
|
|
97
|
-
readonly confirmationsRequired?: number | undefined;
|
|
98
|
-
} & {
|
|
99
|
-
readonly confirmationsReceived?: number | undefined;
|
|
100
|
-
} & {
|
|
101
|
-
readonly proposer?: string | null | undefined;
|
|
102
|
-
}, {}, {}>;
|
|
103
|
-
declare class PendingTransaction extends PendingTransaction_base {}
|
|
104
|
-
declare const MultisigDetails_base: Schema.Class<MultisigDetails, {
|
|
105
|
-
threshold: typeof Schema.Number;
|
|
106
|
-
signers: Schema.Array$<typeof MultisigSigner>;
|
|
107
|
-
pendingTransactions: Schema.Array$<typeof PendingTransaction>;
|
|
108
|
-
}, Schema.Struct.Encoded<{
|
|
109
|
-
threshold: typeof Schema.Number;
|
|
110
|
-
signers: Schema.Array$<typeof MultisigSigner>;
|
|
111
|
-
pendingTransactions: Schema.Array$<typeof PendingTransaction>;
|
|
112
|
-
}>, never, {
|
|
113
|
-
readonly threshold: number;
|
|
114
|
-
} & {
|
|
115
|
-
readonly signers: readonly MultisigSigner[];
|
|
116
|
-
} & {
|
|
117
|
-
readonly pendingTransactions: readonly PendingTransaction[];
|
|
118
|
-
}, {}, {}>;
|
|
119
|
-
declare class MultisigDetails extends MultisigDetails_base {}
|
|
120
|
-
declare const WalletOverview_base: Schema.Class<WalletOverview, {
|
|
121
|
-
walletAddress: typeof Schema.String;
|
|
122
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
123
|
-
walletType: Schema.Literal<["eoa", "erc7702", "erc4337", "multisig", "contract"]>;
|
|
124
|
-
implementationAddress: Schema.optional<typeof Schema.String>;
|
|
125
|
-
erc7702Delegation: Schema.optional<typeof Erc7702Delegation>;
|
|
126
|
-
multisigDetails: Schema.optional<typeof MultisigDetails>;
|
|
127
|
-
totalTransactionCount: typeof Schema.Number;
|
|
128
|
-
earliestTx: Schema.NullOr<typeof Schema.Number>;
|
|
129
|
-
totalDeployedContractsCount: typeof Schema.Number;
|
|
130
|
-
balances: Schema.Array$<typeof WalletBalance>;
|
|
131
|
-
}, Schema.Struct.Encoded<{
|
|
132
|
-
walletAddress: typeof Schema.String;
|
|
133
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
134
|
-
walletType: Schema.Literal<["eoa", "erc7702", "erc4337", "multisig", "contract"]>;
|
|
135
|
-
implementationAddress: Schema.optional<typeof Schema.String>;
|
|
136
|
-
erc7702Delegation: Schema.optional<typeof Erc7702Delegation>;
|
|
137
|
-
multisigDetails: Schema.optional<typeof MultisigDetails>;
|
|
138
|
-
totalTransactionCount: typeof Schema.Number;
|
|
139
|
-
earliestTx: Schema.NullOr<typeof Schema.Number>;
|
|
140
|
-
totalDeployedContractsCount: typeof Schema.Number;
|
|
141
|
-
balances: Schema.Array$<typeof WalletBalance>;
|
|
142
|
-
}>, never, {
|
|
143
|
-
readonly blockchain: "ethereum" | "base";
|
|
144
|
-
} & {
|
|
145
|
-
readonly walletAddress: string;
|
|
146
|
-
} & {
|
|
147
|
-
readonly totalTransactionCount: number;
|
|
148
|
-
} & {
|
|
149
|
-
readonly totalDeployedContractsCount: number;
|
|
150
|
-
} & {
|
|
151
|
-
readonly walletType: "contract" | "eoa" | "erc7702" | "erc4337" | "multisig";
|
|
152
|
-
} & {
|
|
153
|
-
readonly implementationAddress?: string | undefined;
|
|
154
|
-
} & {
|
|
155
|
-
readonly erc7702Delegation?: Erc7702Delegation | undefined;
|
|
156
|
-
} & {
|
|
157
|
-
readonly multisigDetails?: MultisigDetails | undefined;
|
|
158
|
-
} & {
|
|
159
|
-
readonly earliestTx: number | null;
|
|
160
|
-
} & {
|
|
161
|
-
readonly balances: readonly WalletBalance[];
|
|
162
|
-
}, {}, {}>;
|
|
163
|
-
declare class WalletOverview extends WalletOverview_base {}
|
|
164
|
-
declare const TokenBalanceInfo_base: Schema.Class<TokenBalanceInfo, {
|
|
165
|
-
raw: typeof Schema.String;
|
|
166
|
-
formatted: typeof Schema.String;
|
|
167
|
-
symbol: Schema.NullOr<typeof Schema.String>;
|
|
168
|
-
decimals: Schema.NullOr<typeof Schema.Number>;
|
|
169
|
-
}, Schema.Struct.Encoded<{
|
|
170
|
-
raw: typeof Schema.String;
|
|
171
|
-
formatted: typeof Schema.String;
|
|
172
|
-
symbol: Schema.NullOr<typeof Schema.String>;
|
|
173
|
-
decimals: Schema.NullOr<typeof Schema.Number>;
|
|
174
|
-
}>, never, {
|
|
175
|
-
readonly symbol: string | null;
|
|
176
|
-
} & {
|
|
177
|
-
readonly decimals: number | null;
|
|
178
|
-
} & {
|
|
179
|
-
readonly raw: string;
|
|
180
|
-
} & {
|
|
181
|
-
readonly formatted: string;
|
|
182
|
-
}, {}, {}>;
|
|
183
|
-
declare class TokenBalanceInfo extends TokenBalanceInfo_base {}
|
|
184
|
-
declare const TokenTransfer_base: Schema.Class<TokenTransfer, {
|
|
185
|
-
txHash: typeof Schema.String;
|
|
186
|
-
blockTimestamp: typeof Schema.Number;
|
|
187
|
-
blockTimestampUtc: typeof Schema.String;
|
|
188
|
-
blockNumber: typeof Schema.Number;
|
|
189
|
-
logIndex: typeof Schema.Number;
|
|
190
|
-
fromAddress: typeof Schema.String;
|
|
191
|
-
toAddress: typeof Schema.String;
|
|
192
|
-
amount: typeof Schema.String;
|
|
193
|
-
formattedAmount: typeof Schema.String;
|
|
194
|
-
direction: Schema.Literal<["in", "out"]>;
|
|
195
|
-
}, Schema.Struct.Encoded<{
|
|
196
|
-
txHash: typeof Schema.String;
|
|
197
|
-
blockTimestamp: typeof Schema.Number;
|
|
198
|
-
blockTimestampUtc: typeof Schema.String;
|
|
199
|
-
blockNumber: typeof Schema.Number;
|
|
200
|
-
logIndex: typeof Schema.Number;
|
|
201
|
-
fromAddress: typeof Schema.String;
|
|
202
|
-
toAddress: typeof Schema.String;
|
|
203
|
-
amount: typeof Schema.String;
|
|
204
|
-
formattedAmount: typeof Schema.String;
|
|
205
|
-
direction: Schema.Literal<["in", "out"]>;
|
|
206
|
-
}>, never, {
|
|
207
|
-
readonly txHash: string;
|
|
208
|
-
} & {
|
|
209
|
-
readonly blockNumber: number;
|
|
210
|
-
} & {
|
|
211
|
-
readonly blockTimestamp: number;
|
|
212
|
-
} & {
|
|
213
|
-
readonly amount: string;
|
|
214
|
-
} & {
|
|
215
|
-
readonly blockTimestampUtc: string;
|
|
216
|
-
} & {
|
|
217
|
-
readonly logIndex: number;
|
|
218
|
-
} & {
|
|
219
|
-
readonly fromAddress: string;
|
|
220
|
-
} & {
|
|
221
|
-
readonly toAddress: string;
|
|
222
|
-
} & {
|
|
223
|
-
readonly formattedAmount: string;
|
|
224
|
-
} & {
|
|
225
|
-
readonly direction: "in" | "out";
|
|
226
|
-
}, {}, {}>;
|
|
227
|
-
declare class TokenTransfer extends TokenTransfer_base {}
|
|
228
|
-
declare const TokenActivityPagination_base: Schema.Class<TokenActivityPagination, {
|
|
229
|
-
page: typeof Schema.Number;
|
|
230
|
-
pageSize: typeof Schema.Number;
|
|
231
|
-
hasMore: typeof Schema.Boolean;
|
|
232
|
-
}, Schema.Struct.Encoded<{
|
|
233
|
-
page: typeof Schema.Number;
|
|
234
|
-
pageSize: typeof Schema.Number;
|
|
235
|
-
hasMore: typeof Schema.Boolean;
|
|
236
|
-
}>, never, {
|
|
237
|
-
readonly page: number;
|
|
238
|
-
} & {
|
|
239
|
-
readonly pageSize: number;
|
|
240
|
-
} & {
|
|
241
|
-
readonly hasMore: boolean;
|
|
242
|
-
}, {}, {}>;
|
|
243
|
-
declare class TokenActivityPagination extends TokenActivityPagination_base {}
|
|
244
|
-
declare const TokenActivity_base: Schema.Class<TokenActivity, {
|
|
245
|
-
holderAddress: typeof Schema.String;
|
|
246
|
-
tokenAddress: typeof Schema.String;
|
|
247
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
248
|
-
balance: typeof TokenBalanceInfo;
|
|
249
|
-
transfers: Schema.Array$<typeof TokenTransfer>;
|
|
250
|
-
pagination: typeof TokenActivityPagination;
|
|
251
|
-
}, Schema.Struct.Encoded<{
|
|
252
|
-
holderAddress: typeof Schema.String;
|
|
253
|
-
tokenAddress: typeof Schema.String;
|
|
254
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
255
|
-
balance: typeof TokenBalanceInfo;
|
|
256
|
-
transfers: Schema.Array$<typeof TokenTransfer>;
|
|
257
|
-
pagination: typeof TokenActivityPagination;
|
|
258
|
-
}>, never, {
|
|
259
|
-
readonly blockchain: "ethereum" | "base";
|
|
260
|
-
} & {
|
|
261
|
-
readonly tokenAddress: string;
|
|
262
|
-
} & {
|
|
263
|
-
readonly holderAddress: string;
|
|
264
|
-
} & {
|
|
265
|
-
readonly balance: TokenBalanceInfo;
|
|
266
|
-
} & {
|
|
267
|
-
readonly pagination: TokenActivityPagination;
|
|
268
|
-
} & {
|
|
269
|
-
readonly transfers: readonly TokenTransfer[];
|
|
270
|
-
}, {}, {}>;
|
|
271
|
-
declare class TokenActivity extends TokenActivity_base {}
|
|
272
|
-
declare const WalletTxCall_base: Schema.Class<WalletTxCall, {
|
|
273
|
-
callee: typeof Schema.String;
|
|
274
|
-
functionSignature: typeof Schema.String;
|
|
275
|
-
functionName: typeof Schema.String;
|
|
276
|
-
contractName: Schema.NullOr<typeof Schema.String>;
|
|
277
|
-
entityLabel: Schema.NullOr<typeof Schema.String>;
|
|
278
|
-
}, Schema.Struct.Encoded<{
|
|
279
|
-
callee: typeof Schema.String;
|
|
280
|
-
functionSignature: typeof Schema.String;
|
|
281
|
-
functionName: typeof Schema.String;
|
|
282
|
-
contractName: Schema.NullOr<typeof Schema.String>;
|
|
283
|
-
entityLabel: Schema.NullOr<typeof Schema.String>;
|
|
284
|
-
}>, never, {
|
|
285
|
-
readonly functionSignature: string;
|
|
286
|
-
} & {
|
|
287
|
-
readonly contractName: string | null;
|
|
288
|
-
} & {
|
|
289
|
-
readonly callee: string;
|
|
290
|
-
} & {
|
|
291
|
-
readonly functionName: string;
|
|
292
|
-
} & {
|
|
293
|
-
readonly entityLabel: string | null;
|
|
294
|
-
}, {}, {}>;
|
|
295
|
-
declare class WalletTxCall extends WalletTxCall_base {}
|
|
296
|
-
declare const WalletTxActionExecution_base: Schema.Class<WalletTxActionExecution, {
|
|
297
|
-
actionId: typeof Schema.String;
|
|
298
|
-
versionId: typeof Schema.String;
|
|
299
|
-
actionName: typeof Schema.String;
|
|
300
|
-
executionId: typeof Schema.String;
|
|
301
|
-
}, Schema.Struct.Encoded<{
|
|
302
|
-
actionId: typeof Schema.String;
|
|
303
|
-
versionId: typeof Schema.String;
|
|
304
|
-
actionName: typeof Schema.String;
|
|
305
|
-
executionId: typeof Schema.String;
|
|
306
|
-
}>, never, {
|
|
307
|
-
readonly actionId: string;
|
|
308
|
-
} & {
|
|
309
|
-
readonly actionName: string;
|
|
310
|
-
} & {
|
|
311
|
-
readonly versionId: string;
|
|
312
|
-
} & {
|
|
313
|
-
readonly executionId: string;
|
|
314
|
-
}, {}, {}>;
|
|
315
|
-
declare class WalletTxActionExecution extends WalletTxActionExecution_base {}
|
|
316
|
-
declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
|
|
317
|
-
txHash: typeof Schema.String;
|
|
318
|
-
blockNumber: typeof Schema.Number;
|
|
319
|
-
tokenAddress: typeof Schema.String;
|
|
320
|
-
fromAddress: typeof Schema.String;
|
|
321
|
-
toAddress: typeof Schema.String;
|
|
322
|
-
amount: typeof Schema.Number;
|
|
323
|
-
blockTimestamp: typeof Schema.Number;
|
|
324
|
-
chainId: typeof Schema.Number;
|
|
325
|
-
tokenId: typeof Schema.Number;
|
|
326
|
-
tokenDecimals: typeof Schema.Number;
|
|
327
|
-
tokenName: typeof Schema.String;
|
|
328
|
-
tokenSymbol: typeof Schema.String;
|
|
329
|
-
tokenPriceUsd: typeof Schema.Number;
|
|
330
|
-
tokenLogoUrl: typeof Schema.String;
|
|
331
|
-
tokenType: Schema.Literal<["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
332
|
-
fromAddressIsContract: typeof Schema.Boolean;
|
|
333
|
-
toAddressIsContract: typeof Schema.Boolean;
|
|
334
|
-
fromEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
335
|
-
toEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
336
|
-
}, Schema.Struct.Encoded<{
|
|
337
|
-
txHash: typeof Schema.String;
|
|
338
|
-
blockNumber: typeof Schema.Number;
|
|
339
|
-
tokenAddress: typeof Schema.String;
|
|
340
|
-
fromAddress: typeof Schema.String;
|
|
341
|
-
toAddress: typeof Schema.String;
|
|
342
|
-
amount: typeof Schema.Number;
|
|
343
|
-
blockTimestamp: typeof Schema.Number;
|
|
344
|
-
chainId: typeof Schema.Number;
|
|
345
|
-
tokenId: typeof Schema.Number;
|
|
346
|
-
tokenDecimals: typeof Schema.Number;
|
|
347
|
-
tokenName: typeof Schema.String;
|
|
348
|
-
tokenSymbol: typeof Schema.String;
|
|
349
|
-
tokenPriceUsd: typeof Schema.Number;
|
|
350
|
-
tokenLogoUrl: typeof Schema.String;
|
|
351
|
-
tokenType: Schema.Literal<["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
352
|
-
fromAddressIsContract: typeof Schema.Boolean;
|
|
353
|
-
toAddressIsContract: typeof Schema.Boolean;
|
|
354
|
-
fromEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
355
|
-
toEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
356
|
-
}>, never, {
|
|
357
|
-
readonly txHash: string;
|
|
358
|
-
} & {
|
|
359
|
-
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
360
|
-
} & {
|
|
361
|
-
readonly tokenAddress: string;
|
|
362
|
-
} & {
|
|
363
|
-
readonly blockNumber: number;
|
|
364
|
-
} & {
|
|
365
|
-
readonly blockTimestamp: number;
|
|
366
|
-
} & {
|
|
367
|
-
readonly amount: number;
|
|
368
|
-
} & {
|
|
369
|
-
readonly fromAddress: string;
|
|
370
|
-
} & {
|
|
371
|
-
readonly toAddress: string;
|
|
372
|
-
} & {
|
|
373
|
-
readonly chainId: number;
|
|
374
|
-
} & {
|
|
375
|
-
readonly tokenId: number;
|
|
376
|
-
} & {
|
|
377
|
-
readonly tokenDecimals: number;
|
|
378
|
-
} & {
|
|
379
|
-
readonly tokenName: string;
|
|
380
|
-
} & {
|
|
381
|
-
readonly tokenSymbol: string;
|
|
382
|
-
} & {
|
|
383
|
-
readonly tokenPriceUsd: number;
|
|
384
|
-
} & {
|
|
385
|
-
readonly tokenLogoUrl: string;
|
|
386
|
-
} & {
|
|
387
|
-
readonly fromAddressIsContract: boolean;
|
|
388
|
-
} & {
|
|
389
|
-
readonly toAddressIsContract: boolean;
|
|
390
|
-
} & {
|
|
391
|
-
readonly fromEntityLabel?: string | null | undefined;
|
|
392
|
-
} & {
|
|
393
|
-
readonly toEntityLabel?: string | null | undefined;
|
|
394
|
-
}, {}, {}>;
|
|
395
|
-
declare class WalletTxTransfer extends WalletTxTransfer_base {}
|
|
396
|
-
declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
|
|
397
|
-
txHash: Schema.optional<typeof Schema.String>;
|
|
398
|
-
blockNumber: typeof Schema.Number;
|
|
399
|
-
tokenAddress: typeof Schema.String;
|
|
400
|
-
holderAddress: typeof Schema.String;
|
|
401
|
-
holderIsContract: typeof Schema.Boolean;
|
|
402
|
-
balanceChange: typeof Schema.Number;
|
|
403
|
-
blockTimestamp: typeof Schema.Number;
|
|
404
|
-
chainId: typeof Schema.Number;
|
|
405
|
-
tokenType: Schema.Literal<["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
406
|
-
tokenId: typeof Schema.Number;
|
|
407
|
-
tokenDecimals: typeof Schema.Number;
|
|
408
|
-
tokenName: typeof Schema.String;
|
|
409
|
-
tokenSymbol: typeof Schema.String;
|
|
410
|
-
tokenPriceUsd: typeof Schema.Number;
|
|
411
|
-
tokenLogoUrl: typeof Schema.String;
|
|
412
|
-
holderEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
413
|
-
tokenEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
414
|
-
transfers: Schema.Array$<typeof WalletTxTransfer>;
|
|
415
|
-
}, Schema.Struct.Encoded<{
|
|
416
|
-
txHash: Schema.optional<typeof Schema.String>;
|
|
417
|
-
blockNumber: typeof Schema.Number;
|
|
418
|
-
tokenAddress: typeof Schema.String;
|
|
419
|
-
holderAddress: typeof Schema.String;
|
|
420
|
-
holderIsContract: typeof Schema.Boolean;
|
|
421
|
-
balanceChange: typeof Schema.Number;
|
|
422
|
-
blockTimestamp: typeof Schema.Number;
|
|
423
|
-
chainId: typeof Schema.Number;
|
|
424
|
-
tokenType: Schema.Literal<["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
425
|
-
tokenId: typeof Schema.Number;
|
|
426
|
-
tokenDecimals: typeof Schema.Number;
|
|
427
|
-
tokenName: typeof Schema.String;
|
|
428
|
-
tokenSymbol: typeof Schema.String;
|
|
429
|
-
tokenPriceUsd: typeof Schema.Number;
|
|
430
|
-
tokenLogoUrl: typeof Schema.String;
|
|
431
|
-
holderEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
432
|
-
tokenEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
433
|
-
transfers: Schema.Array$<typeof WalletTxTransfer>;
|
|
434
|
-
}>, never, {
|
|
435
|
-
readonly txHash?: string | undefined;
|
|
436
|
-
} & {
|
|
437
|
-
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
438
|
-
} & {
|
|
439
|
-
readonly tokenAddress: string;
|
|
440
|
-
} & {
|
|
441
|
-
readonly blockNumber: number;
|
|
442
|
-
} & {
|
|
443
|
-
readonly blockTimestamp: number;
|
|
444
|
-
} & {
|
|
445
|
-
readonly holderAddress: string;
|
|
446
|
-
} & {
|
|
447
|
-
readonly transfers: readonly WalletTxTransfer[];
|
|
448
|
-
} & {
|
|
449
|
-
readonly chainId: number;
|
|
450
|
-
} & {
|
|
451
|
-
readonly tokenId: number;
|
|
452
|
-
} & {
|
|
453
|
-
readonly tokenDecimals: number;
|
|
454
|
-
} & {
|
|
455
|
-
readonly tokenName: string;
|
|
456
|
-
} & {
|
|
457
|
-
readonly tokenSymbol: string;
|
|
458
|
-
} & {
|
|
459
|
-
readonly tokenPriceUsd: number;
|
|
460
|
-
} & {
|
|
461
|
-
readonly tokenLogoUrl: string;
|
|
462
|
-
} & {
|
|
463
|
-
readonly holderIsContract: boolean;
|
|
464
|
-
} & {
|
|
465
|
-
readonly balanceChange: number;
|
|
466
|
-
} & {
|
|
467
|
-
readonly holderEntityLabel?: string | null | undefined;
|
|
468
|
-
} & {
|
|
469
|
-
readonly tokenEntityLabel?: string | null | undefined;
|
|
470
|
-
}, {}, {}>;
|
|
471
|
-
declare class WalletTxBalanceChange extends WalletTxBalanceChange_base {}
|
|
472
|
-
declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
|
|
473
|
-
txHash: typeof Schema.String;
|
|
474
|
-
blockTimestamp: typeof Schema.Number;
|
|
475
|
-
blockTimestampUtc: typeof Schema.String;
|
|
476
|
-
blockNumber: typeof Schema.Number;
|
|
477
|
-
success: typeof Schema.Boolean;
|
|
478
|
-
errorMessage: Schema.optional<typeof Schema.String>;
|
|
479
|
-
calls: Schema.Array$<typeof WalletTxCall>;
|
|
480
|
-
walletBalanceChanges: Schema.Array$<typeof WalletTxBalanceChange>;
|
|
481
|
-
createdContracts: Schema.Array$<Schema.Struct<{
|
|
482
|
-
address: typeof Schema.String;
|
|
483
|
-
contractName: Schema.NullOr<typeof Schema.String>;
|
|
484
|
-
entityLabel: Schema.NullOr<typeof Schema.String>;
|
|
4
|
+
declare const WalletBalanceSchema: Schema.Struct<{
|
|
5
|
+
readonly address: Schema.String;
|
|
6
|
+
readonly amount: Schema.Union<readonly [Schema.String, Schema.Number]>;
|
|
7
|
+
readonly decimals: Schema.NullOr<Schema.Number>;
|
|
8
|
+
readonly logoUrl: Schema.NullOr<Schema.String>;
|
|
9
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
10
|
+
readonly valueUsd: Schema.NullOr<Schema.Number>;
|
|
11
|
+
}>;
|
|
12
|
+
type WalletBalance = typeof WalletBalanceSchema.Type;
|
|
13
|
+
declare const Erc7702DelegationSchema: Schema.Struct<{
|
|
14
|
+
readonly address: Schema.String;
|
|
15
|
+
readonly contractName: Schema.String;
|
|
16
|
+
readonly functions: Schema.$Array<Schema.String>;
|
|
17
|
+
}>;
|
|
18
|
+
type Erc7702Delegation = typeof Erc7702DelegationSchema.Type;
|
|
19
|
+
declare const MultisigSignerSchema: Schema.Struct<{
|
|
20
|
+
readonly address: Schema.String;
|
|
21
|
+
readonly isContract: Schema.Boolean;
|
|
22
|
+
}>;
|
|
23
|
+
type MultisigSigner = typeof MultisigSignerSchema.Type;
|
|
24
|
+
declare const PendingTransactionSchema: Schema.Struct<{
|
|
25
|
+
readonly confirmationsReceived: Schema.optional<Schema.Number>;
|
|
26
|
+
readonly confirmationsRequired: Schema.optional<Schema.Number>;
|
|
27
|
+
readonly data: Schema.NullOr<Schema.String>;
|
|
28
|
+
readonly method: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
29
|
+
readonly nonce: Schema.Number;
|
|
30
|
+
readonly proposer: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
31
|
+
readonly safeTxHash: Schema.String;
|
|
32
|
+
readonly submissionDate: Schema.optional<Schema.String>;
|
|
33
|
+
readonly to: Schema.String;
|
|
34
|
+
readonly value: Schema.String;
|
|
35
|
+
}>;
|
|
36
|
+
type PendingTransaction = typeof PendingTransactionSchema.Type;
|
|
37
|
+
declare const MultisigDetailsSchema: Schema.Struct<{
|
|
38
|
+
readonly pendingTransactions: Schema.$Array<Schema.Struct<{
|
|
39
|
+
readonly confirmationsReceived: Schema.optional<Schema.Number>;
|
|
40
|
+
readonly confirmationsRequired: Schema.optional<Schema.Number>;
|
|
41
|
+
readonly data: Schema.NullOr<Schema.String>;
|
|
42
|
+
readonly method: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
43
|
+
readonly nonce: Schema.Number;
|
|
44
|
+
readonly proposer: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
45
|
+
readonly safeTxHash: Schema.String;
|
|
46
|
+
readonly submissionDate: Schema.optional<Schema.String>;
|
|
47
|
+
readonly to: Schema.String;
|
|
48
|
+
readonly value: Schema.String;
|
|
485
49
|
}>>;
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
blockTimestamp: typeof Schema.Number;
|
|
490
|
-
blockTimestampUtc: typeof Schema.String;
|
|
491
|
-
blockNumber: typeof Schema.Number;
|
|
492
|
-
success: typeof Schema.Boolean;
|
|
493
|
-
errorMessage: Schema.optional<typeof Schema.String>;
|
|
494
|
-
calls: Schema.Array$<typeof WalletTxCall>;
|
|
495
|
-
walletBalanceChanges: Schema.Array$<typeof WalletTxBalanceChange>;
|
|
496
|
-
createdContracts: Schema.Array$<Schema.Struct<{
|
|
497
|
-
address: typeof Schema.String;
|
|
498
|
-
contractName: Schema.NullOr<typeof Schema.String>;
|
|
499
|
-
entityLabel: Schema.NullOr<typeof Schema.String>;
|
|
50
|
+
readonly signers: Schema.$Array<Schema.Struct<{
|
|
51
|
+
readonly address: Schema.String;
|
|
52
|
+
readonly isContract: Schema.Boolean;
|
|
500
53
|
}>>;
|
|
501
|
-
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
readonly
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
}
|
|
513
|
-
readonly
|
|
514
|
-
|
|
515
|
-
readonly
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
readonly
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
readonly
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
readonly
|
|
562
|
-
|
|
563
|
-
readonly
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
readonly
|
|
570
|
-
|
|
571
|
-
readonly
|
|
572
|
-
|
|
573
|
-
readonly
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
symbol: Schema.NullOr<
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
readonly
|
|
602
|
-
|
|
603
|
-
readonly
|
|
604
|
-
|
|
605
|
-
readonly
|
|
606
|
-
|
|
607
|
-
readonly
|
|
608
|
-
|
|
609
|
-
readonly
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
readonly
|
|
614
|
-
|
|
615
|
-
readonly
|
|
616
|
-
|
|
617
|
-
readonly
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
readonly
|
|
630
|
-
|
|
631
|
-
readonly
|
|
632
|
-
|
|
633
|
-
readonly
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
readonly
|
|
652
|
-
|
|
653
|
-
readonly
|
|
654
|
-
|
|
655
|
-
readonly
|
|
656
|
-
|
|
657
|
-
readonly
|
|
658
|
-
|
|
659
|
-
readonly
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
}
|
|
687
|
-
readonly
|
|
688
|
-
|
|
689
|
-
readonly
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
|
|
54
|
+
readonly threshold: Schema.Number;
|
|
55
|
+
}>;
|
|
56
|
+
type MultisigDetails = typeof MultisigDetailsSchema.Type;
|
|
57
|
+
declare const WalletOverviewSchema: Schema.Struct<{
|
|
58
|
+
readonly balances: Schema.$Array<Schema.Struct<{
|
|
59
|
+
readonly address: Schema.String;
|
|
60
|
+
readonly amount: Schema.Union<readonly [Schema.String, Schema.Number]>;
|
|
61
|
+
readonly decimals: Schema.NullOr<Schema.Number>;
|
|
62
|
+
readonly logoUrl: Schema.NullOr<Schema.String>;
|
|
63
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
64
|
+
readonly valueUsd: Schema.NullOr<Schema.Number>;
|
|
65
|
+
}>>;
|
|
66
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
67
|
+
readonly earliestTx: Schema.NullOr<Schema.Number>;
|
|
68
|
+
readonly erc7702Delegation: Schema.optional<Schema.Struct<{
|
|
69
|
+
readonly address: Schema.String;
|
|
70
|
+
readonly contractName: Schema.String;
|
|
71
|
+
readonly functions: Schema.$Array<Schema.String>;
|
|
72
|
+
}>>;
|
|
73
|
+
readonly implementationAddress: Schema.optional<Schema.String>;
|
|
74
|
+
readonly multisigDetails: Schema.optional<Schema.Struct<{
|
|
75
|
+
readonly pendingTransactions: Schema.$Array<Schema.Struct<{
|
|
76
|
+
readonly confirmationsReceived: Schema.optional<Schema.Number>;
|
|
77
|
+
readonly confirmationsRequired: Schema.optional<Schema.Number>;
|
|
78
|
+
readonly data: Schema.NullOr<Schema.String>;
|
|
79
|
+
readonly method: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
80
|
+
readonly nonce: Schema.Number;
|
|
81
|
+
readonly proposer: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
82
|
+
readonly safeTxHash: Schema.String;
|
|
83
|
+
readonly submissionDate: Schema.optional<Schema.String>;
|
|
84
|
+
readonly to: Schema.String;
|
|
85
|
+
readonly value: Schema.String;
|
|
86
|
+
}>>;
|
|
87
|
+
readonly signers: Schema.$Array<Schema.Struct<{
|
|
88
|
+
readonly address: Schema.String;
|
|
89
|
+
readonly isContract: Schema.Boolean;
|
|
90
|
+
}>>;
|
|
91
|
+
readonly threshold: Schema.Number;
|
|
92
|
+
}>>;
|
|
93
|
+
readonly totalDeployedContractsCount: Schema.Number;
|
|
94
|
+
readonly totalTransactionCount: Schema.Number;
|
|
95
|
+
readonly walletAddress: Schema.String;
|
|
96
|
+
readonly walletType: Schema.Literals<readonly ["eoa", "erc7702", "erc4337", "multisig", "contract"]>;
|
|
97
|
+
}>;
|
|
98
|
+
type WalletOverview = typeof WalletOverviewSchema.Type;
|
|
99
|
+
declare const TokenTypeSchema: Schema.Literals<readonly ["ERC20", "ERC721", "ERC1155"]>;
|
|
100
|
+
type TokenType = typeof TokenTypeSchema.Type;
|
|
101
|
+
declare const Erc20BalanceInfoSchema: Schema.Struct<{
|
|
102
|
+
readonly tokenType: Schema.Literal<"ERC20">;
|
|
103
|
+
readonly decimals: Schema.NullOr<Schema.Number>;
|
|
104
|
+
readonly formatted: Schema.String;
|
|
105
|
+
readonly raw: Schema.String;
|
|
106
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
107
|
+
}>;
|
|
108
|
+
declare const Erc721BalanceInfoSchema: Schema.Struct<{
|
|
109
|
+
readonly tokenType: Schema.Literal<"ERC721">;
|
|
110
|
+
readonly count: Schema.String;
|
|
111
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
112
|
+
}>;
|
|
113
|
+
declare const Erc1155BalanceInfoSchema: Schema.Struct<{
|
|
114
|
+
readonly tokenType: Schema.Literal<"ERC1155">;
|
|
115
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
116
|
+
readonly holdings: Schema.$Array<Schema.Struct<{
|
|
117
|
+
readonly amount: Schema.String;
|
|
118
|
+
readonly tokenId: Schema.String;
|
|
119
|
+
}>>;
|
|
120
|
+
}>;
|
|
121
|
+
declare const TokenBalanceInfoSchema: Schema.Union<readonly [Schema.Struct<{
|
|
122
|
+
readonly tokenType: Schema.Literal<"ERC20">;
|
|
123
|
+
readonly decimals: Schema.NullOr<Schema.Number>;
|
|
124
|
+
readonly formatted: Schema.String;
|
|
125
|
+
readonly raw: Schema.String;
|
|
126
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
127
|
+
}>, Schema.Struct<{
|
|
128
|
+
readonly tokenType: Schema.Literal<"ERC721">;
|
|
129
|
+
readonly count: Schema.String;
|
|
130
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
131
|
+
}>, Schema.Struct<{
|
|
132
|
+
readonly tokenType: Schema.Literal<"ERC1155">;
|
|
133
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
134
|
+
readonly holdings: Schema.$Array<Schema.Struct<{
|
|
135
|
+
readonly amount: Schema.String;
|
|
136
|
+
readonly tokenId: Schema.String;
|
|
137
|
+
}>>;
|
|
138
|
+
}>]>;
|
|
139
|
+
type TokenBalanceInfo = typeof TokenBalanceInfoSchema.Type;
|
|
140
|
+
declare const Erc20TransferSchema: Schema.Struct<{
|
|
141
|
+
readonly tokenType: Schema.Literal<"ERC20">;
|
|
142
|
+
readonly amount: Schema.String;
|
|
143
|
+
readonly formattedAmount: Schema.String;
|
|
144
|
+
readonly blockNumber: Schema.Number;
|
|
145
|
+
readonly blockTimestamp: Schema.Number;
|
|
146
|
+
readonly blockTimestampUtc: Schema.String;
|
|
147
|
+
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
148
|
+
readonly fromAddress: Schema.String;
|
|
149
|
+
readonly logIndex: Schema.Number;
|
|
150
|
+
readonly toAddress: Schema.String;
|
|
151
|
+
readonly txHash: Schema.String;
|
|
152
|
+
}>;
|
|
153
|
+
declare const Erc721TransferSchema: Schema.Struct<{
|
|
154
|
+
readonly tokenType: Schema.Literal<"ERC721">;
|
|
155
|
+
readonly tokenId: Schema.String;
|
|
156
|
+
readonly blockNumber: Schema.Number;
|
|
157
|
+
readonly blockTimestamp: Schema.Number;
|
|
158
|
+
readonly blockTimestampUtc: Schema.String;
|
|
159
|
+
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
160
|
+
readonly fromAddress: Schema.String;
|
|
161
|
+
readonly logIndex: Schema.Number;
|
|
162
|
+
readonly toAddress: Schema.String;
|
|
163
|
+
readonly txHash: Schema.String;
|
|
164
|
+
}>;
|
|
165
|
+
declare const Erc1155TransferSchema: Schema.Struct<{
|
|
166
|
+
readonly tokenType: Schema.Literal<"ERC1155">;
|
|
167
|
+
readonly tokenId: Schema.String;
|
|
168
|
+
readonly amount: Schema.String;
|
|
169
|
+
readonly blockNumber: Schema.Number;
|
|
170
|
+
readonly blockTimestamp: Schema.Number;
|
|
171
|
+
readonly blockTimestampUtc: Schema.String;
|
|
172
|
+
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
173
|
+
readonly fromAddress: Schema.String;
|
|
174
|
+
readonly logIndex: Schema.Number;
|
|
175
|
+
readonly toAddress: Schema.String;
|
|
176
|
+
readonly txHash: Schema.String;
|
|
177
|
+
}>;
|
|
178
|
+
declare const TokenTransferSchema: Schema.Union<readonly [Schema.Struct<{
|
|
179
|
+
readonly tokenType: Schema.Literal<"ERC20">;
|
|
180
|
+
readonly amount: Schema.String;
|
|
181
|
+
readonly formattedAmount: Schema.String;
|
|
182
|
+
readonly blockNumber: Schema.Number;
|
|
183
|
+
readonly blockTimestamp: Schema.Number;
|
|
184
|
+
readonly blockTimestampUtc: Schema.String;
|
|
185
|
+
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
186
|
+
readonly fromAddress: Schema.String;
|
|
187
|
+
readonly logIndex: Schema.Number;
|
|
188
|
+
readonly toAddress: Schema.String;
|
|
189
|
+
readonly txHash: Schema.String;
|
|
190
|
+
}>, Schema.Struct<{
|
|
191
|
+
readonly tokenType: Schema.Literal<"ERC721">;
|
|
192
|
+
readonly tokenId: Schema.String;
|
|
193
|
+
readonly blockNumber: Schema.Number;
|
|
194
|
+
readonly blockTimestamp: Schema.Number;
|
|
195
|
+
readonly blockTimestampUtc: Schema.String;
|
|
196
|
+
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
197
|
+
readonly fromAddress: Schema.String;
|
|
198
|
+
readonly logIndex: Schema.Number;
|
|
199
|
+
readonly toAddress: Schema.String;
|
|
200
|
+
readonly txHash: Schema.String;
|
|
201
|
+
}>, Schema.Struct<{
|
|
202
|
+
readonly tokenType: Schema.Literal<"ERC1155">;
|
|
203
|
+
readonly tokenId: Schema.String;
|
|
204
|
+
readonly amount: Schema.String;
|
|
205
|
+
readonly blockNumber: Schema.Number;
|
|
206
|
+
readonly blockTimestamp: Schema.Number;
|
|
207
|
+
readonly blockTimestampUtc: Schema.String;
|
|
208
|
+
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
209
|
+
readonly fromAddress: Schema.String;
|
|
210
|
+
readonly logIndex: Schema.Number;
|
|
211
|
+
readonly toAddress: Schema.String;
|
|
212
|
+
readonly txHash: Schema.String;
|
|
213
|
+
}>]>;
|
|
214
|
+
type TokenTransfer = typeof TokenTransferSchema.Type;
|
|
215
|
+
declare const TokenActivityPaginationSchema: Schema.Struct<{
|
|
216
|
+
readonly hasMore: Schema.Boolean;
|
|
217
|
+
readonly page: Schema.Number;
|
|
218
|
+
readonly pageSize: Schema.Number;
|
|
219
|
+
}>;
|
|
220
|
+
type TokenActivityPagination = typeof TokenActivityPaginationSchema.Type;
|
|
221
|
+
declare const TokenActivitySchema: Schema.Struct<{
|
|
222
|
+
readonly balance: Schema.Union<readonly [Schema.Struct<{
|
|
223
|
+
readonly tokenType: Schema.Literal<"ERC20">;
|
|
224
|
+
readonly decimals: Schema.NullOr<Schema.Number>;
|
|
225
|
+
readonly formatted: Schema.String;
|
|
226
|
+
readonly raw: Schema.String;
|
|
227
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
228
|
+
}>, Schema.Struct<{
|
|
229
|
+
readonly tokenType: Schema.Literal<"ERC721">;
|
|
230
|
+
readonly count: Schema.String;
|
|
231
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
232
|
+
}>, Schema.Struct<{
|
|
233
|
+
readonly tokenType: Schema.Literal<"ERC1155">;
|
|
234
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
235
|
+
readonly holdings: Schema.$Array<Schema.Struct<{
|
|
236
|
+
readonly amount: Schema.String;
|
|
237
|
+
readonly tokenId: Schema.String;
|
|
238
|
+
}>>;
|
|
239
|
+
}>]>;
|
|
240
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
241
|
+
readonly holderAddress: Schema.String;
|
|
242
|
+
readonly pagination: Schema.Struct<{
|
|
243
|
+
readonly hasMore: Schema.Boolean;
|
|
244
|
+
readonly page: Schema.Number;
|
|
245
|
+
readonly pageSize: Schema.Number;
|
|
246
|
+
}>;
|
|
247
|
+
readonly tokenAddress: Schema.String;
|
|
248
|
+
readonly tokenType: Schema.Literals<readonly ["ERC20", "ERC721", "ERC1155"]>;
|
|
249
|
+
readonly transfers: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
250
|
+
readonly tokenType: Schema.Literal<"ERC20">;
|
|
251
|
+
readonly amount: Schema.String;
|
|
252
|
+
readonly formattedAmount: Schema.String;
|
|
253
|
+
readonly blockNumber: Schema.Number;
|
|
254
|
+
readonly blockTimestamp: Schema.Number;
|
|
255
|
+
readonly blockTimestampUtc: Schema.String;
|
|
256
|
+
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
257
|
+
readonly fromAddress: Schema.String;
|
|
258
|
+
readonly logIndex: Schema.Number;
|
|
259
|
+
readonly toAddress: Schema.String;
|
|
260
|
+
readonly txHash: Schema.String;
|
|
261
|
+
}>, Schema.Struct<{
|
|
262
|
+
readonly tokenType: Schema.Literal<"ERC721">;
|
|
263
|
+
readonly tokenId: Schema.String;
|
|
264
|
+
readonly blockNumber: Schema.Number;
|
|
265
|
+
readonly blockTimestamp: Schema.Number;
|
|
266
|
+
readonly blockTimestampUtc: Schema.String;
|
|
267
|
+
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
268
|
+
readonly fromAddress: Schema.String;
|
|
269
|
+
readonly logIndex: Schema.Number;
|
|
270
|
+
readonly toAddress: Schema.String;
|
|
271
|
+
readonly txHash: Schema.String;
|
|
272
|
+
}>, Schema.Struct<{
|
|
273
|
+
readonly tokenType: Schema.Literal<"ERC1155">;
|
|
274
|
+
readonly tokenId: Schema.String;
|
|
275
|
+
readonly amount: Schema.String;
|
|
276
|
+
readonly blockNumber: Schema.Number;
|
|
277
|
+
readonly blockTimestamp: Schema.Number;
|
|
278
|
+
readonly blockTimestampUtc: Schema.String;
|
|
279
|
+
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
280
|
+
readonly fromAddress: Schema.String;
|
|
281
|
+
readonly logIndex: Schema.Number;
|
|
282
|
+
readonly toAddress: Schema.String;
|
|
283
|
+
readonly txHash: Schema.String;
|
|
284
|
+
}>]>>;
|
|
285
|
+
}>;
|
|
286
|
+
type TokenActivity = typeof TokenActivitySchema.Type;
|
|
287
|
+
declare const WalletTxCallSchema: Schema.Struct<{
|
|
288
|
+
readonly callee: Schema.String;
|
|
289
|
+
readonly contractName: Schema.NullOr<Schema.String>;
|
|
290
|
+
readonly entityLabel: Schema.NullOr<Schema.String>;
|
|
291
|
+
readonly functionName: Schema.String;
|
|
292
|
+
readonly functionSignature: Schema.String;
|
|
293
|
+
}>;
|
|
294
|
+
type WalletTxCall = typeof WalletTxCallSchema.Type;
|
|
295
|
+
declare const WalletTxActionExecutionSchema: Schema.Struct<{
|
|
296
|
+
readonly actionId: Schema.String;
|
|
297
|
+
readonly actionName: Schema.String;
|
|
298
|
+
readonly executionId: Schema.String;
|
|
299
|
+
readonly versionId: Schema.String;
|
|
300
|
+
}>;
|
|
301
|
+
type WalletTxActionExecution = typeof WalletTxActionExecutionSchema.Type;
|
|
302
|
+
declare const WalletTxTransferSchema: Schema.Struct<{
|
|
303
|
+
readonly amount: Schema.Number;
|
|
304
|
+
readonly blockNumber: Schema.Number;
|
|
305
|
+
readonly blockTimestamp: Schema.Number;
|
|
306
|
+
readonly chainId: Schema.Number;
|
|
307
|
+
readonly fromAddress: Schema.String;
|
|
308
|
+
readonly fromAddressIsContract: Schema.Boolean;
|
|
309
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
310
|
+
readonly toAddress: Schema.String;
|
|
311
|
+
readonly toAddressIsContract: Schema.Boolean;
|
|
312
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
313
|
+
readonly tokenAddress: Schema.String;
|
|
314
|
+
readonly tokenDecimals: Schema.Number;
|
|
315
|
+
readonly tokenId: Schema.Number;
|
|
316
|
+
readonly tokenLogoUrl: Schema.String;
|
|
317
|
+
readonly tokenName: Schema.String;
|
|
318
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
319
|
+
readonly tokenSymbol: Schema.String;
|
|
320
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
321
|
+
readonly txHash: Schema.String;
|
|
322
|
+
}>;
|
|
323
|
+
type WalletTxTransfer = typeof WalletTxTransferSchema.Type;
|
|
324
|
+
declare const WalletTxBalanceChangeSchema: Schema.Struct<{
|
|
325
|
+
readonly balanceChange: Schema.Number;
|
|
326
|
+
readonly blockNumber: Schema.Number;
|
|
327
|
+
readonly blockTimestamp: Schema.Number;
|
|
328
|
+
readonly chainId: Schema.Number;
|
|
329
|
+
readonly holderAddress: Schema.String;
|
|
330
|
+
readonly holderEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
331
|
+
readonly holderIsContract: Schema.Boolean;
|
|
332
|
+
readonly tokenAddress: Schema.String;
|
|
333
|
+
readonly tokenDecimals: Schema.Number;
|
|
334
|
+
readonly tokenEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
335
|
+
readonly tokenId: Schema.Number;
|
|
336
|
+
readonly tokenLogoUrl: Schema.String;
|
|
337
|
+
readonly tokenName: Schema.String;
|
|
338
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
339
|
+
readonly tokenSymbol: Schema.String;
|
|
340
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
341
|
+
readonly transfers: Schema.$Array<Schema.Struct<{
|
|
342
|
+
readonly amount: Schema.Number;
|
|
343
|
+
readonly blockNumber: Schema.Number;
|
|
344
|
+
readonly blockTimestamp: Schema.Number;
|
|
345
|
+
readonly chainId: Schema.Number;
|
|
346
|
+
readonly fromAddress: Schema.String;
|
|
347
|
+
readonly fromAddressIsContract: Schema.Boolean;
|
|
348
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
349
|
+
readonly toAddress: Schema.String;
|
|
350
|
+
readonly toAddressIsContract: Schema.Boolean;
|
|
351
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
352
|
+
readonly tokenAddress: Schema.String;
|
|
353
|
+
readonly tokenDecimals: Schema.Number;
|
|
354
|
+
readonly tokenId: Schema.Number;
|
|
355
|
+
readonly tokenLogoUrl: Schema.String;
|
|
356
|
+
readonly tokenName: Schema.String;
|
|
357
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
358
|
+
readonly tokenSymbol: Schema.String;
|
|
359
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
360
|
+
readonly txHash: Schema.String;
|
|
361
|
+
}>>;
|
|
362
|
+
readonly txHash: Schema.optional<Schema.String>;
|
|
363
|
+
}>;
|
|
364
|
+
type WalletTxBalanceChange = typeof WalletTxBalanceChangeSchema.Type;
|
|
365
|
+
declare const WalletTransactionSchema: Schema.Struct<{
|
|
366
|
+
readonly actionExecution: Schema.optional<Schema.Struct<{
|
|
367
|
+
readonly actionId: Schema.String;
|
|
368
|
+
readonly actionName: Schema.String;
|
|
369
|
+
readonly executionId: Schema.String;
|
|
370
|
+
readonly versionId: Schema.String;
|
|
371
|
+
}>>;
|
|
372
|
+
readonly blockNumber: Schema.Number;
|
|
373
|
+
readonly blockTimestamp: Schema.Number;
|
|
374
|
+
readonly blockTimestampUtc: Schema.String;
|
|
375
|
+
readonly calls: Schema.$Array<Schema.Struct<{
|
|
376
|
+
readonly callee: Schema.String;
|
|
377
|
+
readonly contractName: Schema.NullOr<Schema.String>;
|
|
378
|
+
readonly entityLabel: Schema.NullOr<Schema.String>;
|
|
379
|
+
readonly functionName: Schema.String;
|
|
380
|
+
readonly functionSignature: Schema.String;
|
|
381
|
+
}>>;
|
|
382
|
+
readonly createdContracts: Schema.$Array<Schema.Struct<{
|
|
383
|
+
readonly address: Schema.String;
|
|
384
|
+
readonly contractName: Schema.NullOr<Schema.String>;
|
|
385
|
+
readonly entityLabel: Schema.NullOr<Schema.String>;
|
|
386
|
+
}>>;
|
|
387
|
+
readonly errorMessage: Schema.optional<Schema.String>;
|
|
388
|
+
readonly success: Schema.Boolean;
|
|
389
|
+
readonly txHash: Schema.String;
|
|
390
|
+
readonly walletBalanceChanges: Schema.$Array<Schema.Struct<{
|
|
391
|
+
readonly balanceChange: Schema.Number;
|
|
392
|
+
readonly blockNumber: Schema.Number;
|
|
393
|
+
readonly blockTimestamp: Schema.Number;
|
|
394
|
+
readonly chainId: Schema.Number;
|
|
395
|
+
readonly holderAddress: Schema.String;
|
|
396
|
+
readonly holderEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
397
|
+
readonly holderIsContract: Schema.Boolean;
|
|
398
|
+
readonly tokenAddress: Schema.String;
|
|
399
|
+
readonly tokenDecimals: Schema.Number;
|
|
400
|
+
readonly tokenEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
401
|
+
readonly tokenId: Schema.Number;
|
|
402
|
+
readonly tokenLogoUrl: Schema.String;
|
|
403
|
+
readonly tokenName: Schema.String;
|
|
404
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
405
|
+
readonly tokenSymbol: Schema.String;
|
|
406
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
407
|
+
readonly transfers: Schema.$Array<Schema.Struct<{
|
|
408
|
+
readonly amount: Schema.Number;
|
|
409
|
+
readonly blockNumber: Schema.Number;
|
|
410
|
+
readonly blockTimestamp: Schema.Number;
|
|
411
|
+
readonly chainId: Schema.Number;
|
|
412
|
+
readonly fromAddress: Schema.String;
|
|
413
|
+
readonly fromAddressIsContract: Schema.Boolean;
|
|
414
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
415
|
+
readonly toAddress: Schema.String;
|
|
416
|
+
readonly toAddressIsContract: Schema.Boolean;
|
|
417
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
418
|
+
readonly tokenAddress: Schema.String;
|
|
419
|
+
readonly tokenDecimals: Schema.Number;
|
|
420
|
+
readonly tokenId: Schema.Number;
|
|
421
|
+
readonly tokenLogoUrl: Schema.String;
|
|
422
|
+
readonly tokenName: Schema.String;
|
|
423
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
424
|
+
readonly tokenSymbol: Schema.String;
|
|
425
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
426
|
+
readonly txHash: Schema.String;
|
|
427
|
+
}>>;
|
|
428
|
+
readonly txHash: Schema.optional<Schema.String>;
|
|
429
|
+
}>>;
|
|
430
|
+
}>;
|
|
431
|
+
type WalletTransaction = typeof WalletTransactionSchema.Type;
|
|
432
|
+
declare const TransactionActivityPaginationSchema: Schema.Struct<{
|
|
433
|
+
readonly hasMore: Schema.Boolean;
|
|
434
|
+
readonly page: Schema.Number;
|
|
435
|
+
readonly pageSize: Schema.Number;
|
|
436
|
+
}>;
|
|
437
|
+
type TransactionActivityPagination = typeof TransactionActivityPaginationSchema.Type;
|
|
438
|
+
declare const TransactionActivitySchema: Schema.Struct<{
|
|
439
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
440
|
+
readonly earliestTx: Schema.NullOr<Schema.Number>;
|
|
441
|
+
readonly fromAddress: Schema.String;
|
|
442
|
+
readonly pagination: Schema.Struct<{
|
|
443
|
+
readonly hasMore: Schema.Boolean;
|
|
444
|
+
readonly page: Schema.Number;
|
|
445
|
+
readonly pageSize: Schema.Number;
|
|
446
|
+
}>;
|
|
447
|
+
readonly toAddressesFilter: Schema.optional<Schema.$Array<Schema.String>>;
|
|
448
|
+
readonly totalTransactionCount: Schema.Number;
|
|
449
|
+
readonly transactions: Schema.$Array<Schema.Struct<{
|
|
450
|
+
readonly actionExecution: Schema.optional<Schema.Struct<{
|
|
451
|
+
readonly actionId: Schema.String;
|
|
452
|
+
readonly actionName: Schema.String;
|
|
453
|
+
readonly executionId: Schema.String;
|
|
454
|
+
readonly versionId: Schema.String;
|
|
455
|
+
}>>;
|
|
456
|
+
readonly blockNumber: Schema.Number;
|
|
457
|
+
readonly blockTimestamp: Schema.Number;
|
|
458
|
+
readonly blockTimestampUtc: Schema.String;
|
|
459
|
+
readonly calls: Schema.$Array<Schema.Struct<{
|
|
460
|
+
readonly callee: Schema.String;
|
|
461
|
+
readonly contractName: Schema.NullOr<Schema.String>;
|
|
462
|
+
readonly entityLabel: Schema.NullOr<Schema.String>;
|
|
463
|
+
readonly functionName: Schema.String;
|
|
464
|
+
readonly functionSignature: Schema.String;
|
|
465
|
+
}>>;
|
|
466
|
+
readonly createdContracts: Schema.$Array<Schema.Struct<{
|
|
467
|
+
readonly address: Schema.String;
|
|
468
|
+
readonly contractName: Schema.NullOr<Schema.String>;
|
|
469
|
+
readonly entityLabel: Schema.NullOr<Schema.String>;
|
|
470
|
+
}>>;
|
|
471
|
+
readonly errorMessage: Schema.optional<Schema.String>;
|
|
472
|
+
readonly success: Schema.Boolean;
|
|
473
|
+
readonly txHash: Schema.String;
|
|
474
|
+
readonly walletBalanceChanges: Schema.$Array<Schema.Struct<{
|
|
475
|
+
readonly balanceChange: Schema.Number;
|
|
476
|
+
readonly blockNumber: Schema.Number;
|
|
477
|
+
readonly blockTimestamp: Schema.Number;
|
|
478
|
+
readonly chainId: Schema.Number;
|
|
479
|
+
readonly holderAddress: Schema.String;
|
|
480
|
+
readonly holderEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
481
|
+
readonly holderIsContract: Schema.Boolean;
|
|
482
|
+
readonly tokenAddress: Schema.String;
|
|
483
|
+
readonly tokenDecimals: Schema.Number;
|
|
484
|
+
readonly tokenEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
485
|
+
readonly tokenId: Schema.Number;
|
|
486
|
+
readonly tokenLogoUrl: Schema.String;
|
|
487
|
+
readonly tokenName: Schema.String;
|
|
488
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
489
|
+
readonly tokenSymbol: Schema.String;
|
|
490
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
491
|
+
readonly transfers: Schema.$Array<Schema.Struct<{
|
|
492
|
+
readonly amount: Schema.Number;
|
|
493
|
+
readonly blockNumber: Schema.Number;
|
|
494
|
+
readonly blockTimestamp: Schema.Number;
|
|
495
|
+
readonly chainId: Schema.Number;
|
|
496
|
+
readonly fromAddress: Schema.String;
|
|
497
|
+
readonly fromAddressIsContract: Schema.Boolean;
|
|
498
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
499
|
+
readonly toAddress: Schema.String;
|
|
500
|
+
readonly toAddressIsContract: Schema.Boolean;
|
|
501
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
502
|
+
readonly tokenAddress: Schema.String;
|
|
503
|
+
readonly tokenDecimals: Schema.Number;
|
|
504
|
+
readonly tokenId: Schema.Number;
|
|
505
|
+
readonly tokenLogoUrl: Schema.String;
|
|
506
|
+
readonly tokenName: Schema.String;
|
|
507
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
508
|
+
readonly tokenSymbol: Schema.String;
|
|
509
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
510
|
+
readonly txHash: Schema.String;
|
|
511
|
+
}>>;
|
|
512
|
+
readonly txHash: Schema.optional<Schema.String>;
|
|
513
|
+
}>>;
|
|
514
|
+
}>>;
|
|
515
|
+
}>;
|
|
516
|
+
type TransactionActivity = typeof TransactionActivitySchema.Type;
|
|
517
|
+
declare const DeployedContractSchema: Schema.Struct<{
|
|
518
|
+
readonly blockNumber: Schema.Number;
|
|
519
|
+
readonly blockTimestamp: Schema.Number;
|
|
520
|
+
readonly blockTimestampUtc: Schema.String;
|
|
521
|
+
readonly contractAddress: Schema.String;
|
|
522
|
+
readonly contractName: Schema.NullOr<Schema.String>;
|
|
523
|
+
readonly deploymentTxnHash: Schema.String;
|
|
524
|
+
readonly entity: Schema.NullOr<Schema.String>;
|
|
525
|
+
readonly factoryAddress: Schema.NullOr<Schema.String>;
|
|
526
|
+
readonly factoryName: Schema.NullOr<Schema.String>;
|
|
527
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
528
|
+
}>;
|
|
529
|
+
type DeployedContract = typeof DeployedContractSchema.Type;
|
|
530
|
+
declare const DeployedContractsPaginationSchema: Schema.Struct<{
|
|
531
|
+
readonly hasMore: Schema.Boolean;
|
|
532
|
+
readonly page: Schema.Number;
|
|
533
|
+
readonly pageSize: Schema.Number;
|
|
534
|
+
}>;
|
|
535
|
+
type DeployedContractsPagination = typeof DeployedContractsPaginationSchema.Type;
|
|
536
|
+
declare const DeployedContractsSchema: Schema.Struct<{
|
|
537
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
538
|
+
readonly deployedContracts: Schema.$Array<Schema.Struct<{
|
|
539
|
+
readonly blockNumber: Schema.Number;
|
|
540
|
+
readonly blockTimestamp: Schema.Number;
|
|
541
|
+
readonly blockTimestampUtc: Schema.String;
|
|
542
|
+
readonly contractAddress: Schema.String;
|
|
543
|
+
readonly contractName: Schema.NullOr<Schema.String>;
|
|
544
|
+
readonly deploymentTxnHash: Schema.String;
|
|
545
|
+
readonly entity: Schema.NullOr<Schema.String>;
|
|
546
|
+
readonly factoryAddress: Schema.NullOr<Schema.String>;
|
|
547
|
+
readonly factoryName: Schema.NullOr<Schema.String>;
|
|
548
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
549
|
+
}>>;
|
|
550
|
+
readonly deployerAddress: Schema.String;
|
|
551
|
+
readonly isEOA: Schema.Boolean;
|
|
552
|
+
readonly pagination: Schema.Struct<{
|
|
553
|
+
readonly hasMore: Schema.Boolean;
|
|
554
|
+
readonly page: Schema.Number;
|
|
555
|
+
readonly pageSize: Schema.Number;
|
|
556
|
+
}>;
|
|
557
|
+
readonly totalDeployedContractsCount: Schema.Number;
|
|
558
|
+
}>;
|
|
559
|
+
type DeployedContracts = typeof DeployedContractsSchema.Type;
|
|
560
|
+
declare const TokenActivityParamsSchema: Schema.Struct<{
|
|
561
|
+
readonly afterBlocknumber: Schema.optional<Schema.Number>;
|
|
562
|
+
readonly afterTimestamp: Schema.optional<Schema.Number>;
|
|
563
|
+
readonly beforeBlocknumber: Schema.optional<Schema.Number>;
|
|
564
|
+
readonly beforeTimestamp: Schema.optional<Schema.Number>;
|
|
565
|
+
readonly fromAddress: Schema.optional<Schema.String>;
|
|
566
|
+
readonly page: Schema.optional<Schema.Number>;
|
|
567
|
+
readonly toAddress: Schema.optional<Schema.String>;
|
|
568
|
+
}>;
|
|
569
|
+
type TokenActivityParams = typeof TokenActivityParamsSchema.Type;
|
|
735
570
|
/** Same fields as MCP `getTransactionActivityTool` inputs (camelCase); POST `/v1/wallets/transaction-activity` body uses snake_case. */
|
|
736
|
-
declare
|
|
571
|
+
declare const TransactionActivityQuerySchema: Schema.Struct<{
|
|
572
|
+
readonly afterBlocknumber: Schema.optional<Schema.Number>;
|
|
573
|
+
readonly afterTimestamp: Schema.optional<Schema.Number>;
|
|
574
|
+
readonly beforeBlocknumber: Schema.optional<Schema.Number>;
|
|
575
|
+
readonly beforeTimestamp: Schema.optional<Schema.Number>;
|
|
576
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
577
|
+
readonly fromAddress: Schema.optional<Schema.String>;
|
|
578
|
+
readonly page: Schema.optional<Schema.Number>;
|
|
579
|
+
readonly successOnly: Schema.optional<Schema.Boolean>;
|
|
580
|
+
readonly toAddresses: Schema.optional<Schema.$Array<Schema.String>>;
|
|
581
|
+
}>;
|
|
582
|
+
type TransactionActivityQuery = typeof TransactionActivityQuerySchema.Type;
|
|
737
583
|
//#endregion
|
|
738
|
-
export { DeployedContract, DeployedContracts, DeployedContractsPagination, Erc7702Delegation, MultisigDetails, MultisigSigner, PendingTransaction, TokenActivity, TokenActivityPagination, TokenActivityParams, TokenBalanceInfo, TokenTransfer, TransactionActivity, TransactionActivityPagination, TransactionActivityQuery, WalletBalance, WalletOverview, WalletTransaction, WalletTxActionExecution, WalletTxBalanceChange, WalletTxCall, WalletTxTransfer };
|
|
584
|
+
export { DeployedContract, DeployedContractSchema, DeployedContracts, DeployedContractsPagination, DeployedContractsPaginationSchema, DeployedContractsSchema, Erc1155BalanceInfoSchema, Erc1155TransferSchema, Erc20BalanceInfoSchema, Erc20TransferSchema, Erc721BalanceInfoSchema, Erc721TransferSchema, Erc7702Delegation, Erc7702DelegationSchema, MultisigDetails, MultisigDetailsSchema, MultisigSigner, MultisigSignerSchema, PendingTransaction, PendingTransactionSchema, TokenActivity, TokenActivityPagination, TokenActivityPaginationSchema, TokenActivityParams, TokenActivityParamsSchema, TokenActivitySchema, TokenBalanceInfo, TokenBalanceInfoSchema, TokenTransfer, TokenTransferSchema, TokenType, TokenTypeSchema, TransactionActivity, TransactionActivityPagination, TransactionActivityPaginationSchema, TransactionActivityQuery, TransactionActivityQuerySchema, TransactionActivitySchema, WalletBalance, WalletBalanceSchema, WalletOverview, WalletOverviewSchema, WalletTransaction, WalletTransactionSchema, WalletTxActionExecution, WalletTxActionExecutionSchema, WalletTxBalanceChange, WalletTxBalanceChangeSchema, WalletTxCall, WalletTxCallSchema, WalletTxTransfer, WalletTxTransferSchema };
|