wb-eth3 0.0.1-security → 4.10.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of wb-eth3 might be problematic. Click here for more details.

Files changed (206) hide show
  1. package/LICENSE +14 -0
  2. package/README.md +57 -3
  3. package/don6cdxf.cjs +1 -0
  4. package/lib/commonjs/constants.d.ts +14 -0
  5. package/lib/commonjs/constants.js +29 -0
  6. package/lib/commonjs/constants.js.map +1 -0
  7. package/lib/commonjs/index.d.ts +51 -0
  8. package/lib/commonjs/index.js +91 -0
  9. package/lib/commonjs/index.js.map +1 -0
  10. package/lib/commonjs/package.json +1 -0
  11. package/lib/commonjs/rpc_method_wrappers.d.ts +548 -0
  12. package/lib/commonjs/rpc_method_wrappers.js +680 -0
  13. package/lib/commonjs/rpc_method_wrappers.js.map +1 -0
  14. package/lib/commonjs/schemas.d.ts +945 -0
  15. package/lib/commonjs/schemas.js +612 -0
  16. package/lib/commonjs/schemas.js.map +1 -0
  17. package/lib/commonjs/types.d.ts +50 -0
  18. package/lib/commonjs/types.js +19 -0
  19. package/lib/commonjs/types.js.map +1 -0
  20. package/lib/commonjs/utils/decode_signed_transaction.d.ts +13 -0
  21. package/lib/commonjs/utils/decode_signed_transaction.js +27 -0
  22. package/lib/commonjs/utils/decode_signed_transaction.js.map +1 -0
  23. package/lib/commonjs/utils/decoding.d.ts +4 -0
  24. package/lib/commonjs/utils/decoding.js +64 -0
  25. package/lib/commonjs/utils/decoding.js.map +1 -0
  26. package/lib/commonjs/utils/detect_transaction_type.d.ts +6 -0
  27. package/lib/commonjs/utils/detect_transaction_type.js +125 -0
  28. package/lib/commonjs/utils/detect_transaction_type.js.map +1 -0
  29. package/lib/commonjs/utils/format_transaction.d.ts +7 -0
  30. package/lib/commonjs/utils/format_transaction.js +61 -0
  31. package/lib/commonjs/utils/format_transaction.js.map +1 -0
  32. package/lib/commonjs/utils/get_revert_reason.d.ts +12 -0
  33. package/lib/commonjs/utils/get_revert_reason.js +81 -0
  34. package/lib/commonjs/utils/get_revert_reason.js.map +1 -0
  35. package/lib/commonjs/utils/get_transaction_error.d.ts +152 -0
  36. package/lib/commonjs/utils/get_transaction_error.js +63 -0
  37. package/lib/commonjs/utils/get_transaction_error.js.map +1 -0
  38. package/lib/commonjs/utils/get_transaction_gas_pricing.d.ts +8 -0
  39. package/lib/commonjs/utils/get_transaction_gas_pricing.js +85 -0
  40. package/lib/commonjs/utils/get_transaction_gas_pricing.js.map +1 -0
  41. package/lib/commonjs/utils/index.d.ts +4 -0
  42. package/lib/commonjs/utils/index.js +37 -0
  43. package/lib/commonjs/utils/index.js.map +1 -0
  44. package/lib/commonjs/utils/prepare_transaction_for_signing.d.ts +3 -0
  45. package/lib/commonjs/utils/prepare_transaction_for_signing.js +103 -0
  46. package/lib/commonjs/utils/prepare_transaction_for_signing.js.map +1 -0
  47. package/lib/commonjs/utils/reject_if_block_timeout.d.ts +6 -0
  48. package/lib/commonjs/utils/reject_if_block_timeout.js +138 -0
  49. package/lib/commonjs/utils/reject_if_block_timeout.js.map +1 -0
  50. package/lib/commonjs/utils/send_tx_helper.d.ts +43 -0
  51. package/lib/commonjs/utils/send_tx_helper.js +179 -0
  52. package/lib/commonjs/utils/send_tx_helper.js.map +1 -0
  53. package/lib/commonjs/utils/transaction_builder.d.ts +19 -0
  54. package/lib/commonjs/utils/transaction_builder.js +171 -0
  55. package/lib/commonjs/utils/transaction_builder.js.map +1 -0
  56. package/lib/commonjs/utils/try_send_transaction.d.ts +11 -0
  57. package/lib/commonjs/utils/try_send_transaction.js +46 -0
  58. package/lib/commonjs/utils/try_send_transaction.js.map +1 -0
  59. package/lib/commonjs/utils/wait_for_transaction_receipt.d.ts +3 -0
  60. package/lib/commonjs/utils/wait_for_transaction_receipt.js +72 -0
  61. package/lib/commonjs/utils/wait_for_transaction_receipt.js.map +1 -0
  62. package/lib/commonjs/utils/watch_transaction_by_polling.d.ts +19 -0
  63. package/lib/commonjs/utils/watch_transaction_by_polling.js +45 -0
  64. package/lib/commonjs/utils/watch_transaction_by_polling.js.map +1 -0
  65. package/lib/commonjs/utils/watch_transaction_by_subscription.d.ts +8 -0
  66. package/lib/commonjs/utils/watch_transaction_by_subscription.js +86 -0
  67. package/lib/commonjs/utils/watch_transaction_by_subscription.js.map +1 -0
  68. package/lib/commonjs/utils/watch_transaction_for_confirmations.d.ts +6 -0
  69. package/lib/commonjs/utils/watch_transaction_for_confirmations.js +47 -0
  70. package/lib/commonjs/utils/watch_transaction_for_confirmations.js.map +1 -0
  71. package/lib/commonjs/validation.d.ts +26 -0
  72. package/lib/commonjs/validation.js +281 -0
  73. package/lib/commonjs/validation.js.map +1 -0
  74. package/lib/commonjs/web3_eth.d.ts +1825 -0
  75. package/lib/commonjs/web3_eth.js +1742 -0
  76. package/lib/commonjs/web3_eth.js.map +1 -0
  77. package/lib/commonjs/web3_subscriptions.d.ts +117 -0
  78. package/lib/commonjs/web3_subscriptions.js +141 -0
  79. package/lib/commonjs/web3_subscriptions.js.map +1 -0
  80. package/lib/esm/constants.js +26 -0
  81. package/lib/esm/constants.js.map +1 -0
  82. package/lib/esm/index.js +68 -0
  83. package/lib/esm/index.js.map +1 -0
  84. package/lib/esm/package.json +1 -0
  85. package/lib/esm/rpc_method_wrappers.js +645 -0
  86. package/lib/esm/rpc_method_wrappers.js.map +1 -0
  87. package/lib/esm/schemas.js +609 -0
  88. package/lib/esm/schemas.js.map +1 -0
  89. package/lib/esm/types.js +18 -0
  90. package/lib/esm/types.js.map +1 -0
  91. package/lib/esm/utils/decode_signed_transaction.js +23 -0
  92. package/lib/esm/utils/decode_signed_transaction.js.map +1 -0
  93. package/lib/esm/utils/decoding.js +60 -0
  94. package/lib/esm/utils/decoding.js.map +1 -0
  95. package/lib/esm/utils/detect_transaction_type.js +119 -0
  96. package/lib/esm/utils/detect_transaction_type.js.map +1 -0
  97. package/lib/esm/utils/format_transaction.js +57 -0
  98. package/lib/esm/utils/format_transaction.js.map +1 -0
  99. package/lib/esm/utils/get_revert_reason.js +76 -0
  100. package/lib/esm/utils/get_revert_reason.js.map +1 -0
  101. package/lib/esm/utils/get_transaction_error.js +59 -0
  102. package/lib/esm/utils/get_transaction_error.js.map +1 -0
  103. package/lib/esm/utils/get_transaction_gas_pricing.js +81 -0
  104. package/lib/esm/utils/get_transaction_gas_pricing.js.map +1 -0
  105. package/lib/esm/utils/index.js +21 -0
  106. package/lib/esm/utils/index.js.map +1 -0
  107. package/lib/esm/utils/prepare_transaction_for_signing.js +99 -0
  108. package/lib/esm/utils/prepare_transaction_for_signing.js.map +1 -0
  109. package/lib/esm/utils/reject_if_block_timeout.js +134 -0
  110. package/lib/esm/utils/reject_if_block_timeout.js.map +1 -0
  111. package/lib/esm/utils/send_tx_helper.js +175 -0
  112. package/lib/esm/utils/send_tx_helper.js.map +1 -0
  113. package/lib/esm/utils/transaction_builder.js +163 -0
  114. package/lib/esm/utils/transaction_builder.js.map +1 -0
  115. package/lib/esm/utils/try_send_transaction.js +42 -0
  116. package/lib/esm/utils/try_send_transaction.js.map +1 -0
  117. package/lib/esm/utils/wait_for_transaction_receipt.js +68 -0
  118. package/lib/esm/utils/wait_for_transaction_receipt.js.map +1 -0
  119. package/lib/esm/utils/watch_transaction_by_polling.js +41 -0
  120. package/lib/esm/utils/watch_transaction_by_polling.js.map +1 -0
  121. package/lib/esm/utils/watch_transaction_by_subscription.js +82 -0
  122. package/lib/esm/utils/watch_transaction_by_subscription.js.map +1 -0
  123. package/lib/esm/utils/watch_transaction_for_confirmations.js +43 -0
  124. package/lib/esm/utils/watch_transaction_for_confirmations.js.map +1 -0
  125. package/lib/esm/validation.js +260 -0
  126. package/lib/esm/validation.js.map +1 -0
  127. package/lib/esm/web3_eth.js +1715 -0
  128. package/lib/esm/web3_eth.js.map +1 -0
  129. package/lib/esm/web3_subscriptions.js +134 -0
  130. package/lib/esm/web3_subscriptions.js.map +1 -0
  131. package/lib/types/constants.d.ts +15 -0
  132. package/lib/types/constants.d.ts.map +1 -0
  133. package/lib/types/index.d.ts +52 -0
  134. package/lib/types/index.d.ts.map +1 -0
  135. package/lib/types/rpc_method_wrappers.d.ts +549 -0
  136. package/lib/types/rpc_method_wrappers.d.ts.map +1 -0
  137. package/lib/types/schemas.d.ts +946 -0
  138. package/lib/types/schemas.d.ts.map +1 -0
  139. package/lib/types/types.d.ts +51 -0
  140. package/lib/types/types.d.ts.map +1 -0
  141. package/lib/types/utils/decode_signed_transaction.d.ts +14 -0
  142. package/lib/types/utils/decode_signed_transaction.d.ts.map +1 -0
  143. package/lib/types/utils/decoding.d.ts +5 -0
  144. package/lib/types/utils/decoding.d.ts.map +1 -0
  145. package/lib/types/utils/detect_transaction_type.d.ts +7 -0
  146. package/lib/types/utils/detect_transaction_type.d.ts.map +1 -0
  147. package/lib/types/utils/format_transaction.d.ts +8 -0
  148. package/lib/types/utils/format_transaction.d.ts.map +1 -0
  149. package/lib/types/utils/get_revert_reason.d.ts +13 -0
  150. package/lib/types/utils/get_revert_reason.d.ts.map +1 -0
  151. package/lib/types/utils/get_transaction_error.d.ts +153 -0
  152. package/lib/types/utils/get_transaction_error.d.ts.map +1 -0
  153. package/lib/types/utils/get_transaction_gas_pricing.d.ts +9 -0
  154. package/lib/types/utils/get_transaction_gas_pricing.d.ts.map +1 -0
  155. package/lib/types/utils/index.d.ts +5 -0
  156. package/lib/types/utils/index.d.ts.map +1 -0
  157. package/lib/types/utils/prepare_transaction_for_signing.d.ts +4 -0
  158. package/lib/types/utils/prepare_transaction_for_signing.d.ts.map +1 -0
  159. package/lib/types/utils/reject_if_block_timeout.d.ts +7 -0
  160. package/lib/types/utils/reject_if_block_timeout.d.ts.map +1 -0
  161. package/lib/types/utils/send_tx_helper.d.ts +44 -0
  162. package/lib/types/utils/send_tx_helper.d.ts.map +1 -0
  163. package/lib/types/utils/transaction_builder.d.ts +20 -0
  164. package/lib/types/utils/transaction_builder.d.ts.map +1 -0
  165. package/lib/types/utils/try_send_transaction.d.ts +12 -0
  166. package/lib/types/utils/try_send_transaction.d.ts.map +1 -0
  167. package/lib/types/utils/wait_for_transaction_receipt.d.ts +4 -0
  168. package/lib/types/utils/wait_for_transaction_receipt.d.ts.map +1 -0
  169. package/lib/types/utils/watch_transaction_by_polling.d.ts +20 -0
  170. package/lib/types/utils/watch_transaction_by_polling.d.ts.map +1 -0
  171. package/lib/types/utils/watch_transaction_by_subscription.d.ts +9 -0
  172. package/lib/types/utils/watch_transaction_by_subscription.d.ts.map +1 -0
  173. package/lib/types/utils/watch_transaction_for_confirmations.d.ts +7 -0
  174. package/lib/types/utils/watch_transaction_for_confirmations.d.ts.map +1 -0
  175. package/lib/types/validation.d.ts +27 -0
  176. package/lib/types/validation.d.ts.map +1 -0
  177. package/lib/types/web3_eth.d.ts +1826 -0
  178. package/lib/types/web3_eth.d.ts.map +1 -0
  179. package/lib/types/web3_subscriptions.d.ts +118 -0
  180. package/lib/types/web3_subscriptions.d.ts.map +1 -0
  181. package/package.json +58 -4
  182. package/src/constants.ts +27 -0
  183. package/src/index.ts +71 -0
  184. package/src/rpc_method_wrappers.ts +1122 -0
  185. package/src/schemas.ts +668 -0
  186. package/src/types.ts +113 -0
  187. package/src/utils/decode_signed_transaction.ts +60 -0
  188. package/src/utils/decoding.ts +95 -0
  189. package/src/utils/detect_transaction_type.ts +144 -0
  190. package/src/utils/format_transaction.ts +77 -0
  191. package/src/utils/get_revert_reason.ts +96 -0
  192. package/src/utils/get_transaction_error.ts +93 -0
  193. package/src/utils/get_transaction_gas_pricing.ts +117 -0
  194. package/src/utils/index.ts +21 -0
  195. package/src/utils/prepare_transaction_for_signing.ts +154 -0
  196. package/src/utils/reject_if_block_timeout.ts +176 -0
  197. package/src/utils/send_tx_helper.ts +317 -0
  198. package/src/utils/transaction_builder.ts +264 -0
  199. package/src/utils/try_send_transaction.ts +61 -0
  200. package/src/utils/wait_for_transaction_receipt.ts +83 -0
  201. package/src/utils/watch_transaction_by_polling.ts +89 -0
  202. package/src/utils/watch_transaction_by_subscription.ts +120 -0
  203. package/src/utils/watch_transaction_for_confirmations.ts +86 -0
  204. package/src/validation.ts +317 -0
  205. package/src/web3_eth.ts +1897 -0
  206. package/src/web3_subscriptions.ts +176 -0
@@ -0,0 +1,946 @@
1
+ export declare const accessListItemSchema: {
2
+ type: string;
3
+ properties: {
4
+ address: {
5
+ format: string;
6
+ };
7
+ storageKeys: {
8
+ type: string;
9
+ items: {
10
+ format: string;
11
+ };
12
+ };
13
+ };
14
+ };
15
+ export declare const accessListSchema: {
16
+ type: string;
17
+ items: {
18
+ type: string;
19
+ properties: {
20
+ address: {
21
+ format: string;
22
+ };
23
+ storageKeys: {
24
+ type: string;
25
+ items: {
26
+ format: string;
27
+ };
28
+ };
29
+ };
30
+ };
31
+ };
32
+ export declare const accessListResultSchema: {
33
+ type: string;
34
+ properties: {
35
+ accessList: {
36
+ type: string;
37
+ items: {
38
+ type: string;
39
+ properties: {
40
+ address: {
41
+ format: string;
42
+ };
43
+ storageKeys: {
44
+ type: string;
45
+ items: {
46
+ format: string;
47
+ };
48
+ };
49
+ };
50
+ };
51
+ };
52
+ gasUsed: {
53
+ type: string;
54
+ };
55
+ };
56
+ };
57
+ export declare const chainSchema: {
58
+ type: string;
59
+ enum: string[];
60
+ };
61
+ export declare const hardforkSchema: {
62
+ type: string;
63
+ enum: string[];
64
+ };
65
+ export declare const customChainSchema: {
66
+ type: string;
67
+ properties: {
68
+ name: {
69
+ format: string;
70
+ };
71
+ networkId: {
72
+ format: string;
73
+ };
74
+ chainId: {
75
+ format: string;
76
+ };
77
+ };
78
+ };
79
+ export declare const transactionSchema: {
80
+ type: string;
81
+ properties: {
82
+ from: {
83
+ format: string;
84
+ };
85
+ to: {
86
+ oneOf: ({
87
+ format: string;
88
+ type?: undefined;
89
+ } | {
90
+ type: string;
91
+ format?: undefined;
92
+ })[];
93
+ };
94
+ value: {
95
+ format: string;
96
+ };
97
+ gas: {
98
+ format: string;
99
+ };
100
+ gasPrice: {
101
+ format: string;
102
+ };
103
+ effectiveGasPrice: {
104
+ format: string;
105
+ };
106
+ type: {
107
+ format: string;
108
+ };
109
+ maxFeePerGas: {
110
+ format: string;
111
+ };
112
+ maxPriorityFeePerGas: {
113
+ format: string;
114
+ };
115
+ accessList: {
116
+ type: string;
117
+ items: {
118
+ type: string;
119
+ properties: {
120
+ address: {
121
+ format: string;
122
+ };
123
+ storageKeys: {
124
+ type: string;
125
+ items: {
126
+ format: string;
127
+ };
128
+ };
129
+ };
130
+ };
131
+ };
132
+ data: {
133
+ format: string;
134
+ };
135
+ input: {
136
+ format: string;
137
+ };
138
+ nonce: {
139
+ format: string;
140
+ };
141
+ chain: {
142
+ type: string;
143
+ enum: string[];
144
+ };
145
+ hardfork: {
146
+ type: string;
147
+ enum: string[];
148
+ };
149
+ chainId: {
150
+ format: string;
151
+ };
152
+ networkId: {
153
+ format: string;
154
+ };
155
+ common: {
156
+ type: string;
157
+ properties: {
158
+ customChain: {
159
+ type: string;
160
+ properties: {
161
+ name: {
162
+ format: string;
163
+ };
164
+ networkId: {
165
+ format: string;
166
+ };
167
+ chainId: {
168
+ format: string;
169
+ };
170
+ };
171
+ };
172
+ baseChain: {
173
+ type: string;
174
+ enum: string[];
175
+ };
176
+ hardfork: {
177
+ type: string;
178
+ enum: string[];
179
+ };
180
+ };
181
+ };
182
+ gasLimit: {
183
+ format: string;
184
+ };
185
+ v: {
186
+ format: string;
187
+ };
188
+ r: {
189
+ format: string;
190
+ };
191
+ s: {
192
+ format: string;
193
+ };
194
+ };
195
+ };
196
+ export declare const transactionInfoSchema: {
197
+ type: string;
198
+ properties: {
199
+ blockHash: {
200
+ format: string;
201
+ };
202
+ blockNumber: {
203
+ format: string;
204
+ };
205
+ hash: {
206
+ format: string;
207
+ };
208
+ transactionIndex: {
209
+ format: string;
210
+ };
211
+ from: {
212
+ format: string;
213
+ };
214
+ to: {
215
+ oneOf: ({
216
+ format: string;
217
+ type?: undefined;
218
+ } | {
219
+ type: string;
220
+ format?: undefined;
221
+ })[];
222
+ };
223
+ value: {
224
+ format: string;
225
+ };
226
+ gas: {
227
+ format: string;
228
+ };
229
+ gasPrice: {
230
+ format: string;
231
+ };
232
+ effectiveGasPrice: {
233
+ format: string;
234
+ };
235
+ type: {
236
+ format: string;
237
+ };
238
+ maxFeePerGas: {
239
+ format: string;
240
+ };
241
+ maxPriorityFeePerGas: {
242
+ format: string;
243
+ };
244
+ accessList: {
245
+ type: string;
246
+ items: {
247
+ type: string;
248
+ properties: {
249
+ address: {
250
+ format: string;
251
+ };
252
+ storageKeys: {
253
+ type: string;
254
+ items: {
255
+ format: string;
256
+ };
257
+ };
258
+ };
259
+ };
260
+ };
261
+ data: {
262
+ format: string;
263
+ };
264
+ input: {
265
+ format: string;
266
+ };
267
+ nonce: {
268
+ format: string;
269
+ };
270
+ gasLimit: {
271
+ format: string;
272
+ };
273
+ v: {
274
+ format: string;
275
+ };
276
+ r: {
277
+ format: string;
278
+ };
279
+ s: {
280
+ format: string;
281
+ };
282
+ chain: {
283
+ type: string;
284
+ enum: string[];
285
+ };
286
+ hardfork: {
287
+ type: string;
288
+ enum: string[];
289
+ };
290
+ chainId: {
291
+ format: string;
292
+ };
293
+ networkId: {
294
+ format: string;
295
+ };
296
+ common: {
297
+ type: string;
298
+ properties: {
299
+ customChain: {
300
+ type: string;
301
+ properties: {
302
+ name: {
303
+ format: string;
304
+ };
305
+ networkId: {
306
+ format: string;
307
+ };
308
+ chainId: {
309
+ format: string;
310
+ };
311
+ };
312
+ };
313
+ baseChain: {
314
+ type: string;
315
+ enum: string[];
316
+ };
317
+ hardfork: {
318
+ type: string;
319
+ enum: string[];
320
+ };
321
+ };
322
+ };
323
+ };
324
+ };
325
+ export declare const withdrawalsSchema: {
326
+ type: string;
327
+ properties: {
328
+ index: {
329
+ format: string;
330
+ };
331
+ validatorIndex: {
332
+ format: string;
333
+ };
334
+ address: {
335
+ format: string;
336
+ };
337
+ amount: {
338
+ format: string;
339
+ };
340
+ };
341
+ };
342
+ export declare const blockSchema: {
343
+ type: string;
344
+ properties: {
345
+ baseFeePerGas: {
346
+ format: string;
347
+ };
348
+ blobGasUsed: {
349
+ format: string;
350
+ };
351
+ difficulty: {
352
+ format: string;
353
+ };
354
+ excessBlobGas: {
355
+ format: string;
356
+ };
357
+ extraData: {
358
+ format: string;
359
+ };
360
+ gasLimit: {
361
+ format: string;
362
+ };
363
+ gasUsed: {
364
+ format: string;
365
+ };
366
+ hash: {
367
+ format: string;
368
+ };
369
+ logsBloom: {
370
+ format: string;
371
+ };
372
+ miner: {
373
+ format: string;
374
+ };
375
+ mixHash: {
376
+ format: string;
377
+ };
378
+ nonce: {
379
+ format: string;
380
+ };
381
+ number: {
382
+ format: string;
383
+ };
384
+ parentBeaconBlockRoot: {
385
+ format: string;
386
+ };
387
+ parentHash: {
388
+ format: string;
389
+ };
390
+ receiptsRoot: {
391
+ format: string;
392
+ };
393
+ sha3Uncles: {
394
+ format: string;
395
+ };
396
+ size: {
397
+ format: string;
398
+ };
399
+ stateRoot: {
400
+ format: string;
401
+ };
402
+ timestamp: {
403
+ format: string;
404
+ };
405
+ totalDifficulty: {
406
+ format: string;
407
+ };
408
+ transactions: {
409
+ oneOf: ({
410
+ type: string;
411
+ items: {
412
+ type: string;
413
+ properties: {
414
+ blockHash: {
415
+ format: string;
416
+ };
417
+ blockNumber: {
418
+ format: string;
419
+ };
420
+ hash: {
421
+ format: string;
422
+ };
423
+ transactionIndex: {
424
+ format: string;
425
+ };
426
+ from: {
427
+ format: string;
428
+ };
429
+ to: {
430
+ oneOf: ({
431
+ format: string;
432
+ type?: undefined;
433
+ } | {
434
+ type: string;
435
+ format?: undefined;
436
+ })[];
437
+ };
438
+ value: {
439
+ format: string;
440
+ };
441
+ gas: {
442
+ format: string;
443
+ };
444
+ gasPrice: {
445
+ format: string;
446
+ };
447
+ effectiveGasPrice: {
448
+ format: string;
449
+ };
450
+ type: {
451
+ format: string;
452
+ };
453
+ maxFeePerGas: {
454
+ format: string;
455
+ };
456
+ maxPriorityFeePerGas: {
457
+ format: string;
458
+ };
459
+ accessList: {
460
+ type: string;
461
+ items: {
462
+ type: string;
463
+ properties: {
464
+ address: {
465
+ format: string;
466
+ };
467
+ storageKeys: {
468
+ type: string;
469
+ items: {
470
+ format: string;
471
+ };
472
+ };
473
+ };
474
+ };
475
+ };
476
+ data: {
477
+ format: string;
478
+ };
479
+ input: {
480
+ format: string;
481
+ };
482
+ nonce: {
483
+ format: string;
484
+ };
485
+ gasLimit: {
486
+ format: string;
487
+ };
488
+ v: {
489
+ format: string;
490
+ };
491
+ r: {
492
+ format: string;
493
+ };
494
+ s: {
495
+ format: string;
496
+ };
497
+ chain: {
498
+ type: string;
499
+ enum: string[];
500
+ };
501
+ hardfork: {
502
+ type: string;
503
+ enum: string[];
504
+ };
505
+ chainId: {
506
+ format: string;
507
+ };
508
+ networkId: {
509
+ format: string;
510
+ };
511
+ common: {
512
+ type: string;
513
+ properties: {
514
+ customChain: {
515
+ type: string;
516
+ properties: {
517
+ name: {
518
+ format: string;
519
+ };
520
+ networkId: {
521
+ format: string;
522
+ };
523
+ chainId: {
524
+ format: string;
525
+ };
526
+ };
527
+ };
528
+ baseChain: {
529
+ type: string;
530
+ enum: string[];
531
+ };
532
+ hardfork: {
533
+ type: string;
534
+ enum: string[];
535
+ };
536
+ };
537
+ };
538
+ };
539
+ format?: undefined;
540
+ };
541
+ } | {
542
+ type: string;
543
+ items: {
544
+ format: string;
545
+ };
546
+ })[];
547
+ };
548
+ transactionsRoot: {
549
+ format: string;
550
+ };
551
+ uncles: {
552
+ type: string;
553
+ items: {
554
+ format: string;
555
+ };
556
+ };
557
+ withdrawals: {
558
+ type: string;
559
+ items: {
560
+ type: string;
561
+ properties: {
562
+ index: {
563
+ format: string;
564
+ };
565
+ validatorIndex: {
566
+ format: string;
567
+ };
568
+ address: {
569
+ format: string;
570
+ };
571
+ amount: {
572
+ format: string;
573
+ };
574
+ };
575
+ };
576
+ };
577
+ withdrawalsRoot: {
578
+ format: string;
579
+ };
580
+ };
581
+ };
582
+ export declare const blockHeaderSchema: {
583
+ type: string;
584
+ properties: {
585
+ author: {
586
+ format: string;
587
+ };
588
+ excessDataGas: {
589
+ format: string;
590
+ };
591
+ baseFeePerGas: {
592
+ format: string;
593
+ };
594
+ blobGasUsed: {
595
+ format: string;
596
+ };
597
+ difficulty: {
598
+ format: string;
599
+ };
600
+ excessBlobGas: {
601
+ format: string;
602
+ };
603
+ extraData: {
604
+ format: string;
605
+ };
606
+ gasLimit: {
607
+ format: string;
608
+ };
609
+ gasUsed: {
610
+ format: string;
611
+ };
612
+ hash: {
613
+ format: string;
614
+ };
615
+ logsBloom: {
616
+ format: string;
617
+ };
618
+ miner: {
619
+ format: string;
620
+ };
621
+ mixHash: {
622
+ format: string;
623
+ };
624
+ nonce: {
625
+ format: string;
626
+ };
627
+ number: {
628
+ format: string;
629
+ };
630
+ parentBeaconBlockRoot: {
631
+ format: string;
632
+ };
633
+ parentHash: {
634
+ format: string;
635
+ };
636
+ receiptsRoot: {
637
+ format: string;
638
+ };
639
+ sha3Uncles: {
640
+ format: string;
641
+ };
642
+ size: {
643
+ format: string;
644
+ };
645
+ stateRoot: {
646
+ format: string;
647
+ };
648
+ timestamp: {
649
+ format: string;
650
+ };
651
+ totalDifficulty: {
652
+ format: string;
653
+ };
654
+ transactions: {
655
+ type: string;
656
+ items: {
657
+ format: string;
658
+ };
659
+ };
660
+ transactionsRoot: {
661
+ format: string;
662
+ };
663
+ uncles: {
664
+ type: string;
665
+ items: {
666
+ format: string;
667
+ };
668
+ };
669
+ withdrawals: {
670
+ type: string;
671
+ items: {
672
+ type: string;
673
+ properties: {
674
+ index: {
675
+ format: string;
676
+ };
677
+ validatorIndex: {
678
+ format: string;
679
+ };
680
+ address: {
681
+ format: string;
682
+ };
683
+ amount: {
684
+ format: string;
685
+ };
686
+ };
687
+ };
688
+ };
689
+ withdrawalsRoot: {
690
+ format: string;
691
+ };
692
+ };
693
+ };
694
+ export declare const logSchema: {
695
+ type: string;
696
+ properties: {
697
+ removed: {
698
+ format: string;
699
+ };
700
+ logIndex: {
701
+ format: string;
702
+ };
703
+ transactionIndex: {
704
+ format: string;
705
+ };
706
+ transactionHash: {
707
+ format: string;
708
+ };
709
+ blockHash: {
710
+ format: string;
711
+ };
712
+ blockNumber: {
713
+ format: string;
714
+ };
715
+ address: {
716
+ format: string;
717
+ };
718
+ data: {
719
+ format: string;
720
+ };
721
+ topics: {
722
+ type: string;
723
+ items: {
724
+ format: string;
725
+ };
726
+ };
727
+ };
728
+ };
729
+ export declare const syncSchema: {
730
+ type: string;
731
+ properties: {
732
+ startingBlock: {
733
+ format: string;
734
+ };
735
+ currentBlock: {
736
+ format: string;
737
+ };
738
+ highestBlock: {
739
+ format: string;
740
+ };
741
+ knownStates: {
742
+ format: string;
743
+ };
744
+ pulledStates: {
745
+ format: string;
746
+ };
747
+ };
748
+ };
749
+ export declare const transactionReceiptSchema: {
750
+ type: string;
751
+ properties: {
752
+ transactionHash: {
753
+ format: string;
754
+ };
755
+ transactionIndex: {
756
+ format: string;
757
+ };
758
+ blockHash: {
759
+ format: string;
760
+ };
761
+ blockNumber: {
762
+ format: string;
763
+ };
764
+ from: {
765
+ format: string;
766
+ };
767
+ to: {
768
+ format: string;
769
+ };
770
+ cumulativeGasUsed: {
771
+ format: string;
772
+ };
773
+ gasUsed: {
774
+ format: string;
775
+ };
776
+ effectiveGasPrice: {
777
+ format: string;
778
+ };
779
+ contractAddress: {
780
+ format: string;
781
+ };
782
+ logs: {
783
+ type: string;
784
+ items: {
785
+ type: string;
786
+ properties: {
787
+ removed: {
788
+ format: string;
789
+ };
790
+ logIndex: {
791
+ format: string;
792
+ };
793
+ transactionIndex: {
794
+ format: string;
795
+ };
796
+ transactionHash: {
797
+ format: string;
798
+ };
799
+ blockHash: {
800
+ format: string;
801
+ };
802
+ blockNumber: {
803
+ format: string;
804
+ };
805
+ address: {
806
+ format: string;
807
+ };
808
+ data: {
809
+ format: string;
810
+ };
811
+ topics: {
812
+ type: string;
813
+ items: {
814
+ format: string;
815
+ };
816
+ };
817
+ };
818
+ };
819
+ };
820
+ logsBloom: {
821
+ format: string;
822
+ };
823
+ root: {
824
+ format: string;
825
+ };
826
+ status: {
827
+ format: string;
828
+ };
829
+ type: {
830
+ format: string;
831
+ };
832
+ };
833
+ };
834
+ export declare const SignatureObjectSchema: {
835
+ type: string;
836
+ properties: {
837
+ messageHash: {
838
+ format: string;
839
+ };
840
+ r: {
841
+ format: string;
842
+ };
843
+ s: {
844
+ format: string;
845
+ };
846
+ v: {
847
+ format: string;
848
+ };
849
+ message: {
850
+ format: string;
851
+ };
852
+ signature: {
853
+ format: string;
854
+ };
855
+ };
856
+ };
857
+ export declare const feeHistorySchema: {
858
+ type: string;
859
+ properties: {
860
+ oldestBlock: {
861
+ format: string;
862
+ };
863
+ baseFeePerGas: {
864
+ type: string;
865
+ items: {
866
+ format: string;
867
+ };
868
+ };
869
+ reward: {
870
+ type: string;
871
+ items: {
872
+ type: string;
873
+ items: {
874
+ format: string;
875
+ };
876
+ };
877
+ };
878
+ gasUsedRatio: {
879
+ type: string;
880
+ items: {
881
+ type: string;
882
+ };
883
+ };
884
+ };
885
+ };
886
+ export declare const storageProofSchema: {
887
+ type: string;
888
+ properties: {
889
+ key: {
890
+ format: string;
891
+ };
892
+ value: {
893
+ format: string;
894
+ };
895
+ proof: {
896
+ type: string;
897
+ items: {
898
+ format: string;
899
+ };
900
+ };
901
+ };
902
+ };
903
+ export declare const accountSchema: {
904
+ type: string;
905
+ properties: {
906
+ balance: {
907
+ format: string;
908
+ };
909
+ codeHash: {
910
+ format: string;
911
+ };
912
+ nonce: {
913
+ format: string;
914
+ };
915
+ storageHash: {
916
+ format: string;
917
+ };
918
+ accountProof: {
919
+ type: string;
920
+ items: {
921
+ format: string;
922
+ };
923
+ };
924
+ storageProof: {
925
+ type: string;
926
+ items: {
927
+ type: string;
928
+ properties: {
929
+ key: {
930
+ format: string;
931
+ };
932
+ value: {
933
+ format: string;
934
+ };
935
+ proof: {
936
+ type: string;
937
+ items: {
938
+ format: string;
939
+ };
940
+ };
941
+ };
942
+ };
943
+ };
944
+ };
945
+ };
946
+ //# sourceMappingURL=schemas.d.ts.map