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