@herd-labs/sdk 0.3.0 → 0.4.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/src/config.d.ts +8 -8
- package/dist/src/config.js +8 -11
- package/dist/src/errors.d.ts +29 -44
- package/dist/src/errors.js +13 -16
- package/dist/src/live/ActionsServiceLive.d.ts +2 -2
- package/dist/src/live/ActionsServiceLive.js +9 -9
- package/dist/src/live/AdaptersServiceLive.d.ts +2 -2
- package/dist/src/live/AdaptersServiceLive.js +6 -6
- package/dist/src/live/AgentSafesServiceLive.d.ts +2 -2
- package/dist/src/live/AgentSafesServiceLive.js +3 -3
- package/dist/src/live/AgentWalletsServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWalletsServiceLive.js +3 -3
- package/dist/src/live/AgentWorkflowsServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWorkflowsServiceLive.js +10 -10
- package/dist/src/live/AuthServiceLive.d.ts +2 -2
- package/dist/src/live/AuthServiceLive.js +7 -7
- package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
- package/dist/src/live/BookmarksServiceLive.js +16 -16
- package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
- package/dist/src/live/CodeBlocksServiceLive.js +8 -8
- package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
- package/dist/src/live/CollectionsServiceLive.js +3 -3
- package/dist/src/live/ContractsServiceLive.d.ts +2 -2
- package/dist/src/live/ContractsServiceLive.js +6 -6
- package/dist/src/live/DocsServiceLive.d.ts +2 -2
- package/dist/src/live/DocsServiceLive.js +2 -2
- package/dist/src/live/GroupsServiceLive.d.ts +2 -2
- package/dist/src/live/GroupsServiceLive.js +5 -5
- package/dist/src/live/HalServiceLive.d.ts +2 -2
- package/dist/src/live/HalServiceLive.js +9 -9
- package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
- package/dist/src/live/TransactionsServiceLive.js +17 -17
- package/dist/src/live/WalletsServiceLive.d.ts +2 -2
- package/dist/src/live/WalletsServiceLive.js +14 -14
- package/dist/src/live/http.d.ts +6 -5
- package/dist/src/live/http.js +16 -18
- package/dist/src/schemas/actions.d.ts +95 -323
- package/dist/src/schemas/actions.js +41 -37
- package/dist/src/schemas/adapters.d.ts +5 -15
- package/dist/src/schemas/adapters.js +2 -2
- package/dist/src/schemas/agent-wallets.d.ts +66 -210
- package/dist/src/schemas/agent-wallets.js +25 -25
- package/dist/src/schemas/agent-workflows.d.ts +62 -62
- package/dist/src/schemas/agent-workflows.js +35 -31
- package/dist/src/schemas/auth.d.ts +22 -47
- package/dist/src/schemas/auth.js +10 -7
- package/dist/src/schemas/bookmarks.d.ts +64 -204
- package/dist/src/schemas/bookmarks.js +27 -23
- package/dist/src/schemas/codeblocks.d.ts +98 -294
- package/dist/src/schemas/codeblocks.js +41 -36
- package/dist/src/schemas/collections.d.ts +68 -224
- package/dist/src/schemas/collections.js +28 -24
- package/dist/src/schemas/common.d.ts +9 -25
- package/dist/src/schemas/common.js +5 -5
- package/dist/src/schemas/contracts.d.ts +125 -431
- package/dist/src/schemas/contracts.js +52 -63
- package/dist/src/schemas/docs.d.ts +9 -26
- package/dist/src/schemas/docs.js +4 -4
- package/dist/src/schemas/groups.d.ts +47 -47
- package/dist/src/schemas/groups.js +18 -18
- package/dist/src/schemas/hal.d.ts +57 -211
- package/dist/src/schemas/hal.js +32 -30
- package/dist/src/schemas/transactions.d.ts +404 -890
- package/dist/src/schemas/transactions.js +128 -132
- package/dist/src/schemas/wallets.d.ts +205 -709
- package/dist/src/schemas/wallets.js +112 -96
- package/dist/src/services/ActionsService.d.ts +1 -1
- 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 +1 -1
- package/dist/src/services/AgentSafesService.js +2 -2
- package/dist/src/services/AgentWalletsService.d.ts +1 -1
- package/dist/src/services/AgentWalletsService.js +2 -2
- package/dist/src/services/AgentWorkflowsService.d.ts +3 -3
- package/dist/src/services/AgentWorkflowsService.js +6 -2
- package/dist/src/services/AuthService.d.ts +3 -3
- package/dist/src/services/AuthService.js +2 -2
- package/dist/src/services/BookmarksService.d.ts +2 -2
- 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 +1 -1
- 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 +3 -3
- 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 +1 -1
- package/dist/src/services/TransactionsService.js +2 -2
- package/dist/src/services/WalletsService.d.ts +1 -1
- package/dist/src/services/WalletsService.js +2 -2
- package/package.json +14 -19
|
@@ -2,31 +2,31 @@ import { Schema } from "effect";
|
|
|
2
2
|
|
|
3
3
|
//#region src/schemas/transactions.d.ts
|
|
4
4
|
declare const DecodedFunction: Schema.Struct<{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
toEntityLabel: Schema.optional<Schema.NullOr<
|
|
15
|
-
|
|
5
|
+
readonly fromContractId: Schema.NullOr<Schema.String>;
|
|
6
|
+
readonly fromContractName: Schema.NullOr<Schema.String>;
|
|
7
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8
|
+
readonly functionName: Schema.String;
|
|
9
|
+
readonly inputArgs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
10
|
+
readonly outputArgs: Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
11
|
+
readonly signature: Schema.String;
|
|
12
|
+
readonly toContractId: Schema.String;
|
|
13
|
+
readonly toContractName: Schema.String;
|
|
14
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
15
|
+
readonly value: Schema.Number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const CallerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
18
|
-
address:
|
|
19
|
-
addressName: Schema.NullOr<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
traceAddress: Schema
|
|
18
|
+
readonly address: Schema.String;
|
|
19
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
20
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
21
|
+
readonly functionSignature: Schema.NullOr<Schema.String>;
|
|
22
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
23
23
|
}>>;
|
|
24
24
|
declare const EventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
25
|
-
address:
|
|
26
|
-
addressName: Schema.NullOr<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
traceAddress: Schema
|
|
25
|
+
readonly address: Schema.String;
|
|
26
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
27
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
28
|
+
readonly functionSignature: Schema.String;
|
|
29
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
30
30
|
}>>;
|
|
31
31
|
interface DecodedTrace {
|
|
32
32
|
readonly from: string;
|
|
@@ -38,939 +38,453 @@ interface DecodedTrace {
|
|
|
38
38
|
readonly type: string;
|
|
39
39
|
readonly value?: string | null | undefined;
|
|
40
40
|
readonly error?: string | null | undefined;
|
|
41
|
-
readonly calls?:
|
|
41
|
+
readonly calls?: readonly DecodedTrace[] | undefined;
|
|
42
42
|
readonly implementation?: {
|
|
43
43
|
readonly address: string;
|
|
44
44
|
readonly name: string;
|
|
45
45
|
readonly is7702?: boolean | undefined;
|
|
46
46
|
} | undefined;
|
|
47
47
|
readonly decoded?: typeof DecodedFunction.Type | undefined;
|
|
48
|
-
readonly traceAddress:
|
|
48
|
+
readonly traceAddress: readonly number[];
|
|
49
49
|
readonly lineNumber: number;
|
|
50
50
|
readonly callerFunctionDetails: typeof CallerFunctionDetails.Type;
|
|
51
51
|
}
|
|
52
|
-
declare const DecodedTraceSchema: Schema.
|
|
52
|
+
declare const DecodedTraceSchema: Schema.Codec<DecodedTrace>;
|
|
53
53
|
declare const DecodedLog: Schema.Struct<{
|
|
54
|
-
address:
|
|
55
|
-
blockHash:
|
|
56
|
-
blockNumber:
|
|
57
|
-
data:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
name: typeof Schema.String;
|
|
67
|
-
is7702: Schema.optional<typeof Schema.Boolean>;
|
|
54
|
+
readonly address: Schema.String;
|
|
55
|
+
readonly blockHash: Schema.String;
|
|
56
|
+
readonly blockNumber: Schema.Number;
|
|
57
|
+
readonly data: Schema.String;
|
|
58
|
+
readonly decoded: Schema.optional<Schema.Struct<{
|
|
59
|
+
readonly eventName: Schema.String;
|
|
60
|
+
readonly contractName: Schema.String;
|
|
61
|
+
readonly contractAddress: Schema.String;
|
|
62
|
+
readonly eventSignature: Schema.String;
|
|
63
|
+
readonly index: Schema.Number;
|
|
64
|
+
readonly output: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
65
|
+
readonly contractEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
68
66
|
}>>;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
contractEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
67
|
+
readonly emittedAfterTraceAddress: Schema.$Array<Schema.Number>;
|
|
68
|
+
readonly eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
69
|
+
readonly address: Schema.String;
|
|
70
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
71
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
72
|
+
readonly functionSignature: Schema.String;
|
|
73
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
77
74
|
}>>;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
functionSignature: typeof Schema.String;
|
|
83
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
84
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
75
|
+
readonly implementation: Schema.optional<Schema.Struct<{
|
|
76
|
+
readonly address: Schema.String;
|
|
77
|
+
readonly name: Schema.String;
|
|
78
|
+
readonly is7702: Schema.optional<Schema.Boolean>;
|
|
85
79
|
}>>;
|
|
80
|
+
readonly lineNumber: Schema.Number;
|
|
81
|
+
readonly logIndex: Schema.Number;
|
|
82
|
+
readonly removed: Schema.Boolean;
|
|
83
|
+
readonly topics: Schema.$Array<Schema.String>;
|
|
84
|
+
readonly transactionHash: Schema.String;
|
|
85
|
+
readonly transactionIndex: Schema.Number;
|
|
86
86
|
}>;
|
|
87
87
|
declare const BalanceChange: Schema.Struct<{
|
|
88
|
-
|
|
89
|
-
blockNumber:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
tokenPriceUsd:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
88
|
+
readonly balanceChange: Schema.Number;
|
|
89
|
+
readonly blockNumber: Schema.Number;
|
|
90
|
+
readonly blockTimestamp: Schema.Number;
|
|
91
|
+
readonly chainId: Schema.Number;
|
|
92
|
+
readonly holderAddress: Schema.String;
|
|
93
|
+
readonly holderEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
94
|
+
readonly holderIsContract: Schema.Boolean;
|
|
95
|
+
readonly tokenAddress: Schema.String;
|
|
96
|
+
readonly tokenDecimals: Schema.Number;
|
|
97
|
+
readonly tokenEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
98
|
+
readonly tokenId: Schema.Number;
|
|
99
|
+
readonly tokenLogoUrl: Schema.String;
|
|
100
|
+
readonly tokenName: Schema.String;
|
|
101
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
102
|
+
readonly tokenSymbol: Schema.String;
|
|
103
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
104
|
+
readonly txHash: Schema.optional<Schema.String>;
|
|
105
105
|
}>;
|
|
106
106
|
declare const Transfer: Schema.Struct<{
|
|
107
|
-
|
|
108
|
-
blockNumber:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
tokenName: typeof Schema.String;
|
|
118
|
-
tokenSymbol: typeof Schema.String;
|
|
119
|
-
tokenPriceUsd: typeof Schema.Number;
|
|
120
|
-
tokenLogoUrl: typeof Schema.String;
|
|
121
|
-
tokenType: Schema.Literal<["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
122
|
-
fromAddressIsContract: typeof Schema.Boolean;
|
|
123
|
-
toAddressIsContract: typeof Schema.Boolean;
|
|
124
|
-
callerFunction: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
125
|
-
callerAddress: typeof Schema.String;
|
|
126
|
-
callerFunctionSignature: typeof Schema.String;
|
|
127
|
-
callerTraceAddress: typeof Schema.String;
|
|
128
|
-
tokenAddress: typeof Schema.String;
|
|
129
|
-
callerContractName: Schema.optional<typeof Schema.String>;
|
|
130
|
-
callerFunctionName: Schema.optional<typeof Schema.String>;
|
|
107
|
+
readonly amount: Schema.Number;
|
|
108
|
+
readonly blockNumber: Schema.Number;
|
|
109
|
+
readonly blockTimestamp: Schema.Number;
|
|
110
|
+
readonly callerFunction: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
111
|
+
readonly callerAddress: Schema.String;
|
|
112
|
+
readonly callerFunctionSignature: Schema.String;
|
|
113
|
+
readonly callerTraceAddress: Schema.String;
|
|
114
|
+
readonly tokenAddress: Schema.String;
|
|
115
|
+
readonly callerContractName: Schema.optional<Schema.String>;
|
|
116
|
+
readonly callerFunctionName: Schema.optional<Schema.String>;
|
|
131
117
|
}>>>;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
118
|
+
readonly chainId: Schema.Number;
|
|
119
|
+
readonly fromAddress: Schema.String;
|
|
120
|
+
readonly fromAddressIsContract: Schema.Boolean;
|
|
121
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
122
|
+
readonly logIndex: Schema.optional<Schema.Number>;
|
|
123
|
+
readonly toAddress: Schema.String;
|
|
124
|
+
readonly toAddressIsContract: Schema.Boolean;
|
|
125
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
126
|
+
readonly tokenAddress: Schema.String;
|
|
127
|
+
readonly tokenDecimals: Schema.Number;
|
|
128
|
+
readonly tokenFunction: Schema.optional<Schema.Struct<{
|
|
129
|
+
readonly tokenFunctionSignature: Schema.String;
|
|
130
|
+
readonly tokenTraceAddress: Schema.String;
|
|
131
|
+
readonly tokenContractName: Schema.optional<Schema.String>;
|
|
132
|
+
readonly tokenFunctionName: Schema.optional<Schema.String>;
|
|
137
133
|
}>>;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
134
|
+
readonly tokenId: Schema.Number;
|
|
135
|
+
readonly tokenLogoUrl: Schema.String;
|
|
136
|
+
readonly tokenName: Schema.String;
|
|
137
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
138
|
+
readonly tokenSymbol: Schema.String;
|
|
139
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
140
|
+
readonly traceAddress: Schema.optional<Schema.String>;
|
|
141
|
+
readonly txHash: Schema.String;
|
|
142
142
|
}>;
|
|
143
143
|
declare const TransactionMetadata: Schema.Struct<{
|
|
144
|
-
blockHash:
|
|
145
|
-
blockNumber:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
gas:
|
|
150
|
-
gasPrice:
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
144
|
+
readonly blockHash: Schema.String;
|
|
145
|
+
readonly blockNumber: Schema.Number;
|
|
146
|
+
readonly chainId: Schema.Number;
|
|
147
|
+
readonly effectiveGasPrice: Schema.Number;
|
|
148
|
+
readonly from: Schema.String;
|
|
149
|
+
readonly gas: Schema.Number;
|
|
150
|
+
readonly gasPrice: Schema.Number;
|
|
151
|
+
readonly gasUsed: Schema.Number;
|
|
152
|
+
readonly hash: Schema.String;
|
|
153
|
+
readonly input: Schema.String;
|
|
154
|
+
readonly nonce: Schema.Number;
|
|
155
|
+
readonly r: Schema.String;
|
|
156
|
+
readonly s: Schema.String;
|
|
157
|
+
readonly status: Schema.Number;
|
|
158
|
+
readonly timestamp: Schema.Number;
|
|
159
|
+
readonly to: Schema.NullOr<Schema.String>;
|
|
160
|
+
readonly transactionIndex: Schema.Number;
|
|
161
|
+
readonly type: Schema.String;
|
|
162
|
+
readonly v: Schema.String;
|
|
163
|
+
readonly value: Schema.Number;
|
|
164
164
|
}>;
|
|
165
165
|
declare const ActionExecution: Schema.Struct<{
|
|
166
|
-
actionId:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
readonly actionId: Schema.String;
|
|
167
|
+
readonly actionName: Schema.String;
|
|
168
|
+
readonly executionId: Schema.String;
|
|
169
|
+
readonly versionId: Schema.String;
|
|
170
170
|
}>;
|
|
171
171
|
declare const TransactionOutputs: Schema.Struct<{
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
value:
|
|
172
|
+
readonly from: Schema.String;
|
|
173
|
+
readonly summary: Schema.String;
|
|
174
|
+
readonly value: Schema.String;
|
|
175
175
|
}>;
|
|
176
|
-
declare const Transaction_base: Schema.Class<Transaction, {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
success: typeof Schema.Boolean;
|
|
183
|
-
error: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
184
|
-
decodedTraces: Schema.Schema<DecodedTrace, DecodedTrace, never>;
|
|
185
|
-
decodedLogs: Schema.Array$<Schema.Struct<{
|
|
186
|
-
address: typeof Schema.String;
|
|
187
|
-
blockHash: typeof Schema.String;
|
|
188
|
-
blockNumber: typeof Schema.Number;
|
|
189
|
-
data: typeof Schema.String;
|
|
190
|
-
topics: Schema.Array$<typeof Schema.String>;
|
|
191
|
-
logIndex: typeof Schema.Number;
|
|
192
|
-
transactionHash: typeof Schema.String;
|
|
193
|
-
transactionIndex: typeof Schema.Number;
|
|
194
|
-
removed: typeof Schema.Boolean;
|
|
195
|
-
emittedAfterTraceAddress: Schema.Array$<typeof Schema.Number>;
|
|
196
|
-
implementation: Schema.optional<Schema.Struct<{
|
|
197
|
-
address: typeof Schema.String;
|
|
198
|
-
name: typeof Schema.String;
|
|
199
|
-
is7702: Schema.optional<typeof Schema.Boolean>;
|
|
200
|
-
}>>;
|
|
201
|
-
decoded: Schema.optional<Schema.Struct<{
|
|
202
|
-
eventName: typeof Schema.String;
|
|
203
|
-
contractName: typeof Schema.String;
|
|
204
|
-
contractAddress: typeof Schema.String;
|
|
205
|
-
eventSignature: typeof Schema.String;
|
|
206
|
-
index: typeof Schema.Number;
|
|
207
|
-
output: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
|
|
208
|
-
contractEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
209
|
-
}>>;
|
|
210
|
-
lineNumber: typeof Schema.Number;
|
|
211
|
-
eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
212
|
-
address: typeof Schema.String;
|
|
213
|
-
addressName: Schema.NullOr<typeof Schema.String>;
|
|
214
|
-
functionSignature: typeof Schema.String;
|
|
215
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
216
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
217
|
-
}>>;
|
|
218
|
-
}>>;
|
|
219
|
-
balanceChanges: Schema.Array$<Schema.Struct<{
|
|
220
|
-
txHash: Schema.optional<typeof Schema.String>;
|
|
221
|
-
blockNumber: typeof Schema.Number;
|
|
222
|
-
tokenAddress: typeof Schema.String;
|
|
223
|
-
holderAddress: typeof Schema.String;
|
|
224
|
-
holderIsContract: typeof Schema.Boolean;
|
|
225
|
-
balanceChange: typeof Schema.Number;
|
|
226
|
-
blockTimestamp: typeof Schema.Number;
|
|
227
|
-
chainId: typeof Schema.Number;
|
|
228
|
-
tokenType: Schema.Literal<["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
229
|
-
tokenId: typeof Schema.Number;
|
|
230
|
-
tokenDecimals: typeof Schema.Number;
|
|
231
|
-
tokenName: typeof Schema.String;
|
|
232
|
-
tokenSymbol: typeof Schema.String;
|
|
233
|
-
tokenPriceUsd: typeof Schema.Number;
|
|
234
|
-
tokenLogoUrl: typeof Schema.String;
|
|
235
|
-
holderEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
236
|
-
tokenEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
237
|
-
}>>;
|
|
238
|
-
transfers: Schema.Array$<Schema.Struct<{
|
|
239
|
-
txHash: typeof Schema.String;
|
|
240
|
-
blockNumber: typeof Schema.Number;
|
|
241
|
-
tokenAddress: typeof Schema.String;
|
|
242
|
-
fromAddress: typeof Schema.String;
|
|
243
|
-
toAddress: typeof Schema.String;
|
|
244
|
-
amount: typeof Schema.Number;
|
|
245
|
-
blockTimestamp: typeof Schema.Number;
|
|
246
|
-
chainId: typeof Schema.Number;
|
|
247
|
-
tokenId: typeof Schema.Number;
|
|
248
|
-
tokenDecimals: typeof Schema.Number;
|
|
249
|
-
tokenName: typeof Schema.String;
|
|
250
|
-
tokenSymbol: typeof Schema.String;
|
|
251
|
-
tokenPriceUsd: typeof Schema.Number;
|
|
252
|
-
tokenLogoUrl: typeof Schema.String;
|
|
253
|
-
tokenType: Schema.Literal<["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
254
|
-
fromAddressIsContract: typeof Schema.Boolean;
|
|
255
|
-
toAddressIsContract: typeof Schema.Boolean;
|
|
256
|
-
callerFunction: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
257
|
-
callerAddress: typeof Schema.String;
|
|
258
|
-
callerFunctionSignature: typeof Schema.String;
|
|
259
|
-
callerTraceAddress: typeof Schema.String;
|
|
260
|
-
tokenAddress: typeof Schema.String;
|
|
261
|
-
callerContractName: Schema.optional<typeof Schema.String>;
|
|
262
|
-
callerFunctionName: Schema.optional<typeof Schema.String>;
|
|
263
|
-
}>>>;
|
|
264
|
-
tokenFunction: Schema.optional<Schema.Struct<{
|
|
265
|
-
tokenFunctionSignature: typeof Schema.String;
|
|
266
|
-
tokenTraceAddress: typeof Schema.String;
|
|
267
|
-
tokenContractName: Schema.optional<typeof Schema.String>;
|
|
268
|
-
tokenFunctionName: Schema.optional<typeof Schema.String>;
|
|
269
|
-
}>>;
|
|
270
|
-
traceAddress: Schema.optional<typeof Schema.String>;
|
|
271
|
-
logIndex: Schema.optional<typeof Schema.Number>;
|
|
272
|
-
fromEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
273
|
-
toEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
176
|
+
declare const Transaction_base: Schema.Class<Transaction, Schema.Struct<{
|
|
177
|
+
readonly actionExecution: Schema.optional<Schema.Struct<{
|
|
178
|
+
readonly actionId: Schema.String;
|
|
179
|
+
readonly actionName: Schema.String;
|
|
180
|
+
readonly executionId: Schema.String;
|
|
181
|
+
readonly versionId: Schema.String;
|
|
274
182
|
}>>;
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
blockNumber:
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
status: typeof Schema.Number;
|
|
294
|
-
gasUsed: typeof Schema.Number;
|
|
295
|
-
effectiveGasPrice: typeof Schema.Number;
|
|
296
|
-
}>;
|
|
297
|
-
blockNumber: typeof Schema.Number;
|
|
298
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
299
|
-
timestamp: typeof Schema.Number;
|
|
300
|
-
createdContracts: Schema.Array$<typeof Schema.String>;
|
|
301
|
-
outputs: Schema.optional<Schema.Struct<{
|
|
302
|
-
summary: typeof Schema.String;
|
|
303
|
-
from: typeof Schema.String;
|
|
304
|
-
value: typeof Schema.String;
|
|
305
|
-
}>>;
|
|
306
|
-
actionExecution: Schema.optional<Schema.Struct<{
|
|
307
|
-
actionId: typeof Schema.String;
|
|
308
|
-
versionId: typeof Schema.String;
|
|
309
|
-
actionName: typeof Schema.String;
|
|
310
|
-
executionId: typeof Schema.String;
|
|
183
|
+
readonly balanceChanges: Schema.$Array<Schema.Struct<{
|
|
184
|
+
readonly balanceChange: Schema.Number;
|
|
185
|
+
readonly blockNumber: Schema.Number;
|
|
186
|
+
readonly blockTimestamp: Schema.Number;
|
|
187
|
+
readonly chainId: Schema.Number;
|
|
188
|
+
readonly holderAddress: Schema.String;
|
|
189
|
+
readonly holderEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
190
|
+
readonly holderIsContract: Schema.Boolean;
|
|
191
|
+
readonly tokenAddress: Schema.String;
|
|
192
|
+
readonly tokenDecimals: Schema.Number;
|
|
193
|
+
readonly tokenEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
194
|
+
readonly tokenId: Schema.Number;
|
|
195
|
+
readonly tokenLogoUrl: Schema.String;
|
|
196
|
+
readonly tokenName: Schema.String;
|
|
197
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
198
|
+
readonly tokenSymbol: Schema.String;
|
|
199
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
200
|
+
readonly txHash: Schema.optional<Schema.String>;
|
|
311
201
|
}>>;
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
logIndex: typeof Schema.Number;
|
|
329
|
-
transactionHash: typeof Schema.String;
|
|
330
|
-
transactionIndex: typeof Schema.Number;
|
|
331
|
-
removed: typeof Schema.Boolean;
|
|
332
|
-
emittedAfterTraceAddress: Schema.Array$<typeof Schema.Number>;
|
|
333
|
-
implementation: Schema.optional<Schema.Struct<{
|
|
334
|
-
address: typeof Schema.String;
|
|
335
|
-
name: typeof Schema.String;
|
|
336
|
-
is7702: Schema.optional<typeof Schema.Boolean>;
|
|
202
|
+
readonly blockNumber: Schema.Number;
|
|
203
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
204
|
+
readonly createdContracts: Schema.$Array<Schema.String>;
|
|
205
|
+
readonly decodedLogs: Schema.$Array<Schema.Struct<{
|
|
206
|
+
readonly address: Schema.String;
|
|
207
|
+
readonly blockHash: Schema.String;
|
|
208
|
+
readonly blockNumber: Schema.Number;
|
|
209
|
+
readonly data: Schema.String;
|
|
210
|
+
readonly decoded: Schema.optional<Schema.Struct<{
|
|
211
|
+
readonly eventName: Schema.String;
|
|
212
|
+
readonly contractName: Schema.String;
|
|
213
|
+
readonly contractAddress: Schema.String;
|
|
214
|
+
readonly eventSignature: Schema.String;
|
|
215
|
+
readonly index: Schema.Number;
|
|
216
|
+
readonly output: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
217
|
+
readonly contractEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
337
218
|
}>>;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
contractEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
219
|
+
readonly emittedAfterTraceAddress: Schema.$Array<Schema.Number>;
|
|
220
|
+
readonly eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
221
|
+
readonly address: Schema.String;
|
|
222
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
223
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
224
|
+
readonly functionSignature: Schema.String;
|
|
225
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
346
226
|
}>>;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
functionSignature: typeof Schema.String;
|
|
352
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
353
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
227
|
+
readonly implementation: Schema.optional<Schema.Struct<{
|
|
228
|
+
readonly address: Schema.String;
|
|
229
|
+
readonly name: Schema.String;
|
|
230
|
+
readonly is7702: Schema.optional<Schema.Boolean>;
|
|
354
231
|
}>>;
|
|
232
|
+
readonly lineNumber: Schema.Number;
|
|
233
|
+
readonly logIndex: Schema.Number;
|
|
234
|
+
readonly removed: Schema.Boolean;
|
|
235
|
+
readonly topics: Schema.$Array<Schema.String>;
|
|
236
|
+
readonly transactionHash: Schema.String;
|
|
237
|
+
readonly transactionIndex: Schema.Number;
|
|
355
238
|
}>>;
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
tokenType: Schema.Literal<["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
366
|
-
tokenId: typeof Schema.Number;
|
|
367
|
-
tokenDecimals: typeof Schema.Number;
|
|
368
|
-
tokenName: typeof Schema.String;
|
|
369
|
-
tokenSymbol: typeof Schema.String;
|
|
370
|
-
tokenPriceUsd: typeof Schema.Number;
|
|
371
|
-
tokenLogoUrl: typeof Schema.String;
|
|
372
|
-
holderEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
373
|
-
tokenEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
239
|
+
readonly decodedTraces: Schema.Codec<DecodedTrace, DecodedTrace, never, never>;
|
|
240
|
+
readonly error: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
241
|
+
readonly fromAddress: Schema.String;
|
|
242
|
+
readonly functionSignature: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
243
|
+
readonly id: Schema.String;
|
|
244
|
+
readonly outputs: Schema.optional<Schema.Struct<{
|
|
245
|
+
readonly from: Schema.String;
|
|
246
|
+
readonly summary: Schema.String;
|
|
247
|
+
readonly value: Schema.String;
|
|
374
248
|
}>>;
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
249
|
+
readonly success: Schema.Boolean;
|
|
250
|
+
readonly tevmForkId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
251
|
+
readonly timestamp: Schema.Number;
|
|
252
|
+
readonly toAddress: Schema.String;
|
|
253
|
+
readonly transactionMetadata: Schema.Struct<{
|
|
254
|
+
readonly blockHash: Schema.String;
|
|
255
|
+
readonly blockNumber: Schema.Number;
|
|
256
|
+
readonly chainId: Schema.Number;
|
|
257
|
+
readonly effectiveGasPrice: Schema.Number;
|
|
258
|
+
readonly from: Schema.String;
|
|
259
|
+
readonly gas: Schema.Number;
|
|
260
|
+
readonly gasPrice: Schema.Number;
|
|
261
|
+
readonly gasUsed: Schema.Number;
|
|
262
|
+
readonly hash: Schema.String;
|
|
263
|
+
readonly input: Schema.String;
|
|
264
|
+
readonly nonce: Schema.Number;
|
|
265
|
+
readonly r: Schema.String;
|
|
266
|
+
readonly s: Schema.String;
|
|
267
|
+
readonly status: Schema.Number;
|
|
268
|
+
readonly timestamp: Schema.Number;
|
|
269
|
+
readonly to: Schema.NullOr<Schema.String>;
|
|
270
|
+
readonly transactionIndex: Schema.Number;
|
|
271
|
+
readonly type: Schema.String;
|
|
272
|
+
readonly v: Schema.String;
|
|
273
|
+
readonly value: Schema.Number;
|
|
274
|
+
}>;
|
|
275
|
+
readonly transfers: Schema.$Array<Schema.Struct<{
|
|
276
|
+
readonly amount: Schema.Number;
|
|
277
|
+
readonly blockNumber: Schema.Number;
|
|
278
|
+
readonly blockTimestamp: Schema.Number;
|
|
279
|
+
readonly callerFunction: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
280
|
+
readonly callerAddress: Schema.String;
|
|
281
|
+
readonly callerFunctionSignature: Schema.String;
|
|
282
|
+
readonly callerTraceAddress: Schema.String;
|
|
283
|
+
readonly tokenAddress: Schema.String;
|
|
284
|
+
readonly callerContractName: Schema.optional<Schema.String>;
|
|
285
|
+
readonly callerFunctionName: Schema.optional<Schema.String>;
|
|
400
286
|
}>>>;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
287
|
+
readonly chainId: Schema.Number;
|
|
288
|
+
readonly fromAddress: Schema.String;
|
|
289
|
+
readonly fromAddressIsContract: Schema.Boolean;
|
|
290
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
291
|
+
readonly logIndex: Schema.optional<Schema.Number>;
|
|
292
|
+
readonly toAddress: Schema.String;
|
|
293
|
+
readonly toAddressIsContract: Schema.Boolean;
|
|
294
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
295
|
+
readonly tokenAddress: Schema.String;
|
|
296
|
+
readonly tokenDecimals: Schema.Number;
|
|
297
|
+
readonly tokenFunction: Schema.optional<Schema.Struct<{
|
|
298
|
+
readonly tokenFunctionSignature: Schema.String;
|
|
299
|
+
readonly tokenTraceAddress: Schema.String;
|
|
300
|
+
readonly tokenContractName: Schema.optional<Schema.String>;
|
|
301
|
+
readonly tokenFunctionName: Schema.optional<Schema.String>;
|
|
406
302
|
}>>;
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
303
|
+
readonly tokenId: Schema.Number;
|
|
304
|
+
readonly tokenLogoUrl: Schema.String;
|
|
305
|
+
readonly tokenName: Schema.String;
|
|
306
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
307
|
+
readonly tokenSymbol: Schema.String;
|
|
308
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
309
|
+
readonly traceAddress: Schema.optional<Schema.String>;
|
|
310
|
+
readonly txHash: Schema.String;
|
|
411
311
|
}>>;
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
blockNumber: typeof Schema.Number;
|
|
415
|
-
hash: typeof Schema.String;
|
|
416
|
-
transactionIndex: typeof Schema.Number;
|
|
417
|
-
type: typeof Schema.String;
|
|
418
|
-
gas: typeof Schema.Number;
|
|
419
|
-
gasPrice: typeof Schema.Number;
|
|
420
|
-
nonce: typeof Schema.Number;
|
|
421
|
-
input: typeof Schema.String;
|
|
422
|
-
r: typeof Schema.String;
|
|
423
|
-
s: typeof Schema.String;
|
|
424
|
-
chainId: typeof Schema.Number;
|
|
425
|
-
v: typeof Schema.String;
|
|
426
|
-
from: typeof Schema.String;
|
|
427
|
-
to: Schema.NullOr<typeof Schema.String>;
|
|
428
|
-
value: typeof Schema.Number;
|
|
429
|
-
timestamp: typeof Schema.Number;
|
|
430
|
-
status: typeof Schema.Number;
|
|
431
|
-
gasUsed: typeof Schema.Number;
|
|
432
|
-
effectiveGasPrice: typeof Schema.Number;
|
|
433
|
-
}>;
|
|
434
|
-
blockNumber: typeof Schema.Number;
|
|
435
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
436
|
-
timestamp: typeof Schema.Number;
|
|
437
|
-
createdContracts: Schema.Array$<typeof Schema.String>;
|
|
438
|
-
outputs: Schema.optional<Schema.Struct<{
|
|
439
|
-
summary: typeof Schema.String;
|
|
440
|
-
from: typeof Schema.String;
|
|
441
|
-
value: typeof Schema.String;
|
|
442
|
-
}>>;
|
|
443
|
-
actionExecution: Schema.optional<Schema.Struct<{
|
|
444
|
-
actionId: typeof Schema.String;
|
|
445
|
-
versionId: typeof Schema.String;
|
|
446
|
-
actionName: typeof Schema.String;
|
|
447
|
-
executionId: typeof Schema.String;
|
|
448
|
-
}>>;
|
|
449
|
-
tevmForkId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
450
|
-
}>, never, {
|
|
451
|
-
readonly id: string;
|
|
452
|
-
} & {
|
|
453
|
-
readonly error?: string | null | undefined;
|
|
454
|
-
} & {
|
|
455
|
-
readonly txHash: string;
|
|
456
|
-
} & {
|
|
457
|
-
readonly blockchain: "ethereum" | "base";
|
|
458
|
-
} & {
|
|
459
|
-
readonly functionSignature?: string | null | undefined;
|
|
460
|
-
} & {
|
|
461
|
-
readonly blockNumber: number;
|
|
462
|
-
} & {
|
|
463
|
-
readonly fromAddress: string;
|
|
464
|
-
} & {
|
|
465
|
-
readonly toAddress: string;
|
|
466
|
-
} & {
|
|
467
|
-
readonly timestamp: number;
|
|
468
|
-
} & {
|
|
469
|
-
readonly success: boolean;
|
|
470
|
-
} & {
|
|
471
|
-
readonly decodedTraces: DecodedTrace;
|
|
472
|
-
} & {
|
|
473
|
-
readonly transactionMetadata: {
|
|
474
|
-
readonly value: number;
|
|
475
|
-
readonly status: number;
|
|
476
|
-
readonly from: string;
|
|
477
|
-
readonly hash: string;
|
|
478
|
-
readonly type: string;
|
|
479
|
-
readonly blockNumber: number;
|
|
480
|
-
readonly blockHash: string;
|
|
481
|
-
readonly transactionIndex: number;
|
|
482
|
-
readonly chainId: number;
|
|
483
|
-
readonly gas: number;
|
|
484
|
-
readonly gasPrice: number;
|
|
485
|
-
readonly nonce: number;
|
|
486
|
-
readonly input: string;
|
|
487
|
-
readonly r: string;
|
|
488
|
-
readonly s: string;
|
|
489
|
-
readonly v: string;
|
|
490
|
-
readonly to: string | null;
|
|
491
|
-
readonly timestamp: number;
|
|
492
|
-
readonly gasUsed: number;
|
|
493
|
-
readonly effectiveGasPrice: number;
|
|
494
|
-
};
|
|
495
|
-
} & {
|
|
496
|
-
readonly decodedLogs: readonly {
|
|
497
|
-
readonly transactionHash: string;
|
|
498
|
-
readonly address: string;
|
|
499
|
-
readonly blockNumber: number;
|
|
500
|
-
readonly blockHash: string;
|
|
501
|
-
readonly data: string;
|
|
502
|
-
readonly topics: readonly string[];
|
|
503
|
-
readonly logIndex: number;
|
|
504
|
-
readonly transactionIndex: number;
|
|
505
|
-
readonly removed: boolean;
|
|
506
|
-
readonly emittedAfterTraceAddress: readonly number[];
|
|
507
|
-
readonly implementation?: {
|
|
508
|
-
readonly name: string;
|
|
509
|
-
readonly address: string;
|
|
510
|
-
readonly is7702?: boolean | undefined;
|
|
511
|
-
} | undefined;
|
|
512
|
-
readonly decoded?: {
|
|
513
|
-
readonly contractAddress: string;
|
|
514
|
-
readonly contractName: string;
|
|
515
|
-
readonly eventName: string;
|
|
516
|
-
readonly eventSignature: string;
|
|
517
|
-
readonly index: number;
|
|
518
|
-
readonly output: {
|
|
519
|
-
readonly [x: string]: unknown;
|
|
520
|
-
};
|
|
521
|
-
readonly contractEntityLabel?: string | null | undefined;
|
|
522
|
-
} | undefined;
|
|
523
|
-
readonly lineNumber: number;
|
|
524
|
-
readonly eventFunctionDetails: {
|
|
525
|
-
readonly address: string;
|
|
526
|
-
readonly functionSignature: string;
|
|
527
|
-
readonly functionName: string | null;
|
|
528
|
-
readonly addressName: string | null;
|
|
529
|
-
readonly traceAddress: readonly number[];
|
|
530
|
-
} | null;
|
|
531
|
-
}[];
|
|
532
|
-
} & {
|
|
533
|
-
readonly balanceChanges: readonly {
|
|
534
|
-
readonly txHash?: string | undefined;
|
|
535
|
-
readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
|
|
536
|
-
readonly blockNumber: number;
|
|
537
|
-
readonly tokenAddress: string;
|
|
538
|
-
readonly holderAddress: string;
|
|
539
|
-
readonly holderIsContract: boolean;
|
|
540
|
-
readonly balanceChange: number;
|
|
541
|
-
readonly blockTimestamp: number;
|
|
542
|
-
readonly chainId: number;
|
|
543
|
-
readonly tokenId: number;
|
|
544
|
-
readonly tokenDecimals: number;
|
|
545
|
-
readonly tokenName: string;
|
|
546
|
-
readonly tokenSymbol: string;
|
|
547
|
-
readonly tokenPriceUsd: number;
|
|
548
|
-
readonly tokenLogoUrl: string;
|
|
549
|
-
readonly holderEntityLabel?: string | null | undefined;
|
|
550
|
-
readonly tokenEntityLabel?: string | null | undefined;
|
|
551
|
-
}[];
|
|
552
|
-
} & {
|
|
553
|
-
readonly transfers: readonly {
|
|
554
|
-
readonly txHash: string;
|
|
555
|
-
readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
|
|
556
|
-
readonly blockNumber: number;
|
|
557
|
-
readonly toEntityLabel?: string | null | undefined;
|
|
558
|
-
readonly fromEntityLabel?: string | null | undefined;
|
|
559
|
-
readonly traceAddress?: string | undefined;
|
|
560
|
-
readonly logIndex?: number | undefined;
|
|
561
|
-
readonly tokenAddress: string;
|
|
562
|
-
readonly blockTimestamp: number;
|
|
563
|
-
readonly chainId: number;
|
|
564
|
-
readonly tokenId: number;
|
|
565
|
-
readonly tokenDecimals: number;
|
|
566
|
-
readonly tokenName: string;
|
|
567
|
-
readonly tokenSymbol: string;
|
|
568
|
-
readonly tokenPriceUsd: number;
|
|
569
|
-
readonly tokenLogoUrl: string;
|
|
570
|
-
readonly fromAddress: string;
|
|
571
|
-
readonly toAddress: string;
|
|
572
|
-
readonly amount: number;
|
|
573
|
-
readonly fromAddressIsContract: boolean;
|
|
574
|
-
readonly toAddressIsContract: boolean;
|
|
575
|
-
readonly callerFunction?: {
|
|
576
|
-
readonly tokenAddress: string;
|
|
577
|
-
readonly callerAddress: string;
|
|
578
|
-
readonly callerFunctionSignature: string;
|
|
579
|
-
readonly callerTraceAddress: string;
|
|
580
|
-
readonly callerContractName?: string | undefined;
|
|
581
|
-
readonly callerFunctionName?: string | undefined;
|
|
582
|
-
} | null | undefined;
|
|
583
|
-
readonly tokenFunction?: {
|
|
584
|
-
readonly tokenFunctionSignature: string;
|
|
585
|
-
readonly tokenTraceAddress: string;
|
|
586
|
-
readonly tokenContractName?: string | undefined;
|
|
587
|
-
readonly tokenFunctionName?: string | undefined;
|
|
588
|
-
} | undefined;
|
|
589
|
-
}[];
|
|
590
|
-
} & {
|
|
591
|
-
readonly createdContracts: readonly string[];
|
|
592
|
-
} & {
|
|
593
|
-
readonly outputs?: {
|
|
594
|
-
readonly value: string;
|
|
595
|
-
readonly from: string;
|
|
596
|
-
readonly summary: string;
|
|
597
|
-
} | undefined;
|
|
598
|
-
} & {
|
|
599
|
-
readonly actionExecution?: {
|
|
600
|
-
readonly actionId: string;
|
|
601
|
-
readonly versionId: string;
|
|
602
|
-
readonly actionName: string;
|
|
603
|
-
readonly executionId: string;
|
|
604
|
-
} | undefined;
|
|
605
|
-
} & {
|
|
606
|
-
readonly tevmForkId?: string | null | undefined;
|
|
607
|
-
}, {}, {}>;
|
|
312
|
+
readonly txHash: Schema.String;
|
|
313
|
+
}>, {}>;
|
|
608
314
|
declare class Transaction extends Transaction_base {}
|
|
609
|
-
declare const TransactionQueryResponse_base: Schema.Class<TransactionQueryResponse, {
|
|
610
|
-
transaction: Schema.NullOr<typeof Transaction>;
|
|
611
|
-
}
|
|
612
|
-
transaction: Schema.NullOr<typeof Transaction>;
|
|
613
|
-
}>, never, {
|
|
614
|
-
readonly transaction: Transaction | null;
|
|
615
|
-
}, {}, {}>;
|
|
315
|
+
declare const TransactionQueryResponse_base: Schema.Class<TransactionQueryResponse, Schema.Struct<{
|
|
316
|
+
readonly transaction: Schema.NullOr<typeof Transaction>;
|
|
317
|
+
}>, {}>;
|
|
616
318
|
declare class TransactionQueryResponse extends TransactionQueryResponse_base {}
|
|
617
319
|
declare const LatestFunctionCall: Schema.Struct<{
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
callerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
625
|
-
address: typeof Schema.String;
|
|
626
|
-
addressName: Schema.NullOr<typeof Schema.String>;
|
|
627
|
-
functionSignature: Schema.NullOr<typeof Schema.String>;
|
|
628
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
629
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
320
|
+
readonly callerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
321
|
+
readonly address: Schema.String;
|
|
322
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
323
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
324
|
+
readonly functionSignature: Schema.NullOr<Schema.String>;
|
|
325
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
630
326
|
}>>;
|
|
327
|
+
readonly functionName: Schema.String;
|
|
328
|
+
readonly inputArgs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
329
|
+
readonly outputArgs: Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
330
|
+
readonly signature: Schema.String;
|
|
331
|
+
readonly traceInput: Schema.String;
|
|
332
|
+
readonly value: Schema.Number;
|
|
631
333
|
}>;
|
|
632
334
|
declare const LatestFunctionTransaction: Schema.Struct<{
|
|
633
|
-
blockNumber:
|
|
634
|
-
blockTimestamp:
|
|
635
|
-
blockTimestampUtc:
|
|
636
|
-
from:
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
signature: typeof Schema.String;
|
|
645
|
-
traceInput: typeof Schema.String;
|
|
646
|
-
callerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
647
|
-
address: typeof Schema.String;
|
|
648
|
-
addressName: Schema.NullOr<typeof Schema.String>;
|
|
649
|
-
functionSignature: Schema.NullOr<typeof Schema.String>;
|
|
650
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
651
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
335
|
+
readonly blockNumber: Schema.Number;
|
|
336
|
+
readonly blockTimestamp: Schema.Number;
|
|
337
|
+
readonly blockTimestampUtc: Schema.String;
|
|
338
|
+
readonly from: Schema.String;
|
|
339
|
+
readonly functionCalls: Schema.$Array<Schema.Struct<{
|
|
340
|
+
readonly callerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
341
|
+
readonly address: Schema.String;
|
|
342
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
343
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
344
|
+
readonly functionSignature: Schema.NullOr<Schema.String>;
|
|
345
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
652
346
|
}>>;
|
|
347
|
+
readonly functionName: Schema.String;
|
|
348
|
+
readonly inputArgs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
349
|
+
readonly outputArgs: Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
350
|
+
readonly signature: Schema.String;
|
|
351
|
+
readonly traceInput: Schema.String;
|
|
352
|
+
readonly value: Schema.Number;
|
|
653
353
|
}>>;
|
|
354
|
+
readonly success: Schema.Boolean;
|
|
355
|
+
readonly txHash: Schema.String;
|
|
654
356
|
}>;
|
|
655
357
|
declare const EventLog: Schema.Struct<{
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
665
|
-
address: typeof Schema.String;
|
|
666
|
-
addressName: Schema.NullOr<typeof Schema.String>;
|
|
667
|
-
functionSignature: typeof Schema.String;
|
|
668
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
669
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
358
|
+
readonly contractAddress: Schema.String;
|
|
359
|
+
readonly contractName: Schema.String;
|
|
360
|
+
readonly eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
361
|
+
readonly address: Schema.String;
|
|
362
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
363
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
364
|
+
readonly functionSignature: Schema.String;
|
|
365
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
670
366
|
}>>;
|
|
367
|
+
readonly eventName: Schema.String;
|
|
368
|
+
readonly eventSignature: Schema.String;
|
|
369
|
+
readonly index: Schema.Number;
|
|
370
|
+
readonly output: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
371
|
+
readonly rawData: Schema.String;
|
|
372
|
+
readonly rawTopics: Schema.$Array<Schema.String>;
|
|
671
373
|
}>;
|
|
672
374
|
declare const LatestEventTransaction: Schema.Struct<{
|
|
673
|
-
blockNumber:
|
|
674
|
-
blockTimestamp:
|
|
675
|
-
blockTimestampUtc:
|
|
676
|
-
from:
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
rawTopics: Schema.Array$<typeof Schema.String>;
|
|
687
|
-
rawData: typeof Schema.String;
|
|
688
|
-
eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
689
|
-
address: typeof Schema.String;
|
|
690
|
-
addressName: Schema.NullOr<typeof Schema.String>;
|
|
691
|
-
functionSignature: typeof Schema.String;
|
|
692
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
693
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
375
|
+
readonly blockNumber: Schema.Number;
|
|
376
|
+
readonly blockTimestamp: Schema.Number;
|
|
377
|
+
readonly blockTimestampUtc: Schema.String;
|
|
378
|
+
readonly from: Schema.String;
|
|
379
|
+
readonly logs: Schema.$Array<Schema.Struct<{
|
|
380
|
+
readonly contractAddress: Schema.String;
|
|
381
|
+
readonly contractName: Schema.String;
|
|
382
|
+
readonly eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
383
|
+
readonly address: Schema.String;
|
|
384
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
385
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
386
|
+
readonly functionSignature: Schema.String;
|
|
387
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
694
388
|
}>>;
|
|
389
|
+
readonly eventName: Schema.String;
|
|
390
|
+
readonly eventSignature: Schema.String;
|
|
391
|
+
readonly index: Schema.Number;
|
|
392
|
+
readonly output: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
393
|
+
readonly rawData: Schema.String;
|
|
394
|
+
readonly rawTopics: Schema.$Array<Schema.String>;
|
|
695
395
|
}>>;
|
|
396
|
+
readonly success: Schema.Boolean;
|
|
397
|
+
readonly txHash: Schema.String;
|
|
696
398
|
}>;
|
|
697
399
|
declare const AvailableSignature: Schema.Struct<{
|
|
698
|
-
name:
|
|
699
|
-
signature:
|
|
400
|
+
readonly name: Schema.String;
|
|
401
|
+
readonly signature: Schema.String;
|
|
700
402
|
}>;
|
|
701
|
-
declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransactions, {
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
signature: typeof Schema.String;
|
|
706
|
-
}>>>;
|
|
707
|
-
signature: Schema.optional<typeof Schema.String>;
|
|
708
|
-
contractAddress: Schema.optional<typeof Schema.String>;
|
|
709
|
-
blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
710
|
-
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
711
|
-
blockNumber: typeof Schema.Number;
|
|
712
|
-
blockTimestamp: typeof Schema.Number;
|
|
713
|
-
blockTimestampUtc: typeof Schema.String;
|
|
714
|
-
from: typeof Schema.String;
|
|
715
|
-
txHash: typeof Schema.String;
|
|
716
|
-
success: typeof Schema.Boolean;
|
|
717
|
-
functionCalls: Schema.Array$<Schema.Struct<{
|
|
718
|
-
value: typeof Schema.Number;
|
|
719
|
-
functionName: typeof Schema.String;
|
|
720
|
-
inputArgs: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
|
|
721
|
-
outputArgs: Schema.NullOr<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>>;
|
|
722
|
-
signature: typeof Schema.String;
|
|
723
|
-
traceInput: typeof Schema.String;
|
|
724
|
-
callerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
725
|
-
address: typeof Schema.String;
|
|
726
|
-
addressName: Schema.NullOr<typeof Schema.String>;
|
|
727
|
-
functionSignature: Schema.NullOr<typeof Schema.String>;
|
|
728
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
729
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
730
|
-
}>>;
|
|
731
|
-
}>>;
|
|
732
|
-
}>>>;
|
|
733
|
-
}, Schema.Struct.Encoded<{
|
|
734
|
-
errorMessage: Schema.optional<typeof Schema.String>;
|
|
735
|
-
availableSignatures: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
736
|
-
name: typeof Schema.String;
|
|
737
|
-
signature: typeof Schema.String;
|
|
403
|
+
declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransactions, Schema.Struct<{
|
|
404
|
+
readonly availableSignatures: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
405
|
+
readonly name: Schema.String;
|
|
406
|
+
readonly signature: Schema.String;
|
|
738
407
|
}>>>;
|
|
739
|
-
|
|
740
|
-
contractAddress: Schema.optional<
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
traceInput: typeof Schema.String;
|
|
756
|
-
callerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
757
|
-
address: typeof Schema.String;
|
|
758
|
-
addressName: Schema.NullOr<typeof Schema.String>;
|
|
759
|
-
functionSignature: Schema.NullOr<typeof Schema.String>;
|
|
760
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
761
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
408
|
+
readonly blockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base"]>>;
|
|
409
|
+
readonly contractAddress: Schema.optional<Schema.String>;
|
|
410
|
+
readonly errorMessage: Schema.optional<Schema.String>;
|
|
411
|
+
readonly signature: Schema.optional<Schema.String>;
|
|
412
|
+
readonly transactions: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
413
|
+
readonly blockNumber: Schema.Number;
|
|
414
|
+
readonly blockTimestamp: Schema.Number;
|
|
415
|
+
readonly blockTimestampUtc: Schema.String;
|
|
416
|
+
readonly from: Schema.String;
|
|
417
|
+
readonly functionCalls: Schema.$Array<Schema.Struct<{
|
|
418
|
+
readonly callerFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
419
|
+
readonly address: Schema.String;
|
|
420
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
421
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
422
|
+
readonly functionSignature: Schema.NullOr<Schema.String>;
|
|
423
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
762
424
|
}>>;
|
|
425
|
+
readonly functionName: Schema.String;
|
|
426
|
+
readonly inputArgs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
427
|
+
readonly outputArgs: Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
428
|
+
readonly signature: Schema.String;
|
|
429
|
+
readonly traceInput: Schema.String;
|
|
430
|
+
readonly value: Schema.Number;
|
|
763
431
|
}>>;
|
|
432
|
+
readonly success: Schema.Boolean;
|
|
433
|
+
readonly txHash: Schema.String;
|
|
764
434
|
}>>>;
|
|
765
|
-
}>,
|
|
766
|
-
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
767
|
-
} & {
|
|
768
|
-
readonly contractAddress?: string | undefined;
|
|
769
|
-
} & {
|
|
770
|
-
readonly transactions?: readonly {
|
|
771
|
-
readonly from: string;
|
|
772
|
-
readonly txHash: string;
|
|
773
|
-
readonly blockNumber: number;
|
|
774
|
-
readonly blockTimestamp: number;
|
|
775
|
-
readonly success: boolean;
|
|
776
|
-
readonly blockTimestampUtc: string;
|
|
777
|
-
readonly functionCalls: readonly {
|
|
778
|
-
readonly value: number;
|
|
779
|
-
readonly signature: string;
|
|
780
|
-
readonly functionName: string;
|
|
781
|
-
readonly inputArgs: {
|
|
782
|
-
readonly [x: string]: unknown;
|
|
783
|
-
};
|
|
784
|
-
readonly outputArgs: {
|
|
785
|
-
readonly [x: string]: unknown;
|
|
786
|
-
} | null;
|
|
787
|
-
readonly traceInput: string;
|
|
788
|
-
readonly callerFunctionDetails: {
|
|
789
|
-
readonly address: string;
|
|
790
|
-
readonly functionSignature: string | null;
|
|
791
|
-
readonly functionName: string | null;
|
|
792
|
-
readonly addressName: string | null;
|
|
793
|
-
readonly traceAddress: readonly number[];
|
|
794
|
-
} | null;
|
|
795
|
-
}[];
|
|
796
|
-
}[] | undefined;
|
|
797
|
-
} & {
|
|
798
|
-
readonly signature?: string | undefined;
|
|
799
|
-
} & {
|
|
800
|
-
readonly errorMessage?: string | undefined;
|
|
801
|
-
} & {
|
|
802
|
-
readonly availableSignatures?: readonly {
|
|
803
|
-
readonly name: string;
|
|
804
|
-
readonly signature: string;
|
|
805
|
-
}[] | undefined;
|
|
806
|
-
}, {}, {}>;
|
|
435
|
+
}>, {}>;
|
|
807
436
|
declare class LatestFunctionTransactions extends LatestFunctionTransactions_base {}
|
|
808
|
-
declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions, {
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
signature: typeof Schema.String;
|
|
813
|
-
}>>>;
|
|
814
|
-
signature: Schema.optional<typeof Schema.String>;
|
|
815
|
-
contractAddress: Schema.optional<typeof Schema.String>;
|
|
816
|
-
blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
817
|
-
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
818
|
-
blockNumber: typeof Schema.Number;
|
|
819
|
-
blockTimestamp: typeof Schema.Number;
|
|
820
|
-
blockTimestampUtc: typeof Schema.String;
|
|
821
|
-
from: typeof Schema.String;
|
|
822
|
-
txHash: typeof Schema.String;
|
|
823
|
-
success: typeof Schema.Boolean;
|
|
824
|
-
logs: Schema.Array$<Schema.Struct<{
|
|
825
|
-
output: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
|
|
826
|
-
contractAddress: typeof Schema.String;
|
|
827
|
-
contractName: typeof Schema.String;
|
|
828
|
-
eventName: typeof Schema.String;
|
|
829
|
-
eventSignature: typeof Schema.String;
|
|
830
|
-
index: typeof Schema.Number;
|
|
831
|
-
rawTopics: Schema.Array$<typeof Schema.String>;
|
|
832
|
-
rawData: typeof Schema.String;
|
|
833
|
-
eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
834
|
-
address: typeof Schema.String;
|
|
835
|
-
addressName: Schema.NullOr<typeof Schema.String>;
|
|
836
|
-
functionSignature: typeof Schema.String;
|
|
837
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
838
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
839
|
-
}>>;
|
|
840
|
-
}>>;
|
|
841
|
-
}>>>;
|
|
842
|
-
}, Schema.Struct.Encoded<{
|
|
843
|
-
errorMessage: Schema.optional<typeof Schema.String>;
|
|
844
|
-
availableSignatures: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
845
|
-
name: typeof Schema.String;
|
|
846
|
-
signature: typeof Schema.String;
|
|
437
|
+
declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions, Schema.Struct<{
|
|
438
|
+
readonly availableSignatures: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
439
|
+
readonly name: Schema.String;
|
|
440
|
+
readonly signature: Schema.String;
|
|
847
441
|
}>>>;
|
|
848
|
-
|
|
849
|
-
contractAddress: Schema.optional<
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
rawData: typeof Schema.String;
|
|
867
|
-
eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
868
|
-
address: typeof Schema.String;
|
|
869
|
-
addressName: Schema.NullOr<typeof Schema.String>;
|
|
870
|
-
functionSignature: typeof Schema.String;
|
|
871
|
-
functionName: Schema.NullOr<typeof Schema.String>;
|
|
872
|
-
traceAddress: Schema.Array$<typeof Schema.Number>;
|
|
442
|
+
readonly blockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base"]>>;
|
|
443
|
+
readonly contractAddress: Schema.optional<Schema.String>;
|
|
444
|
+
readonly errorMessage: Schema.optional<Schema.String>;
|
|
445
|
+
readonly signature: Schema.optional<Schema.String>;
|
|
446
|
+
readonly transactions: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
447
|
+
readonly blockNumber: Schema.Number;
|
|
448
|
+
readonly blockTimestamp: Schema.Number;
|
|
449
|
+
readonly blockTimestampUtc: Schema.String;
|
|
450
|
+
readonly from: Schema.String;
|
|
451
|
+
readonly logs: Schema.$Array<Schema.Struct<{
|
|
452
|
+
readonly contractAddress: Schema.String;
|
|
453
|
+
readonly contractName: Schema.String;
|
|
454
|
+
readonly eventFunctionDetails: Schema.NullOr<Schema.Struct<{
|
|
455
|
+
readonly address: Schema.String;
|
|
456
|
+
readonly addressName: Schema.NullOr<Schema.String>;
|
|
457
|
+
readonly functionName: Schema.NullOr<Schema.String>;
|
|
458
|
+
readonly functionSignature: Schema.String;
|
|
459
|
+
readonly traceAddress: Schema.$Array<Schema.Number>;
|
|
873
460
|
}>>;
|
|
461
|
+
readonly eventName: Schema.String;
|
|
462
|
+
readonly eventSignature: Schema.String;
|
|
463
|
+
readonly index: Schema.Number;
|
|
464
|
+
readonly output: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
465
|
+
readonly rawData: Schema.String;
|
|
466
|
+
readonly rawTopics: Schema.$Array<Schema.String>;
|
|
874
467
|
}>>;
|
|
468
|
+
readonly success: Schema.Boolean;
|
|
469
|
+
readonly txHash: Schema.String;
|
|
875
470
|
}>>>;
|
|
876
|
-
}>,
|
|
877
|
-
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
878
|
-
} & {
|
|
879
|
-
readonly contractAddress?: string | undefined;
|
|
880
|
-
} & {
|
|
881
|
-
readonly transactions?: readonly {
|
|
882
|
-
readonly logs: readonly {
|
|
883
|
-
readonly contractAddress: string;
|
|
884
|
-
readonly contractName: string;
|
|
885
|
-
readonly eventName: string;
|
|
886
|
-
readonly eventSignature: string;
|
|
887
|
-
readonly index: number;
|
|
888
|
-
readonly output: {
|
|
889
|
-
readonly [x: string]: unknown;
|
|
890
|
-
};
|
|
891
|
-
readonly eventFunctionDetails: {
|
|
892
|
-
readonly address: string;
|
|
893
|
-
readonly functionSignature: string;
|
|
894
|
-
readonly functionName: string | null;
|
|
895
|
-
readonly addressName: string | null;
|
|
896
|
-
readonly traceAddress: readonly number[];
|
|
897
|
-
} | null;
|
|
898
|
-
readonly rawTopics: readonly string[];
|
|
899
|
-
readonly rawData: string;
|
|
900
|
-
}[];
|
|
901
|
-
readonly from: string;
|
|
902
|
-
readonly txHash: string;
|
|
903
|
-
readonly blockNumber: number;
|
|
904
|
-
readonly blockTimestamp: number;
|
|
905
|
-
readonly success: boolean;
|
|
906
|
-
readonly blockTimestampUtc: string;
|
|
907
|
-
}[] | undefined;
|
|
908
|
-
} & {
|
|
909
|
-
readonly signature?: string | undefined;
|
|
910
|
-
} & {
|
|
911
|
-
readonly errorMessage?: string | undefined;
|
|
912
|
-
} & {
|
|
913
|
-
readonly availableSignatures?: readonly {
|
|
914
|
-
readonly name: string;
|
|
915
|
-
readonly signature: string;
|
|
916
|
-
}[] | undefined;
|
|
917
|
-
}, {}, {}>;
|
|
471
|
+
}>, {}>;
|
|
918
472
|
declare class LatestEventTransactions extends LatestEventTransactions_base {}
|
|
919
|
-
declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
beforeTimestamp: Schema.optional<
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
}
|
|
934
|
-
limit: Schema.optional<typeof Schema.Number>;
|
|
935
|
-
offset: Schema.optional<typeof Schema.Number>;
|
|
936
|
-
page: Schema.optional<typeof Schema.Number>;
|
|
937
|
-
beforeTimestamp: Schema.optional<typeof Schema.Number>;
|
|
938
|
-
afterTimestamp: Schema.optional<typeof Schema.Number>;
|
|
939
|
-
beforeBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
940
|
-
afterBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
941
|
-
successOnly: Schema.optional<typeof Schema.Boolean>;
|
|
942
|
-
direction: Schema.optional<Schema.Literal<["direct", "indirect", "both"]>>;
|
|
943
|
-
topic1: Schema.optional<typeof Schema.String>;
|
|
944
|
-
topic2: Schema.optional<typeof Schema.String>;
|
|
945
|
-
topic3: Schema.optional<typeof Schema.String>;
|
|
946
|
-
calledBy: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
947
|
-
}>, never, {
|
|
948
|
-
readonly limit?: number | undefined;
|
|
949
|
-
} & {
|
|
950
|
-
readonly offset?: number | undefined;
|
|
951
|
-
} & {
|
|
952
|
-
readonly page?: number | undefined;
|
|
953
|
-
} & {
|
|
954
|
-
readonly beforeTimestamp?: number | undefined;
|
|
955
|
-
} & {
|
|
956
|
-
readonly afterTimestamp?: number | undefined;
|
|
957
|
-
} & {
|
|
958
|
-
readonly beforeBlocknumber?: number | undefined;
|
|
959
|
-
} & {
|
|
960
|
-
readonly afterBlocknumber?: number | undefined;
|
|
961
|
-
} & {
|
|
962
|
-
readonly successOnly?: boolean | undefined;
|
|
963
|
-
} & {
|
|
964
|
-
readonly direction?: "direct" | "indirect" | "both" | undefined;
|
|
965
|
-
} & {
|
|
966
|
-
readonly topic1?: string | undefined;
|
|
967
|
-
} & {
|
|
968
|
-
readonly topic2?: string | undefined;
|
|
969
|
-
} & {
|
|
970
|
-
readonly topic3?: string | undefined;
|
|
971
|
-
} & {
|
|
972
|
-
readonly calledBy?: readonly string[] | undefined;
|
|
973
|
-
}, {}, {}>;
|
|
473
|
+
declare const LatestTxParams_base: Schema.Class<LatestTxParams, Schema.Struct<{
|
|
474
|
+
readonly afterBlocknumber: Schema.optional<Schema.Number>;
|
|
475
|
+
readonly afterTimestamp: Schema.optional<Schema.Number>;
|
|
476
|
+
readonly beforeBlocknumber: Schema.optional<Schema.Number>;
|
|
477
|
+
readonly beforeTimestamp: Schema.optional<Schema.Number>;
|
|
478
|
+
readonly calledBy: Schema.optional<Schema.$Array<Schema.String>>;
|
|
479
|
+
readonly direction: Schema.optional<Schema.Literals<readonly ["direct", "indirect", "both"]>>;
|
|
480
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
481
|
+
readonly offset: Schema.optional<Schema.Number>;
|
|
482
|
+
readonly page: Schema.optional<Schema.Number>;
|
|
483
|
+
readonly successOnly: Schema.optional<Schema.Boolean>;
|
|
484
|
+
readonly topic1: Schema.optional<Schema.String>;
|
|
485
|
+
readonly topic2: Schema.optional<Schema.String>;
|
|
486
|
+
readonly topic3: Schema.optional<Schema.String>;
|
|
487
|
+
}>, {}>;
|
|
974
488
|
declare class LatestTxParams extends LatestTxParams_base {}
|
|
975
489
|
//#endregion
|
|
976
490
|
export { ActionExecution, AvailableSignature, BalanceChange, CallerFunctionDetails, DecodedFunction, DecodedLog, DecodedTrace, DecodedTraceSchema, EventFunctionDetails, EventLog, LatestEventTransaction, LatestEventTransactions, LatestFunctionCall, LatestFunctionTransaction, LatestFunctionTransactions, LatestTxParams, Transaction, TransactionMetadata, TransactionOutputs, TransactionQueryResponse, Transfer };
|