@herd-labs/sdk 0.4.0 → 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 +4 -4
- package/dist/src/config.js +2 -2
- package/dist/src/errors.d.ts +6 -0
- package/dist/src/errors.js +7 -1
- package/dist/src/live/ActionsServiceLive.d.ts +3 -3
- package/dist/src/live/ActionsServiceLive.js +7 -7
- package/dist/src/live/AdaptersServiceLive.d.ts +3 -3
- package/dist/src/live/AdaptersServiceLive.js +4 -4
- package/dist/src/live/AgentSafesServiceLive.d.ts +3 -3
- package/dist/src/live/AgentSafesServiceLive.js +4 -4
- package/dist/src/live/AgentWalletsServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWalletsServiceLive.js +3 -3
- package/dist/src/live/AgentWorkflowsServiceLive.d.ts +3 -3
- package/dist/src/live/AgentWorkflowsServiceLive.js +8 -8
- package/dist/src/live/AuthServiceLive.d.ts +3 -3
- package/dist/src/live/AuthServiceLive.js +5 -5
- package/dist/src/live/BookmarksServiceLive.d.ts +3 -3
- package/dist/src/live/BookmarksServiceLive.js +6 -6
- package/dist/src/live/CodeBlocksServiceLive.d.ts +3 -3
- package/dist/src/live/CodeBlocksServiceLive.js +7 -7
- package/dist/src/live/CollectionsServiceLive.d.ts +3 -3
- package/dist/src/live/CollectionsServiceLive.js +4 -4
- package/dist/src/live/ContractsServiceLive.d.ts +3 -3
- package/dist/src/live/ContractsServiceLive.js +6 -6
- package/dist/src/live/DocsServiceLive.d.ts +3 -3
- package/dist/src/live/DocsServiceLive.js +3 -3
- package/dist/src/live/GroupsServiceLive.d.ts +3 -3
- package/dist/src/live/GroupsServiceLive.js +7 -7
- package/dist/src/live/HalServiceLive.d.ts +3 -3
- package/dist/src/live/HalServiceLive.js +3 -3
- package/dist/src/live/TransactionsServiceLive.d.ts +3 -3
- package/dist/src/live/TransactionsServiceLive.js +4 -4
- package/dist/src/live/WalletsServiceLive.d.ts +3 -3
- package/dist/src/live/WalletsServiceLive.js +5 -5
- package/dist/src/live/http.d.ts +2 -2
- package/dist/src/live/http.js +2 -2
- package/dist/src/schemas/actions.d.ts +127 -59
- package/dist/src/schemas/actions.js +42 -42
- package/dist/src/schemas/adapters.d.ts +4 -4
- package/dist/src/schemas/adapters.js +3 -3
- package/dist/src/schemas/agent-wallets.d.ts +57 -37
- package/dist/src/schemas/agent-wallets.js +35 -35
- package/dist/src/schemas/agent-workflows.d.ts +35 -35
- package/dist/src/schemas/agent-workflows.js +19 -19
- package/dist/src/schemas/auth.d.ts +19 -19
- package/dist/src/schemas/auth.js +10 -10
- package/dist/src/schemas/bookmarks.d.ts +58 -36
- package/dist/src/schemas/bookmarks.js +34 -34
- package/dist/src/schemas/codeblocks.d.ts +89 -52
- package/dist/src/schemas/codeblocks.js +34 -34
- package/dist/src/schemas/collections.d.ts +76 -32
- package/dist/src/schemas/collections.js +23 -23
- package/dist/src/schemas/common.d.ts +8 -8
- package/dist/src/schemas/common.js +5 -5
- package/dist/src/schemas/contracts.d.ts +176 -61
- package/dist/src/schemas/contracts.js +47 -47
- package/dist/src/schemas/docs.d.ts +7 -7
- package/dist/src/schemas/docs.js +5 -5
- package/dist/src/schemas/groups.d.ts +27 -27
- package/dist/src/schemas/groups.js +16 -16
- package/dist/src/schemas/hal.d.ts +64 -18
- package/dist/src/schemas/hal.js +18 -18
- package/dist/src/schemas/transactions.d.ts +264 -56
- package/dist/src/schemas/transactions.js +50 -50
- package/dist/src/schemas/wallets.d.ts +434 -84
- package/dist/src/schemas/wallets.js +114 -69
- package/dist/src/services/ActionsService.d.ts +2 -2
- package/dist/src/services/AgentSafesService.d.ts +4 -4
- package/dist/src/services/AgentWalletsService.d.ts +2 -2
- package/dist/src/services/AgentWorkflowsService.d.ts +8 -8
- package/dist/src/services/AuthService.d.ts +3 -3
- package/dist/src/services/BookmarksService.d.ts +2 -2
- package/dist/src/services/ContractsService.d.ts +5 -5
- package/dist/src/services/GroupsService.d.ts +11 -11
- package/dist/src/services/TransactionsService.d.ts +4 -4
- package/dist/src/services/WalletsService.d.ts +4 -4
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
|
|
3
3
|
//#region src/schemas/transactions.d.ts
|
|
4
|
-
declare const
|
|
4
|
+
declare const DecodedFunctionSchema: Schema.Struct<{
|
|
5
5
|
readonly fromContractId: Schema.NullOr<Schema.String>;
|
|
6
6
|
readonly fromContractName: Schema.NullOr<Schema.String>;
|
|
7
7
|
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -14,43 +14,103 @@ declare const DecodedFunction: Schema.Struct<{
|
|
|
14
14
|
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
15
15
|
readonly value: Schema.Number;
|
|
16
16
|
}>;
|
|
17
|
-
|
|
17
|
+
type DecodedFunction = typeof DecodedFunctionSchema.Type;
|
|
18
|
+
declare const CallerFunctionDetailsSchema: Schema.NullOr<Schema.Struct<{
|
|
18
19
|
readonly address: Schema.String;
|
|
19
20
|
readonly addressName: Schema.NullOr<Schema.String>;
|
|
20
21
|
readonly functionName: Schema.NullOr<Schema.String>;
|
|
21
22
|
readonly functionSignature: Schema.NullOr<Schema.String>;
|
|
22
23
|
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
23
24
|
}>>;
|
|
24
|
-
|
|
25
|
+
type CallerFunctionDetails = typeof CallerFunctionDetailsSchema.Type;
|
|
26
|
+
declare const EventFunctionDetailsSchema: Schema.NullOr<Schema.Struct<{
|
|
25
27
|
readonly address: Schema.String;
|
|
26
28
|
readonly addressName: Schema.NullOr<Schema.String>;
|
|
27
29
|
readonly functionName: Schema.NullOr<Schema.String>;
|
|
28
30
|
readonly functionSignature: Schema.String;
|
|
29
31
|
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
30
32
|
}>>;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
readonly
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
readonly
|
|
41
|
-
readonly
|
|
42
|
-
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
33
|
+
type EventFunctionDetails = typeof EventFunctionDetailsSchema.Type;
|
|
34
|
+
declare const DecodedTraceSchema_base: Schema.Opaque<DecodedTraceSchema, Schema.Struct<{
|
|
35
|
+
readonly callerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
36
|
+
readonly address: Schema.String;
|
|
37
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
38
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
39
|
+
readonly functionSignature: Schema.NullOr<Schema.String>;
|
|
40
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
41
|
+
}>>;
|
|
42
|
+
readonly calls: Schema.optional<Schema.Union<readonly [Schema.$Array<Schema.suspend<Schema.Codec<DecodedTraceSchema, DecodedTraceSchema, never, never>>>, Schema.Undefined]>>;
|
|
43
|
+
readonly decoded: Schema.optional<Schema.Struct<{
|
|
44
|
+
readonly fromContractId: Schema.NullOr<Schema.String>;
|
|
45
|
+
readonly fromContractName: Schema.NullOr<Schema.String>;
|
|
46
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
47
|
+
readonly functionName: Schema.String;
|
|
48
|
+
readonly inputArgs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
49
|
+
readonly outputArgs: Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
50
|
+
readonly signature: Schema.String;
|
|
51
|
+
readonly toContractId: Schema.String;
|
|
52
|
+
readonly toContractName: Schema.String;
|
|
53
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
54
|
+
readonly value: Schema.Number;
|
|
55
|
+
}>>;
|
|
56
|
+
readonly error: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
57
|
+
readonly from: Schema.String;
|
|
58
|
+
readonly gas: Schema.String;
|
|
59
|
+
readonly gasUsed: Schema.String;
|
|
60
|
+
readonly implementation: Schema.optional<Schema.Struct<{
|
|
61
|
+
readonly address: Schema.String;
|
|
62
|
+
readonly name: Schema.String;
|
|
63
|
+
readonly is7702: Schema.optionalKey<Schema.UndefinedOr<Schema.Boolean>>;
|
|
64
|
+
}>>;
|
|
65
|
+
readonly input: Schema.String;
|
|
66
|
+
readonly lineNumber: Schema.Number;
|
|
67
|
+
readonly output: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
68
|
+
readonly to: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
69
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
70
|
+
readonly type: Schema.String;
|
|
71
|
+
readonly value: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
72
|
+
}>, {}> & Omit<Schema.Struct<{
|
|
73
|
+
readonly callerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
74
|
+
readonly address: Schema.String;
|
|
75
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
76
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
77
|
+
readonly functionSignature: Schema.NullOr<Schema.String>;
|
|
78
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
79
|
+
}>>;
|
|
80
|
+
readonly calls: Schema.optional<Schema.Union<readonly [Schema.$Array<Schema.suspend<Schema.Codec<DecodedTraceSchema, DecodedTraceSchema, never, never>>>, Schema.Undefined]>>;
|
|
81
|
+
readonly decoded: Schema.optional<Schema.Struct<{
|
|
82
|
+
readonly fromContractId: Schema.NullOr<Schema.String>;
|
|
83
|
+
readonly fromContractName: Schema.NullOr<Schema.String>;
|
|
84
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
85
|
+
readonly functionName: Schema.String;
|
|
86
|
+
readonly inputArgs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
87
|
+
readonly outputArgs: Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
88
|
+
readonly signature: Schema.String;
|
|
89
|
+
readonly toContractId: Schema.String;
|
|
90
|
+
readonly toContractName: Schema.String;
|
|
91
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
92
|
+
readonly value: Schema.Number;
|
|
93
|
+
}>>;
|
|
94
|
+
readonly error: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
95
|
+
readonly from: Schema.String;
|
|
96
|
+
readonly gas: Schema.String;
|
|
97
|
+
readonly gasUsed: Schema.String;
|
|
98
|
+
readonly implementation: Schema.optional<Schema.Struct<{
|
|
99
|
+
readonly address: Schema.String;
|
|
100
|
+
readonly name: Schema.String;
|
|
101
|
+
readonly is7702: Schema.optionalKey<Schema.UndefinedOr<Schema.Boolean>>;
|
|
102
|
+
}>>;
|
|
103
|
+
readonly input: Schema.String;
|
|
104
|
+
readonly lineNumber: Schema.Number;
|
|
105
|
+
readonly output: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
106
|
+
readonly to: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
107
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
108
|
+
readonly type: Schema.String;
|
|
109
|
+
readonly value: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
110
|
+
}>, keyof Schema.Top>;
|
|
111
|
+
declare class DecodedTraceSchema extends DecodedTraceSchema_base {}
|
|
112
|
+
type DecodedTrace = DecodedTraceSchema;
|
|
113
|
+
declare const DecodedLogSchema: Schema.Struct<{
|
|
54
114
|
readonly address: Schema.String;
|
|
55
115
|
readonly blockHash: Schema.String;
|
|
56
116
|
readonly blockNumber: Schema.Number;
|
|
@@ -75,7 +135,7 @@ declare const DecodedLog: Schema.Struct<{
|
|
|
75
135
|
readonly implementation: Schema.optional<Schema.Struct<{
|
|
76
136
|
readonly address: Schema.String;
|
|
77
137
|
readonly name: Schema.String;
|
|
78
|
-
readonly is7702: Schema.
|
|
138
|
+
readonly is7702: Schema.optionalKey<Schema.UndefinedOr<Schema.Boolean>>;
|
|
79
139
|
}>>;
|
|
80
140
|
readonly lineNumber: Schema.Number;
|
|
81
141
|
readonly logIndex: Schema.Number;
|
|
@@ -84,7 +144,8 @@ declare const DecodedLog: Schema.Struct<{
|
|
|
84
144
|
readonly transactionHash: Schema.String;
|
|
85
145
|
readonly transactionIndex: Schema.Number;
|
|
86
146
|
}>;
|
|
87
|
-
|
|
147
|
+
type DecodedLog = typeof DecodedLogSchema.Type;
|
|
148
|
+
declare const BalanceChangeSchema: Schema.Struct<{
|
|
88
149
|
readonly balanceChange: Schema.Number;
|
|
89
150
|
readonly blockNumber: Schema.Number;
|
|
90
151
|
readonly blockTimestamp: Schema.Number;
|
|
@@ -103,7 +164,8 @@ declare const BalanceChange: Schema.Struct<{
|
|
|
103
164
|
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
104
165
|
readonly txHash: Schema.optional<Schema.String>;
|
|
105
166
|
}>;
|
|
106
|
-
|
|
167
|
+
type BalanceChange = typeof BalanceChangeSchema.Type;
|
|
168
|
+
declare const TransferSchema: Schema.Struct<{
|
|
107
169
|
readonly amount: Schema.Number;
|
|
108
170
|
readonly blockNumber: Schema.Number;
|
|
109
171
|
readonly blockTimestamp: Schema.Number;
|
|
@@ -140,7 +202,8 @@ declare const Transfer: Schema.Struct<{
|
|
|
140
202
|
readonly traceAddress: Schema.optional<Schema.String>;
|
|
141
203
|
readonly txHash: Schema.String;
|
|
142
204
|
}>;
|
|
143
|
-
|
|
205
|
+
type Transfer = typeof TransferSchema.Type;
|
|
206
|
+
declare const TransactionMetadataSchema: Schema.Struct<{
|
|
144
207
|
readonly blockHash: Schema.String;
|
|
145
208
|
readonly blockNumber: Schema.Number;
|
|
146
209
|
readonly chainId: Schema.Number;
|
|
@@ -162,18 +225,21 @@ declare const TransactionMetadata: Schema.Struct<{
|
|
|
162
225
|
readonly v: Schema.String;
|
|
163
226
|
readonly value: Schema.Number;
|
|
164
227
|
}>;
|
|
165
|
-
|
|
228
|
+
type TransactionMetadata = typeof TransactionMetadataSchema.Type;
|
|
229
|
+
declare const ActionExecutionSchema: Schema.Struct<{
|
|
166
230
|
readonly actionId: Schema.String;
|
|
167
231
|
readonly actionName: Schema.String;
|
|
168
232
|
readonly executionId: Schema.String;
|
|
169
233
|
readonly versionId: Schema.String;
|
|
170
234
|
}>;
|
|
171
|
-
|
|
235
|
+
type ActionExecution = typeof ActionExecutionSchema.Type;
|
|
236
|
+
declare const TransactionOutputsSchema: Schema.Struct<{
|
|
172
237
|
readonly from: Schema.String;
|
|
173
238
|
readonly summary: Schema.String;
|
|
174
239
|
readonly value: Schema.String;
|
|
175
240
|
}>;
|
|
176
|
-
|
|
241
|
+
type TransactionOutputs = typeof TransactionOutputsSchema.Type;
|
|
242
|
+
declare const TransactionSchema: Schema.Struct<{
|
|
177
243
|
readonly actionExecution: Schema.optional<Schema.Struct<{
|
|
178
244
|
readonly actionId: Schema.String;
|
|
179
245
|
readonly actionName: Schema.String;
|
|
@@ -227,7 +293,7 @@ declare const Transaction_base: Schema.Class<Transaction, Schema.Struct<{
|
|
|
227
293
|
readonly implementation: Schema.optional<Schema.Struct<{
|
|
228
294
|
readonly address: Schema.String;
|
|
229
295
|
readonly name: Schema.String;
|
|
230
|
-
readonly is7702: Schema.
|
|
296
|
+
readonly is7702: Schema.optionalKey<Schema.UndefinedOr<Schema.Boolean>>;
|
|
231
297
|
}>>;
|
|
232
298
|
readonly lineNumber: Schema.Number;
|
|
233
299
|
readonly logIndex: Schema.Number;
|
|
@@ -236,7 +302,7 @@ declare const Transaction_base: Schema.Class<Transaction, Schema.Struct<{
|
|
|
236
302
|
readonly transactionHash: Schema.String;
|
|
237
303
|
readonly transactionIndex: Schema.Number;
|
|
238
304
|
}>>;
|
|
239
|
-
readonly decodedTraces:
|
|
305
|
+
readonly decodedTraces: typeof DecodedTraceSchema;
|
|
240
306
|
readonly error: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
241
307
|
readonly fromAddress: Schema.String;
|
|
242
308
|
readonly functionSignature: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
@@ -310,13 +376,150 @@ declare const Transaction_base: Schema.Class<Transaction, Schema.Struct<{
|
|
|
310
376
|
readonly txHash: Schema.String;
|
|
311
377
|
}>>;
|
|
312
378
|
readonly txHash: Schema.String;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
declare const
|
|
316
|
-
readonly transaction: Schema.NullOr<
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
379
|
+
}>;
|
|
380
|
+
type Transaction = typeof TransactionSchema.Type;
|
|
381
|
+
declare const TransactionQueryResponseSchema: Schema.Struct<{
|
|
382
|
+
readonly transaction: Schema.NullOr<Schema.Struct<{
|
|
383
|
+
readonly actionExecution: Schema.optional<Schema.Struct<{
|
|
384
|
+
readonly actionId: Schema.String;
|
|
385
|
+
readonly actionName: Schema.String;
|
|
386
|
+
readonly executionId: Schema.String;
|
|
387
|
+
readonly versionId: Schema.String;
|
|
388
|
+
}>>;
|
|
389
|
+
readonly balanceChanges: Schema.$Array<Schema.Struct<{
|
|
390
|
+
readonly balanceChange: Schema.Number;
|
|
391
|
+
readonly blockNumber: Schema.Number;
|
|
392
|
+
readonly blockTimestamp: Schema.Number;
|
|
393
|
+
readonly chainId: Schema.Number;
|
|
394
|
+
readonly holderAddress: Schema.String;
|
|
395
|
+
readonly holderEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
396
|
+
readonly holderIsContract: Schema.Boolean;
|
|
397
|
+
readonly tokenAddress: Schema.String;
|
|
398
|
+
readonly tokenDecimals: Schema.Number;
|
|
399
|
+
readonly tokenEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
400
|
+
readonly tokenId: Schema.Number;
|
|
401
|
+
readonly tokenLogoUrl: Schema.String;
|
|
402
|
+
readonly tokenName: Schema.String;
|
|
403
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
404
|
+
readonly tokenSymbol: Schema.String;
|
|
405
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
406
|
+
readonly txHash: Schema.optional<Schema.String>;
|
|
407
|
+
}>>;
|
|
408
|
+
readonly blockNumber: Schema.Number;
|
|
409
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
410
|
+
readonly createdContracts: Schema.$Array<Schema.String>;
|
|
411
|
+
readonly decodedLogs: Schema.$Array<Schema.Struct<{
|
|
412
|
+
readonly address: Schema.String;
|
|
413
|
+
readonly blockHash: Schema.String;
|
|
414
|
+
readonly blockNumber: Schema.Number;
|
|
415
|
+
readonly data: Schema.String;
|
|
416
|
+
readonly decoded: Schema.optional<Schema.Struct<{
|
|
417
|
+
readonly eventName: Schema.String;
|
|
418
|
+
readonly contractName: Schema.String;
|
|
419
|
+
readonly contractAddress: Schema.String;
|
|
420
|
+
readonly eventSignature: Schema.String;
|
|
421
|
+
readonly index: Schema.Number;
|
|
422
|
+
readonly output: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
423
|
+
readonly contractEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
424
|
+
}>>;
|
|
425
|
+
readonly emittedAfterTraceAddress: Schema.$Array<Schema.Number>;
|
|
426
|
+
readonly eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
427
|
+
readonly address: Schema.String;
|
|
428
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
429
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
430
|
+
readonly functionSignature: Schema.String;
|
|
431
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
432
|
+
}>>;
|
|
433
|
+
readonly implementation: Schema.optional<Schema.Struct<{
|
|
434
|
+
readonly address: Schema.String;
|
|
435
|
+
readonly name: Schema.String;
|
|
436
|
+
readonly is7702: Schema.optionalKey<Schema.UndefinedOr<Schema.Boolean>>;
|
|
437
|
+
}>>;
|
|
438
|
+
readonly lineNumber: Schema.Number;
|
|
439
|
+
readonly logIndex: Schema.Number;
|
|
440
|
+
readonly removed: Schema.Boolean;
|
|
441
|
+
readonly topics: Schema.$Array<Schema.String>;
|
|
442
|
+
readonly transactionHash: Schema.String;
|
|
443
|
+
readonly transactionIndex: Schema.Number;
|
|
444
|
+
}>>;
|
|
445
|
+
readonly decodedTraces: typeof DecodedTraceSchema;
|
|
446
|
+
readonly error: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
447
|
+
readonly fromAddress: Schema.String;
|
|
448
|
+
readonly functionSignature: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
449
|
+
readonly id: Schema.String;
|
|
450
|
+
readonly outputs: Schema.optional<Schema.Struct<{
|
|
451
|
+
readonly from: Schema.String;
|
|
452
|
+
readonly summary: Schema.String;
|
|
453
|
+
readonly value: Schema.String;
|
|
454
|
+
}>>;
|
|
455
|
+
readonly success: Schema.Boolean;
|
|
456
|
+
readonly tevmForkId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
457
|
+
readonly timestamp: Schema.Number;
|
|
458
|
+
readonly toAddress: Schema.String;
|
|
459
|
+
readonly transactionMetadata: Schema.Struct<{
|
|
460
|
+
readonly blockHash: Schema.String;
|
|
461
|
+
readonly blockNumber: Schema.Number;
|
|
462
|
+
readonly chainId: Schema.Number;
|
|
463
|
+
readonly effectiveGasPrice: Schema.Number;
|
|
464
|
+
readonly from: Schema.String;
|
|
465
|
+
readonly gas: Schema.Number;
|
|
466
|
+
readonly gasPrice: Schema.Number;
|
|
467
|
+
readonly gasUsed: Schema.Number;
|
|
468
|
+
readonly hash: Schema.String;
|
|
469
|
+
readonly input: Schema.String;
|
|
470
|
+
readonly nonce: Schema.Number;
|
|
471
|
+
readonly r: Schema.String;
|
|
472
|
+
readonly s: Schema.String;
|
|
473
|
+
readonly status: Schema.Number;
|
|
474
|
+
readonly timestamp: Schema.Number;
|
|
475
|
+
readonly to: Schema.NullOr<Schema.String>;
|
|
476
|
+
readonly transactionIndex: Schema.Number;
|
|
477
|
+
readonly type: Schema.String;
|
|
478
|
+
readonly v: Schema.String;
|
|
479
|
+
readonly value: Schema.Number;
|
|
480
|
+
}>;
|
|
481
|
+
readonly transfers: Schema.$Array<Schema.Struct<{
|
|
482
|
+
readonly amount: Schema.Number;
|
|
483
|
+
readonly blockNumber: Schema.Number;
|
|
484
|
+
readonly blockTimestamp: Schema.Number;
|
|
485
|
+
readonly callerFunction: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
486
|
+
readonly callerAddress: Schema.String;
|
|
487
|
+
readonly callerFunctionSignature: Schema.String;
|
|
488
|
+
readonly callerTraceAddress: Schema.String;
|
|
489
|
+
readonly tokenAddress: Schema.String;
|
|
490
|
+
readonly callerContractName: Schema.optional<Schema.String>;
|
|
491
|
+
readonly callerFunctionName: Schema.optional<Schema.String>;
|
|
492
|
+
}>>>;
|
|
493
|
+
readonly chainId: Schema.Number;
|
|
494
|
+
readonly fromAddress: Schema.String;
|
|
495
|
+
readonly fromAddressIsContract: Schema.Boolean;
|
|
496
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
497
|
+
readonly logIndex: Schema.optional<Schema.Number>;
|
|
498
|
+
readonly toAddress: Schema.String;
|
|
499
|
+
readonly toAddressIsContract: Schema.Boolean;
|
|
500
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
501
|
+
readonly tokenAddress: Schema.String;
|
|
502
|
+
readonly tokenDecimals: Schema.Number;
|
|
503
|
+
readonly tokenFunction: Schema.optional<Schema.Struct<{
|
|
504
|
+
readonly tokenFunctionSignature: Schema.String;
|
|
505
|
+
readonly tokenTraceAddress: Schema.String;
|
|
506
|
+
readonly tokenContractName: Schema.optional<Schema.String>;
|
|
507
|
+
readonly tokenFunctionName: Schema.optional<Schema.String>;
|
|
508
|
+
}>>;
|
|
509
|
+
readonly tokenId: Schema.Number;
|
|
510
|
+
readonly tokenLogoUrl: Schema.String;
|
|
511
|
+
readonly tokenName: Schema.String;
|
|
512
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
513
|
+
readonly tokenSymbol: Schema.String;
|
|
514
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
515
|
+
readonly traceAddress: Schema.optional<Schema.String>;
|
|
516
|
+
readonly txHash: Schema.String;
|
|
517
|
+
}>>;
|
|
518
|
+
readonly txHash: Schema.String;
|
|
519
|
+
}>>;
|
|
520
|
+
}>;
|
|
521
|
+
type TransactionQueryResponse = typeof TransactionQueryResponseSchema.Type;
|
|
522
|
+
declare const LatestFunctionCallSchema: Schema.Struct<{
|
|
320
523
|
readonly callerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
321
524
|
readonly address: Schema.String;
|
|
322
525
|
readonly addressName: Schema.NullOr<Schema.String>;
|
|
@@ -331,7 +534,8 @@ declare const LatestFunctionCall: Schema.Struct<{
|
|
|
331
534
|
readonly traceInput: Schema.String;
|
|
332
535
|
readonly value: Schema.Number;
|
|
333
536
|
}>;
|
|
334
|
-
|
|
537
|
+
type LatestFunctionCall = typeof LatestFunctionCallSchema.Type;
|
|
538
|
+
declare const LatestFunctionTransactionSchema: Schema.Struct<{
|
|
335
539
|
readonly blockNumber: Schema.Number;
|
|
336
540
|
readonly blockTimestamp: Schema.Number;
|
|
337
541
|
readonly blockTimestampUtc: Schema.String;
|
|
@@ -354,7 +558,8 @@ declare const LatestFunctionTransaction: Schema.Struct<{
|
|
|
354
558
|
readonly success: Schema.Boolean;
|
|
355
559
|
readonly txHash: Schema.String;
|
|
356
560
|
}>;
|
|
357
|
-
|
|
561
|
+
type LatestFunctionTransaction = typeof LatestFunctionTransactionSchema.Type;
|
|
562
|
+
declare const EventLogSchema: Schema.Struct<{
|
|
358
563
|
readonly contractAddress: Schema.String;
|
|
359
564
|
readonly contractName: Schema.String;
|
|
360
565
|
readonly eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
@@ -371,7 +576,8 @@ declare const EventLog: Schema.Struct<{
|
|
|
371
576
|
readonly rawData: Schema.String;
|
|
372
577
|
readonly rawTopics: Schema.$Array<Schema.String>;
|
|
373
578
|
}>;
|
|
374
|
-
|
|
579
|
+
type EventLog = typeof EventLogSchema.Type;
|
|
580
|
+
declare const LatestEventTransactionSchema: Schema.Struct<{
|
|
375
581
|
readonly blockNumber: Schema.Number;
|
|
376
582
|
readonly blockTimestamp: Schema.Number;
|
|
377
583
|
readonly blockTimestampUtc: Schema.String;
|
|
@@ -396,11 +602,13 @@ declare const LatestEventTransaction: Schema.Struct<{
|
|
|
396
602
|
readonly success: Schema.Boolean;
|
|
397
603
|
readonly txHash: Schema.String;
|
|
398
604
|
}>;
|
|
399
|
-
|
|
605
|
+
type LatestEventTransaction = typeof LatestEventTransactionSchema.Type;
|
|
606
|
+
declare const AvailableSignatureSchema: Schema.Struct<{
|
|
400
607
|
readonly name: Schema.String;
|
|
401
608
|
readonly signature: Schema.String;
|
|
402
609
|
}>;
|
|
403
|
-
|
|
610
|
+
type AvailableSignature = typeof AvailableSignatureSchema.Type;
|
|
611
|
+
declare const LatestFunctionTransactionsSchema: Schema.Struct<{
|
|
404
612
|
readonly availableSignatures: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
405
613
|
readonly name: Schema.String;
|
|
406
614
|
readonly signature: Schema.String;
|
|
@@ -432,9 +640,9 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
|
|
|
432
640
|
readonly success: Schema.Boolean;
|
|
433
641
|
readonly txHash: Schema.String;
|
|
434
642
|
}>>>;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
declare const
|
|
643
|
+
}>;
|
|
644
|
+
type LatestFunctionTransactions = typeof LatestFunctionTransactionsSchema.Type;
|
|
645
|
+
declare const LatestEventTransactionsSchema: Schema.Struct<{
|
|
438
646
|
readonly availableSignatures: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
439
647
|
readonly name: Schema.String;
|
|
440
648
|
readonly signature: Schema.String;
|
|
@@ -468,9 +676,9 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
468
676
|
readonly success: Schema.Boolean;
|
|
469
677
|
readonly txHash: Schema.String;
|
|
470
678
|
}>>>;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
declare const
|
|
679
|
+
}>;
|
|
680
|
+
type LatestEventTransactions = typeof LatestEventTransactionsSchema.Type;
|
|
681
|
+
declare const LatestTxParamsSchema: Schema.Struct<{
|
|
474
682
|
readonly afterBlocknumber: Schema.optional<Schema.Number>;
|
|
475
683
|
readonly afterTimestamp: Schema.optional<Schema.Number>;
|
|
476
684
|
readonly beforeBlocknumber: Schema.optional<Schema.Number>;
|
|
@@ -484,7 +692,7 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, Schema.Struct<{
|
|
|
484
692
|
readonly topic1: Schema.optional<Schema.String>;
|
|
485
693
|
readonly topic2: Schema.optional<Schema.String>;
|
|
486
694
|
readonly topic3: Schema.optional<Schema.String>;
|
|
487
|
-
}
|
|
488
|
-
|
|
695
|
+
}>;
|
|
696
|
+
type LatestTxParams = typeof LatestTxParamsSchema.Type;
|
|
489
697
|
//#endregion
|
|
490
|
-
export { ActionExecution, AvailableSignature, BalanceChange, CallerFunctionDetails, DecodedFunction, DecodedLog, DecodedTrace, DecodedTraceSchema, EventFunctionDetails, EventLog, LatestEventTransaction, LatestEventTransactions, LatestFunctionCall, LatestFunctionTransaction, LatestFunctionTransactions, LatestTxParams, Transaction, TransactionMetadata, TransactionOutputs, TransactionQueryResponse, Transfer };
|
|
698
|
+
export { ActionExecution, ActionExecutionSchema, AvailableSignature, AvailableSignatureSchema, BalanceChange, BalanceChangeSchema, CallerFunctionDetails, CallerFunctionDetailsSchema, DecodedFunction, DecodedFunctionSchema, DecodedLog, DecodedLogSchema, DecodedTrace, DecodedTraceSchema, EventFunctionDetails, EventFunctionDetailsSchema, EventLog, EventLogSchema, LatestEventTransaction, LatestEventTransactionSchema, LatestEventTransactions, LatestEventTransactionsSchema, LatestFunctionCall, LatestFunctionCallSchema, LatestFunctionTransaction, LatestFunctionTransactionSchema, LatestFunctionTransactions, LatestFunctionTransactionsSchema, LatestTxParams, LatestTxParamsSchema, Transaction, TransactionMetadata, TransactionMetadataSchema, TransactionOutputs, TransactionOutputsSchema, TransactionQueryResponse, TransactionQueryResponseSchema, TransactionSchema, Transfer, TransferSchema };
|