web3-tools-mcp 1.0.1 → 1.2.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.
Files changed (93) hide show
  1. package/README.md +46 -230
  2. package/dist/package.json +63 -0
  3. package/dist/src/client.d.ts +1653 -0
  4. package/dist/src/client.d.ts.map +1 -0
  5. package/dist/src/client.js +142 -0
  6. package/dist/src/client.js.map +1 -0
  7. package/dist/src/index.d.ts +3 -0
  8. package/dist/src/index.d.ts.map +1 -0
  9. package/dist/src/index.js +88 -0
  10. package/dist/src/index.js.map +1 -0
  11. package/dist/src/tools/advanced.d.ts +75 -0
  12. package/dist/src/tools/advanced.d.ts.map +1 -0
  13. package/dist/src/tools/advanced.js +234 -0
  14. package/dist/src/tools/advanced.js.map +1 -0
  15. package/dist/src/tools/balance.d.ts +55 -0
  16. package/dist/src/tools/balance.d.ts.map +1 -0
  17. package/dist/src/tools/balance.js +146 -0
  18. package/dist/src/tools/balance.js.map +1 -0
  19. package/dist/src/tools/contract-info.d.ts +79 -0
  20. package/dist/src/tools/contract-info.d.ts.map +1 -0
  21. package/dist/src/tools/contract-info.js +450 -0
  22. package/dist/src/tools/contract-info.js.map +1 -0
  23. package/dist/src/tools/contract.d.ts +79 -0
  24. package/dist/src/tools/contract.d.ts.map +1 -0
  25. package/dist/src/tools/contract.js +140 -0
  26. package/dist/src/tools/contract.js.map +1 -0
  27. package/dist/src/tools/ens.d.ts +119 -0
  28. package/dist/src/tools/ens.d.ts.map +1 -0
  29. package/dist/src/tools/ens.js +425 -0
  30. package/dist/src/tools/ens.js.map +1 -0
  31. package/dist/src/tools/index.d.ts +3 -0
  32. package/dist/src/tools/index.d.ts.map +1 -0
  33. package/dist/src/tools/index.js +29 -0
  34. package/dist/src/tools/index.js.map +1 -0
  35. package/dist/src/tools/logs.d.ts +39 -0
  36. package/dist/src/tools/logs.d.ts.map +1 -0
  37. package/dist/src/tools/logs.js +231 -0
  38. package/dist/src/tools/logs.js.map +1 -0
  39. package/dist/src/tools/signatures.d.ts +83 -0
  40. package/dist/src/tools/signatures.d.ts.map +1 -0
  41. package/dist/src/tools/signatures.js +93 -0
  42. package/dist/src/tools/signatures.js.map +1 -0
  43. package/dist/src/types.d.ts +22 -0
  44. package/dist/src/types.d.ts.map +1 -0
  45. package/dist/src/types.js +2 -0
  46. package/dist/src/types.js.map +1 -0
  47. package/dist/src/utils.d.ts +22 -0
  48. package/dist/src/utils.d.ts.map +1 -0
  49. package/dist/src/utils.js +183 -0
  50. package/dist/src/utils.js.map +1 -0
  51. package/dist/test/tools/advanced.test.d.ts +2 -0
  52. package/dist/test/tools/advanced.test.d.ts.map +1 -0
  53. package/dist/test/tools/advanced.test.js +235 -0
  54. package/dist/test/tools/advanced.test.js.map +1 -0
  55. package/dist/test/tools/balance.test.d.ts +2 -0
  56. package/dist/test/tools/balance.test.d.ts.map +1 -0
  57. package/dist/test/tools/balance.test.js +167 -0
  58. package/dist/test/tools/balance.test.js.map +1 -0
  59. package/dist/test/tools/contract-info.test.d.ts +2 -0
  60. package/dist/test/tools/contract-info.test.d.ts.map +1 -0
  61. package/dist/test/tools/contract-info.test.js +286 -0
  62. package/dist/test/tools/contract-info.test.js.map +1 -0
  63. package/dist/test/tools/contract.test.d.ts +2 -0
  64. package/dist/test/tools/contract.test.d.ts.map +1 -0
  65. package/dist/test/tools/contract.test.js +234 -0
  66. package/dist/test/tools/contract.test.js.map +1 -0
  67. package/dist/test/tools/ens.test.d.ts +2 -0
  68. package/dist/test/tools/ens.test.d.ts.map +1 -0
  69. package/dist/test/tools/ens.test.js +236 -0
  70. package/dist/test/tools/ens.test.js.map +1 -0
  71. package/dist/test/tools/logs.test.d.ts +2 -0
  72. package/dist/test/tools/logs.test.d.ts.map +1 -0
  73. package/dist/test/tools/logs.test.js +196 -0
  74. package/dist/test/tools/logs.test.js.map +1 -0
  75. package/dist/test/tools/signatures.test.d.ts +2 -0
  76. package/dist/test/tools/signatures.test.d.ts.map +1 -0
  77. package/dist/test/tools/signatures.test.js +112 -0
  78. package/dist/test/tools/signatures.test.js.map +1 -0
  79. package/package.json +37 -22
  80. package/src/client.ts +160 -0
  81. package/src/index.ts +96 -0
  82. package/src/tools/advanced.ts +262 -0
  83. package/src/tools/balance.ts +176 -0
  84. package/src/tools/contract-info.ts +582 -0
  85. package/src/tools/contract.ts +180 -0
  86. package/src/tools/ens.ts +493 -0
  87. package/src/tools/index.ts +37 -0
  88. package/src/tools/logs.ts +291 -0
  89. package/src/tools/signatures.ts +126 -0
  90. package/src/types.ts +29 -0
  91. package/src/utils.ts +222 -0
  92. package/dist/hypersync-client.darwin-arm64-7fegfwn5.node +0 -0
  93. package/dist/index.js +0 -28282
@@ -0,0 +1,1653 @@
1
+ import { createPublicClient } from 'viem';
2
+ import type { ChainName, Config } from './types.js';
3
+ export declare const CHAINS: (config: Config) => {
4
+ mainnet: {
5
+ chain: {
6
+ blockExplorers: {
7
+ readonly default: {
8
+ readonly name: "Etherscan";
9
+ readonly url: "https://etherscan.io";
10
+ readonly apiUrl: "https://api.etherscan.io/api";
11
+ };
12
+ };
13
+ blockTime?: number | undefined | undefined;
14
+ contracts: {
15
+ readonly ensRegistry: {
16
+ readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
17
+ };
18
+ readonly ensUniversalResolver: {
19
+ readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
20
+ readonly blockCreated: 19258213;
21
+ };
22
+ readonly multicall3: {
23
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
24
+ readonly blockCreated: 14353601;
25
+ };
26
+ };
27
+ ensTlds?: readonly string[] | undefined;
28
+ id: 1;
29
+ name: "Ethereum";
30
+ nativeCurrency: {
31
+ readonly name: "Ether";
32
+ readonly symbol: "ETH";
33
+ readonly decimals: 18;
34
+ };
35
+ rpcUrls: {
36
+ readonly default: {
37
+ readonly http: readonly ["https://eth.merkle.io"];
38
+ };
39
+ };
40
+ sourceId?: number | undefined | undefined;
41
+ testnet?: boolean | undefined | undefined;
42
+ custom?: Record<string, unknown> | undefined;
43
+ fees?: import("viem").ChainFees<undefined> | undefined;
44
+ formatters?: undefined;
45
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
46
+ };
47
+ readonly rpc: string;
48
+ };
49
+ base: {
50
+ chain: {
51
+ blockExplorers: {
52
+ readonly default: {
53
+ readonly name: "Basescan";
54
+ readonly url: "https://basescan.org";
55
+ readonly apiUrl: "https://api.basescan.org/api";
56
+ };
57
+ };
58
+ blockTime: 2000;
59
+ contracts: {
60
+ readonly disputeGameFactory: {
61
+ readonly 1: {
62
+ readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
63
+ };
64
+ };
65
+ readonly l2OutputOracle: {
66
+ readonly 1: {
67
+ readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
68
+ };
69
+ };
70
+ readonly multicall3: {
71
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
72
+ readonly blockCreated: 5022;
73
+ };
74
+ readonly portal: {
75
+ readonly 1: {
76
+ readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
77
+ readonly blockCreated: 17482143;
78
+ };
79
+ };
80
+ readonly l1StandardBridge: {
81
+ readonly 1: {
82
+ readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
83
+ readonly blockCreated: 17482143;
84
+ };
85
+ };
86
+ readonly gasPriceOracle: {
87
+ readonly address: "0x420000000000000000000000000000000000000F";
88
+ };
89
+ readonly l1Block: {
90
+ readonly address: "0x4200000000000000000000000000000000000015";
91
+ };
92
+ readonly l2CrossDomainMessenger: {
93
+ readonly address: "0x4200000000000000000000000000000000000007";
94
+ };
95
+ readonly l2Erc721Bridge: {
96
+ readonly address: "0x4200000000000000000000000000000000000014";
97
+ };
98
+ readonly l2StandardBridge: {
99
+ readonly address: "0x4200000000000000000000000000000000000010";
100
+ };
101
+ readonly l2ToL1MessagePasser: {
102
+ readonly address: "0x4200000000000000000000000000000000000016";
103
+ };
104
+ };
105
+ ensTlds?: readonly string[] | undefined;
106
+ id: 8453;
107
+ name: "Base";
108
+ nativeCurrency: {
109
+ readonly name: "Ether";
110
+ readonly symbol: "ETH";
111
+ readonly decimals: 18;
112
+ };
113
+ rpcUrls: {
114
+ readonly default: {
115
+ readonly http: readonly ["https://mainnet.base.org"];
116
+ };
117
+ };
118
+ sourceId: 1;
119
+ testnet?: boolean | undefined | undefined;
120
+ custom?: Record<string, unknown> | undefined;
121
+ fees?: import("viem").ChainFees<undefined> | undefined;
122
+ formatters: {
123
+ readonly block: {
124
+ exclude: [] | undefined;
125
+ format: (args: import("viem/chains").OpStackRpcBlock) => {
126
+ baseFeePerGas: bigint | null;
127
+ blobGasUsed: bigint;
128
+ difficulty: bigint;
129
+ excessBlobGas: bigint;
130
+ extraData: import("viem").Hex;
131
+ gasLimit: bigint;
132
+ gasUsed: bigint;
133
+ hash: `0x${string}` | null;
134
+ logsBloom: `0x${string}` | null;
135
+ miner: import("viem").Address;
136
+ mixHash: import("viem").Hash;
137
+ nonce: `0x${string}` | null;
138
+ number: bigint | null;
139
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
140
+ parentHash: import("viem").Hash;
141
+ receiptsRoot: import("viem").Hex;
142
+ sealFields: import("viem").Hex[];
143
+ sha3Uncles: import("viem").Hash;
144
+ size: bigint;
145
+ stateRoot: import("viem").Hash;
146
+ timestamp: bigint;
147
+ totalDifficulty: bigint | null;
148
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
149
+ transactionsRoot: import("viem").Hash;
150
+ uncles: import("viem").Hash[];
151
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
152
+ withdrawalsRoot?: `0x${string}` | undefined;
153
+ } & {};
154
+ type: "block";
155
+ };
156
+ readonly transaction: {
157
+ exclude: [] | undefined;
158
+ format: (args: import("viem/chains").OpStackRpcTransaction) => ({
159
+ blockHash: `0x${string}` | null;
160
+ blockNumber: bigint | null;
161
+ from: import("viem").Address;
162
+ gas: bigint;
163
+ hash: import("viem").Hash;
164
+ input: import("viem").Hex;
165
+ nonce: number;
166
+ r: import("viem").Hex;
167
+ s: import("viem").Hex;
168
+ to: import("viem").Address | null;
169
+ transactionIndex: number | null;
170
+ typeHex: import("viem").Hex | null;
171
+ v: bigint;
172
+ value: bigint;
173
+ yParity: number;
174
+ gasPrice?: undefined | undefined;
175
+ maxFeePerBlobGas?: undefined | undefined;
176
+ maxFeePerGas: bigint;
177
+ maxPriorityFeePerGas: bigint;
178
+ isSystemTx?: boolean;
179
+ mint?: bigint | undefined | undefined;
180
+ sourceHash: import("viem").Hex;
181
+ type: "deposit";
182
+ } | {
183
+ r: import("viem").Hex;
184
+ s: import("viem").Hex;
185
+ v: bigint;
186
+ to: import("viem").Address | null;
187
+ from: import("viem").Address;
188
+ gas: bigint;
189
+ nonce: number;
190
+ value: bigint;
191
+ blockHash: `0x${string}` | null;
192
+ blockNumber: bigint | null;
193
+ hash: import("viem").Hash;
194
+ input: import("viem").Hex;
195
+ transactionIndex: number | null;
196
+ typeHex: import("viem").Hex | null;
197
+ accessList?: undefined | undefined;
198
+ authorizationList?: undefined | undefined;
199
+ blobVersionedHashes?: undefined | undefined;
200
+ chainId?: number | undefined;
201
+ yParity?: undefined | undefined;
202
+ type: "legacy";
203
+ gasPrice: bigint;
204
+ maxFeePerBlobGas?: undefined | undefined;
205
+ maxFeePerGas?: undefined | undefined;
206
+ maxPriorityFeePerGas?: undefined | undefined;
207
+ isSystemTx?: undefined | undefined;
208
+ mint?: undefined | undefined;
209
+ sourceHash?: undefined | undefined;
210
+ } | {
211
+ blockHash: `0x${string}` | null;
212
+ blockNumber: bigint | null;
213
+ from: import("viem").Address;
214
+ gas: bigint;
215
+ hash: import("viem").Hash;
216
+ input: import("viem").Hex;
217
+ nonce: number;
218
+ r: import("viem").Hex;
219
+ s: import("viem").Hex;
220
+ to: import("viem").Address | null;
221
+ transactionIndex: number | null;
222
+ typeHex: import("viem").Hex | null;
223
+ v: bigint;
224
+ value: bigint;
225
+ yParity: number;
226
+ accessList: import("viem").AccessList;
227
+ authorizationList?: undefined | undefined;
228
+ blobVersionedHashes?: undefined | undefined;
229
+ chainId: number;
230
+ type: "eip2930";
231
+ gasPrice: bigint;
232
+ maxFeePerBlobGas?: undefined | undefined;
233
+ maxFeePerGas?: undefined | undefined;
234
+ maxPriorityFeePerGas?: undefined | undefined;
235
+ isSystemTx?: undefined | undefined;
236
+ mint?: undefined | undefined;
237
+ sourceHash?: undefined | undefined;
238
+ } | {
239
+ blockHash: `0x${string}` | null;
240
+ blockNumber: bigint | null;
241
+ from: import("viem").Address;
242
+ gas: bigint;
243
+ hash: import("viem").Hash;
244
+ input: import("viem").Hex;
245
+ nonce: number;
246
+ r: import("viem").Hex;
247
+ s: import("viem").Hex;
248
+ to: import("viem").Address | null;
249
+ transactionIndex: number | null;
250
+ typeHex: import("viem").Hex | null;
251
+ v: bigint;
252
+ value: bigint;
253
+ yParity: number;
254
+ accessList: import("viem").AccessList;
255
+ authorizationList?: undefined | undefined;
256
+ blobVersionedHashes?: undefined | undefined;
257
+ chainId: number;
258
+ type: "eip1559";
259
+ gasPrice?: undefined | undefined;
260
+ maxFeePerBlobGas?: undefined | undefined;
261
+ maxFeePerGas: bigint;
262
+ maxPriorityFeePerGas: bigint;
263
+ isSystemTx?: undefined | undefined;
264
+ mint?: undefined | undefined;
265
+ sourceHash?: undefined | undefined;
266
+ } | {
267
+ blockHash: `0x${string}` | null;
268
+ blockNumber: bigint | null;
269
+ from: import("viem").Address;
270
+ gas: bigint;
271
+ hash: import("viem").Hash;
272
+ input: import("viem").Hex;
273
+ nonce: number;
274
+ r: import("viem").Hex;
275
+ s: import("viem").Hex;
276
+ to: import("viem").Address | null;
277
+ transactionIndex: number | null;
278
+ typeHex: import("viem").Hex | null;
279
+ v: bigint;
280
+ value: bigint;
281
+ yParity: number;
282
+ accessList: import("viem").AccessList;
283
+ authorizationList?: undefined | undefined;
284
+ blobVersionedHashes: readonly import("viem").Hex[];
285
+ chainId: number;
286
+ type: "eip4844";
287
+ gasPrice?: undefined | undefined;
288
+ maxFeePerBlobGas: bigint;
289
+ maxFeePerGas: bigint;
290
+ maxPriorityFeePerGas: bigint;
291
+ isSystemTx?: undefined | undefined;
292
+ mint?: undefined | undefined;
293
+ sourceHash?: undefined | undefined;
294
+ } | {
295
+ blockHash: `0x${string}` | null;
296
+ blockNumber: bigint | null;
297
+ from: import("viem").Address;
298
+ gas: bigint;
299
+ hash: import("viem").Hash;
300
+ input: import("viem").Hex;
301
+ nonce: number;
302
+ r: import("viem").Hex;
303
+ s: import("viem").Hex;
304
+ to: import("viem").Address | null;
305
+ transactionIndex: number | null;
306
+ typeHex: import("viem").Hex | null;
307
+ v: bigint;
308
+ value: bigint;
309
+ yParity: number;
310
+ accessList: import("viem").AccessList;
311
+ authorizationList: import("viem").SignedAuthorizationList;
312
+ blobVersionedHashes?: undefined | undefined;
313
+ chainId: number;
314
+ type: "eip7702";
315
+ gasPrice?: undefined | undefined;
316
+ maxFeePerBlobGas?: undefined | undefined;
317
+ maxFeePerGas: bigint;
318
+ maxPriorityFeePerGas: bigint;
319
+ isSystemTx?: undefined | undefined;
320
+ mint?: undefined | undefined;
321
+ sourceHash?: undefined | undefined;
322
+ }) & {};
323
+ type: "transaction";
324
+ };
325
+ readonly transactionReceipt: {
326
+ exclude: [] | undefined;
327
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
328
+ blobGasPrice?: bigint | undefined;
329
+ blobGasUsed?: bigint | undefined;
330
+ blockHash: import("viem").Hash;
331
+ blockNumber: bigint;
332
+ contractAddress: import("viem").Address | null | undefined;
333
+ cumulativeGasUsed: bigint;
334
+ effectiveGasPrice: bigint;
335
+ from: import("viem").Address;
336
+ gasUsed: bigint;
337
+ logs: import("viem").Log<bigint, number, false>[];
338
+ logsBloom: import("viem").Hex;
339
+ root?: `0x${string}` | undefined;
340
+ status: "success" | "reverted";
341
+ to: import("viem").Address | null;
342
+ transactionHash: import("viem").Hash;
343
+ transactionIndex: number;
344
+ type: import("viem").TransactionType;
345
+ l1GasPrice: bigint | null;
346
+ l1GasUsed: bigint | null;
347
+ l1Fee: bigint | null;
348
+ l1FeeScalar: number | null;
349
+ } & {};
350
+ type: "transactionReceipt";
351
+ };
352
+ };
353
+ serializers: {
354
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
355
+ };
356
+ };
357
+ readonly rpc: string;
358
+ };
359
+ arbitrum: {
360
+ chain: {
361
+ blockExplorers: {
362
+ readonly default: {
363
+ readonly name: "Arbiscan";
364
+ readonly url: "https://arbiscan.io";
365
+ readonly apiUrl: "https://api.arbiscan.io/api";
366
+ };
367
+ };
368
+ blockTime?: number | undefined | undefined;
369
+ contracts: {
370
+ readonly multicall3: {
371
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
372
+ readonly blockCreated: 7654707;
373
+ };
374
+ };
375
+ ensTlds?: readonly string[] | undefined;
376
+ id: 42161;
377
+ name: "Arbitrum One";
378
+ nativeCurrency: {
379
+ readonly name: "Ether";
380
+ readonly symbol: "ETH";
381
+ readonly decimals: 18;
382
+ };
383
+ rpcUrls: {
384
+ readonly default: {
385
+ readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
386
+ };
387
+ };
388
+ sourceId?: number | undefined | undefined;
389
+ testnet?: boolean | undefined | undefined;
390
+ custom?: Record<string, unknown> | undefined;
391
+ fees?: import("viem").ChainFees<undefined> | undefined;
392
+ formatters?: undefined;
393
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
394
+ };
395
+ readonly rpc: string;
396
+ };
397
+ polygon: {
398
+ chain: {
399
+ blockExplorers: {
400
+ readonly default: {
401
+ readonly name: "PolygonScan";
402
+ readonly url: "https://polygonscan.com";
403
+ readonly apiUrl: "https://api.polygonscan.com/api";
404
+ };
405
+ };
406
+ blockTime?: number | undefined | undefined;
407
+ contracts: {
408
+ readonly multicall3: {
409
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
410
+ readonly blockCreated: 25770160;
411
+ };
412
+ };
413
+ ensTlds?: readonly string[] | undefined;
414
+ id: 137;
415
+ name: "Polygon";
416
+ nativeCurrency: {
417
+ readonly name: "POL";
418
+ readonly symbol: "POL";
419
+ readonly decimals: 18;
420
+ };
421
+ rpcUrls: {
422
+ readonly default: {
423
+ readonly http: readonly ["https://polygon-rpc.com"];
424
+ };
425
+ };
426
+ sourceId?: number | undefined | undefined;
427
+ testnet?: boolean | undefined | undefined;
428
+ custom?: Record<string, unknown> | undefined;
429
+ fees?: import("viem").ChainFees<undefined> | undefined;
430
+ formatters?: undefined;
431
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
432
+ };
433
+ readonly rpc: string;
434
+ };
435
+ optimism: {
436
+ chain: {
437
+ blockExplorers: {
438
+ readonly default: {
439
+ readonly name: "Optimism Explorer";
440
+ readonly url: "https://optimistic.etherscan.io";
441
+ readonly apiUrl: "https://api-optimistic.etherscan.io/api";
442
+ };
443
+ };
444
+ blockTime: 2000;
445
+ contracts: {
446
+ readonly disputeGameFactory: {
447
+ readonly 1: {
448
+ readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
449
+ };
450
+ };
451
+ readonly l2OutputOracle: {
452
+ readonly 1: {
453
+ readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
454
+ };
455
+ };
456
+ readonly multicall3: {
457
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
458
+ readonly blockCreated: 4286263;
459
+ };
460
+ readonly portal: {
461
+ readonly 1: {
462
+ readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
463
+ };
464
+ };
465
+ readonly l1StandardBridge: {
466
+ readonly 1: {
467
+ readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
468
+ };
469
+ };
470
+ readonly gasPriceOracle: {
471
+ readonly address: "0x420000000000000000000000000000000000000F";
472
+ };
473
+ readonly l1Block: {
474
+ readonly address: "0x4200000000000000000000000000000000000015";
475
+ };
476
+ readonly l2CrossDomainMessenger: {
477
+ readonly address: "0x4200000000000000000000000000000000000007";
478
+ };
479
+ readonly l2Erc721Bridge: {
480
+ readonly address: "0x4200000000000000000000000000000000000014";
481
+ };
482
+ readonly l2StandardBridge: {
483
+ readonly address: "0x4200000000000000000000000000000000000010";
484
+ };
485
+ readonly l2ToL1MessagePasser: {
486
+ readonly address: "0x4200000000000000000000000000000000000016";
487
+ };
488
+ };
489
+ ensTlds?: readonly string[] | undefined;
490
+ id: 10;
491
+ name: "OP Mainnet";
492
+ nativeCurrency: {
493
+ readonly name: "Ether";
494
+ readonly symbol: "ETH";
495
+ readonly decimals: 18;
496
+ };
497
+ rpcUrls: {
498
+ readonly default: {
499
+ readonly http: readonly ["https://mainnet.optimism.io"];
500
+ };
501
+ };
502
+ sourceId: 1;
503
+ testnet?: boolean | undefined | undefined;
504
+ custom?: Record<string, unknown> | undefined;
505
+ fees?: import("viem").ChainFees<undefined> | undefined;
506
+ formatters: {
507
+ readonly block: {
508
+ exclude: [] | undefined;
509
+ format: (args: import("viem/chains").OpStackRpcBlock) => {
510
+ baseFeePerGas: bigint | null;
511
+ blobGasUsed: bigint;
512
+ difficulty: bigint;
513
+ excessBlobGas: bigint;
514
+ extraData: import("viem").Hex;
515
+ gasLimit: bigint;
516
+ gasUsed: bigint;
517
+ hash: `0x${string}` | null;
518
+ logsBloom: `0x${string}` | null;
519
+ miner: import("viem").Address;
520
+ mixHash: import("viem").Hash;
521
+ nonce: `0x${string}` | null;
522
+ number: bigint | null;
523
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
524
+ parentHash: import("viem").Hash;
525
+ receiptsRoot: import("viem").Hex;
526
+ sealFields: import("viem").Hex[];
527
+ sha3Uncles: import("viem").Hash;
528
+ size: bigint;
529
+ stateRoot: import("viem").Hash;
530
+ timestamp: bigint;
531
+ totalDifficulty: bigint | null;
532
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
533
+ transactionsRoot: import("viem").Hash;
534
+ uncles: import("viem").Hash[];
535
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
536
+ withdrawalsRoot?: `0x${string}` | undefined;
537
+ } & {};
538
+ type: "block";
539
+ };
540
+ readonly transaction: {
541
+ exclude: [] | undefined;
542
+ format: (args: import("viem/chains").OpStackRpcTransaction) => ({
543
+ blockHash: `0x${string}` | null;
544
+ blockNumber: bigint | null;
545
+ from: import("viem").Address;
546
+ gas: bigint;
547
+ hash: import("viem").Hash;
548
+ input: import("viem").Hex;
549
+ nonce: number;
550
+ r: import("viem").Hex;
551
+ s: import("viem").Hex;
552
+ to: import("viem").Address | null;
553
+ transactionIndex: number | null;
554
+ typeHex: import("viem").Hex | null;
555
+ v: bigint;
556
+ value: bigint;
557
+ yParity: number;
558
+ gasPrice?: undefined | undefined;
559
+ maxFeePerBlobGas?: undefined | undefined;
560
+ maxFeePerGas: bigint;
561
+ maxPriorityFeePerGas: bigint;
562
+ isSystemTx?: boolean;
563
+ mint?: bigint | undefined | undefined;
564
+ sourceHash: import("viem").Hex;
565
+ type: "deposit";
566
+ } | {
567
+ r: import("viem").Hex;
568
+ s: import("viem").Hex;
569
+ v: bigint;
570
+ to: import("viem").Address | null;
571
+ from: import("viem").Address;
572
+ gas: bigint;
573
+ nonce: number;
574
+ value: bigint;
575
+ blockHash: `0x${string}` | null;
576
+ blockNumber: bigint | null;
577
+ hash: import("viem").Hash;
578
+ input: import("viem").Hex;
579
+ transactionIndex: number | null;
580
+ typeHex: import("viem").Hex | null;
581
+ accessList?: undefined | undefined;
582
+ authorizationList?: undefined | undefined;
583
+ blobVersionedHashes?: undefined | undefined;
584
+ chainId?: number | undefined;
585
+ yParity?: undefined | undefined;
586
+ type: "legacy";
587
+ gasPrice: bigint;
588
+ maxFeePerBlobGas?: undefined | undefined;
589
+ maxFeePerGas?: undefined | undefined;
590
+ maxPriorityFeePerGas?: undefined | undefined;
591
+ isSystemTx?: undefined | undefined;
592
+ mint?: undefined | undefined;
593
+ sourceHash?: undefined | undefined;
594
+ } | {
595
+ blockHash: `0x${string}` | null;
596
+ blockNumber: bigint | null;
597
+ from: import("viem").Address;
598
+ gas: bigint;
599
+ hash: import("viem").Hash;
600
+ input: import("viem").Hex;
601
+ nonce: number;
602
+ r: import("viem").Hex;
603
+ s: import("viem").Hex;
604
+ to: import("viem").Address | null;
605
+ transactionIndex: number | null;
606
+ typeHex: import("viem").Hex | null;
607
+ v: bigint;
608
+ value: bigint;
609
+ yParity: number;
610
+ accessList: import("viem").AccessList;
611
+ authorizationList?: undefined | undefined;
612
+ blobVersionedHashes?: undefined | undefined;
613
+ chainId: number;
614
+ type: "eip2930";
615
+ gasPrice: bigint;
616
+ maxFeePerBlobGas?: undefined | undefined;
617
+ maxFeePerGas?: undefined | undefined;
618
+ maxPriorityFeePerGas?: undefined | undefined;
619
+ isSystemTx?: undefined | undefined;
620
+ mint?: undefined | undefined;
621
+ sourceHash?: undefined | undefined;
622
+ } | {
623
+ blockHash: `0x${string}` | null;
624
+ blockNumber: bigint | null;
625
+ from: import("viem").Address;
626
+ gas: bigint;
627
+ hash: import("viem").Hash;
628
+ input: import("viem").Hex;
629
+ nonce: number;
630
+ r: import("viem").Hex;
631
+ s: import("viem").Hex;
632
+ to: import("viem").Address | null;
633
+ transactionIndex: number | null;
634
+ typeHex: import("viem").Hex | null;
635
+ v: bigint;
636
+ value: bigint;
637
+ yParity: number;
638
+ accessList: import("viem").AccessList;
639
+ authorizationList?: undefined | undefined;
640
+ blobVersionedHashes?: undefined | undefined;
641
+ chainId: number;
642
+ type: "eip1559";
643
+ gasPrice?: undefined | undefined;
644
+ maxFeePerBlobGas?: undefined | undefined;
645
+ maxFeePerGas: bigint;
646
+ maxPriorityFeePerGas: bigint;
647
+ isSystemTx?: undefined | undefined;
648
+ mint?: undefined | undefined;
649
+ sourceHash?: undefined | undefined;
650
+ } | {
651
+ blockHash: `0x${string}` | null;
652
+ blockNumber: bigint | null;
653
+ from: import("viem").Address;
654
+ gas: bigint;
655
+ hash: import("viem").Hash;
656
+ input: import("viem").Hex;
657
+ nonce: number;
658
+ r: import("viem").Hex;
659
+ s: import("viem").Hex;
660
+ to: import("viem").Address | null;
661
+ transactionIndex: number | null;
662
+ typeHex: import("viem").Hex | null;
663
+ v: bigint;
664
+ value: bigint;
665
+ yParity: number;
666
+ accessList: import("viem").AccessList;
667
+ authorizationList?: undefined | undefined;
668
+ blobVersionedHashes: readonly import("viem").Hex[];
669
+ chainId: number;
670
+ type: "eip4844";
671
+ gasPrice?: undefined | undefined;
672
+ maxFeePerBlobGas: bigint;
673
+ maxFeePerGas: bigint;
674
+ maxPriorityFeePerGas: bigint;
675
+ isSystemTx?: undefined | undefined;
676
+ mint?: undefined | undefined;
677
+ sourceHash?: undefined | undefined;
678
+ } | {
679
+ blockHash: `0x${string}` | null;
680
+ blockNumber: bigint | null;
681
+ from: import("viem").Address;
682
+ gas: bigint;
683
+ hash: import("viem").Hash;
684
+ input: import("viem").Hex;
685
+ nonce: number;
686
+ r: import("viem").Hex;
687
+ s: import("viem").Hex;
688
+ to: import("viem").Address | null;
689
+ transactionIndex: number | null;
690
+ typeHex: import("viem").Hex | null;
691
+ v: bigint;
692
+ value: bigint;
693
+ yParity: number;
694
+ accessList: import("viem").AccessList;
695
+ authorizationList: import("viem").SignedAuthorizationList;
696
+ blobVersionedHashes?: undefined | undefined;
697
+ chainId: number;
698
+ type: "eip7702";
699
+ gasPrice?: undefined | undefined;
700
+ maxFeePerBlobGas?: undefined | undefined;
701
+ maxFeePerGas: bigint;
702
+ maxPriorityFeePerGas: bigint;
703
+ isSystemTx?: undefined | undefined;
704
+ mint?: undefined | undefined;
705
+ sourceHash?: undefined | undefined;
706
+ }) & {};
707
+ type: "transaction";
708
+ };
709
+ readonly transactionReceipt: {
710
+ exclude: [] | undefined;
711
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
712
+ blobGasPrice?: bigint | undefined;
713
+ blobGasUsed?: bigint | undefined;
714
+ blockHash: import("viem").Hash;
715
+ blockNumber: bigint;
716
+ contractAddress: import("viem").Address | null | undefined;
717
+ cumulativeGasUsed: bigint;
718
+ effectiveGasPrice: bigint;
719
+ from: import("viem").Address;
720
+ gasUsed: bigint;
721
+ logs: import("viem").Log<bigint, number, false>[];
722
+ logsBloom: import("viem").Hex;
723
+ root?: `0x${string}` | undefined;
724
+ status: "success" | "reverted";
725
+ to: import("viem").Address | null;
726
+ transactionHash: import("viem").Hash;
727
+ transactionIndex: number;
728
+ type: import("viem").TransactionType;
729
+ l1GasPrice: bigint | null;
730
+ l1GasUsed: bigint | null;
731
+ l1Fee: bigint | null;
732
+ l1FeeScalar: number | null;
733
+ } & {};
734
+ type: "transactionReceipt";
735
+ };
736
+ };
737
+ serializers: {
738
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
739
+ };
740
+ };
741
+ readonly rpc: string;
742
+ };
743
+ celo: {
744
+ chain: {
745
+ blockExplorers: {
746
+ readonly default: {
747
+ readonly name: "Celo Explorer";
748
+ readonly url: "https://celoscan.io";
749
+ readonly apiUrl: "https://api.celoscan.io/api";
750
+ };
751
+ };
752
+ blockTime: 1000;
753
+ contracts: {
754
+ readonly multicall3: {
755
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
756
+ readonly blockCreated: 13112599;
757
+ };
758
+ };
759
+ ensTlds?: readonly string[] | undefined;
760
+ id: 42220;
761
+ name: "Celo";
762
+ nativeCurrency: {
763
+ readonly decimals: 18;
764
+ readonly name: "CELO";
765
+ readonly symbol: "CELO";
766
+ };
767
+ rpcUrls: {
768
+ readonly default: {
769
+ readonly http: readonly ["https://forno.celo.org"];
770
+ };
771
+ };
772
+ sourceId?: number | undefined | undefined;
773
+ testnet: false;
774
+ custom?: Record<string, unknown> | undefined;
775
+ fees: import("viem").ChainFees<{
776
+ readonly block: {
777
+ exclude: [] | undefined;
778
+ format: (args: import("viem/chains").CeloRpcBlock) => {
779
+ baseFeePerGas: bigint | null;
780
+ blobGasUsed: bigint;
781
+ difficulty: bigint;
782
+ excessBlobGas: bigint;
783
+ extraData: import("viem").Hex;
784
+ gasLimit: bigint;
785
+ gasUsed: bigint;
786
+ hash: `0x${string}` | null;
787
+ logsBloom: `0x${string}` | null;
788
+ miner: import("viem").Address;
789
+ mixHash: import("viem").Hash;
790
+ nonce: `0x${string}` | null;
791
+ number: bigint | null;
792
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
793
+ parentHash: import("viem").Hash;
794
+ receiptsRoot: import("viem").Hex;
795
+ sealFields: import("viem").Hex[];
796
+ sha3Uncles: import("viem").Hash;
797
+ size: bigint;
798
+ stateRoot: import("viem").Hash;
799
+ timestamp: bigint;
800
+ totalDifficulty: bigint | null;
801
+ transactions: `0x${string}`[] | import("viem/chains").CeloTransaction<boolean>[];
802
+ transactionsRoot: import("viem").Hash;
803
+ uncles: import("viem").Hash[];
804
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
805
+ withdrawalsRoot?: `0x${string}` | undefined;
806
+ } & {};
807
+ type: "block";
808
+ };
809
+ readonly transaction: {
810
+ exclude: [] | undefined;
811
+ format: (args: import("viem/chains").CeloRpcTransaction) => ({
812
+ r: import("viem").Hex;
813
+ s: import("viem").Hex;
814
+ v: bigint;
815
+ to: import("viem").Address | null;
816
+ from: import("viem").Address;
817
+ gas: bigint;
818
+ nonce: number;
819
+ value: bigint;
820
+ blockHash: `0x${string}` | null;
821
+ blockNumber: bigint | null;
822
+ hash: import("viem").Hash;
823
+ input: import("viem").Hex;
824
+ transactionIndex: number | null;
825
+ typeHex: import("viem").Hex | null;
826
+ accessList?: undefined | undefined;
827
+ authorizationList?: undefined | undefined;
828
+ blobVersionedHashes?: undefined | undefined;
829
+ chainId?: number | undefined;
830
+ yParity?: undefined | undefined;
831
+ type: "legacy";
832
+ gasPrice: bigint;
833
+ maxFeePerBlobGas?: undefined | undefined;
834
+ maxFeePerGas?: undefined | undefined;
835
+ maxPriorityFeePerGas?: undefined | undefined;
836
+ feeCurrency: import("viem").Address | null;
837
+ mint?: undefined;
838
+ isSystemTx?: undefined;
839
+ sourceHash?: undefined;
840
+ gatewayFee?: undefined;
841
+ gatewayFeeRecipient?: undefined;
842
+ } | {
843
+ blockHash: `0x${string}` | null;
844
+ blockNumber: bigint | null;
845
+ from: import("viem").Address;
846
+ gas: bigint;
847
+ hash: import("viem").Hash;
848
+ input: import("viem").Hex;
849
+ nonce: number;
850
+ r: import("viem").Hex;
851
+ s: import("viem").Hex;
852
+ to: import("viem").Address | null;
853
+ transactionIndex: number | null;
854
+ typeHex: import("viem").Hex | null;
855
+ v: bigint;
856
+ value: bigint;
857
+ yParity: number;
858
+ accessList: import("viem").AccessList;
859
+ authorizationList?: undefined | undefined;
860
+ blobVersionedHashes?: undefined | undefined;
861
+ chainId: number;
862
+ type: "eip2930";
863
+ gasPrice: bigint;
864
+ maxFeePerBlobGas?: undefined | undefined;
865
+ maxFeePerGas?: undefined | undefined;
866
+ maxPriorityFeePerGas?: undefined | undefined;
867
+ feeCurrency: import("viem").Address | null;
868
+ mint?: undefined;
869
+ isSystemTx?: undefined;
870
+ sourceHash?: undefined;
871
+ gatewayFee?: undefined;
872
+ gatewayFeeRecipient?: undefined;
873
+ } | {
874
+ blockHash: `0x${string}` | null;
875
+ blockNumber: bigint | null;
876
+ from: import("viem").Address;
877
+ gas: bigint;
878
+ hash: import("viem").Hash;
879
+ input: import("viem").Hex;
880
+ nonce: number;
881
+ r: import("viem").Hex;
882
+ s: import("viem").Hex;
883
+ to: import("viem").Address | null;
884
+ transactionIndex: number | null;
885
+ typeHex: import("viem").Hex | null;
886
+ v: bigint;
887
+ value: bigint;
888
+ yParity: number;
889
+ accessList: import("viem").AccessList;
890
+ authorizationList?: undefined | undefined;
891
+ blobVersionedHashes?: undefined | undefined;
892
+ chainId: number;
893
+ type: "eip1559";
894
+ gasPrice?: undefined | undefined;
895
+ maxFeePerBlobGas?: undefined | undefined;
896
+ maxFeePerGas: bigint;
897
+ maxPriorityFeePerGas: bigint;
898
+ feeCurrency: import("viem").Address | null;
899
+ mint?: undefined;
900
+ isSystemTx?: undefined;
901
+ sourceHash?: undefined;
902
+ gatewayFee?: undefined;
903
+ gatewayFeeRecipient?: undefined;
904
+ } | {
905
+ blockHash: `0x${string}` | null;
906
+ blockNumber: bigint | null;
907
+ from: import("viem").Address;
908
+ gas: bigint;
909
+ hash: import("viem").Hash;
910
+ input: import("viem").Hex;
911
+ nonce: number;
912
+ r: import("viem").Hex;
913
+ s: import("viem").Hex;
914
+ to: import("viem").Address | null;
915
+ transactionIndex: number | null;
916
+ typeHex: import("viem").Hex | null;
917
+ v: bigint;
918
+ value: bigint;
919
+ yParity: number;
920
+ accessList: import("viem").AccessList;
921
+ authorizationList?: undefined | undefined;
922
+ blobVersionedHashes: readonly import("viem").Hex[];
923
+ chainId: number;
924
+ type: "eip4844";
925
+ gasPrice?: undefined | undefined;
926
+ maxFeePerBlobGas: bigint;
927
+ maxFeePerGas: bigint;
928
+ maxPriorityFeePerGas: bigint;
929
+ feeCurrency: import("viem").Address | null;
930
+ mint?: undefined;
931
+ isSystemTx?: undefined;
932
+ sourceHash?: undefined;
933
+ gatewayFee?: undefined;
934
+ gatewayFeeRecipient?: undefined;
935
+ } | {
936
+ blockHash: `0x${string}` | null;
937
+ blockNumber: bigint | null;
938
+ from: import("viem").Address;
939
+ gas: bigint;
940
+ hash: import("viem").Hash;
941
+ input: import("viem").Hex;
942
+ nonce: number;
943
+ r: import("viem").Hex;
944
+ s: import("viem").Hex;
945
+ to: import("viem").Address | null;
946
+ transactionIndex: number | null;
947
+ typeHex: import("viem").Hex | null;
948
+ v: bigint;
949
+ value: bigint;
950
+ yParity: number;
951
+ accessList: import("viem").AccessList;
952
+ authorizationList: import("viem").SignedAuthorizationList;
953
+ blobVersionedHashes?: undefined | undefined;
954
+ chainId: number;
955
+ type: "eip7702";
956
+ gasPrice?: undefined | undefined;
957
+ maxFeePerBlobGas?: undefined | undefined;
958
+ maxFeePerGas: bigint;
959
+ maxPriorityFeePerGas: bigint;
960
+ feeCurrency: import("viem").Address | null;
961
+ mint?: undefined;
962
+ isSystemTx?: undefined;
963
+ sourceHash?: undefined;
964
+ gatewayFee?: undefined;
965
+ gatewayFeeRecipient?: undefined;
966
+ } | {
967
+ blockHash: `0x${string}` | null;
968
+ blockNumber: bigint | null;
969
+ from: import("viem").Address;
970
+ gas: bigint;
971
+ hash: import("viem").Hash;
972
+ input: import("viem").Hex;
973
+ nonce: number;
974
+ r: import("viem").Hex;
975
+ s: import("viem").Hex;
976
+ to: import("viem").Address | null;
977
+ transactionIndex: number | null;
978
+ typeHex: import("viem").Hex | null;
979
+ v: bigint;
980
+ value: bigint;
981
+ yParity: number;
982
+ gasPrice?: undefined | undefined;
983
+ maxFeePerBlobGas?: undefined | undefined;
984
+ maxFeePerGas: bigint;
985
+ maxPriorityFeePerGas: bigint;
986
+ accessList: import("viem").AccessList;
987
+ chainId: number;
988
+ feeCurrency: import("viem").Address | null;
989
+ gatewayFee: bigint | null;
990
+ gatewayFeeRecipient: import("viem").Address | null;
991
+ type: "cip42";
992
+ blobVersionedHashes?: undefined;
993
+ authorizationList?: undefined;
994
+ mint?: undefined;
995
+ isSystemTx?: undefined;
996
+ sourceHash?: undefined;
997
+ } | {
998
+ blockHash: `0x${string}` | null;
999
+ blockNumber: bigint | null;
1000
+ from: import("viem").Address;
1001
+ gas: bigint;
1002
+ hash: import("viem").Hash;
1003
+ input: import("viem").Hex;
1004
+ nonce: number;
1005
+ r: import("viem").Hex;
1006
+ s: import("viem").Hex;
1007
+ to: import("viem").Address | null;
1008
+ transactionIndex: number | null;
1009
+ typeHex: import("viem").Hex | null;
1010
+ v: bigint;
1011
+ value: bigint;
1012
+ yParity: number;
1013
+ gasPrice?: undefined | undefined;
1014
+ maxFeePerBlobGas?: undefined | undefined;
1015
+ maxFeePerGas: bigint;
1016
+ maxPriorityFeePerGas: bigint;
1017
+ accessList: import("viem").AccessList;
1018
+ chainId: number;
1019
+ feeCurrency: import("viem").Address | null;
1020
+ type: "cip64";
1021
+ blobVersionedHashes?: undefined;
1022
+ authorizationList?: undefined;
1023
+ mint?: undefined;
1024
+ isSystemTx?: undefined;
1025
+ sourceHash?: undefined;
1026
+ gatewayFee?: undefined;
1027
+ gatewayFeeRecipient?: undefined;
1028
+ } | {
1029
+ blockHash: `0x${string}` | null;
1030
+ blockNumber: bigint | null;
1031
+ from: import("viem").Address;
1032
+ gas: bigint;
1033
+ hash: import("viem").Hash;
1034
+ input: import("viem").Hex;
1035
+ nonce: number;
1036
+ r: import("viem").Hex;
1037
+ s: import("viem").Hex;
1038
+ to: import("viem").Address | null;
1039
+ transactionIndex: number | null;
1040
+ typeHex: import("viem").Hex | null;
1041
+ v: bigint;
1042
+ value: bigint;
1043
+ yParity: number;
1044
+ gasPrice?: undefined | undefined;
1045
+ maxFeePerBlobGas?: undefined | undefined;
1046
+ maxFeePerGas: bigint;
1047
+ maxPriorityFeePerGas: bigint;
1048
+ isSystemTx?: boolean;
1049
+ mint?: bigint | undefined | undefined;
1050
+ sourceHash: import("viem").Hex;
1051
+ type: "deposit";
1052
+ accessList?: undefined;
1053
+ blobVersionedHashes?: undefined;
1054
+ authorizationList?: undefined;
1055
+ chainId?: undefined;
1056
+ feeCurrency?: undefined;
1057
+ gatewayFee?: undefined;
1058
+ gatewayFeeRecipient?: undefined;
1059
+ }) & {};
1060
+ type: "transaction";
1061
+ };
1062
+ readonly transactionRequest: {
1063
+ exclude: [] | undefined;
1064
+ format: (args: import("viem/chains").CeloTransactionRequest) => ({
1065
+ data?: `0x${string}` | undefined;
1066
+ from?: `0x${string}` | undefined;
1067
+ gas?: `0x${string}` | undefined;
1068
+ nonce?: `0x${string}` | undefined;
1069
+ to?: `0x${string}` | null | undefined;
1070
+ type?: "0x0" | undefined;
1071
+ value?: `0x${string}` | undefined;
1072
+ gasPrice?: `0x${string}` | undefined;
1073
+ maxFeePerBlobGas?: undefined | undefined;
1074
+ maxFeePerGas?: undefined | undefined;
1075
+ maxPriorityFeePerGas?: undefined | undefined;
1076
+ blobs?: undefined;
1077
+ accessList?: undefined;
1078
+ blobVersionedHashes?: undefined;
1079
+ kzg?: undefined;
1080
+ sidecars?: undefined;
1081
+ authorizationList?: undefined;
1082
+ feeCurrency?: `0x${string}` | undefined;
1083
+ } | {
1084
+ data?: `0x${string}` | undefined;
1085
+ from?: `0x${string}` | undefined;
1086
+ gas?: `0x${string}` | undefined;
1087
+ nonce?: `0x${string}` | undefined;
1088
+ to?: `0x${string}` | null | undefined;
1089
+ type?: "0x1" | undefined;
1090
+ value?: `0x${string}` | undefined;
1091
+ gasPrice?: `0x${string}` | undefined;
1092
+ maxFeePerBlobGas?: undefined | undefined;
1093
+ maxFeePerGas?: undefined | undefined;
1094
+ maxPriorityFeePerGas?: undefined | undefined;
1095
+ accessList?: import("viem").AccessList | undefined;
1096
+ blobs?: undefined;
1097
+ blobVersionedHashes?: undefined;
1098
+ kzg?: undefined;
1099
+ sidecars?: undefined;
1100
+ authorizationList?: undefined;
1101
+ feeCurrency?: `0x${string}` | undefined;
1102
+ } | {
1103
+ data?: `0x${string}` | undefined;
1104
+ from?: `0x${string}` | undefined;
1105
+ gas?: `0x${string}` | undefined;
1106
+ nonce?: `0x${string}` | undefined;
1107
+ to?: `0x${string}` | null | undefined;
1108
+ type?: "0x2" | undefined;
1109
+ value?: `0x${string}` | undefined;
1110
+ gasPrice?: undefined | undefined;
1111
+ maxFeePerBlobGas?: undefined | undefined;
1112
+ maxFeePerGas?: `0x${string}` | undefined;
1113
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1114
+ accessList?: import("viem").AccessList | undefined;
1115
+ blobs?: undefined;
1116
+ blobVersionedHashes?: undefined;
1117
+ kzg?: undefined;
1118
+ sidecars?: undefined;
1119
+ authorizationList?: undefined;
1120
+ feeCurrency?: `0x${string}` | undefined;
1121
+ } | {
1122
+ type?: "0x3" | undefined;
1123
+ data?: `0x${string}` | undefined;
1124
+ from?: `0x${string}` | undefined;
1125
+ gas?: `0x${string}` | undefined;
1126
+ nonce?: `0x${string}` | undefined;
1127
+ value?: `0x${string}` | undefined;
1128
+ to: `0x${string}` | null;
1129
+ gasPrice?: undefined | undefined;
1130
+ maxFeePerGas?: `0x${string}` | undefined;
1131
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1132
+ maxFeePerBlobGas: `0x${string}`;
1133
+ accessList?: import("viem").AccessList | undefined;
1134
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
1135
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1136
+ kzg?: import("viem").Kzg | undefined;
1137
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1138
+ authorizationList?: undefined;
1139
+ feeCurrency?: `0x${string}` | undefined;
1140
+ } | {
1141
+ type?: "0x4" | undefined;
1142
+ gasPrice?: undefined | undefined;
1143
+ maxFeePerBlobGas?: undefined | undefined;
1144
+ maxFeePerGas?: `0x${string}` | undefined;
1145
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1146
+ to?: `0x${string}` | null | undefined;
1147
+ data?: `0x${string}` | undefined;
1148
+ from?: `0x${string}` | undefined;
1149
+ gas?: `0x${string}` | undefined;
1150
+ nonce?: `0x${string}` | undefined;
1151
+ value?: `0x${string}` | undefined;
1152
+ accessList?: import("viem").AccessList | undefined;
1153
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
1154
+ blobs?: undefined;
1155
+ blobVersionedHashes?: undefined;
1156
+ kzg?: undefined;
1157
+ sidecars?: undefined;
1158
+ feeCurrency?: `0x${string}` | undefined;
1159
+ } | {
1160
+ data?: `0x${string}` | undefined;
1161
+ from?: `0x${string}` | undefined;
1162
+ gas?: `0x${string}` | undefined;
1163
+ nonce?: `0x${string}` | undefined;
1164
+ to?: `0x${string}` | null | undefined;
1165
+ type?: "0x7b" | undefined;
1166
+ value?: `0x${string}` | undefined;
1167
+ accessList?: import("viem").AccessList | undefined;
1168
+ feeCurrency?: `0x${string}` | undefined;
1169
+ gasPrice?: undefined | undefined;
1170
+ maxFeePerBlobGas?: undefined | undefined;
1171
+ maxFeePerGas?: `0x${string}` | undefined;
1172
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1173
+ blobs?: undefined;
1174
+ blobVersionedHashes?: undefined;
1175
+ kzg?: undefined;
1176
+ sidecars?: undefined;
1177
+ authorizationList?: undefined;
1178
+ }) & {};
1179
+ type: "transactionRequest";
1180
+ };
1181
+ }>;
1182
+ formatters: {
1183
+ readonly block: {
1184
+ exclude: [] | undefined;
1185
+ format: (args: import("viem/chains").CeloRpcBlock) => {
1186
+ baseFeePerGas: bigint | null;
1187
+ blobGasUsed: bigint;
1188
+ difficulty: bigint;
1189
+ excessBlobGas: bigint;
1190
+ extraData: import("viem").Hex;
1191
+ gasLimit: bigint;
1192
+ gasUsed: bigint;
1193
+ hash: `0x${string}` | null;
1194
+ logsBloom: `0x${string}` | null;
1195
+ miner: import("viem").Address;
1196
+ mixHash: import("viem").Hash;
1197
+ nonce: `0x${string}` | null;
1198
+ number: bigint | null;
1199
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
1200
+ parentHash: import("viem").Hash;
1201
+ receiptsRoot: import("viem").Hex;
1202
+ sealFields: import("viem").Hex[];
1203
+ sha3Uncles: import("viem").Hash;
1204
+ size: bigint;
1205
+ stateRoot: import("viem").Hash;
1206
+ timestamp: bigint;
1207
+ totalDifficulty: bigint | null;
1208
+ transactions: `0x${string}`[] | import("viem/chains").CeloTransaction<boolean>[];
1209
+ transactionsRoot: import("viem").Hash;
1210
+ uncles: import("viem").Hash[];
1211
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
1212
+ withdrawalsRoot?: `0x${string}` | undefined;
1213
+ } & {};
1214
+ type: "block";
1215
+ };
1216
+ readonly transaction: {
1217
+ exclude: [] | undefined;
1218
+ format: (args: import("viem/chains").CeloRpcTransaction) => ({
1219
+ r: import("viem").Hex;
1220
+ s: import("viem").Hex;
1221
+ v: bigint;
1222
+ to: import("viem").Address | null;
1223
+ from: import("viem").Address;
1224
+ gas: bigint;
1225
+ nonce: number;
1226
+ value: bigint;
1227
+ blockHash: `0x${string}` | null;
1228
+ blockNumber: bigint | null;
1229
+ hash: import("viem").Hash;
1230
+ input: import("viem").Hex;
1231
+ transactionIndex: number | null;
1232
+ typeHex: import("viem").Hex | null;
1233
+ accessList?: undefined | undefined;
1234
+ authorizationList?: undefined | undefined;
1235
+ blobVersionedHashes?: undefined | undefined;
1236
+ chainId?: number | undefined;
1237
+ yParity?: undefined | undefined;
1238
+ type: "legacy";
1239
+ gasPrice: bigint;
1240
+ maxFeePerBlobGas?: undefined | undefined;
1241
+ maxFeePerGas?: undefined | undefined;
1242
+ maxPriorityFeePerGas?: undefined | undefined;
1243
+ feeCurrency: import("viem").Address | null;
1244
+ mint?: undefined;
1245
+ isSystemTx?: undefined;
1246
+ sourceHash?: undefined;
1247
+ gatewayFee?: undefined;
1248
+ gatewayFeeRecipient?: undefined;
1249
+ } | {
1250
+ blockHash: `0x${string}` | null;
1251
+ blockNumber: bigint | null;
1252
+ from: import("viem").Address;
1253
+ gas: bigint;
1254
+ hash: import("viem").Hash;
1255
+ input: import("viem").Hex;
1256
+ nonce: number;
1257
+ r: import("viem").Hex;
1258
+ s: import("viem").Hex;
1259
+ to: import("viem").Address | null;
1260
+ transactionIndex: number | null;
1261
+ typeHex: import("viem").Hex | null;
1262
+ v: bigint;
1263
+ value: bigint;
1264
+ yParity: number;
1265
+ accessList: import("viem").AccessList;
1266
+ authorizationList?: undefined | undefined;
1267
+ blobVersionedHashes?: undefined | undefined;
1268
+ chainId: number;
1269
+ type: "eip2930";
1270
+ gasPrice: bigint;
1271
+ maxFeePerBlobGas?: undefined | undefined;
1272
+ maxFeePerGas?: undefined | undefined;
1273
+ maxPriorityFeePerGas?: undefined | undefined;
1274
+ feeCurrency: import("viem").Address | null;
1275
+ mint?: undefined;
1276
+ isSystemTx?: undefined;
1277
+ sourceHash?: undefined;
1278
+ gatewayFee?: undefined;
1279
+ gatewayFeeRecipient?: undefined;
1280
+ } | {
1281
+ blockHash: `0x${string}` | null;
1282
+ blockNumber: bigint | null;
1283
+ from: import("viem").Address;
1284
+ gas: bigint;
1285
+ hash: import("viem").Hash;
1286
+ input: import("viem").Hex;
1287
+ nonce: number;
1288
+ r: import("viem").Hex;
1289
+ s: import("viem").Hex;
1290
+ to: import("viem").Address | null;
1291
+ transactionIndex: number | null;
1292
+ typeHex: import("viem").Hex | null;
1293
+ v: bigint;
1294
+ value: bigint;
1295
+ yParity: number;
1296
+ accessList: import("viem").AccessList;
1297
+ authorizationList?: undefined | undefined;
1298
+ blobVersionedHashes?: undefined | undefined;
1299
+ chainId: number;
1300
+ type: "eip1559";
1301
+ gasPrice?: undefined | undefined;
1302
+ maxFeePerBlobGas?: undefined | undefined;
1303
+ maxFeePerGas: bigint;
1304
+ maxPriorityFeePerGas: bigint;
1305
+ feeCurrency: import("viem").Address | null;
1306
+ mint?: undefined;
1307
+ isSystemTx?: undefined;
1308
+ sourceHash?: undefined;
1309
+ gatewayFee?: undefined;
1310
+ gatewayFeeRecipient?: undefined;
1311
+ } | {
1312
+ blockHash: `0x${string}` | null;
1313
+ blockNumber: bigint | null;
1314
+ from: import("viem").Address;
1315
+ gas: bigint;
1316
+ hash: import("viem").Hash;
1317
+ input: import("viem").Hex;
1318
+ nonce: number;
1319
+ r: import("viem").Hex;
1320
+ s: import("viem").Hex;
1321
+ to: import("viem").Address | null;
1322
+ transactionIndex: number | null;
1323
+ typeHex: import("viem").Hex | null;
1324
+ v: bigint;
1325
+ value: bigint;
1326
+ yParity: number;
1327
+ accessList: import("viem").AccessList;
1328
+ authorizationList?: undefined | undefined;
1329
+ blobVersionedHashes: readonly import("viem").Hex[];
1330
+ chainId: number;
1331
+ type: "eip4844";
1332
+ gasPrice?: undefined | undefined;
1333
+ maxFeePerBlobGas: bigint;
1334
+ maxFeePerGas: bigint;
1335
+ maxPriorityFeePerGas: bigint;
1336
+ feeCurrency: import("viem").Address | null;
1337
+ mint?: undefined;
1338
+ isSystemTx?: undefined;
1339
+ sourceHash?: undefined;
1340
+ gatewayFee?: undefined;
1341
+ gatewayFeeRecipient?: undefined;
1342
+ } | {
1343
+ blockHash: `0x${string}` | null;
1344
+ blockNumber: bigint | null;
1345
+ from: import("viem").Address;
1346
+ gas: bigint;
1347
+ hash: import("viem").Hash;
1348
+ input: import("viem").Hex;
1349
+ nonce: number;
1350
+ r: import("viem").Hex;
1351
+ s: import("viem").Hex;
1352
+ to: import("viem").Address | null;
1353
+ transactionIndex: number | null;
1354
+ typeHex: import("viem").Hex | null;
1355
+ v: bigint;
1356
+ value: bigint;
1357
+ yParity: number;
1358
+ accessList: import("viem").AccessList;
1359
+ authorizationList: import("viem").SignedAuthorizationList;
1360
+ blobVersionedHashes?: undefined | undefined;
1361
+ chainId: number;
1362
+ type: "eip7702";
1363
+ gasPrice?: undefined | undefined;
1364
+ maxFeePerBlobGas?: undefined | undefined;
1365
+ maxFeePerGas: bigint;
1366
+ maxPriorityFeePerGas: bigint;
1367
+ feeCurrency: import("viem").Address | null;
1368
+ mint?: undefined;
1369
+ isSystemTx?: undefined;
1370
+ sourceHash?: undefined;
1371
+ gatewayFee?: undefined;
1372
+ gatewayFeeRecipient?: undefined;
1373
+ } | {
1374
+ blockHash: `0x${string}` | null;
1375
+ blockNumber: bigint | null;
1376
+ from: import("viem").Address;
1377
+ gas: bigint;
1378
+ hash: import("viem").Hash;
1379
+ input: import("viem").Hex;
1380
+ nonce: number;
1381
+ r: import("viem").Hex;
1382
+ s: import("viem").Hex;
1383
+ to: import("viem").Address | null;
1384
+ transactionIndex: number | null;
1385
+ typeHex: import("viem").Hex | null;
1386
+ v: bigint;
1387
+ value: bigint;
1388
+ yParity: number;
1389
+ gasPrice?: undefined | undefined;
1390
+ maxFeePerBlobGas?: undefined | undefined;
1391
+ maxFeePerGas: bigint;
1392
+ maxPriorityFeePerGas: bigint;
1393
+ accessList: import("viem").AccessList;
1394
+ chainId: number;
1395
+ feeCurrency: import("viem").Address | null;
1396
+ gatewayFee: bigint | null;
1397
+ gatewayFeeRecipient: import("viem").Address | null;
1398
+ type: "cip42";
1399
+ blobVersionedHashes?: undefined;
1400
+ authorizationList?: undefined;
1401
+ mint?: undefined;
1402
+ isSystemTx?: undefined;
1403
+ sourceHash?: undefined;
1404
+ } | {
1405
+ blockHash: `0x${string}` | null;
1406
+ blockNumber: bigint | null;
1407
+ from: import("viem").Address;
1408
+ gas: bigint;
1409
+ hash: import("viem").Hash;
1410
+ input: import("viem").Hex;
1411
+ nonce: number;
1412
+ r: import("viem").Hex;
1413
+ s: import("viem").Hex;
1414
+ to: import("viem").Address | null;
1415
+ transactionIndex: number | null;
1416
+ typeHex: import("viem").Hex | null;
1417
+ v: bigint;
1418
+ value: bigint;
1419
+ yParity: number;
1420
+ gasPrice?: undefined | undefined;
1421
+ maxFeePerBlobGas?: undefined | undefined;
1422
+ maxFeePerGas: bigint;
1423
+ maxPriorityFeePerGas: bigint;
1424
+ accessList: import("viem").AccessList;
1425
+ chainId: number;
1426
+ feeCurrency: import("viem").Address | null;
1427
+ type: "cip64";
1428
+ blobVersionedHashes?: undefined;
1429
+ authorizationList?: undefined;
1430
+ mint?: undefined;
1431
+ isSystemTx?: undefined;
1432
+ sourceHash?: undefined;
1433
+ gatewayFee?: undefined;
1434
+ gatewayFeeRecipient?: undefined;
1435
+ } | {
1436
+ blockHash: `0x${string}` | null;
1437
+ blockNumber: bigint | null;
1438
+ from: import("viem").Address;
1439
+ gas: bigint;
1440
+ hash: import("viem").Hash;
1441
+ input: import("viem").Hex;
1442
+ nonce: number;
1443
+ r: import("viem").Hex;
1444
+ s: import("viem").Hex;
1445
+ to: import("viem").Address | null;
1446
+ transactionIndex: number | null;
1447
+ typeHex: import("viem").Hex | null;
1448
+ v: bigint;
1449
+ value: bigint;
1450
+ yParity: number;
1451
+ gasPrice?: undefined | undefined;
1452
+ maxFeePerBlobGas?: undefined | undefined;
1453
+ maxFeePerGas: bigint;
1454
+ maxPriorityFeePerGas: bigint;
1455
+ isSystemTx?: boolean;
1456
+ mint?: bigint | undefined | undefined;
1457
+ sourceHash: import("viem").Hex;
1458
+ type: "deposit";
1459
+ accessList?: undefined;
1460
+ blobVersionedHashes?: undefined;
1461
+ authorizationList?: undefined;
1462
+ chainId?: undefined;
1463
+ feeCurrency?: undefined;
1464
+ gatewayFee?: undefined;
1465
+ gatewayFeeRecipient?: undefined;
1466
+ }) & {};
1467
+ type: "transaction";
1468
+ };
1469
+ readonly transactionRequest: {
1470
+ exclude: [] | undefined;
1471
+ format: (args: import("viem/chains").CeloTransactionRequest) => ({
1472
+ data?: `0x${string}` | undefined;
1473
+ from?: `0x${string}` | undefined;
1474
+ gas?: `0x${string}` | undefined;
1475
+ nonce?: `0x${string}` | undefined;
1476
+ to?: `0x${string}` | null | undefined;
1477
+ type?: "0x0" | undefined;
1478
+ value?: `0x${string}` | undefined;
1479
+ gasPrice?: `0x${string}` | undefined;
1480
+ maxFeePerBlobGas?: undefined | undefined;
1481
+ maxFeePerGas?: undefined | undefined;
1482
+ maxPriorityFeePerGas?: undefined | undefined;
1483
+ blobs?: undefined;
1484
+ accessList?: undefined;
1485
+ blobVersionedHashes?: undefined;
1486
+ kzg?: undefined;
1487
+ sidecars?: undefined;
1488
+ authorizationList?: undefined;
1489
+ feeCurrency?: `0x${string}` | undefined;
1490
+ } | {
1491
+ data?: `0x${string}` | undefined;
1492
+ from?: `0x${string}` | undefined;
1493
+ gas?: `0x${string}` | undefined;
1494
+ nonce?: `0x${string}` | undefined;
1495
+ to?: `0x${string}` | null | undefined;
1496
+ type?: "0x1" | undefined;
1497
+ value?: `0x${string}` | undefined;
1498
+ gasPrice?: `0x${string}` | undefined;
1499
+ maxFeePerBlobGas?: undefined | undefined;
1500
+ maxFeePerGas?: undefined | undefined;
1501
+ maxPriorityFeePerGas?: undefined | undefined;
1502
+ accessList?: import("viem").AccessList | undefined;
1503
+ blobs?: undefined;
1504
+ blobVersionedHashes?: undefined;
1505
+ kzg?: undefined;
1506
+ sidecars?: undefined;
1507
+ authorizationList?: undefined;
1508
+ feeCurrency?: `0x${string}` | undefined;
1509
+ } | {
1510
+ data?: `0x${string}` | undefined;
1511
+ from?: `0x${string}` | undefined;
1512
+ gas?: `0x${string}` | undefined;
1513
+ nonce?: `0x${string}` | undefined;
1514
+ to?: `0x${string}` | null | undefined;
1515
+ type?: "0x2" | undefined;
1516
+ value?: `0x${string}` | undefined;
1517
+ gasPrice?: undefined | undefined;
1518
+ maxFeePerBlobGas?: undefined | undefined;
1519
+ maxFeePerGas?: `0x${string}` | undefined;
1520
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1521
+ accessList?: import("viem").AccessList | undefined;
1522
+ blobs?: undefined;
1523
+ blobVersionedHashes?: undefined;
1524
+ kzg?: undefined;
1525
+ sidecars?: undefined;
1526
+ authorizationList?: undefined;
1527
+ feeCurrency?: `0x${string}` | undefined;
1528
+ } | {
1529
+ type?: "0x3" | undefined;
1530
+ data?: `0x${string}` | undefined;
1531
+ from?: `0x${string}` | undefined;
1532
+ gas?: `0x${string}` | undefined;
1533
+ nonce?: `0x${string}` | undefined;
1534
+ value?: `0x${string}` | undefined;
1535
+ to: `0x${string}` | null;
1536
+ gasPrice?: undefined | undefined;
1537
+ maxFeePerGas?: `0x${string}` | undefined;
1538
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1539
+ maxFeePerBlobGas: `0x${string}`;
1540
+ accessList?: import("viem").AccessList | undefined;
1541
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
1542
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1543
+ kzg?: import("viem").Kzg | undefined;
1544
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1545
+ authorizationList?: undefined;
1546
+ feeCurrency?: `0x${string}` | undefined;
1547
+ } | {
1548
+ type?: "0x4" | undefined;
1549
+ gasPrice?: undefined | undefined;
1550
+ maxFeePerBlobGas?: undefined | undefined;
1551
+ maxFeePerGas?: `0x${string}` | undefined;
1552
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1553
+ to?: `0x${string}` | null | undefined;
1554
+ data?: `0x${string}` | undefined;
1555
+ from?: `0x${string}` | undefined;
1556
+ gas?: `0x${string}` | undefined;
1557
+ nonce?: `0x${string}` | undefined;
1558
+ value?: `0x${string}` | undefined;
1559
+ accessList?: import("viem").AccessList | undefined;
1560
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
1561
+ blobs?: undefined;
1562
+ blobVersionedHashes?: undefined;
1563
+ kzg?: undefined;
1564
+ sidecars?: undefined;
1565
+ feeCurrency?: `0x${string}` | undefined;
1566
+ } | {
1567
+ data?: `0x${string}` | undefined;
1568
+ from?: `0x${string}` | undefined;
1569
+ gas?: `0x${string}` | undefined;
1570
+ nonce?: `0x${string}` | undefined;
1571
+ to?: `0x${string}` | null | undefined;
1572
+ type?: "0x7b" | undefined;
1573
+ value?: `0x${string}` | undefined;
1574
+ accessList?: import("viem").AccessList | undefined;
1575
+ feeCurrency?: `0x${string}` | undefined;
1576
+ gasPrice?: undefined | undefined;
1577
+ maxFeePerBlobGas?: undefined | undefined;
1578
+ maxFeePerGas?: `0x${string}` | undefined;
1579
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1580
+ blobs?: undefined;
1581
+ blobVersionedHashes?: undefined;
1582
+ kzg?: undefined;
1583
+ sidecars?: undefined;
1584
+ authorizationList?: undefined;
1585
+ }) & {};
1586
+ type: "transactionRequest";
1587
+ };
1588
+ };
1589
+ serializers: {
1590
+ readonly transaction: typeof import("viem/chains").serializeTransactionCelo;
1591
+ };
1592
+ };
1593
+ readonly rpc: string;
1594
+ };
1595
+ localhost: {
1596
+ chain: {
1597
+ blockExplorers?: {
1598
+ [key: string]: {
1599
+ name: string;
1600
+ url: string;
1601
+ apiUrl?: string | undefined;
1602
+ };
1603
+ default: {
1604
+ name: string;
1605
+ url: string;
1606
+ apiUrl?: string | undefined;
1607
+ };
1608
+ } | undefined | undefined;
1609
+ blockTime?: number | undefined | undefined;
1610
+ contracts?: {
1611
+ [x: string]: import("viem").ChainContract | {
1612
+ [sourceId: number]: import("viem").ChainContract | undefined;
1613
+ } | undefined;
1614
+ ensRegistry?: import("viem").ChainContract | undefined;
1615
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
1616
+ multicall3?: import("viem").ChainContract | undefined;
1617
+ universalSignatureVerifier?: import("viem").ChainContract | undefined;
1618
+ } | undefined;
1619
+ ensTlds?: readonly string[] | undefined;
1620
+ id: 1337;
1621
+ name: "Localhost";
1622
+ nativeCurrency: {
1623
+ readonly decimals: 18;
1624
+ readonly name: "Ether";
1625
+ readonly symbol: "ETH";
1626
+ };
1627
+ rpcUrls: {
1628
+ readonly default: {
1629
+ readonly http: readonly ["http://127.0.0.1:8545"];
1630
+ };
1631
+ };
1632
+ sourceId?: number | undefined | undefined;
1633
+ testnet?: boolean | undefined | undefined;
1634
+ custom?: Record<string, unknown> | undefined;
1635
+ fees?: import("viem").ChainFees<undefined> | undefined;
1636
+ formatters?: undefined;
1637
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1638
+ };
1639
+ readonly rpc: string;
1640
+ };
1641
+ };
1642
+ export declare const HYPERSYNC_URLS: Partial<Record<ChainName, string>>;
1643
+ export declare const SUPPORTED_CHAINS: readonly ["mainnet", "base", "arbitrum", "polygon", "optimism", "celo", "localhost"];
1644
+ export declare class ClientManager {
1645
+ private clients;
1646
+ private config;
1647
+ constructor(config: Config);
1648
+ getClient(chainName: ChainName): ReturnType<typeof createPublicClient>;
1649
+ getEtherscanDomain(chainName: ChainName): string;
1650
+ }
1651
+ export declare function initializeClientManager(config: Config): ClientManager;
1652
+ export declare function getClientManager(): ClientManager;
1653
+ //# sourceMappingURL=client.d.ts.map