@ledgerhq/coin-evm 16.2.4 → 16.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/lib/adapters/blockscoutV2.d.ts +40 -0
  3. package/lib/adapters/blockscoutV2.d.ts.map +1 -0
  4. package/lib/adapters/blockscoutV2.js +177 -0
  5. package/lib/adapters/blockscoutV2.js.map +1 -0
  6. package/lib/adapters/index.d.ts +1 -0
  7. package/lib/adapters/index.d.ts.map +1 -1
  8. package/lib/adapters/index.js +1 -0
  9. package/lib/adapters/index.js.map +1 -1
  10. package/lib/chains.d.ts +1 -1
  11. package/lib/chains.js +1 -1
  12. package/lib/chains.js.map +1 -1
  13. package/lib/config.d.ts +1499 -0
  14. package/lib/config.d.ts.map +1 -1
  15. package/lib/config.js +968 -1
  16. package/lib/config.js.map +1 -1
  17. package/lib/logic/internalTransactionsFetcher.d.ts.map +1 -1
  18. package/lib/logic/internalTransactionsFetcher.js +13 -2
  19. package/lib/logic/internalTransactionsFetcher.js.map +1 -1
  20. package/lib/network/blockscoutV2.d.ts +35 -0
  21. package/lib/network/blockscoutV2.d.ts.map +1 -0
  22. package/lib/network/blockscoutV2.js +311 -0
  23. package/lib/network/blockscoutV2.js.map +1 -0
  24. package/lib/network/explorer/etherscan.d.ts.map +1 -1
  25. package/lib/network/explorer/etherscan.js +11 -28
  26. package/lib/network/explorer/etherscan.js.map +1 -1
  27. package/lib/network/explorer/index.d.ts.map +1 -1
  28. package/lib/network/explorer/index.js +5 -0
  29. package/lib/network/explorer/index.js.map +1 -1
  30. package/lib/network/explorer/types.d.ts +6 -0
  31. package/lib/network/explorer/types.d.ts.map +1 -1
  32. package/lib/network/explorer/types.js +8 -1
  33. package/lib/network/explorer/types.js.map +1 -1
  34. package/lib/network/rewards.d.ts +11 -0
  35. package/lib/network/rewards.d.ts.map +1 -0
  36. package/lib/network/rewards.js +32 -0
  37. package/lib/network/rewards.js.map +1 -0
  38. package/lib/types/blockscoutV2.d.ts +80 -0
  39. package/lib/types/blockscoutV2.d.ts.map +1 -0
  40. package/lib/types/blockscoutV2.js +5 -0
  41. package/lib/types/blockscoutV2.js.map +1 -0
  42. package/lib/types/index.d.ts +1 -0
  43. package/lib/types/index.d.ts.map +1 -1
  44. package/lib/types/index.js +1 -0
  45. package/lib/types/index.js.map +1 -1
  46. package/lib-es/adapters/blockscoutV2.d.ts +40 -0
  47. package/lib-es/adapters/blockscoutV2.d.ts.map +1 -0
  48. package/lib-es/adapters/blockscoutV2.js +168 -0
  49. package/lib-es/adapters/blockscoutV2.js.map +1 -0
  50. package/lib-es/adapters/index.d.ts +1 -0
  51. package/lib-es/adapters/index.d.ts.map +1 -1
  52. package/lib-es/adapters/index.js +1 -0
  53. package/lib-es/adapters/index.js.map +1 -1
  54. package/lib-es/chains.d.ts +1 -1
  55. package/lib-es/chains.js +1 -1
  56. package/lib-es/chains.js.map +1 -1
  57. package/lib-es/config.d.ts +1499 -0
  58. package/lib-es/config.d.ts.map +1 -1
  59. package/lib-es/config.js +967 -0
  60. package/lib-es/config.js.map +1 -1
  61. package/lib-es/logic/internalTransactionsFetcher.d.ts.map +1 -1
  62. package/lib-es/logic/internalTransactionsFetcher.js +14 -3
  63. package/lib-es/logic/internalTransactionsFetcher.js.map +1 -1
  64. package/lib-es/network/blockscoutV2.d.ts +35 -0
  65. package/lib-es/network/blockscoutV2.d.ts.map +1 -0
  66. package/lib-es/network/blockscoutV2.js +271 -0
  67. package/lib-es/network/blockscoutV2.js.map +1 -0
  68. package/lib-es/network/explorer/etherscan.d.ts.map +1 -1
  69. package/lib-es/network/explorer/etherscan.js +2 -19
  70. package/lib-es/network/explorer/etherscan.js.map +1 -1
  71. package/lib-es/network/explorer/index.d.ts.map +1 -1
  72. package/lib-es/network/explorer/index.js +5 -0
  73. package/lib-es/network/explorer/index.js.map +1 -1
  74. package/lib-es/network/explorer/types.d.ts +6 -0
  75. package/lib-es/network/explorer/types.d.ts.map +1 -1
  76. package/lib-es/network/explorer/types.js +6 -0
  77. package/lib-es/network/explorer/types.js.map +1 -1
  78. package/lib-es/network/rewards.d.ts +11 -0
  79. package/lib-es/network/rewards.d.ts.map +1 -0
  80. package/lib-es/network/rewards.js +29 -0
  81. package/lib-es/network/rewards.js.map +1 -0
  82. package/lib-es/types/blockscoutV2.d.ts +80 -0
  83. package/lib-es/types/blockscoutV2.d.ts.map +1 -0
  84. package/lib-es/types/blockscoutV2.js +4 -0
  85. package/lib-es/types/blockscoutV2.js.map +1 -0
  86. package/lib-es/types/index.d.ts +1 -0
  87. package/lib-es/types/index.d.ts.map +1 -1
  88. package/lib-es/types/index.js +1 -0
  89. package/lib-es/types/index.js.map +1 -1
  90. package/package.json +1 -1
  91. package/src/adapters/blockscoutV2.test.ts +296 -0
  92. package/src/adapters/blockscoutV2.ts +244 -0
  93. package/src/adapters/index.ts +1 -0
  94. package/src/api/tests/index.alpen_testnet.integ.test.ts +73 -0
  95. package/src/api/tests/index.integ.test.ts +4 -2
  96. package/src/api/tests/index.scroll.integ.test.ts +168 -0
  97. package/src/api/tests/index.shape.integ.test.ts +34 -0
  98. package/src/chains.ts +1 -1
  99. package/src/config.ts +993 -0
  100. package/src/logic/internalTransactionsFetcher.ts +20 -3
  101. package/src/logic/tests/internalTransactionsFetcher.test.ts +51 -0
  102. package/src/network/blockscoutV2.ts +460 -0
  103. package/src/network/explorer/etherscan.ts +2 -29
  104. package/src/network/explorer/index.ts +5 -0
  105. package/src/network/explorer/types.ts +9 -0
  106. package/src/network/rewards.ts +47 -0
  107. package/src/network/tests/blockscoutV2.test.ts +565 -0
  108. package/src/network/tests/explorer/index.test.ts +21 -0
  109. package/src/types/blockscoutV2.ts +85 -0
  110. package/src/types/index.ts +1 -0
package/lib/config.d.ts CHANGED
@@ -31,6 +31,12 @@ export type EvmConfig = {
31
31
  };
32
32
  explorer: {
33
33
  type: 'etherscan' | 'blockscout' | 'teloscan' | 'klaytnfinder' | 'corescan' | 'cronos';
34
+ /**
35
+ * Disable the explorer response cache. By default, identical `getOperations` and
36
+ * `discoverTokenAssets` calls (same chain, address, block range, cursor, limit and order)
37
+ * made within 5 seconds share one explorer request; a failed request is not cached.
38
+ * Set to `true` to always send a new request.
39
+ */
34
40
  noCache?: boolean | undefined;
35
41
  /**
36
42
  * Optional cap applied to the requested operation `limit` before the internal `limit + 1` probe.
@@ -48,6 +54,24 @@ export type EvmConfig = {
48
54
  uri: string;
49
55
  /** Number of retries for explorer API calls. Defaults to 8 if not set. Set to 0 for no retries. */
50
56
  retries?: number;
57
+ } | {
58
+ /**
59
+ * Blockscout v2 REST API. Unlike the Etherscan-compatible v1 API (`type: 'blockscout'`), it
60
+ * reports the fee actually paid, including the L1 data fee of rollups.
61
+ * Only serves operations in descending order.
62
+ */
63
+ type: 'blockscout-v2';
64
+ /** Base URI of the v2 API, e.g. `https://proxyblockscout.api.live.ledger.com/534352/api/v2` */
65
+ uri: string;
66
+ /**
67
+ * Disable the explorer response cache. By default, identical `getOperations` and
68
+ * `discoverTokenAssets` calls (same chain, address, block range, cursor, limit and order)
69
+ * made within 5 seconds share one explorer request; a failed request is not cached.
70
+ * Set to `true` to always send a new request.
71
+ */
72
+ noCache?: boolean | undefined;
73
+ /** Number of retries for explorer API calls. Defaults to 8 if not set. Set to 0 for no retries. */
74
+ retries?: number;
51
75
  } | {
52
76
  type: 'ledger';
53
77
  explorerId: string;
@@ -155,4 +179,1479 @@ export type EvmCoinConfig = {
155
179
  * The {@link Context} threaded through the coin-evm public API (ADR-019).
156
180
  */
157
181
  export type EvmContext = Context<EvmConfigInfo>;
182
+ export declare const evmDefaults: {
183
+ avalanche_c_chain: {
184
+ status: {
185
+ type: "active";
186
+ features: {
187
+ id: "blockchain_txs";
188
+ status: "active";
189
+ }[];
190
+ };
191
+ chainId: 43114;
192
+ name: string;
193
+ unit: {
194
+ name: string;
195
+ code: string;
196
+ magnitude: number;
197
+ };
198
+ node: {
199
+ type: "ledger";
200
+ explorerId: string;
201
+ };
202
+ explorer: {
203
+ type: "ledger";
204
+ explorerId: string;
205
+ };
206
+ gasTracker: {
207
+ type: "ledger";
208
+ explorerId: string;
209
+ };
210
+ };
211
+ avalanche_c_chain_fuji: {
212
+ status: {
213
+ type: "active";
214
+ features: {
215
+ id: "blockchain_txs";
216
+ status: "active";
217
+ }[];
218
+ };
219
+ chainId: 43113;
220
+ name: string;
221
+ unit: {
222
+ name: string;
223
+ code: string;
224
+ magnitude: number;
225
+ };
226
+ node: {
227
+ type: "external";
228
+ uri: string;
229
+ };
230
+ explorer: {
231
+ type: "etherscan";
232
+ uri: string;
233
+ };
234
+ };
235
+ bitlayer: {
236
+ status: {
237
+ type: "active";
238
+ features: {
239
+ id: "blockchain_txs";
240
+ status: "active";
241
+ }[];
242
+ };
243
+ chainId: 200901;
244
+ name: string;
245
+ unit: {
246
+ name: string;
247
+ code: string;
248
+ magnitude: number;
249
+ };
250
+ node: {
251
+ type: "external";
252
+ uri: string;
253
+ };
254
+ explorer: {
255
+ type: "none";
256
+ };
257
+ };
258
+ bsc: {
259
+ status: {
260
+ type: "active";
261
+ features: {
262
+ id: "blockchain_txs";
263
+ status: "active";
264
+ }[];
265
+ };
266
+ chainId: 56;
267
+ name: string;
268
+ unit: {
269
+ name: string;
270
+ code: string;
271
+ magnitude: number;
272
+ };
273
+ node: {
274
+ type: "ledger";
275
+ explorerId: string;
276
+ };
277
+ explorer: {
278
+ type: "ledger";
279
+ explorerId: string;
280
+ };
281
+ gasTracker: {
282
+ type: "ledger";
283
+ explorerId: string;
284
+ };
285
+ };
286
+ ethereum: {
287
+ status: {
288
+ type: "active";
289
+ features: {
290
+ id: "blockchain_txs";
291
+ status: "active";
292
+ }[];
293
+ };
294
+ chainId: 1;
295
+ name: string;
296
+ unit: {
297
+ name: string;
298
+ code: string;
299
+ magnitude: number;
300
+ };
301
+ gasTracker: {
302
+ type: "ledger";
303
+ explorerId: string;
304
+ };
305
+ node: {
306
+ type: "ledger";
307
+ explorerId: string;
308
+ };
309
+ explorer: {
310
+ type: "ledger";
311
+ explorerId: string;
312
+ };
313
+ };
314
+ sonic: {
315
+ status: {
316
+ type: "active";
317
+ };
318
+ chainId: 146;
319
+ name: string;
320
+ unit: {
321
+ name: string;
322
+ code: string;
323
+ magnitude: number;
324
+ };
325
+ node: {
326
+ type: "external";
327
+ uri: string;
328
+ };
329
+ explorer: {
330
+ type: "etherscan";
331
+ uri: string;
332
+ };
333
+ };
334
+ ethereum_classic: {
335
+ status: {
336
+ type: "active";
337
+ features: {
338
+ id: "blockchain_txs";
339
+ status: "active";
340
+ }[];
341
+ };
342
+ chainId: 61;
343
+ name: string;
344
+ unit: {
345
+ name: string;
346
+ code: string;
347
+ magnitude: number;
348
+ };
349
+ node: {
350
+ type: "ledger";
351
+ explorerId: string;
352
+ };
353
+ explorer: {
354
+ type: "ledger";
355
+ explorerId: string;
356
+ };
357
+ gasTracker: {
358
+ type: "ledger";
359
+ explorerId: string;
360
+ };
361
+ };
362
+ polygon: {
363
+ status: {
364
+ type: "active";
365
+ features: {
366
+ id: "blockchain_txs";
367
+ status: "active";
368
+ }[];
369
+ };
370
+ chainId: 137;
371
+ name: string;
372
+ unit: {
373
+ name: string;
374
+ code: string;
375
+ magnitude: number;
376
+ };
377
+ node: {
378
+ type: "ledger";
379
+ explorerId: string;
380
+ };
381
+ explorer: {
382
+ type: "ledger";
383
+ explorerId: string;
384
+ batchSize: number;
385
+ };
386
+ gasTracker: {
387
+ type: "ledger";
388
+ explorerId: string;
389
+ };
390
+ minGasPrice: string;
391
+ };
392
+ arbitrum: {
393
+ status: {
394
+ type: "active";
395
+ features: {
396
+ id: "blockchain_txs";
397
+ status: "active";
398
+ }[];
399
+ };
400
+ chainId: 42161;
401
+ name: string;
402
+ unit: {
403
+ name: string;
404
+ code: string;
405
+ magnitude: number;
406
+ };
407
+ node: {
408
+ type: "external";
409
+ uri: string;
410
+ };
411
+ explorer: {
412
+ type: "etherscan";
413
+ uri: string;
414
+ };
415
+ };
416
+ cronos: {
417
+ status: {
418
+ type: "active";
419
+ features: {
420
+ id: "blockchain_txs";
421
+ status: "active";
422
+ }[];
423
+ };
424
+ chainId: 25;
425
+ name: string;
426
+ unit: {
427
+ name: string;
428
+ code: string;
429
+ magnitude: number;
430
+ };
431
+ node: {
432
+ type: "external";
433
+ uri: string;
434
+ };
435
+ explorer: {
436
+ type: "cronos";
437
+ uri: string;
438
+ };
439
+ minGasPrice: string;
440
+ };
441
+ core: {
442
+ status: {
443
+ type: "active";
444
+ features: {
445
+ id: "blockchain_txs";
446
+ status: "active";
447
+ }[];
448
+ };
449
+ chainId: 1116;
450
+ name: string;
451
+ unit: {
452
+ name: string;
453
+ code: string;
454
+ magnitude: number;
455
+ };
456
+ node: {
457
+ type: "external";
458
+ uri: string;
459
+ };
460
+ explorer: {
461
+ type: "none";
462
+ };
463
+ };
464
+ flare: {
465
+ status: {
466
+ type: "active";
467
+ features: {
468
+ id: "blockchain_txs";
469
+ status: "active";
470
+ }[];
471
+ };
472
+ chainId: 14;
473
+ name: string;
474
+ unit: {
475
+ name: string;
476
+ code: string;
477
+ magnitude: number;
478
+ };
479
+ node: {
480
+ type: "external";
481
+ uri: string;
482
+ };
483
+ explorer: {
484
+ type: "blockscout";
485
+ uri: string;
486
+ };
487
+ };
488
+ songbird: {
489
+ status: {
490
+ type: "active";
491
+ features: {
492
+ id: "blockchain_txs";
493
+ status: "active";
494
+ }[];
495
+ };
496
+ chainId: 19;
497
+ name: string;
498
+ unit: {
499
+ name: string;
500
+ code: string;
501
+ magnitude: number;
502
+ };
503
+ node: {
504
+ type: "external";
505
+ uri: string;
506
+ };
507
+ explorer: {
508
+ type: "blockscout";
509
+ uri: string;
510
+ };
511
+ };
512
+ rsk: {
513
+ status: {
514
+ type: "active";
515
+ features: {
516
+ id: "blockchain_txs";
517
+ status: "active";
518
+ }[];
519
+ };
520
+ chainId: 30;
521
+ name: string;
522
+ unit: {
523
+ name: string;
524
+ code: string;
525
+ magnitude: number;
526
+ };
527
+ node: {
528
+ type: "external";
529
+ uri: string;
530
+ };
531
+ explorer: {
532
+ type: "blockscout";
533
+ uri: string;
534
+ };
535
+ };
536
+ bittorrent: {
537
+ status: {
538
+ type: "active";
539
+ features: {
540
+ id: "blockchain_txs";
541
+ status: "active";
542
+ }[];
543
+ };
544
+ chainId: 199;
545
+ name: string;
546
+ unit: {
547
+ name: string;
548
+ code: string;
549
+ magnitude: number;
550
+ };
551
+ node: {
552
+ type: "external";
553
+ uri: string;
554
+ };
555
+ explorer: {
556
+ type: "etherscan";
557
+ uri: string;
558
+ };
559
+ };
560
+ optimism: {
561
+ status: {
562
+ type: "active";
563
+ features: {
564
+ id: "blockchain_txs";
565
+ status: "active";
566
+ }[];
567
+ };
568
+ chainId: 10;
569
+ name: string;
570
+ unit: {
571
+ name: string;
572
+ code: string;
573
+ magnitude: number;
574
+ };
575
+ node: {
576
+ type: "external";
577
+ uri: string;
578
+ };
579
+ explorer: {
580
+ type: "blockscout";
581
+ uri: string;
582
+ };
583
+ };
584
+ optimism_sepolia: {
585
+ status: {
586
+ type: "active";
587
+ features: {
588
+ id: "blockchain_txs";
589
+ status: "active";
590
+ }[];
591
+ };
592
+ chainId: 11155420;
593
+ name: string;
594
+ unit: {
595
+ name: string;
596
+ code: string;
597
+ magnitude: number;
598
+ };
599
+ node: {
600
+ type: "external";
601
+ uri: string;
602
+ };
603
+ explorer: {
604
+ type: "blockscout";
605
+ uri: string;
606
+ };
607
+ };
608
+ energy_web: {
609
+ status: {
610
+ type: "active";
611
+ features: {
612
+ id: "blockchain_txs";
613
+ status: "active";
614
+ }[];
615
+ };
616
+ chainId: 246;
617
+ name: string;
618
+ unit: {
619
+ name: string;
620
+ code: string;
621
+ magnitude: number;
622
+ };
623
+ node: {
624
+ type: "external";
625
+ uri: string;
626
+ };
627
+ explorer: {
628
+ type: "blockscout";
629
+ uri: string;
630
+ };
631
+ };
632
+ astar: {
633
+ status: {
634
+ type: "active";
635
+ features: {
636
+ id: "blockchain_txs";
637
+ status: "active";
638
+ }[];
639
+ };
640
+ chainId: 592;
641
+ name: string;
642
+ unit: {
643
+ name: string;
644
+ code: string;
645
+ magnitude: number;
646
+ };
647
+ node: {
648
+ type: "external";
649
+ uri: string;
650
+ };
651
+ explorer: {
652
+ type: "blockscout";
653
+ uri: string;
654
+ };
655
+ };
656
+ metis: {
657
+ status: {
658
+ type: "active";
659
+ features: {
660
+ id: "blockchain_txs";
661
+ status: "active";
662
+ }[];
663
+ };
664
+ chainId: 1088;
665
+ name: string;
666
+ unit: {
667
+ name: string;
668
+ code: string;
669
+ magnitude: number;
670
+ };
671
+ node: {
672
+ type: "external";
673
+ uri: string;
674
+ };
675
+ explorer: {
676
+ type: "none";
677
+ };
678
+ };
679
+ mantle: {
680
+ status: {
681
+ type: "active";
682
+ features: {
683
+ id: "blockchain_txs";
684
+ status: "active";
685
+ }[];
686
+ };
687
+ chainId: 5000;
688
+ name: string;
689
+ unit: {
690
+ name: string;
691
+ code: string;
692
+ magnitude: number;
693
+ };
694
+ node: {
695
+ type: "external";
696
+ uri: string;
697
+ };
698
+ explorer: {
699
+ type: "blockscout";
700
+ uri: string;
701
+ };
702
+ };
703
+ mantle_sepolia: {
704
+ status: {
705
+ type: "active";
706
+ features: {
707
+ id: "blockchain_txs";
708
+ status: "active";
709
+ }[];
710
+ };
711
+ chainId: 5003;
712
+ name: string;
713
+ unit: {
714
+ name: string;
715
+ code: string;
716
+ magnitude: number;
717
+ };
718
+ node: {
719
+ type: "external";
720
+ uri: string;
721
+ };
722
+ explorer: {
723
+ type: "blockscout";
724
+ uri: string;
725
+ };
726
+ };
727
+ boba: {
728
+ status: {
729
+ type: "active";
730
+ features: {
731
+ id: "blockchain_txs";
732
+ status: "active";
733
+ }[];
734
+ };
735
+ chainId: 288;
736
+ name: string;
737
+ unit: {
738
+ name: string;
739
+ code: string;
740
+ magnitude: number;
741
+ };
742
+ node: {
743
+ type: "external";
744
+ uri: string;
745
+ };
746
+ explorer: {
747
+ type: "etherscan";
748
+ uri: string;
749
+ };
750
+ };
751
+ syscoin: {
752
+ status: {
753
+ type: "active";
754
+ features: {
755
+ id: "blockchain_txs";
756
+ status: "active";
757
+ }[];
758
+ };
759
+ chainId: 57;
760
+ name: string;
761
+ unit: {
762
+ name: string;
763
+ code: string;
764
+ magnitude: number;
765
+ };
766
+ node: {
767
+ type: "external";
768
+ uri: string;
769
+ };
770
+ explorer: {
771
+ type: "blockscout";
772
+ uri: string;
773
+ };
774
+ };
775
+ telos_evm: {
776
+ status: {
777
+ type: "active";
778
+ features: {
779
+ id: "blockchain_txs";
780
+ status: "active";
781
+ }[];
782
+ };
783
+ chainId: 40;
784
+ name: string;
785
+ unit: {
786
+ name: string;
787
+ code: string;
788
+ magnitude: number;
789
+ };
790
+ node: {
791
+ type: "external";
792
+ uri: string;
793
+ };
794
+ explorer: {
795
+ type: "teloscan";
796
+ uri: string;
797
+ };
798
+ };
799
+ sei_evm: {
800
+ status: {
801
+ type: "active";
802
+ features: {
803
+ id: "blockchain_txs";
804
+ status: "active";
805
+ }[];
806
+ };
807
+ chainId: 1329;
808
+ name: string;
809
+ unit: {
810
+ name: string;
811
+ code: string;
812
+ magnitude: number;
813
+ };
814
+ node: {
815
+ type: "external";
816
+ uri: string;
817
+ };
818
+ explorer: {
819
+ type: "etherscan";
820
+ uri: string;
821
+ };
822
+ };
823
+ berachain: {
824
+ status: {
825
+ type: "active";
826
+ features: {
827
+ id: "blockchain_txs";
828
+ status: "active";
829
+ }[];
830
+ };
831
+ chainId: 80094;
832
+ name: string;
833
+ unit: {
834
+ name: string;
835
+ code: string;
836
+ magnitude: number;
837
+ };
838
+ node: {
839
+ type: "external";
840
+ uri: string;
841
+ };
842
+ explorer: {
843
+ type: "etherscan";
844
+ uri: string;
845
+ };
846
+ };
847
+ hyperevm: {
848
+ status: {
849
+ type: "active";
850
+ features: {
851
+ id: "blockchain_txs";
852
+ status: "active";
853
+ }[];
854
+ };
855
+ chainId: 999;
856
+ name: string;
857
+ unit: {
858
+ name: string;
859
+ code: string;
860
+ magnitude: number;
861
+ };
862
+ node: {
863
+ type: "external";
864
+ uri: string;
865
+ };
866
+ explorer: {
867
+ type: "etherscan";
868
+ uri: string;
869
+ };
870
+ };
871
+ polygon_zk_evm: {
872
+ status: {
873
+ type: "active";
874
+ features: {
875
+ id: "blockchain_txs";
876
+ status: "active";
877
+ }[];
878
+ };
879
+ chainId: 1101;
880
+ name: string;
881
+ unit: {
882
+ name: string;
883
+ code: string;
884
+ magnitude: number;
885
+ };
886
+ node: {
887
+ type: "external";
888
+ uri: string;
889
+ };
890
+ explorer: {
891
+ type: "etherscan";
892
+ uri: string;
893
+ };
894
+ };
895
+ base: {
896
+ status: {
897
+ type: "active";
898
+ features: {
899
+ id: "blockchain_txs";
900
+ status: "active";
901
+ }[];
902
+ };
903
+ chainId: 8453;
904
+ name: string;
905
+ unit: {
906
+ name: string;
907
+ code: string;
908
+ magnitude: number;
909
+ };
910
+ node: {
911
+ type: "external";
912
+ uri: string;
913
+ };
914
+ explorer: {
915
+ type: "etherscan";
916
+ uri: string;
917
+ };
918
+ };
919
+ klaytn: {
920
+ status: {
921
+ type: "active";
922
+ features: {
923
+ id: "blockchain_txs";
924
+ status: "active";
925
+ }[];
926
+ };
927
+ chainId: 8217;
928
+ name: string;
929
+ unit: {
930
+ name: string;
931
+ code: string;
932
+ magnitude: number;
933
+ };
934
+ node: {
935
+ type: "external";
936
+ uri: string;
937
+ };
938
+ explorer: {
939
+ type: "klaytnfinder";
940
+ uri: string;
941
+ };
942
+ };
943
+ klaytn_baobab: {
944
+ status: {
945
+ type: "active";
946
+ features: {
947
+ id: "blockchain_txs";
948
+ status: "active";
949
+ }[];
950
+ };
951
+ chainId: 1001;
952
+ name: string;
953
+ unit: {
954
+ name: string;
955
+ code: string;
956
+ magnitude: number;
957
+ };
958
+ node: {
959
+ type: "external";
960
+ uri: string;
961
+ };
962
+ explorer: {
963
+ type: "klaytnfinder";
964
+ uri: string;
965
+ };
966
+ };
967
+ neon_evm: {
968
+ status: {
969
+ type: "active";
970
+ features: {
971
+ id: "blockchain_txs";
972
+ status: "active";
973
+ }[];
974
+ };
975
+ chainId: 245022934;
976
+ name: string;
977
+ unit: {
978
+ name: string;
979
+ code: string;
980
+ magnitude: number;
981
+ };
982
+ node: {
983
+ type: "external";
984
+ uri: string;
985
+ };
986
+ explorer: {
987
+ type: "blockscout";
988
+ uri: string;
989
+ };
990
+ };
991
+ lukso: {
992
+ status: {
993
+ type: "active";
994
+ features: {
995
+ id: "blockchain_txs";
996
+ status: "active";
997
+ }[];
998
+ };
999
+ chainId: 42;
1000
+ name: string;
1001
+ unit: {
1002
+ name: string;
1003
+ code: string;
1004
+ magnitude: number;
1005
+ };
1006
+ node: {
1007
+ type: "external";
1008
+ uri: string;
1009
+ };
1010
+ explorer: {
1011
+ type: "blockscout";
1012
+ uri: string;
1013
+ };
1014
+ };
1015
+ linea: {
1016
+ status: {
1017
+ type: "active";
1018
+ features: {
1019
+ id: "blockchain_txs";
1020
+ status: "active";
1021
+ }[];
1022
+ };
1023
+ chainId: 59144;
1024
+ name: string;
1025
+ unit: {
1026
+ name: string;
1027
+ code: string;
1028
+ magnitude: number;
1029
+ };
1030
+ node: {
1031
+ type: "external";
1032
+ uri: string;
1033
+ };
1034
+ explorer: {
1035
+ type: "etherscan";
1036
+ uri: string;
1037
+ };
1038
+ };
1039
+ ethereum_sepolia: {
1040
+ status: {
1041
+ type: "active";
1042
+ features: {
1043
+ id: "blockchain_txs";
1044
+ status: "active";
1045
+ }[];
1046
+ };
1047
+ chainId: 11155111;
1048
+ name: string;
1049
+ unit: {
1050
+ name: string;
1051
+ code: string;
1052
+ magnitude: number;
1053
+ };
1054
+ node: {
1055
+ type: "ledger";
1056
+ explorerId: string;
1057
+ };
1058
+ explorer: {
1059
+ type: "ledger";
1060
+ explorerId: string;
1061
+ };
1062
+ gasTracker: {
1063
+ type: "ledger";
1064
+ explorerId: string;
1065
+ };
1066
+ };
1067
+ ethereum_hoodi: {
1068
+ status: {
1069
+ type: "active";
1070
+ features: {
1071
+ id: "blockchain_txs";
1072
+ status: "active";
1073
+ }[];
1074
+ };
1075
+ chainId: 560048;
1076
+ name: string;
1077
+ unit: {
1078
+ name: string;
1079
+ code: string;
1080
+ magnitude: number;
1081
+ };
1082
+ node: {
1083
+ type: "ledger";
1084
+ explorerId: string;
1085
+ };
1086
+ explorer: {
1087
+ type: "ledger";
1088
+ explorerId: string;
1089
+ };
1090
+ gasTracker: {
1091
+ type: "ledger";
1092
+ explorerId: string;
1093
+ };
1094
+ };
1095
+ polygon_amoy: {
1096
+ status: {
1097
+ type: "active";
1098
+ features: {
1099
+ id: "blockchain_txs";
1100
+ status: "active";
1101
+ }[];
1102
+ };
1103
+ chainId: 80002;
1104
+ name: string;
1105
+ unit: {
1106
+ name: string;
1107
+ code: string;
1108
+ magnitude: number;
1109
+ };
1110
+ node: {
1111
+ type: "ledger";
1112
+ explorerId: string;
1113
+ };
1114
+ explorer: {
1115
+ type: "ledger";
1116
+ explorerId: string;
1117
+ };
1118
+ gasTracker: {
1119
+ type: "ledger";
1120
+ explorerId: string;
1121
+ };
1122
+ };
1123
+ arbitrum_sepolia: {
1124
+ status: {
1125
+ type: "active";
1126
+ };
1127
+ chainId: 421614;
1128
+ name: string;
1129
+ unit: {
1130
+ name: string;
1131
+ code: string;
1132
+ magnitude: number;
1133
+ };
1134
+ node: {
1135
+ type: "external";
1136
+ uri: string;
1137
+ };
1138
+ explorer: {
1139
+ type: "etherscan";
1140
+ uri: string;
1141
+ };
1142
+ };
1143
+ polygon_zk_evm_testnet: {
1144
+ status: {
1145
+ type: "active";
1146
+ features: {
1147
+ id: "blockchain_txs";
1148
+ status: "active";
1149
+ }[];
1150
+ };
1151
+ chainId: 1442;
1152
+ name: string;
1153
+ unit: {
1154
+ name: string;
1155
+ code: string;
1156
+ magnitude: number;
1157
+ };
1158
+ node: {
1159
+ type: "external";
1160
+ uri: string;
1161
+ };
1162
+ explorer: {
1163
+ type: "etherscan";
1164
+ uri: string;
1165
+ };
1166
+ };
1167
+ base_sepolia: {
1168
+ status: {
1169
+ type: "active";
1170
+ features: {
1171
+ id: "blockchain_txs";
1172
+ status: "active";
1173
+ }[];
1174
+ };
1175
+ chainId: 84532;
1176
+ name: string;
1177
+ unit: {
1178
+ name: string;
1179
+ code: string;
1180
+ magnitude: number;
1181
+ };
1182
+ node: {
1183
+ type: "external";
1184
+ uri: string;
1185
+ };
1186
+ explorer: {
1187
+ type: "blockscout";
1188
+ uri: string;
1189
+ };
1190
+ };
1191
+ linea_sepolia: {
1192
+ status: {
1193
+ type: "active";
1194
+ features: {
1195
+ id: "blockchain_txs";
1196
+ status: "active";
1197
+ }[];
1198
+ };
1199
+ chainId: 59141;
1200
+ name: string;
1201
+ unit: {
1202
+ name: string;
1203
+ code: string;
1204
+ magnitude: number;
1205
+ };
1206
+ node: {
1207
+ type: "external";
1208
+ uri: string;
1209
+ };
1210
+ explorer: {
1211
+ type: "etherscan";
1212
+ uri: string;
1213
+ };
1214
+ };
1215
+ scroll: {
1216
+ status: {
1217
+ type: "active";
1218
+ features: {
1219
+ id: "blockchain_txs";
1220
+ status: "active";
1221
+ }[];
1222
+ };
1223
+ chainId: 534352;
1224
+ name: string;
1225
+ unit: {
1226
+ name: string;
1227
+ code: string;
1228
+ magnitude: number;
1229
+ };
1230
+ node: {
1231
+ type: "external";
1232
+ uri: string;
1233
+ };
1234
+ explorer: {
1235
+ type: "blockscout";
1236
+ uri: string;
1237
+ };
1238
+ };
1239
+ shape: {
1240
+ status: {
1241
+ type: "active";
1242
+ features: {
1243
+ id: "blockchain_txs";
1244
+ status: "active";
1245
+ }[];
1246
+ };
1247
+ chainId: 360;
1248
+ name: string;
1249
+ unit: {
1250
+ name: string;
1251
+ code: string;
1252
+ magnitude: number;
1253
+ };
1254
+ node: {
1255
+ type: "external";
1256
+ uri: string;
1257
+ };
1258
+ explorer: {
1259
+ type: "blockscout";
1260
+ uri: string;
1261
+ };
1262
+ };
1263
+ story: {
1264
+ status: {
1265
+ type: "active";
1266
+ features: {
1267
+ id: "blockchain_txs";
1268
+ status: "active";
1269
+ }[];
1270
+ };
1271
+ chainId: 1514;
1272
+ name: string;
1273
+ unit: {
1274
+ name: string;
1275
+ code: string;
1276
+ magnitude: number;
1277
+ };
1278
+ node: {
1279
+ type: "external";
1280
+ uri: string;
1281
+ };
1282
+ explorer: {
1283
+ type: "blockscout";
1284
+ uri: string;
1285
+ };
1286
+ };
1287
+ etherlink: {
1288
+ status: {
1289
+ type: "active";
1290
+ features: {
1291
+ id: "blockchain_txs";
1292
+ status: "active";
1293
+ }[];
1294
+ };
1295
+ chainId: 42793;
1296
+ name: string;
1297
+ unit: {
1298
+ name: string;
1299
+ code: string;
1300
+ magnitude: number;
1301
+ };
1302
+ node: {
1303
+ type: "external";
1304
+ uri: string;
1305
+ };
1306
+ explorer: {
1307
+ type: "blockscout";
1308
+ uri: string;
1309
+ };
1310
+ };
1311
+ zksync: {
1312
+ status: {
1313
+ type: "active";
1314
+ features: {
1315
+ id: "blockchain_txs";
1316
+ status: "active";
1317
+ }[];
1318
+ };
1319
+ chainId: 324;
1320
+ name: string;
1321
+ unit: {
1322
+ name: string;
1323
+ code: string;
1324
+ magnitude: number;
1325
+ };
1326
+ node: {
1327
+ type: "external";
1328
+ uri: string;
1329
+ };
1330
+ explorer: {
1331
+ type: "blockscout";
1332
+ uri: string;
1333
+ };
1334
+ };
1335
+ zksync_sepolia: {
1336
+ status: {
1337
+ type: "active";
1338
+ features: {
1339
+ id: "blockchain_txs";
1340
+ status: "active";
1341
+ }[];
1342
+ };
1343
+ chainId: 300;
1344
+ name: string;
1345
+ unit: {
1346
+ name: string;
1347
+ code: string;
1348
+ magnitude: number;
1349
+ };
1350
+ node: {
1351
+ type: "external";
1352
+ uri: string;
1353
+ };
1354
+ explorer: {
1355
+ type: "blockscout";
1356
+ uri: string;
1357
+ };
1358
+ };
1359
+ monad: {
1360
+ status: {
1361
+ type: "active";
1362
+ features: {
1363
+ id: "blockchain_txs";
1364
+ status: "active";
1365
+ }[];
1366
+ };
1367
+ chainId: 143;
1368
+ name: string;
1369
+ unit: {
1370
+ name: string;
1371
+ code: string;
1372
+ magnitude: number;
1373
+ };
1374
+ node: {
1375
+ type: "external";
1376
+ uri: string;
1377
+ };
1378
+ explorer: {
1379
+ type: "etherscan";
1380
+ uri: string;
1381
+ };
1382
+ };
1383
+ monad_testnet: {
1384
+ status: {
1385
+ type: "active";
1386
+ features: {
1387
+ id: "blockchain_txs";
1388
+ status: "active";
1389
+ }[];
1390
+ };
1391
+ chainId: 10143;
1392
+ name: string;
1393
+ unit: {
1394
+ name: string;
1395
+ code: string;
1396
+ magnitude: number;
1397
+ };
1398
+ node: {
1399
+ type: "external";
1400
+ uri: string;
1401
+ };
1402
+ explorer: {
1403
+ type: "etherscan";
1404
+ uri: string;
1405
+ };
1406
+ };
1407
+ somnia: {
1408
+ status: {
1409
+ type: "active";
1410
+ features: {
1411
+ id: "blockchain_txs";
1412
+ status: "active";
1413
+ }[];
1414
+ };
1415
+ chainId: 5031;
1416
+ name: string;
1417
+ unit: {
1418
+ name: string;
1419
+ code: string;
1420
+ magnitude: number;
1421
+ };
1422
+ node: {
1423
+ type: "external";
1424
+ uri: string;
1425
+ };
1426
+ explorer: {
1427
+ type: "blockscout";
1428
+ uri: string;
1429
+ };
1430
+ };
1431
+ zero_gravity: {
1432
+ status: {
1433
+ type: "active";
1434
+ features: {
1435
+ id: "blockchain_txs";
1436
+ status: "active";
1437
+ }[];
1438
+ };
1439
+ chainId: 16661;
1440
+ name: string;
1441
+ unit: {
1442
+ name: string;
1443
+ code: string;
1444
+ magnitude: number;
1445
+ };
1446
+ node: {
1447
+ type: "external";
1448
+ uri: string;
1449
+ };
1450
+ explorer: {
1451
+ type: "blockscout";
1452
+ uri: string;
1453
+ maxLimit: number;
1454
+ };
1455
+ minGasPrice: string;
1456
+ };
1457
+ adi: {
1458
+ status: {
1459
+ type: "active";
1460
+ features: {
1461
+ id: "blockchain_txs";
1462
+ status: "active";
1463
+ }[];
1464
+ };
1465
+ chainId: 36900;
1466
+ name: string;
1467
+ unit: {
1468
+ name: string;
1469
+ code: string;
1470
+ magnitude: number;
1471
+ };
1472
+ node: {
1473
+ type: "external";
1474
+ uri: string;
1475
+ };
1476
+ explorer: {
1477
+ type: "blockscout";
1478
+ uri: string;
1479
+ };
1480
+ };
1481
+ unichain: {
1482
+ status: {
1483
+ type: "active";
1484
+ features: {
1485
+ id: "blockchain_txs";
1486
+ status: "active";
1487
+ }[];
1488
+ };
1489
+ chainId: 130;
1490
+ name: string;
1491
+ unit: {
1492
+ name: string;
1493
+ code: string;
1494
+ magnitude: number;
1495
+ };
1496
+ node: {
1497
+ type: "external";
1498
+ uri: string;
1499
+ };
1500
+ explorer: {
1501
+ type: "blockscout";
1502
+ uri: string;
1503
+ };
1504
+ };
1505
+ unichain_sepolia: {
1506
+ status: {
1507
+ type: "active";
1508
+ features: {
1509
+ id: "blockchain_txs";
1510
+ status: "active";
1511
+ }[];
1512
+ };
1513
+ chainId: 1301;
1514
+ name: string;
1515
+ unit: {
1516
+ name: string;
1517
+ code: string;
1518
+ magnitude: number;
1519
+ };
1520
+ node: {
1521
+ type: "external";
1522
+ uri: string;
1523
+ };
1524
+ explorer: {
1525
+ type: "blockscout";
1526
+ uri: string;
1527
+ };
1528
+ };
1529
+ arc: {
1530
+ status: {
1531
+ type: "active";
1532
+ features: {
1533
+ id: "blockchain_txs";
1534
+ status: "active";
1535
+ }[];
1536
+ };
1537
+ chainId: 5042;
1538
+ name: string;
1539
+ unit: {
1540
+ name: string;
1541
+ code: string;
1542
+ magnitude: number;
1543
+ };
1544
+ node: {
1545
+ type: "external";
1546
+ uri: string;
1547
+ };
1548
+ explorer: {
1549
+ type: "blockscout";
1550
+ uri: string;
1551
+ };
1552
+ nativeContracts: string[];
1553
+ feeHistoryBlockCount: number;
1554
+ feeHistoryRewardPercentile: number;
1555
+ };
1556
+ arc_testnet: {
1557
+ status: {
1558
+ type: "active";
1559
+ features: {
1560
+ id: "blockchain_txs";
1561
+ status: "active";
1562
+ }[];
1563
+ };
1564
+ chainId: 5042002;
1565
+ name: string;
1566
+ unit: {
1567
+ name: string;
1568
+ code: string;
1569
+ magnitude: number;
1570
+ };
1571
+ node: {
1572
+ type: "external";
1573
+ uri: string;
1574
+ };
1575
+ explorer: {
1576
+ type: "blockscout";
1577
+ uri: string;
1578
+ };
1579
+ nativeContracts: string[];
1580
+ feeHistoryBlockCount: number;
1581
+ feeHistoryRewardPercentile: number;
1582
+ };
1583
+ robinhood: {
1584
+ status: {
1585
+ type: "active";
1586
+ features: {
1587
+ id: "blockchain_txs";
1588
+ status: "active";
1589
+ }[];
1590
+ };
1591
+ chainId: 4663;
1592
+ name: string;
1593
+ unit: {
1594
+ name: string;
1595
+ code: string;
1596
+ magnitude: number;
1597
+ };
1598
+ node: {
1599
+ type: "external";
1600
+ uri: string;
1601
+ };
1602
+ explorer: {
1603
+ type: "blockscout";
1604
+ uri: string;
1605
+ };
1606
+ };
1607
+ robinhood_testnet: {
1608
+ status: {
1609
+ type: "active";
1610
+ features: {
1611
+ id: "blockchain_txs";
1612
+ status: "active";
1613
+ }[];
1614
+ };
1615
+ chainId: 46630;
1616
+ name: string;
1617
+ unit: {
1618
+ name: string;
1619
+ code: string;
1620
+ magnitude: number;
1621
+ };
1622
+ node: {
1623
+ type: "external";
1624
+ uri: string;
1625
+ };
1626
+ explorer: {
1627
+ type: "none";
1628
+ };
1629
+ };
1630
+ alpen_testnet: {
1631
+ status: {
1632
+ type: "active";
1633
+ features: {
1634
+ id: "blockchain_txs";
1635
+ status: "active";
1636
+ }[];
1637
+ };
1638
+ chainId: 20310;
1639
+ name: string;
1640
+ unit: {
1641
+ name: string;
1642
+ code: string;
1643
+ magnitude: number;
1644
+ };
1645
+ node: {
1646
+ type: "external";
1647
+ uri: string;
1648
+ };
1649
+ explorer: {
1650
+ type: "blockscout";
1651
+ uri: string;
1652
+ };
1653
+ forceLegacyTransactions: true;
1654
+ minGasPrice: string;
1655
+ };
1656
+ };
158
1657
  //# sourceMappingURL=config.d.ts.map