@bgd-labs/toolbox 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +4475 -4
- package/dist/index.d.ts +4475 -4
- package/dist/index.js +94 -104
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +115 -130
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { IPayloadsControllerCore_ABI, IGovernanceCore_ABI } from '@bgd-labs/aave-address-book/abis';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { GetContractReturnType, Client, Hex, TestClient, Address, WalletClient, HttpTransportConfig, ClientConfig, Abi } from 'viem';
|
|
4
|
+
import * as viem_zksync from 'viem/zksync';
|
|
5
|
+
import * as viem_experimental from 'viem/experimental';
|
|
6
|
+
import * as viem_chains from 'viem/chains';
|
|
4
7
|
|
|
5
8
|
/**
|
|
6
9
|
* In solidity it is a quite common practice to encode bit variables in bitmaps opposed to bool structs.
|
|
@@ -375,6 +378,3468 @@ declare const ChainId: {
|
|
|
375
378
|
readonly zkEVM: 1101;
|
|
376
379
|
readonly zksync: 324;
|
|
377
380
|
readonly linea: 59144;
|
|
381
|
+
readonly ink: 57073;
|
|
382
|
+
};
|
|
383
|
+
declare const ChainList: {
|
|
384
|
+
1: {
|
|
385
|
+
blockExplorers: {
|
|
386
|
+
readonly default: {
|
|
387
|
+
readonly name: "Etherscan";
|
|
388
|
+
readonly url: "https://etherscan.io";
|
|
389
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
contracts: {
|
|
393
|
+
readonly ensRegistry: {
|
|
394
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
395
|
+
};
|
|
396
|
+
readonly ensUniversalResolver: {
|
|
397
|
+
readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
|
|
398
|
+
readonly blockCreated: 19258213;
|
|
399
|
+
};
|
|
400
|
+
readonly multicall3: {
|
|
401
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
402
|
+
readonly blockCreated: 14353601;
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
id: 1;
|
|
406
|
+
name: "Ethereum";
|
|
407
|
+
nativeCurrency: {
|
|
408
|
+
readonly name: "Ether";
|
|
409
|
+
readonly symbol: "ETH";
|
|
410
|
+
readonly decimals: 18;
|
|
411
|
+
};
|
|
412
|
+
rpcUrls: {
|
|
413
|
+
readonly default: {
|
|
414
|
+
readonly http: readonly ["https://eth.merkle.io"];
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
sourceId?: number | undefined;
|
|
418
|
+
testnet?: boolean | undefined;
|
|
419
|
+
custom?: Record<string, unknown> | undefined;
|
|
420
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
421
|
+
formatters?: undefined;
|
|
422
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
423
|
+
};
|
|
424
|
+
137: {
|
|
425
|
+
blockExplorers: {
|
|
426
|
+
readonly default: {
|
|
427
|
+
readonly name: "PolygonScan";
|
|
428
|
+
readonly url: "https://polygonscan.com";
|
|
429
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
contracts: {
|
|
433
|
+
readonly multicall3: {
|
|
434
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
435
|
+
readonly blockCreated: 25770160;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
id: 137;
|
|
439
|
+
name: "Polygon";
|
|
440
|
+
nativeCurrency: {
|
|
441
|
+
readonly name: "POL";
|
|
442
|
+
readonly symbol: "POL";
|
|
443
|
+
readonly decimals: 18;
|
|
444
|
+
};
|
|
445
|
+
rpcUrls: {
|
|
446
|
+
readonly default: {
|
|
447
|
+
readonly http: readonly ["https://polygon-rpc.com"];
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
sourceId?: number | undefined;
|
|
451
|
+
testnet?: boolean | undefined;
|
|
452
|
+
custom?: Record<string, unknown> | undefined;
|
|
453
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
454
|
+
formatters?: undefined;
|
|
455
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
456
|
+
};
|
|
457
|
+
80002: {
|
|
458
|
+
blockExplorers: {
|
|
459
|
+
readonly default: {
|
|
460
|
+
readonly name: "PolygonScan";
|
|
461
|
+
readonly url: "https://amoy.polygonscan.com";
|
|
462
|
+
readonly apiUrl: "https://api-amoy.polygonscan.com/api";
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
contracts: {
|
|
466
|
+
readonly multicall3: {
|
|
467
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
468
|
+
readonly blockCreated: 3127388;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
id: 80002;
|
|
472
|
+
name: "Polygon Amoy";
|
|
473
|
+
nativeCurrency: {
|
|
474
|
+
readonly name: "POL";
|
|
475
|
+
readonly symbol: "POL";
|
|
476
|
+
readonly decimals: 18;
|
|
477
|
+
};
|
|
478
|
+
rpcUrls: {
|
|
479
|
+
readonly default: {
|
|
480
|
+
readonly http: readonly ["https://rpc-amoy.polygon.technology"];
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
sourceId?: number | undefined;
|
|
484
|
+
testnet: true;
|
|
485
|
+
custom?: Record<string, unknown> | undefined;
|
|
486
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
487
|
+
formatters?: undefined;
|
|
488
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
489
|
+
};
|
|
490
|
+
43114: {
|
|
491
|
+
blockExplorers: {
|
|
492
|
+
readonly default: {
|
|
493
|
+
readonly name: "SnowTrace";
|
|
494
|
+
readonly url: "https://snowtrace.io";
|
|
495
|
+
readonly apiUrl: "https://api.snowtrace.io";
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
contracts: {
|
|
499
|
+
readonly multicall3: {
|
|
500
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
501
|
+
readonly blockCreated: 11907934;
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
id: 43114;
|
|
505
|
+
name: "Avalanche";
|
|
506
|
+
nativeCurrency: {
|
|
507
|
+
readonly decimals: 18;
|
|
508
|
+
readonly name: "Avalanche";
|
|
509
|
+
readonly symbol: "AVAX";
|
|
510
|
+
};
|
|
511
|
+
rpcUrls: {
|
|
512
|
+
readonly default: {
|
|
513
|
+
readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
sourceId?: number | undefined;
|
|
517
|
+
testnet?: boolean | undefined;
|
|
518
|
+
custom?: Record<string, unknown> | undefined;
|
|
519
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
520
|
+
formatters?: undefined;
|
|
521
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
522
|
+
};
|
|
523
|
+
43113: {
|
|
524
|
+
blockExplorers: {
|
|
525
|
+
readonly default: {
|
|
526
|
+
readonly name: "SnowTrace";
|
|
527
|
+
readonly url: "https://testnet.snowtrace.io";
|
|
528
|
+
readonly apiUrl: "https://api-testnet.snowtrace.io";
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
contracts: {
|
|
532
|
+
readonly multicall3: {
|
|
533
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
534
|
+
readonly blockCreated: 7096959;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
id: 43113;
|
|
538
|
+
name: "Avalanche Fuji";
|
|
539
|
+
nativeCurrency: {
|
|
540
|
+
readonly decimals: 18;
|
|
541
|
+
readonly name: "Avalanche Fuji";
|
|
542
|
+
readonly symbol: "AVAX";
|
|
543
|
+
};
|
|
544
|
+
rpcUrls: {
|
|
545
|
+
readonly default: {
|
|
546
|
+
readonly http: readonly ["https://api.avax-test.network/ext/bc/C/rpc"];
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
sourceId?: number | undefined;
|
|
550
|
+
testnet: true;
|
|
551
|
+
custom?: Record<string, unknown> | undefined;
|
|
552
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
553
|
+
formatters?: undefined;
|
|
554
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
555
|
+
};
|
|
556
|
+
42161: {
|
|
557
|
+
blockExplorers: {
|
|
558
|
+
readonly default: {
|
|
559
|
+
readonly name: "Arbiscan";
|
|
560
|
+
readonly url: "https://arbiscan.io";
|
|
561
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
contracts: {
|
|
565
|
+
readonly multicall3: {
|
|
566
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
567
|
+
readonly blockCreated: 7654707;
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
id: 42161;
|
|
571
|
+
name: "Arbitrum One";
|
|
572
|
+
nativeCurrency: {
|
|
573
|
+
readonly name: "Ether";
|
|
574
|
+
readonly symbol: "ETH";
|
|
575
|
+
readonly decimals: 18;
|
|
576
|
+
};
|
|
577
|
+
rpcUrls: {
|
|
578
|
+
readonly default: {
|
|
579
|
+
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
sourceId?: number | undefined;
|
|
583
|
+
testnet?: boolean | undefined;
|
|
584
|
+
custom?: Record<string, unknown> | undefined;
|
|
585
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
586
|
+
formatters?: undefined;
|
|
587
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
588
|
+
};
|
|
589
|
+
421614: {
|
|
590
|
+
blockExplorers: {
|
|
591
|
+
readonly default: {
|
|
592
|
+
readonly name: "Arbiscan";
|
|
593
|
+
readonly url: "https://sepolia.arbiscan.io";
|
|
594
|
+
readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
contracts: {
|
|
598
|
+
readonly multicall3: {
|
|
599
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
600
|
+
readonly blockCreated: 81930;
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
id: 421614;
|
|
604
|
+
name: "Arbitrum Sepolia";
|
|
605
|
+
nativeCurrency: {
|
|
606
|
+
readonly name: "Arbitrum Sepolia Ether";
|
|
607
|
+
readonly symbol: "ETH";
|
|
608
|
+
readonly decimals: 18;
|
|
609
|
+
};
|
|
610
|
+
rpcUrls: {
|
|
611
|
+
readonly default: {
|
|
612
|
+
readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
sourceId?: number | undefined;
|
|
616
|
+
testnet: true;
|
|
617
|
+
custom?: Record<string, unknown> | undefined;
|
|
618
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
619
|
+
formatters?: undefined;
|
|
620
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
621
|
+
};
|
|
622
|
+
250: {
|
|
623
|
+
blockExplorers: {
|
|
624
|
+
readonly default: {
|
|
625
|
+
readonly name: "FTMScan";
|
|
626
|
+
readonly url: "https://ftmscan.com";
|
|
627
|
+
readonly apiUrl: "https://api.ftmscan.com/api";
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
contracts: {
|
|
631
|
+
readonly multicall3: {
|
|
632
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
633
|
+
readonly blockCreated: 33001987;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
id: 250;
|
|
637
|
+
name: "Fantom";
|
|
638
|
+
nativeCurrency: {
|
|
639
|
+
readonly decimals: 18;
|
|
640
|
+
readonly name: "Fantom";
|
|
641
|
+
readonly symbol: "FTM";
|
|
642
|
+
};
|
|
643
|
+
rpcUrls: {
|
|
644
|
+
readonly default: {
|
|
645
|
+
readonly http: readonly ["https://rpc.ankr.com/fantom"];
|
|
646
|
+
};
|
|
647
|
+
};
|
|
648
|
+
sourceId?: number | undefined;
|
|
649
|
+
testnet?: boolean | undefined;
|
|
650
|
+
custom?: Record<string, unknown> | undefined;
|
|
651
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
652
|
+
formatters?: undefined;
|
|
653
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
654
|
+
};
|
|
655
|
+
4002: {
|
|
656
|
+
blockExplorers: {
|
|
657
|
+
readonly default: {
|
|
658
|
+
readonly name: "FTMScan";
|
|
659
|
+
readonly url: "https://testnet.ftmscan.com";
|
|
660
|
+
readonly apiUrl: "https://testnet.ftmscan.com/api";
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
contracts: {
|
|
664
|
+
readonly multicall3: {
|
|
665
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
666
|
+
readonly blockCreated: 8328688;
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
id: 4002;
|
|
670
|
+
name: "Fantom Testnet";
|
|
671
|
+
nativeCurrency: {
|
|
672
|
+
readonly decimals: 18;
|
|
673
|
+
readonly name: "Fantom";
|
|
674
|
+
readonly symbol: "FTM";
|
|
675
|
+
};
|
|
676
|
+
rpcUrls: {
|
|
677
|
+
readonly default: {
|
|
678
|
+
readonly http: readonly ["https://rpc.testnet.fantom.network"];
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
sourceId?: number | undefined;
|
|
682
|
+
testnet: true;
|
|
683
|
+
custom?: Record<string, unknown> | undefined;
|
|
684
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
685
|
+
formatters?: undefined;
|
|
686
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
687
|
+
};
|
|
688
|
+
10: {
|
|
689
|
+
blockExplorers: {
|
|
690
|
+
readonly default: {
|
|
691
|
+
readonly name: "Optimism Explorer";
|
|
692
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
693
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io/api";
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
contracts: {
|
|
697
|
+
readonly disputeGameFactory: {
|
|
698
|
+
readonly 1: {
|
|
699
|
+
readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
readonly l2OutputOracle: {
|
|
703
|
+
readonly 1: {
|
|
704
|
+
readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
readonly multicall3: {
|
|
708
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
709
|
+
readonly blockCreated: 4286263;
|
|
710
|
+
};
|
|
711
|
+
readonly portal: {
|
|
712
|
+
readonly 1: {
|
|
713
|
+
readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
readonly l1StandardBridge: {
|
|
717
|
+
readonly 1: {
|
|
718
|
+
readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
readonly gasPriceOracle: {
|
|
722
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
723
|
+
};
|
|
724
|
+
readonly l1Block: {
|
|
725
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
726
|
+
};
|
|
727
|
+
readonly l2CrossDomainMessenger: {
|
|
728
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
729
|
+
};
|
|
730
|
+
readonly l2Erc721Bridge: {
|
|
731
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
732
|
+
};
|
|
733
|
+
readonly l2StandardBridge: {
|
|
734
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
735
|
+
};
|
|
736
|
+
readonly l2ToL1MessagePasser: {
|
|
737
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
id: 10;
|
|
741
|
+
name: "OP Mainnet";
|
|
742
|
+
nativeCurrency: {
|
|
743
|
+
readonly name: "Ether";
|
|
744
|
+
readonly symbol: "ETH";
|
|
745
|
+
readonly decimals: 18;
|
|
746
|
+
};
|
|
747
|
+
rpcUrls: {
|
|
748
|
+
readonly default: {
|
|
749
|
+
readonly http: readonly ["https://mainnet.optimism.io"];
|
|
750
|
+
};
|
|
751
|
+
};
|
|
752
|
+
sourceId: 1;
|
|
753
|
+
testnet?: boolean | undefined;
|
|
754
|
+
custom?: Record<string, unknown> | undefined;
|
|
755
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
756
|
+
formatters: {
|
|
757
|
+
readonly block: {
|
|
758
|
+
exclude: [] | undefined;
|
|
759
|
+
format: (args: viem_chains.OpStackRpcBlock) => {
|
|
760
|
+
baseFeePerGas: bigint | null;
|
|
761
|
+
blobGasUsed: bigint;
|
|
762
|
+
difficulty: bigint;
|
|
763
|
+
excessBlobGas: bigint;
|
|
764
|
+
extraData: viem.Hex;
|
|
765
|
+
gasLimit: bigint;
|
|
766
|
+
gasUsed: bigint;
|
|
767
|
+
hash: `0x${string}` | null;
|
|
768
|
+
logsBloom: `0x${string}` | null;
|
|
769
|
+
miner: viem.Address;
|
|
770
|
+
mixHash: viem.Hash;
|
|
771
|
+
nonce: `0x${string}` | null;
|
|
772
|
+
number: bigint | null;
|
|
773
|
+
parentBeaconBlockRoot?: viem.Hex | undefined;
|
|
774
|
+
parentHash: viem.Hash;
|
|
775
|
+
receiptsRoot: viem.Hex;
|
|
776
|
+
sealFields: viem.Hex[];
|
|
777
|
+
sha3Uncles: viem.Hash;
|
|
778
|
+
size: bigint;
|
|
779
|
+
stateRoot: viem.Hash;
|
|
780
|
+
timestamp: bigint;
|
|
781
|
+
totalDifficulty: bigint | null;
|
|
782
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
783
|
+
transactionsRoot: viem.Hash;
|
|
784
|
+
uncles: viem.Hash[];
|
|
785
|
+
withdrawals?: viem.Withdrawal[] | undefined;
|
|
786
|
+
withdrawalsRoot?: viem.Hex | undefined;
|
|
787
|
+
} & {};
|
|
788
|
+
type: "block";
|
|
789
|
+
};
|
|
790
|
+
readonly transaction: {
|
|
791
|
+
exclude: [] | undefined;
|
|
792
|
+
format: (args: viem_chains.OpStackRpcTransaction) => ({
|
|
793
|
+
blockHash: `0x${string}` | null;
|
|
794
|
+
blockNumber: bigint | null;
|
|
795
|
+
from: viem.Address;
|
|
796
|
+
gas: bigint;
|
|
797
|
+
hash: viem.Hash;
|
|
798
|
+
input: viem.Hex;
|
|
799
|
+
nonce: number;
|
|
800
|
+
r: viem.Hex;
|
|
801
|
+
s: viem.Hex;
|
|
802
|
+
to: viem.Address | null;
|
|
803
|
+
transactionIndex: number | null;
|
|
804
|
+
typeHex: viem.Hex | null;
|
|
805
|
+
v: bigint;
|
|
806
|
+
value: bigint;
|
|
807
|
+
yParity: number;
|
|
808
|
+
gasPrice?: undefined;
|
|
809
|
+
maxFeePerBlobGas?: undefined;
|
|
810
|
+
maxFeePerGas: bigint;
|
|
811
|
+
maxPriorityFeePerGas: bigint;
|
|
812
|
+
isSystemTx?: boolean;
|
|
813
|
+
mint?: bigint | undefined;
|
|
814
|
+
sourceHash: viem.Hex;
|
|
815
|
+
type: "deposit";
|
|
816
|
+
} | {
|
|
817
|
+
r: viem.Hex;
|
|
818
|
+
s: viem.Hex;
|
|
819
|
+
v: bigint;
|
|
820
|
+
to: viem.Address | null;
|
|
821
|
+
from: viem.Address;
|
|
822
|
+
gas: bigint;
|
|
823
|
+
nonce: number;
|
|
824
|
+
value: bigint;
|
|
825
|
+
blockHash: `0x${string}` | null;
|
|
826
|
+
blockNumber: bigint | null;
|
|
827
|
+
hash: viem.Hash;
|
|
828
|
+
input: viem.Hex;
|
|
829
|
+
transactionIndex: number | null;
|
|
830
|
+
typeHex: viem.Hex | null;
|
|
831
|
+
accessList?: undefined;
|
|
832
|
+
authorizationList?: undefined;
|
|
833
|
+
blobVersionedHashes?: undefined;
|
|
834
|
+
chainId?: number | undefined;
|
|
835
|
+
yParity?: undefined;
|
|
836
|
+
type: "legacy";
|
|
837
|
+
gasPrice: bigint;
|
|
838
|
+
maxFeePerBlobGas?: undefined;
|
|
839
|
+
maxFeePerGas?: undefined;
|
|
840
|
+
maxPriorityFeePerGas?: undefined;
|
|
841
|
+
isSystemTx?: undefined;
|
|
842
|
+
mint?: undefined;
|
|
843
|
+
sourceHash?: undefined;
|
|
844
|
+
} | {
|
|
845
|
+
blockHash: `0x${string}` | null;
|
|
846
|
+
blockNumber: bigint | null;
|
|
847
|
+
from: viem.Address;
|
|
848
|
+
gas: bigint;
|
|
849
|
+
hash: viem.Hash;
|
|
850
|
+
input: viem.Hex;
|
|
851
|
+
nonce: number;
|
|
852
|
+
r: viem.Hex;
|
|
853
|
+
s: viem.Hex;
|
|
854
|
+
to: viem.Address | null;
|
|
855
|
+
transactionIndex: number | null;
|
|
856
|
+
typeHex: viem.Hex | null;
|
|
857
|
+
v: bigint;
|
|
858
|
+
value: bigint;
|
|
859
|
+
yParity: number;
|
|
860
|
+
accessList: viem.AccessList;
|
|
861
|
+
authorizationList?: undefined;
|
|
862
|
+
blobVersionedHashes?: undefined;
|
|
863
|
+
chainId: number;
|
|
864
|
+
type: "eip2930";
|
|
865
|
+
gasPrice: bigint;
|
|
866
|
+
maxFeePerBlobGas?: undefined;
|
|
867
|
+
maxFeePerGas?: undefined;
|
|
868
|
+
maxPriorityFeePerGas?: undefined;
|
|
869
|
+
isSystemTx?: undefined;
|
|
870
|
+
mint?: undefined;
|
|
871
|
+
sourceHash?: undefined;
|
|
872
|
+
} | {
|
|
873
|
+
blockHash: `0x${string}` | null;
|
|
874
|
+
blockNumber: bigint | null;
|
|
875
|
+
from: viem.Address;
|
|
876
|
+
gas: bigint;
|
|
877
|
+
hash: viem.Hash;
|
|
878
|
+
input: viem.Hex;
|
|
879
|
+
nonce: number;
|
|
880
|
+
r: viem.Hex;
|
|
881
|
+
s: viem.Hex;
|
|
882
|
+
to: viem.Address | null;
|
|
883
|
+
transactionIndex: number | null;
|
|
884
|
+
typeHex: viem.Hex | null;
|
|
885
|
+
v: bigint;
|
|
886
|
+
value: bigint;
|
|
887
|
+
yParity: number;
|
|
888
|
+
accessList: viem.AccessList;
|
|
889
|
+
authorizationList?: undefined;
|
|
890
|
+
blobVersionedHashes?: undefined;
|
|
891
|
+
chainId: number;
|
|
892
|
+
type: "eip1559";
|
|
893
|
+
gasPrice?: undefined;
|
|
894
|
+
maxFeePerBlobGas?: undefined;
|
|
895
|
+
maxFeePerGas: bigint;
|
|
896
|
+
maxPriorityFeePerGas: bigint;
|
|
897
|
+
isSystemTx?: undefined;
|
|
898
|
+
mint?: undefined;
|
|
899
|
+
sourceHash?: undefined;
|
|
900
|
+
} | {
|
|
901
|
+
blockHash: `0x${string}` | null;
|
|
902
|
+
blockNumber: bigint | null;
|
|
903
|
+
from: viem.Address;
|
|
904
|
+
gas: bigint;
|
|
905
|
+
hash: viem.Hash;
|
|
906
|
+
input: viem.Hex;
|
|
907
|
+
nonce: number;
|
|
908
|
+
r: viem.Hex;
|
|
909
|
+
s: viem.Hex;
|
|
910
|
+
to: viem.Address | null;
|
|
911
|
+
transactionIndex: number | null;
|
|
912
|
+
typeHex: viem.Hex | null;
|
|
913
|
+
v: bigint;
|
|
914
|
+
value: bigint;
|
|
915
|
+
yParity: number;
|
|
916
|
+
accessList: viem.AccessList;
|
|
917
|
+
authorizationList?: undefined;
|
|
918
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
919
|
+
chainId: number;
|
|
920
|
+
type: "eip4844";
|
|
921
|
+
gasPrice?: undefined;
|
|
922
|
+
maxFeePerBlobGas: bigint;
|
|
923
|
+
maxFeePerGas: bigint;
|
|
924
|
+
maxPriorityFeePerGas: bigint;
|
|
925
|
+
isSystemTx?: undefined;
|
|
926
|
+
mint?: undefined;
|
|
927
|
+
sourceHash?: undefined;
|
|
928
|
+
} | {
|
|
929
|
+
blockHash: `0x${string}` | null;
|
|
930
|
+
blockNumber: bigint | null;
|
|
931
|
+
from: viem.Address;
|
|
932
|
+
gas: bigint;
|
|
933
|
+
hash: viem.Hash;
|
|
934
|
+
input: viem.Hex;
|
|
935
|
+
nonce: number;
|
|
936
|
+
r: viem.Hex;
|
|
937
|
+
s: viem.Hex;
|
|
938
|
+
to: viem.Address | null;
|
|
939
|
+
transactionIndex: number | null;
|
|
940
|
+
typeHex: viem.Hex | null;
|
|
941
|
+
v: bigint;
|
|
942
|
+
value: bigint;
|
|
943
|
+
yParity: number;
|
|
944
|
+
accessList: viem.AccessList;
|
|
945
|
+
authorizationList: viem_experimental.SignedAuthorizationList;
|
|
946
|
+
blobVersionedHashes?: undefined;
|
|
947
|
+
chainId: number;
|
|
948
|
+
type: "eip7702";
|
|
949
|
+
gasPrice?: undefined;
|
|
950
|
+
maxFeePerBlobGas?: undefined;
|
|
951
|
+
maxFeePerGas: bigint;
|
|
952
|
+
maxPriorityFeePerGas: bigint;
|
|
953
|
+
isSystemTx?: undefined;
|
|
954
|
+
mint?: undefined;
|
|
955
|
+
sourceHash?: undefined;
|
|
956
|
+
}) & {};
|
|
957
|
+
type: "transaction";
|
|
958
|
+
};
|
|
959
|
+
readonly transactionReceipt: {
|
|
960
|
+
exclude: [] | undefined;
|
|
961
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
|
|
962
|
+
blobGasPrice?: bigint | undefined;
|
|
963
|
+
blobGasUsed?: bigint | undefined;
|
|
964
|
+
blockHash: viem.Hash;
|
|
965
|
+
blockNumber: bigint;
|
|
966
|
+
contractAddress: viem.Address | null | undefined;
|
|
967
|
+
cumulativeGasUsed: bigint;
|
|
968
|
+
effectiveGasPrice: bigint;
|
|
969
|
+
from: viem.Address;
|
|
970
|
+
gasUsed: bigint;
|
|
971
|
+
logs: viem.Log<bigint, number, false>[];
|
|
972
|
+
logsBloom: viem.Hex;
|
|
973
|
+
root?: viem.Hash | undefined;
|
|
974
|
+
status: "success" | "reverted";
|
|
975
|
+
to: viem.Address | null;
|
|
976
|
+
transactionHash: viem.Hash;
|
|
977
|
+
transactionIndex: number;
|
|
978
|
+
type: viem.TransactionType;
|
|
979
|
+
l1GasPrice: bigint | null;
|
|
980
|
+
l1GasUsed: bigint | null;
|
|
981
|
+
l1Fee: bigint | null;
|
|
982
|
+
l1FeeScalar: number | null;
|
|
983
|
+
} & {};
|
|
984
|
+
type: "transactionReceipt";
|
|
985
|
+
};
|
|
986
|
+
};
|
|
987
|
+
serializers: {
|
|
988
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
11155420: {
|
|
992
|
+
blockExplorers: {
|
|
993
|
+
readonly default: {
|
|
994
|
+
readonly name: "Blockscout";
|
|
995
|
+
readonly url: "https://optimism-sepolia.blockscout.com";
|
|
996
|
+
readonly apiUrl: "https://optimism-sepolia.blockscout.com/api";
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
contracts: {
|
|
1000
|
+
readonly disputeGameFactory: {
|
|
1001
|
+
readonly 11155111: {
|
|
1002
|
+
readonly address: "0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1";
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
readonly l2OutputOracle: {
|
|
1006
|
+
readonly 11155111: {
|
|
1007
|
+
readonly address: "0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F";
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
readonly multicall3: {
|
|
1011
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1012
|
+
readonly blockCreated: 1620204;
|
|
1013
|
+
};
|
|
1014
|
+
readonly portal: {
|
|
1015
|
+
readonly 11155111: {
|
|
1016
|
+
readonly address: "0x16Fc5058F25648194471939df75CF27A2fdC48BC";
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
readonly l1StandardBridge: {
|
|
1020
|
+
readonly 11155111: {
|
|
1021
|
+
readonly address: "0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1";
|
|
1022
|
+
};
|
|
1023
|
+
};
|
|
1024
|
+
readonly gasPriceOracle: {
|
|
1025
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1026
|
+
};
|
|
1027
|
+
readonly l1Block: {
|
|
1028
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
1029
|
+
};
|
|
1030
|
+
readonly l2CrossDomainMessenger: {
|
|
1031
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
1032
|
+
};
|
|
1033
|
+
readonly l2Erc721Bridge: {
|
|
1034
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
1035
|
+
};
|
|
1036
|
+
readonly l2StandardBridge: {
|
|
1037
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
1038
|
+
};
|
|
1039
|
+
readonly l2ToL1MessagePasser: {
|
|
1040
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
id: 11155420;
|
|
1044
|
+
name: "OP Sepolia";
|
|
1045
|
+
nativeCurrency: {
|
|
1046
|
+
readonly name: "Sepolia Ether";
|
|
1047
|
+
readonly symbol: "ETH";
|
|
1048
|
+
readonly decimals: 18;
|
|
1049
|
+
};
|
|
1050
|
+
rpcUrls: {
|
|
1051
|
+
readonly default: {
|
|
1052
|
+
readonly http: readonly ["https://sepolia.optimism.io"];
|
|
1053
|
+
};
|
|
1054
|
+
};
|
|
1055
|
+
sourceId: 11155111;
|
|
1056
|
+
testnet: true;
|
|
1057
|
+
custom?: Record<string, unknown> | undefined;
|
|
1058
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1059
|
+
formatters: {
|
|
1060
|
+
readonly block: {
|
|
1061
|
+
exclude: [] | undefined;
|
|
1062
|
+
format: (args: viem_chains.OpStackRpcBlock) => {
|
|
1063
|
+
baseFeePerGas: bigint | null;
|
|
1064
|
+
blobGasUsed: bigint;
|
|
1065
|
+
difficulty: bigint;
|
|
1066
|
+
excessBlobGas: bigint;
|
|
1067
|
+
extraData: viem.Hex;
|
|
1068
|
+
gasLimit: bigint;
|
|
1069
|
+
gasUsed: bigint;
|
|
1070
|
+
hash: `0x${string}` | null;
|
|
1071
|
+
logsBloom: `0x${string}` | null;
|
|
1072
|
+
miner: viem.Address;
|
|
1073
|
+
mixHash: viem.Hash;
|
|
1074
|
+
nonce: `0x${string}` | null;
|
|
1075
|
+
number: bigint | null;
|
|
1076
|
+
parentBeaconBlockRoot?: viem.Hex | undefined;
|
|
1077
|
+
parentHash: viem.Hash;
|
|
1078
|
+
receiptsRoot: viem.Hex;
|
|
1079
|
+
sealFields: viem.Hex[];
|
|
1080
|
+
sha3Uncles: viem.Hash;
|
|
1081
|
+
size: bigint;
|
|
1082
|
+
stateRoot: viem.Hash;
|
|
1083
|
+
timestamp: bigint;
|
|
1084
|
+
totalDifficulty: bigint | null;
|
|
1085
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
1086
|
+
transactionsRoot: viem.Hash;
|
|
1087
|
+
uncles: viem.Hash[];
|
|
1088
|
+
withdrawals?: viem.Withdrawal[] | undefined;
|
|
1089
|
+
withdrawalsRoot?: viem.Hex | undefined;
|
|
1090
|
+
} & {};
|
|
1091
|
+
type: "block";
|
|
1092
|
+
};
|
|
1093
|
+
readonly transaction: {
|
|
1094
|
+
exclude: [] | undefined;
|
|
1095
|
+
format: (args: viem_chains.OpStackRpcTransaction) => ({
|
|
1096
|
+
blockHash: `0x${string}` | null;
|
|
1097
|
+
blockNumber: bigint | null;
|
|
1098
|
+
from: viem.Address;
|
|
1099
|
+
gas: bigint;
|
|
1100
|
+
hash: viem.Hash;
|
|
1101
|
+
input: viem.Hex;
|
|
1102
|
+
nonce: number;
|
|
1103
|
+
r: viem.Hex;
|
|
1104
|
+
s: viem.Hex;
|
|
1105
|
+
to: viem.Address | null;
|
|
1106
|
+
transactionIndex: number | null;
|
|
1107
|
+
typeHex: viem.Hex | null;
|
|
1108
|
+
v: bigint;
|
|
1109
|
+
value: bigint;
|
|
1110
|
+
yParity: number;
|
|
1111
|
+
gasPrice?: undefined;
|
|
1112
|
+
maxFeePerBlobGas?: undefined;
|
|
1113
|
+
maxFeePerGas: bigint;
|
|
1114
|
+
maxPriorityFeePerGas: bigint;
|
|
1115
|
+
isSystemTx?: boolean;
|
|
1116
|
+
mint?: bigint | undefined;
|
|
1117
|
+
sourceHash: viem.Hex;
|
|
1118
|
+
type: "deposit";
|
|
1119
|
+
} | {
|
|
1120
|
+
r: viem.Hex;
|
|
1121
|
+
s: viem.Hex;
|
|
1122
|
+
v: bigint;
|
|
1123
|
+
to: viem.Address | null;
|
|
1124
|
+
from: viem.Address;
|
|
1125
|
+
gas: bigint;
|
|
1126
|
+
nonce: number;
|
|
1127
|
+
value: bigint;
|
|
1128
|
+
blockHash: `0x${string}` | null;
|
|
1129
|
+
blockNumber: bigint | null;
|
|
1130
|
+
hash: viem.Hash;
|
|
1131
|
+
input: viem.Hex;
|
|
1132
|
+
transactionIndex: number | null;
|
|
1133
|
+
typeHex: viem.Hex | null;
|
|
1134
|
+
accessList?: undefined;
|
|
1135
|
+
authorizationList?: undefined;
|
|
1136
|
+
blobVersionedHashes?: undefined;
|
|
1137
|
+
chainId?: number | undefined;
|
|
1138
|
+
yParity?: undefined;
|
|
1139
|
+
type: "legacy";
|
|
1140
|
+
gasPrice: bigint;
|
|
1141
|
+
maxFeePerBlobGas?: undefined;
|
|
1142
|
+
maxFeePerGas?: undefined;
|
|
1143
|
+
maxPriorityFeePerGas?: undefined;
|
|
1144
|
+
isSystemTx?: undefined;
|
|
1145
|
+
mint?: undefined;
|
|
1146
|
+
sourceHash?: undefined;
|
|
1147
|
+
} | {
|
|
1148
|
+
blockHash: `0x${string}` | null;
|
|
1149
|
+
blockNumber: bigint | null;
|
|
1150
|
+
from: viem.Address;
|
|
1151
|
+
gas: bigint;
|
|
1152
|
+
hash: viem.Hash;
|
|
1153
|
+
input: viem.Hex;
|
|
1154
|
+
nonce: number;
|
|
1155
|
+
r: viem.Hex;
|
|
1156
|
+
s: viem.Hex;
|
|
1157
|
+
to: viem.Address | null;
|
|
1158
|
+
transactionIndex: number | null;
|
|
1159
|
+
typeHex: viem.Hex | null;
|
|
1160
|
+
v: bigint;
|
|
1161
|
+
value: bigint;
|
|
1162
|
+
yParity: number;
|
|
1163
|
+
accessList: viem.AccessList;
|
|
1164
|
+
authorizationList?: undefined;
|
|
1165
|
+
blobVersionedHashes?: undefined;
|
|
1166
|
+
chainId: number;
|
|
1167
|
+
type: "eip2930";
|
|
1168
|
+
gasPrice: bigint;
|
|
1169
|
+
maxFeePerBlobGas?: undefined;
|
|
1170
|
+
maxFeePerGas?: undefined;
|
|
1171
|
+
maxPriorityFeePerGas?: undefined;
|
|
1172
|
+
isSystemTx?: undefined;
|
|
1173
|
+
mint?: undefined;
|
|
1174
|
+
sourceHash?: undefined;
|
|
1175
|
+
} | {
|
|
1176
|
+
blockHash: `0x${string}` | null;
|
|
1177
|
+
blockNumber: bigint | null;
|
|
1178
|
+
from: viem.Address;
|
|
1179
|
+
gas: bigint;
|
|
1180
|
+
hash: viem.Hash;
|
|
1181
|
+
input: viem.Hex;
|
|
1182
|
+
nonce: number;
|
|
1183
|
+
r: viem.Hex;
|
|
1184
|
+
s: viem.Hex;
|
|
1185
|
+
to: viem.Address | null;
|
|
1186
|
+
transactionIndex: number | null;
|
|
1187
|
+
typeHex: viem.Hex | null;
|
|
1188
|
+
v: bigint;
|
|
1189
|
+
value: bigint;
|
|
1190
|
+
yParity: number;
|
|
1191
|
+
accessList: viem.AccessList;
|
|
1192
|
+
authorizationList?: undefined;
|
|
1193
|
+
blobVersionedHashes?: undefined;
|
|
1194
|
+
chainId: number;
|
|
1195
|
+
type: "eip1559";
|
|
1196
|
+
gasPrice?: undefined;
|
|
1197
|
+
maxFeePerBlobGas?: undefined;
|
|
1198
|
+
maxFeePerGas: bigint;
|
|
1199
|
+
maxPriorityFeePerGas: bigint;
|
|
1200
|
+
isSystemTx?: undefined;
|
|
1201
|
+
mint?: undefined;
|
|
1202
|
+
sourceHash?: undefined;
|
|
1203
|
+
} | {
|
|
1204
|
+
blockHash: `0x${string}` | null;
|
|
1205
|
+
blockNumber: bigint | null;
|
|
1206
|
+
from: viem.Address;
|
|
1207
|
+
gas: bigint;
|
|
1208
|
+
hash: viem.Hash;
|
|
1209
|
+
input: viem.Hex;
|
|
1210
|
+
nonce: number;
|
|
1211
|
+
r: viem.Hex;
|
|
1212
|
+
s: viem.Hex;
|
|
1213
|
+
to: viem.Address | null;
|
|
1214
|
+
transactionIndex: number | null;
|
|
1215
|
+
typeHex: viem.Hex | null;
|
|
1216
|
+
v: bigint;
|
|
1217
|
+
value: bigint;
|
|
1218
|
+
yParity: number;
|
|
1219
|
+
accessList: viem.AccessList;
|
|
1220
|
+
authorizationList?: undefined;
|
|
1221
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
1222
|
+
chainId: number;
|
|
1223
|
+
type: "eip4844";
|
|
1224
|
+
gasPrice?: undefined;
|
|
1225
|
+
maxFeePerBlobGas: bigint;
|
|
1226
|
+
maxFeePerGas: bigint;
|
|
1227
|
+
maxPriorityFeePerGas: bigint;
|
|
1228
|
+
isSystemTx?: undefined;
|
|
1229
|
+
mint?: undefined;
|
|
1230
|
+
sourceHash?: undefined;
|
|
1231
|
+
} | {
|
|
1232
|
+
blockHash: `0x${string}` | null;
|
|
1233
|
+
blockNumber: bigint | null;
|
|
1234
|
+
from: viem.Address;
|
|
1235
|
+
gas: bigint;
|
|
1236
|
+
hash: viem.Hash;
|
|
1237
|
+
input: viem.Hex;
|
|
1238
|
+
nonce: number;
|
|
1239
|
+
r: viem.Hex;
|
|
1240
|
+
s: viem.Hex;
|
|
1241
|
+
to: viem.Address | null;
|
|
1242
|
+
transactionIndex: number | null;
|
|
1243
|
+
typeHex: viem.Hex | null;
|
|
1244
|
+
v: bigint;
|
|
1245
|
+
value: bigint;
|
|
1246
|
+
yParity: number;
|
|
1247
|
+
accessList: viem.AccessList;
|
|
1248
|
+
authorizationList: viem_experimental.SignedAuthorizationList;
|
|
1249
|
+
blobVersionedHashes?: undefined;
|
|
1250
|
+
chainId: number;
|
|
1251
|
+
type: "eip7702";
|
|
1252
|
+
gasPrice?: undefined;
|
|
1253
|
+
maxFeePerBlobGas?: undefined;
|
|
1254
|
+
maxFeePerGas: bigint;
|
|
1255
|
+
maxPriorityFeePerGas: bigint;
|
|
1256
|
+
isSystemTx?: undefined;
|
|
1257
|
+
mint?: undefined;
|
|
1258
|
+
sourceHash?: undefined;
|
|
1259
|
+
}) & {};
|
|
1260
|
+
type: "transaction";
|
|
1261
|
+
};
|
|
1262
|
+
readonly transactionReceipt: {
|
|
1263
|
+
exclude: [] | undefined;
|
|
1264
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
|
|
1265
|
+
blobGasPrice?: bigint | undefined;
|
|
1266
|
+
blobGasUsed?: bigint | undefined;
|
|
1267
|
+
blockHash: viem.Hash;
|
|
1268
|
+
blockNumber: bigint;
|
|
1269
|
+
contractAddress: viem.Address | null | undefined;
|
|
1270
|
+
cumulativeGasUsed: bigint;
|
|
1271
|
+
effectiveGasPrice: bigint;
|
|
1272
|
+
from: viem.Address;
|
|
1273
|
+
gasUsed: bigint;
|
|
1274
|
+
logs: viem.Log<bigint, number, false>[];
|
|
1275
|
+
logsBloom: viem.Hex;
|
|
1276
|
+
root?: viem.Hash | undefined;
|
|
1277
|
+
status: "success" | "reverted";
|
|
1278
|
+
to: viem.Address | null;
|
|
1279
|
+
transactionHash: viem.Hash;
|
|
1280
|
+
transactionIndex: number;
|
|
1281
|
+
type: viem.TransactionType;
|
|
1282
|
+
l1GasPrice: bigint | null;
|
|
1283
|
+
l1GasUsed: bigint | null;
|
|
1284
|
+
l1Fee: bigint | null;
|
|
1285
|
+
l1FeeScalar: number | null;
|
|
1286
|
+
} & {};
|
|
1287
|
+
type: "transactionReceipt";
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
serializers: {
|
|
1291
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
1292
|
+
};
|
|
1293
|
+
};
|
|
1294
|
+
1666600000: {
|
|
1295
|
+
blockExplorers: {
|
|
1296
|
+
readonly default: {
|
|
1297
|
+
readonly name: "Harmony Explorer";
|
|
1298
|
+
readonly url: "https://explorer.harmony.one";
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
contracts: {
|
|
1302
|
+
readonly multicall3: {
|
|
1303
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1304
|
+
readonly blockCreated: 24185753;
|
|
1305
|
+
};
|
|
1306
|
+
};
|
|
1307
|
+
id: 1666600000;
|
|
1308
|
+
name: "Harmony One";
|
|
1309
|
+
nativeCurrency: {
|
|
1310
|
+
readonly name: "Harmony";
|
|
1311
|
+
readonly symbol: "ONE";
|
|
1312
|
+
readonly decimals: 18;
|
|
1313
|
+
};
|
|
1314
|
+
rpcUrls: {
|
|
1315
|
+
readonly default: {
|
|
1316
|
+
readonly http: readonly ["https://rpc.ankr.com/harmony"];
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
sourceId?: number | undefined;
|
|
1320
|
+
testnet?: boolean | undefined;
|
|
1321
|
+
custom?: Record<string, unknown> | undefined;
|
|
1322
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1323
|
+
formatters?: undefined;
|
|
1324
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1325
|
+
};
|
|
1326
|
+
11155111: {
|
|
1327
|
+
blockExplorers: {
|
|
1328
|
+
readonly default: {
|
|
1329
|
+
readonly name: "Etherscan";
|
|
1330
|
+
readonly url: "https://sepolia.etherscan.io";
|
|
1331
|
+
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
1332
|
+
};
|
|
1333
|
+
};
|
|
1334
|
+
contracts: {
|
|
1335
|
+
readonly multicall3: {
|
|
1336
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1337
|
+
readonly blockCreated: 751532;
|
|
1338
|
+
};
|
|
1339
|
+
readonly ensRegistry: {
|
|
1340
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
1341
|
+
};
|
|
1342
|
+
readonly ensUniversalResolver: {
|
|
1343
|
+
readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
|
|
1344
|
+
readonly blockCreated: 5317080;
|
|
1345
|
+
};
|
|
1346
|
+
};
|
|
1347
|
+
id: 11155111;
|
|
1348
|
+
name: "Sepolia";
|
|
1349
|
+
nativeCurrency: {
|
|
1350
|
+
readonly name: "Sepolia Ether";
|
|
1351
|
+
readonly symbol: "ETH";
|
|
1352
|
+
readonly decimals: 18;
|
|
1353
|
+
};
|
|
1354
|
+
rpcUrls: {
|
|
1355
|
+
readonly default: {
|
|
1356
|
+
readonly http: readonly ["https://sepolia.drpc.org"];
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
sourceId?: number | undefined;
|
|
1360
|
+
testnet: true;
|
|
1361
|
+
custom?: Record<string, unknown> | undefined;
|
|
1362
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1363
|
+
formatters?: undefined;
|
|
1364
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1365
|
+
};
|
|
1366
|
+
534352: {
|
|
1367
|
+
blockExplorers: {
|
|
1368
|
+
readonly default: {
|
|
1369
|
+
readonly name: "Scrollscan";
|
|
1370
|
+
readonly url: "https://scrollscan.com";
|
|
1371
|
+
readonly apiUrl: "https://api.scrollscan.com/api";
|
|
1372
|
+
};
|
|
1373
|
+
};
|
|
1374
|
+
contracts: {
|
|
1375
|
+
readonly multicall3: {
|
|
1376
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1377
|
+
readonly blockCreated: 14;
|
|
1378
|
+
};
|
|
1379
|
+
};
|
|
1380
|
+
id: 534352;
|
|
1381
|
+
name: "Scroll";
|
|
1382
|
+
nativeCurrency: {
|
|
1383
|
+
readonly name: "Ether";
|
|
1384
|
+
readonly symbol: "ETH";
|
|
1385
|
+
readonly decimals: 18;
|
|
1386
|
+
};
|
|
1387
|
+
rpcUrls: {
|
|
1388
|
+
readonly default: {
|
|
1389
|
+
readonly http: readonly ["https://rpc.scroll.io"];
|
|
1390
|
+
readonly webSocket: readonly ["wss://wss-rpc.scroll.io/ws"];
|
|
1391
|
+
};
|
|
1392
|
+
};
|
|
1393
|
+
sourceId?: number | undefined;
|
|
1394
|
+
testnet: false;
|
|
1395
|
+
custom?: Record<string, unknown> | undefined;
|
|
1396
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1397
|
+
formatters?: undefined;
|
|
1398
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1399
|
+
};
|
|
1400
|
+
534351: {
|
|
1401
|
+
blockExplorers: {
|
|
1402
|
+
readonly default: {
|
|
1403
|
+
readonly name: "Scrollscan";
|
|
1404
|
+
readonly url: "https://sepolia.scrollscan.com";
|
|
1405
|
+
readonly apiUrl: "https://api-sepolia.scrollscan.com/api";
|
|
1406
|
+
};
|
|
1407
|
+
};
|
|
1408
|
+
contracts: {
|
|
1409
|
+
readonly multicall3: {
|
|
1410
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1411
|
+
readonly blockCreated: 9473;
|
|
1412
|
+
};
|
|
1413
|
+
};
|
|
1414
|
+
id: 534351;
|
|
1415
|
+
name: "Scroll Sepolia";
|
|
1416
|
+
nativeCurrency: {
|
|
1417
|
+
readonly name: "Ether";
|
|
1418
|
+
readonly symbol: "ETH";
|
|
1419
|
+
readonly decimals: 18;
|
|
1420
|
+
};
|
|
1421
|
+
rpcUrls: {
|
|
1422
|
+
readonly default: {
|
|
1423
|
+
readonly http: readonly ["https://sepolia-rpc.scroll.io"];
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
sourceId?: number | undefined;
|
|
1427
|
+
testnet: true;
|
|
1428
|
+
custom?: Record<string, unknown> | undefined;
|
|
1429
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1430
|
+
formatters?: undefined;
|
|
1431
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1432
|
+
};
|
|
1433
|
+
146: {
|
|
1434
|
+
blockExplorers: {
|
|
1435
|
+
readonly default: {
|
|
1436
|
+
readonly name: "Sonic Explorer";
|
|
1437
|
+
readonly url: "https://sonicscan.org/";
|
|
1438
|
+
};
|
|
1439
|
+
};
|
|
1440
|
+
contracts: {
|
|
1441
|
+
readonly multicall3: {
|
|
1442
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1443
|
+
readonly blockCreated: 60;
|
|
1444
|
+
};
|
|
1445
|
+
};
|
|
1446
|
+
id: 146;
|
|
1447
|
+
name: "Sonic";
|
|
1448
|
+
nativeCurrency: {
|
|
1449
|
+
readonly decimals: 18;
|
|
1450
|
+
readonly name: "Sonic";
|
|
1451
|
+
readonly symbol: "S";
|
|
1452
|
+
};
|
|
1453
|
+
rpcUrls: {
|
|
1454
|
+
readonly default: {
|
|
1455
|
+
readonly http: readonly ["https://rpc.soniclabs.com"];
|
|
1456
|
+
};
|
|
1457
|
+
};
|
|
1458
|
+
sourceId?: number | undefined;
|
|
1459
|
+
testnet: false;
|
|
1460
|
+
custom?: Record<string, unknown> | undefined;
|
|
1461
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1462
|
+
formatters?: undefined;
|
|
1463
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1464
|
+
};
|
|
1465
|
+
5000: {
|
|
1466
|
+
blockExplorers: {
|
|
1467
|
+
readonly default: {
|
|
1468
|
+
readonly name: "Mantle Explorer";
|
|
1469
|
+
readonly url: "https://mantlescan.xyz/";
|
|
1470
|
+
readonly apiUrl: "https://api.mantlescan.xyz/api";
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
contracts: {
|
|
1474
|
+
readonly multicall3: {
|
|
1475
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
1476
|
+
readonly blockCreated: 304717;
|
|
1477
|
+
};
|
|
1478
|
+
};
|
|
1479
|
+
id: 5000;
|
|
1480
|
+
name: "Mantle";
|
|
1481
|
+
nativeCurrency: {
|
|
1482
|
+
readonly decimals: 18;
|
|
1483
|
+
readonly name: "MNT";
|
|
1484
|
+
readonly symbol: "MNT";
|
|
1485
|
+
};
|
|
1486
|
+
rpcUrls: {
|
|
1487
|
+
readonly default: {
|
|
1488
|
+
readonly http: readonly ["https://rpc.mantle.xyz"];
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
sourceId?: number | undefined;
|
|
1492
|
+
testnet?: boolean | undefined;
|
|
1493
|
+
custom?: Record<string, unknown> | undefined;
|
|
1494
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1495
|
+
formatters?: undefined;
|
|
1496
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1497
|
+
};
|
|
1498
|
+
1088: {
|
|
1499
|
+
blockExplorers: {
|
|
1500
|
+
readonly default: {
|
|
1501
|
+
readonly name: "Metis Explorer";
|
|
1502
|
+
readonly url: "https://explorer.metis.io";
|
|
1503
|
+
readonly apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan/api";
|
|
1504
|
+
};
|
|
1505
|
+
};
|
|
1506
|
+
contracts: {
|
|
1507
|
+
readonly multicall3: {
|
|
1508
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1509
|
+
readonly blockCreated: 2338552;
|
|
1510
|
+
};
|
|
1511
|
+
};
|
|
1512
|
+
id: 1088;
|
|
1513
|
+
name: "Metis";
|
|
1514
|
+
nativeCurrency: {
|
|
1515
|
+
readonly decimals: 18;
|
|
1516
|
+
readonly name: "Metis";
|
|
1517
|
+
readonly symbol: "METIS";
|
|
1518
|
+
};
|
|
1519
|
+
rpcUrls: {
|
|
1520
|
+
readonly default: {
|
|
1521
|
+
readonly http: readonly ["https://metis.rpc.hypersync.xyz", "https://metis-pokt.nodies.app", "https://api.blockeden.xyz/metis/67nCBdZQSH9z3YqDDjdm", "https://metis-andromeda.rpc.thirdweb.com", "https://metis-andromeda.gateway.tenderly.co", "https://metis.api.onfinality.io/public", "wss://metis-rpc.publicnode.com", "https://andromeda.metis.io/?owner=1088", "wss://metis.drpc.org", "https://metis-mainnet.public.blastapi.io"];
|
|
1522
|
+
};
|
|
1523
|
+
};
|
|
1524
|
+
sourceId?: number | undefined;
|
|
1525
|
+
testnet?: boolean | undefined;
|
|
1526
|
+
custom?: Record<string, unknown> | undefined;
|
|
1527
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1528
|
+
formatters?: undefined;
|
|
1529
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
1530
|
+
};
|
|
1531
|
+
8453: {
|
|
1532
|
+
blockExplorers: {
|
|
1533
|
+
readonly default: {
|
|
1534
|
+
readonly name: "Basescan";
|
|
1535
|
+
readonly url: "https://basescan.org";
|
|
1536
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
contracts: {
|
|
1540
|
+
readonly disputeGameFactory: {
|
|
1541
|
+
readonly 1: {
|
|
1542
|
+
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
|
|
1543
|
+
};
|
|
1544
|
+
};
|
|
1545
|
+
readonly l2OutputOracle: {
|
|
1546
|
+
readonly 1: {
|
|
1547
|
+
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
readonly multicall3: {
|
|
1551
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1552
|
+
readonly blockCreated: 5022;
|
|
1553
|
+
};
|
|
1554
|
+
readonly portal: {
|
|
1555
|
+
readonly 1: {
|
|
1556
|
+
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
1557
|
+
readonly blockCreated: 17482143;
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
readonly l1StandardBridge: {
|
|
1561
|
+
readonly 1: {
|
|
1562
|
+
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
1563
|
+
readonly blockCreated: 17482143;
|
|
1564
|
+
};
|
|
1565
|
+
};
|
|
1566
|
+
readonly gasPriceOracle: {
|
|
1567
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1568
|
+
};
|
|
1569
|
+
readonly l1Block: {
|
|
1570
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
1571
|
+
};
|
|
1572
|
+
readonly l2CrossDomainMessenger: {
|
|
1573
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
1574
|
+
};
|
|
1575
|
+
readonly l2Erc721Bridge: {
|
|
1576
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
1577
|
+
};
|
|
1578
|
+
readonly l2StandardBridge: {
|
|
1579
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
1580
|
+
};
|
|
1581
|
+
readonly l2ToL1MessagePasser: {
|
|
1582
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
1583
|
+
};
|
|
1584
|
+
};
|
|
1585
|
+
id: 8453;
|
|
1586
|
+
name: "Base";
|
|
1587
|
+
nativeCurrency: {
|
|
1588
|
+
readonly name: "Ether";
|
|
1589
|
+
readonly symbol: "ETH";
|
|
1590
|
+
readonly decimals: 18;
|
|
1591
|
+
};
|
|
1592
|
+
rpcUrls: {
|
|
1593
|
+
readonly default: {
|
|
1594
|
+
readonly http: readonly ["https://mainnet.base.org"];
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1597
|
+
sourceId: 1;
|
|
1598
|
+
testnet?: boolean | undefined;
|
|
1599
|
+
custom?: Record<string, unknown> | undefined;
|
|
1600
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1601
|
+
formatters: {
|
|
1602
|
+
readonly block: {
|
|
1603
|
+
exclude: [] | undefined;
|
|
1604
|
+
format: (args: viem_chains.OpStackRpcBlock) => {
|
|
1605
|
+
baseFeePerGas: bigint | null;
|
|
1606
|
+
blobGasUsed: bigint;
|
|
1607
|
+
difficulty: bigint;
|
|
1608
|
+
excessBlobGas: bigint;
|
|
1609
|
+
extraData: viem.Hex;
|
|
1610
|
+
gasLimit: bigint;
|
|
1611
|
+
gasUsed: bigint;
|
|
1612
|
+
hash: `0x${string}` | null;
|
|
1613
|
+
logsBloom: `0x${string}` | null;
|
|
1614
|
+
miner: viem.Address;
|
|
1615
|
+
mixHash: viem.Hash;
|
|
1616
|
+
nonce: `0x${string}` | null;
|
|
1617
|
+
number: bigint | null;
|
|
1618
|
+
parentBeaconBlockRoot?: viem.Hex | undefined;
|
|
1619
|
+
parentHash: viem.Hash;
|
|
1620
|
+
receiptsRoot: viem.Hex;
|
|
1621
|
+
sealFields: viem.Hex[];
|
|
1622
|
+
sha3Uncles: viem.Hash;
|
|
1623
|
+
size: bigint;
|
|
1624
|
+
stateRoot: viem.Hash;
|
|
1625
|
+
timestamp: bigint;
|
|
1626
|
+
totalDifficulty: bigint | null;
|
|
1627
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
1628
|
+
transactionsRoot: viem.Hash;
|
|
1629
|
+
uncles: viem.Hash[];
|
|
1630
|
+
withdrawals?: viem.Withdrawal[] | undefined;
|
|
1631
|
+
withdrawalsRoot?: viem.Hex | undefined;
|
|
1632
|
+
} & {};
|
|
1633
|
+
type: "block";
|
|
1634
|
+
};
|
|
1635
|
+
readonly transaction: {
|
|
1636
|
+
exclude: [] | undefined;
|
|
1637
|
+
format: (args: viem_chains.OpStackRpcTransaction) => ({
|
|
1638
|
+
blockHash: `0x${string}` | null;
|
|
1639
|
+
blockNumber: bigint | null;
|
|
1640
|
+
from: viem.Address;
|
|
1641
|
+
gas: bigint;
|
|
1642
|
+
hash: viem.Hash;
|
|
1643
|
+
input: viem.Hex;
|
|
1644
|
+
nonce: number;
|
|
1645
|
+
r: viem.Hex;
|
|
1646
|
+
s: viem.Hex;
|
|
1647
|
+
to: viem.Address | null;
|
|
1648
|
+
transactionIndex: number | null;
|
|
1649
|
+
typeHex: viem.Hex | null;
|
|
1650
|
+
v: bigint;
|
|
1651
|
+
value: bigint;
|
|
1652
|
+
yParity: number;
|
|
1653
|
+
gasPrice?: undefined;
|
|
1654
|
+
maxFeePerBlobGas?: undefined;
|
|
1655
|
+
maxFeePerGas: bigint;
|
|
1656
|
+
maxPriorityFeePerGas: bigint;
|
|
1657
|
+
isSystemTx?: boolean;
|
|
1658
|
+
mint?: bigint | undefined;
|
|
1659
|
+
sourceHash: viem.Hex;
|
|
1660
|
+
type: "deposit";
|
|
1661
|
+
} | {
|
|
1662
|
+
r: viem.Hex;
|
|
1663
|
+
s: viem.Hex;
|
|
1664
|
+
v: bigint;
|
|
1665
|
+
to: viem.Address | null;
|
|
1666
|
+
from: viem.Address;
|
|
1667
|
+
gas: bigint;
|
|
1668
|
+
nonce: number;
|
|
1669
|
+
value: bigint;
|
|
1670
|
+
blockHash: `0x${string}` | null;
|
|
1671
|
+
blockNumber: bigint | null;
|
|
1672
|
+
hash: viem.Hash;
|
|
1673
|
+
input: viem.Hex;
|
|
1674
|
+
transactionIndex: number | null;
|
|
1675
|
+
typeHex: viem.Hex | null;
|
|
1676
|
+
accessList?: undefined;
|
|
1677
|
+
authorizationList?: undefined;
|
|
1678
|
+
blobVersionedHashes?: undefined;
|
|
1679
|
+
chainId?: number | undefined;
|
|
1680
|
+
yParity?: undefined;
|
|
1681
|
+
type: "legacy";
|
|
1682
|
+
gasPrice: bigint;
|
|
1683
|
+
maxFeePerBlobGas?: undefined;
|
|
1684
|
+
maxFeePerGas?: undefined;
|
|
1685
|
+
maxPriorityFeePerGas?: undefined;
|
|
1686
|
+
isSystemTx?: undefined;
|
|
1687
|
+
mint?: undefined;
|
|
1688
|
+
sourceHash?: undefined;
|
|
1689
|
+
} | {
|
|
1690
|
+
blockHash: `0x${string}` | null;
|
|
1691
|
+
blockNumber: bigint | null;
|
|
1692
|
+
from: viem.Address;
|
|
1693
|
+
gas: bigint;
|
|
1694
|
+
hash: viem.Hash;
|
|
1695
|
+
input: viem.Hex;
|
|
1696
|
+
nonce: number;
|
|
1697
|
+
r: viem.Hex;
|
|
1698
|
+
s: viem.Hex;
|
|
1699
|
+
to: viem.Address | null;
|
|
1700
|
+
transactionIndex: number | null;
|
|
1701
|
+
typeHex: viem.Hex | null;
|
|
1702
|
+
v: bigint;
|
|
1703
|
+
value: bigint;
|
|
1704
|
+
yParity: number;
|
|
1705
|
+
accessList: viem.AccessList;
|
|
1706
|
+
authorizationList?: undefined;
|
|
1707
|
+
blobVersionedHashes?: undefined;
|
|
1708
|
+
chainId: number;
|
|
1709
|
+
type: "eip2930";
|
|
1710
|
+
gasPrice: bigint;
|
|
1711
|
+
maxFeePerBlobGas?: undefined;
|
|
1712
|
+
maxFeePerGas?: undefined;
|
|
1713
|
+
maxPriorityFeePerGas?: undefined;
|
|
1714
|
+
isSystemTx?: undefined;
|
|
1715
|
+
mint?: undefined;
|
|
1716
|
+
sourceHash?: undefined;
|
|
1717
|
+
} | {
|
|
1718
|
+
blockHash: `0x${string}` | null;
|
|
1719
|
+
blockNumber: bigint | null;
|
|
1720
|
+
from: viem.Address;
|
|
1721
|
+
gas: bigint;
|
|
1722
|
+
hash: viem.Hash;
|
|
1723
|
+
input: viem.Hex;
|
|
1724
|
+
nonce: number;
|
|
1725
|
+
r: viem.Hex;
|
|
1726
|
+
s: viem.Hex;
|
|
1727
|
+
to: viem.Address | null;
|
|
1728
|
+
transactionIndex: number | null;
|
|
1729
|
+
typeHex: viem.Hex | null;
|
|
1730
|
+
v: bigint;
|
|
1731
|
+
value: bigint;
|
|
1732
|
+
yParity: number;
|
|
1733
|
+
accessList: viem.AccessList;
|
|
1734
|
+
authorizationList?: undefined;
|
|
1735
|
+
blobVersionedHashes?: undefined;
|
|
1736
|
+
chainId: number;
|
|
1737
|
+
type: "eip1559";
|
|
1738
|
+
gasPrice?: undefined;
|
|
1739
|
+
maxFeePerBlobGas?: undefined;
|
|
1740
|
+
maxFeePerGas: bigint;
|
|
1741
|
+
maxPriorityFeePerGas: bigint;
|
|
1742
|
+
isSystemTx?: undefined;
|
|
1743
|
+
mint?: undefined;
|
|
1744
|
+
sourceHash?: undefined;
|
|
1745
|
+
} | {
|
|
1746
|
+
blockHash: `0x${string}` | null;
|
|
1747
|
+
blockNumber: bigint | null;
|
|
1748
|
+
from: viem.Address;
|
|
1749
|
+
gas: bigint;
|
|
1750
|
+
hash: viem.Hash;
|
|
1751
|
+
input: viem.Hex;
|
|
1752
|
+
nonce: number;
|
|
1753
|
+
r: viem.Hex;
|
|
1754
|
+
s: viem.Hex;
|
|
1755
|
+
to: viem.Address | null;
|
|
1756
|
+
transactionIndex: number | null;
|
|
1757
|
+
typeHex: viem.Hex | null;
|
|
1758
|
+
v: bigint;
|
|
1759
|
+
value: bigint;
|
|
1760
|
+
yParity: number;
|
|
1761
|
+
accessList: viem.AccessList;
|
|
1762
|
+
authorizationList?: undefined;
|
|
1763
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
1764
|
+
chainId: number;
|
|
1765
|
+
type: "eip4844";
|
|
1766
|
+
gasPrice?: undefined;
|
|
1767
|
+
maxFeePerBlobGas: bigint;
|
|
1768
|
+
maxFeePerGas: bigint;
|
|
1769
|
+
maxPriorityFeePerGas: bigint;
|
|
1770
|
+
isSystemTx?: undefined;
|
|
1771
|
+
mint?: undefined;
|
|
1772
|
+
sourceHash?: undefined;
|
|
1773
|
+
} | {
|
|
1774
|
+
blockHash: `0x${string}` | null;
|
|
1775
|
+
blockNumber: bigint | null;
|
|
1776
|
+
from: viem.Address;
|
|
1777
|
+
gas: bigint;
|
|
1778
|
+
hash: viem.Hash;
|
|
1779
|
+
input: viem.Hex;
|
|
1780
|
+
nonce: number;
|
|
1781
|
+
r: viem.Hex;
|
|
1782
|
+
s: viem.Hex;
|
|
1783
|
+
to: viem.Address | null;
|
|
1784
|
+
transactionIndex: number | null;
|
|
1785
|
+
typeHex: viem.Hex | null;
|
|
1786
|
+
v: bigint;
|
|
1787
|
+
value: bigint;
|
|
1788
|
+
yParity: number;
|
|
1789
|
+
accessList: viem.AccessList;
|
|
1790
|
+
authorizationList: viem_experimental.SignedAuthorizationList;
|
|
1791
|
+
blobVersionedHashes?: undefined;
|
|
1792
|
+
chainId: number;
|
|
1793
|
+
type: "eip7702";
|
|
1794
|
+
gasPrice?: undefined;
|
|
1795
|
+
maxFeePerBlobGas?: undefined;
|
|
1796
|
+
maxFeePerGas: bigint;
|
|
1797
|
+
maxPriorityFeePerGas: bigint;
|
|
1798
|
+
isSystemTx?: undefined;
|
|
1799
|
+
mint?: undefined;
|
|
1800
|
+
sourceHash?: undefined;
|
|
1801
|
+
}) & {};
|
|
1802
|
+
type: "transaction";
|
|
1803
|
+
};
|
|
1804
|
+
readonly transactionReceipt: {
|
|
1805
|
+
exclude: [] | undefined;
|
|
1806
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
|
|
1807
|
+
blobGasPrice?: bigint | undefined;
|
|
1808
|
+
blobGasUsed?: bigint | undefined;
|
|
1809
|
+
blockHash: viem.Hash;
|
|
1810
|
+
blockNumber: bigint;
|
|
1811
|
+
contractAddress: viem.Address | null | undefined;
|
|
1812
|
+
cumulativeGasUsed: bigint;
|
|
1813
|
+
effectiveGasPrice: bigint;
|
|
1814
|
+
from: viem.Address;
|
|
1815
|
+
gasUsed: bigint;
|
|
1816
|
+
logs: viem.Log<bigint, number, false>[];
|
|
1817
|
+
logsBloom: viem.Hex;
|
|
1818
|
+
root?: viem.Hash | undefined;
|
|
1819
|
+
status: "success" | "reverted";
|
|
1820
|
+
to: viem.Address | null;
|
|
1821
|
+
transactionHash: viem.Hash;
|
|
1822
|
+
transactionIndex: number;
|
|
1823
|
+
type: viem.TransactionType;
|
|
1824
|
+
l1GasPrice: bigint | null;
|
|
1825
|
+
l1GasUsed: bigint | null;
|
|
1826
|
+
l1Fee: bigint | null;
|
|
1827
|
+
l1FeeScalar: number | null;
|
|
1828
|
+
} & {};
|
|
1829
|
+
type: "transactionReceipt";
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1832
|
+
serializers: {
|
|
1833
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
84532: {
|
|
1837
|
+
blockExplorers: {
|
|
1838
|
+
readonly default: {
|
|
1839
|
+
readonly name: "Basescan";
|
|
1840
|
+
readonly url: "https://sepolia.basescan.org";
|
|
1841
|
+
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
1842
|
+
};
|
|
1843
|
+
};
|
|
1844
|
+
contracts: {
|
|
1845
|
+
readonly disputeGameFactory: {
|
|
1846
|
+
readonly 11155111: {
|
|
1847
|
+
readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
|
|
1848
|
+
};
|
|
1849
|
+
};
|
|
1850
|
+
readonly l2OutputOracle: {
|
|
1851
|
+
readonly 11155111: {
|
|
1852
|
+
readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
|
|
1853
|
+
};
|
|
1854
|
+
};
|
|
1855
|
+
readonly portal: {
|
|
1856
|
+
readonly 11155111: {
|
|
1857
|
+
readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
|
|
1858
|
+
readonly blockCreated: 4446677;
|
|
1859
|
+
};
|
|
1860
|
+
};
|
|
1861
|
+
readonly l1StandardBridge: {
|
|
1862
|
+
readonly 11155111: {
|
|
1863
|
+
readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
|
|
1864
|
+
readonly blockCreated: 4446677;
|
|
1865
|
+
};
|
|
1866
|
+
};
|
|
1867
|
+
readonly multicall3: {
|
|
1868
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1869
|
+
readonly blockCreated: 1059647;
|
|
1870
|
+
};
|
|
1871
|
+
readonly gasPriceOracle: {
|
|
1872
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1873
|
+
};
|
|
1874
|
+
readonly l1Block: {
|
|
1875
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
1876
|
+
};
|
|
1877
|
+
readonly l2CrossDomainMessenger: {
|
|
1878
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
1879
|
+
};
|
|
1880
|
+
readonly l2Erc721Bridge: {
|
|
1881
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
1882
|
+
};
|
|
1883
|
+
readonly l2StandardBridge: {
|
|
1884
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
1885
|
+
};
|
|
1886
|
+
readonly l2ToL1MessagePasser: {
|
|
1887
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
1888
|
+
};
|
|
1889
|
+
};
|
|
1890
|
+
id: 84532;
|
|
1891
|
+
name: "Base Sepolia";
|
|
1892
|
+
nativeCurrency: {
|
|
1893
|
+
readonly name: "Sepolia Ether";
|
|
1894
|
+
readonly symbol: "ETH";
|
|
1895
|
+
readonly decimals: 18;
|
|
1896
|
+
};
|
|
1897
|
+
rpcUrls: {
|
|
1898
|
+
readonly default: {
|
|
1899
|
+
readonly http: readonly ["https://sepolia.base.org"];
|
|
1900
|
+
};
|
|
1901
|
+
};
|
|
1902
|
+
sourceId: 11155111;
|
|
1903
|
+
testnet: true;
|
|
1904
|
+
custom?: Record<string, unknown> | undefined;
|
|
1905
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
1906
|
+
formatters: {
|
|
1907
|
+
readonly block: {
|
|
1908
|
+
exclude: [] | undefined;
|
|
1909
|
+
format: (args: viem_chains.OpStackRpcBlock) => {
|
|
1910
|
+
baseFeePerGas: bigint | null;
|
|
1911
|
+
blobGasUsed: bigint;
|
|
1912
|
+
difficulty: bigint;
|
|
1913
|
+
excessBlobGas: bigint;
|
|
1914
|
+
extraData: viem.Hex;
|
|
1915
|
+
gasLimit: bigint;
|
|
1916
|
+
gasUsed: bigint;
|
|
1917
|
+
hash: `0x${string}` | null;
|
|
1918
|
+
logsBloom: `0x${string}` | null;
|
|
1919
|
+
miner: viem.Address;
|
|
1920
|
+
mixHash: viem.Hash;
|
|
1921
|
+
nonce: `0x${string}` | null;
|
|
1922
|
+
number: bigint | null;
|
|
1923
|
+
parentBeaconBlockRoot?: viem.Hex | undefined;
|
|
1924
|
+
parentHash: viem.Hash;
|
|
1925
|
+
receiptsRoot: viem.Hex;
|
|
1926
|
+
sealFields: viem.Hex[];
|
|
1927
|
+
sha3Uncles: viem.Hash;
|
|
1928
|
+
size: bigint;
|
|
1929
|
+
stateRoot: viem.Hash;
|
|
1930
|
+
timestamp: bigint;
|
|
1931
|
+
totalDifficulty: bigint | null;
|
|
1932
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
1933
|
+
transactionsRoot: viem.Hash;
|
|
1934
|
+
uncles: viem.Hash[];
|
|
1935
|
+
withdrawals?: viem.Withdrawal[] | undefined;
|
|
1936
|
+
withdrawalsRoot?: viem.Hex | undefined;
|
|
1937
|
+
} & {};
|
|
1938
|
+
type: "block";
|
|
1939
|
+
};
|
|
1940
|
+
readonly transaction: {
|
|
1941
|
+
exclude: [] | undefined;
|
|
1942
|
+
format: (args: viem_chains.OpStackRpcTransaction) => ({
|
|
1943
|
+
blockHash: `0x${string}` | null;
|
|
1944
|
+
blockNumber: bigint | null;
|
|
1945
|
+
from: viem.Address;
|
|
1946
|
+
gas: bigint;
|
|
1947
|
+
hash: viem.Hash;
|
|
1948
|
+
input: viem.Hex;
|
|
1949
|
+
nonce: number;
|
|
1950
|
+
r: viem.Hex;
|
|
1951
|
+
s: viem.Hex;
|
|
1952
|
+
to: viem.Address | null;
|
|
1953
|
+
transactionIndex: number | null;
|
|
1954
|
+
typeHex: viem.Hex | null;
|
|
1955
|
+
v: bigint;
|
|
1956
|
+
value: bigint;
|
|
1957
|
+
yParity: number;
|
|
1958
|
+
gasPrice?: undefined;
|
|
1959
|
+
maxFeePerBlobGas?: undefined;
|
|
1960
|
+
maxFeePerGas: bigint;
|
|
1961
|
+
maxPriorityFeePerGas: bigint;
|
|
1962
|
+
isSystemTx?: boolean;
|
|
1963
|
+
mint?: bigint | undefined;
|
|
1964
|
+
sourceHash: viem.Hex;
|
|
1965
|
+
type: "deposit";
|
|
1966
|
+
} | {
|
|
1967
|
+
r: viem.Hex;
|
|
1968
|
+
s: viem.Hex;
|
|
1969
|
+
v: bigint;
|
|
1970
|
+
to: viem.Address | null;
|
|
1971
|
+
from: viem.Address;
|
|
1972
|
+
gas: bigint;
|
|
1973
|
+
nonce: number;
|
|
1974
|
+
value: bigint;
|
|
1975
|
+
blockHash: `0x${string}` | null;
|
|
1976
|
+
blockNumber: bigint | null;
|
|
1977
|
+
hash: viem.Hash;
|
|
1978
|
+
input: viem.Hex;
|
|
1979
|
+
transactionIndex: number | null;
|
|
1980
|
+
typeHex: viem.Hex | null;
|
|
1981
|
+
accessList?: undefined;
|
|
1982
|
+
authorizationList?: undefined;
|
|
1983
|
+
blobVersionedHashes?: undefined;
|
|
1984
|
+
chainId?: number | undefined;
|
|
1985
|
+
yParity?: undefined;
|
|
1986
|
+
type: "legacy";
|
|
1987
|
+
gasPrice: bigint;
|
|
1988
|
+
maxFeePerBlobGas?: undefined;
|
|
1989
|
+
maxFeePerGas?: undefined;
|
|
1990
|
+
maxPriorityFeePerGas?: undefined;
|
|
1991
|
+
isSystemTx?: undefined;
|
|
1992
|
+
mint?: undefined;
|
|
1993
|
+
sourceHash?: undefined;
|
|
1994
|
+
} | {
|
|
1995
|
+
blockHash: `0x${string}` | null;
|
|
1996
|
+
blockNumber: bigint | null;
|
|
1997
|
+
from: viem.Address;
|
|
1998
|
+
gas: bigint;
|
|
1999
|
+
hash: viem.Hash;
|
|
2000
|
+
input: viem.Hex;
|
|
2001
|
+
nonce: number;
|
|
2002
|
+
r: viem.Hex;
|
|
2003
|
+
s: viem.Hex;
|
|
2004
|
+
to: viem.Address | null;
|
|
2005
|
+
transactionIndex: number | null;
|
|
2006
|
+
typeHex: viem.Hex | null;
|
|
2007
|
+
v: bigint;
|
|
2008
|
+
value: bigint;
|
|
2009
|
+
yParity: number;
|
|
2010
|
+
accessList: viem.AccessList;
|
|
2011
|
+
authorizationList?: undefined;
|
|
2012
|
+
blobVersionedHashes?: undefined;
|
|
2013
|
+
chainId: number;
|
|
2014
|
+
type: "eip2930";
|
|
2015
|
+
gasPrice: bigint;
|
|
2016
|
+
maxFeePerBlobGas?: undefined;
|
|
2017
|
+
maxFeePerGas?: undefined;
|
|
2018
|
+
maxPriorityFeePerGas?: undefined;
|
|
2019
|
+
isSystemTx?: undefined;
|
|
2020
|
+
mint?: undefined;
|
|
2021
|
+
sourceHash?: undefined;
|
|
2022
|
+
} | {
|
|
2023
|
+
blockHash: `0x${string}` | null;
|
|
2024
|
+
blockNumber: bigint | null;
|
|
2025
|
+
from: viem.Address;
|
|
2026
|
+
gas: bigint;
|
|
2027
|
+
hash: viem.Hash;
|
|
2028
|
+
input: viem.Hex;
|
|
2029
|
+
nonce: number;
|
|
2030
|
+
r: viem.Hex;
|
|
2031
|
+
s: viem.Hex;
|
|
2032
|
+
to: viem.Address | null;
|
|
2033
|
+
transactionIndex: number | null;
|
|
2034
|
+
typeHex: viem.Hex | null;
|
|
2035
|
+
v: bigint;
|
|
2036
|
+
value: bigint;
|
|
2037
|
+
yParity: number;
|
|
2038
|
+
accessList: viem.AccessList;
|
|
2039
|
+
authorizationList?: undefined;
|
|
2040
|
+
blobVersionedHashes?: undefined;
|
|
2041
|
+
chainId: number;
|
|
2042
|
+
type: "eip1559";
|
|
2043
|
+
gasPrice?: undefined;
|
|
2044
|
+
maxFeePerBlobGas?: undefined;
|
|
2045
|
+
maxFeePerGas: bigint;
|
|
2046
|
+
maxPriorityFeePerGas: bigint;
|
|
2047
|
+
isSystemTx?: undefined;
|
|
2048
|
+
mint?: undefined;
|
|
2049
|
+
sourceHash?: undefined;
|
|
2050
|
+
} | {
|
|
2051
|
+
blockHash: `0x${string}` | null;
|
|
2052
|
+
blockNumber: bigint | null;
|
|
2053
|
+
from: viem.Address;
|
|
2054
|
+
gas: bigint;
|
|
2055
|
+
hash: viem.Hash;
|
|
2056
|
+
input: viem.Hex;
|
|
2057
|
+
nonce: number;
|
|
2058
|
+
r: viem.Hex;
|
|
2059
|
+
s: viem.Hex;
|
|
2060
|
+
to: viem.Address | null;
|
|
2061
|
+
transactionIndex: number | null;
|
|
2062
|
+
typeHex: viem.Hex | null;
|
|
2063
|
+
v: bigint;
|
|
2064
|
+
value: bigint;
|
|
2065
|
+
yParity: number;
|
|
2066
|
+
accessList: viem.AccessList;
|
|
2067
|
+
authorizationList?: undefined;
|
|
2068
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
2069
|
+
chainId: number;
|
|
2070
|
+
type: "eip4844";
|
|
2071
|
+
gasPrice?: undefined;
|
|
2072
|
+
maxFeePerBlobGas: bigint;
|
|
2073
|
+
maxFeePerGas: bigint;
|
|
2074
|
+
maxPriorityFeePerGas: bigint;
|
|
2075
|
+
isSystemTx?: undefined;
|
|
2076
|
+
mint?: undefined;
|
|
2077
|
+
sourceHash?: undefined;
|
|
2078
|
+
} | {
|
|
2079
|
+
blockHash: `0x${string}` | null;
|
|
2080
|
+
blockNumber: bigint | null;
|
|
2081
|
+
from: viem.Address;
|
|
2082
|
+
gas: bigint;
|
|
2083
|
+
hash: viem.Hash;
|
|
2084
|
+
input: viem.Hex;
|
|
2085
|
+
nonce: number;
|
|
2086
|
+
r: viem.Hex;
|
|
2087
|
+
s: viem.Hex;
|
|
2088
|
+
to: viem.Address | null;
|
|
2089
|
+
transactionIndex: number | null;
|
|
2090
|
+
typeHex: viem.Hex | null;
|
|
2091
|
+
v: bigint;
|
|
2092
|
+
value: bigint;
|
|
2093
|
+
yParity: number;
|
|
2094
|
+
accessList: viem.AccessList;
|
|
2095
|
+
authorizationList: viem_experimental.SignedAuthorizationList;
|
|
2096
|
+
blobVersionedHashes?: undefined;
|
|
2097
|
+
chainId: number;
|
|
2098
|
+
type: "eip7702";
|
|
2099
|
+
gasPrice?: undefined;
|
|
2100
|
+
maxFeePerBlobGas?: undefined;
|
|
2101
|
+
maxFeePerGas: bigint;
|
|
2102
|
+
maxPriorityFeePerGas: bigint;
|
|
2103
|
+
isSystemTx?: undefined;
|
|
2104
|
+
mint?: undefined;
|
|
2105
|
+
sourceHash?: undefined;
|
|
2106
|
+
}) & {};
|
|
2107
|
+
type: "transaction";
|
|
2108
|
+
};
|
|
2109
|
+
readonly transactionReceipt: {
|
|
2110
|
+
exclude: [] | undefined;
|
|
2111
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
|
|
2112
|
+
blobGasPrice?: bigint | undefined;
|
|
2113
|
+
blobGasUsed?: bigint | undefined;
|
|
2114
|
+
blockHash: viem.Hash;
|
|
2115
|
+
blockNumber: bigint;
|
|
2116
|
+
contractAddress: viem.Address | null | undefined;
|
|
2117
|
+
cumulativeGasUsed: bigint;
|
|
2118
|
+
effectiveGasPrice: bigint;
|
|
2119
|
+
from: viem.Address;
|
|
2120
|
+
gasUsed: bigint;
|
|
2121
|
+
logs: viem.Log<bigint, number, false>[];
|
|
2122
|
+
logsBloom: viem.Hex;
|
|
2123
|
+
root?: viem.Hash | undefined;
|
|
2124
|
+
status: "success" | "reverted";
|
|
2125
|
+
to: viem.Address | null;
|
|
2126
|
+
transactionHash: viem.Hash;
|
|
2127
|
+
transactionIndex: number;
|
|
2128
|
+
type: viem.TransactionType;
|
|
2129
|
+
l1GasPrice: bigint | null;
|
|
2130
|
+
l1GasUsed: bigint | null;
|
|
2131
|
+
l1Fee: bigint | null;
|
|
2132
|
+
l1FeeScalar: number | null;
|
|
2133
|
+
} & {};
|
|
2134
|
+
type: "transactionReceipt";
|
|
2135
|
+
};
|
|
2136
|
+
};
|
|
2137
|
+
serializers: {
|
|
2138
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
2139
|
+
};
|
|
2140
|
+
readonly network: "base-sepolia";
|
|
2141
|
+
};
|
|
2142
|
+
56: {
|
|
2143
|
+
blockExplorers: {
|
|
2144
|
+
readonly default: {
|
|
2145
|
+
readonly name: "BscScan";
|
|
2146
|
+
readonly url: "https://bscscan.com";
|
|
2147
|
+
readonly apiUrl: "https://api.bscscan.com/api";
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2150
|
+
contracts: {
|
|
2151
|
+
readonly multicall3: {
|
|
2152
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2153
|
+
readonly blockCreated: 15921452;
|
|
2154
|
+
};
|
|
2155
|
+
};
|
|
2156
|
+
id: 56;
|
|
2157
|
+
name: "BNB Smart Chain";
|
|
2158
|
+
nativeCurrency: {
|
|
2159
|
+
readonly decimals: 18;
|
|
2160
|
+
readonly name: "BNB";
|
|
2161
|
+
readonly symbol: "BNB";
|
|
2162
|
+
};
|
|
2163
|
+
rpcUrls: {
|
|
2164
|
+
readonly default: {
|
|
2165
|
+
readonly http: readonly ["https://rpc.ankr.com/bsc"];
|
|
2166
|
+
};
|
|
2167
|
+
};
|
|
2168
|
+
sourceId?: number | undefined;
|
|
2169
|
+
testnet?: boolean | undefined;
|
|
2170
|
+
custom?: Record<string, unknown> | undefined;
|
|
2171
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
2172
|
+
formatters?: undefined;
|
|
2173
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
2174
|
+
};
|
|
2175
|
+
100: {
|
|
2176
|
+
blockExplorers: {
|
|
2177
|
+
readonly default: {
|
|
2178
|
+
readonly name: "Gnosisscan";
|
|
2179
|
+
readonly url: "https://gnosisscan.io";
|
|
2180
|
+
readonly apiUrl: "https://api.gnosisscan.io/api";
|
|
2181
|
+
};
|
|
2182
|
+
};
|
|
2183
|
+
contracts: {
|
|
2184
|
+
readonly multicall3: {
|
|
2185
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2186
|
+
readonly blockCreated: 21022491;
|
|
2187
|
+
};
|
|
2188
|
+
};
|
|
2189
|
+
id: 100;
|
|
2190
|
+
name: "Gnosis";
|
|
2191
|
+
nativeCurrency: {
|
|
2192
|
+
readonly decimals: 18;
|
|
2193
|
+
readonly name: "xDAI";
|
|
2194
|
+
readonly symbol: "XDAI";
|
|
2195
|
+
};
|
|
2196
|
+
rpcUrls: {
|
|
2197
|
+
readonly default: {
|
|
2198
|
+
readonly http: readonly ["https://rpc.gnosischain.com"];
|
|
2199
|
+
readonly webSocket: readonly ["wss://rpc.gnosischain.com/wss"];
|
|
2200
|
+
};
|
|
2201
|
+
};
|
|
2202
|
+
sourceId?: number | undefined;
|
|
2203
|
+
testnet?: boolean | undefined;
|
|
2204
|
+
custom?: Record<string, unknown> | undefined;
|
|
2205
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
2206
|
+
formatters?: undefined;
|
|
2207
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
2208
|
+
};
|
|
2209
|
+
1101: {
|
|
2210
|
+
blockExplorers: {
|
|
2211
|
+
readonly default: {
|
|
2212
|
+
readonly name: "PolygonScan";
|
|
2213
|
+
readonly url: "https://zkevm.polygonscan.com";
|
|
2214
|
+
readonly apiUrl: "https://api-zkevm.polygonscan.com/api";
|
|
2215
|
+
};
|
|
2216
|
+
};
|
|
2217
|
+
contracts: {
|
|
2218
|
+
readonly multicall3: {
|
|
2219
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2220
|
+
readonly blockCreated: 57746;
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
id: 1101;
|
|
2224
|
+
name: "Polygon zkEVM";
|
|
2225
|
+
nativeCurrency: {
|
|
2226
|
+
readonly name: "Ether";
|
|
2227
|
+
readonly symbol: "ETH";
|
|
2228
|
+
readonly decimals: 18;
|
|
2229
|
+
};
|
|
2230
|
+
rpcUrls: {
|
|
2231
|
+
readonly default: {
|
|
2232
|
+
readonly http: readonly ["https://zkevm-rpc.com"];
|
|
2233
|
+
};
|
|
2234
|
+
};
|
|
2235
|
+
sourceId?: number | undefined;
|
|
2236
|
+
testnet?: boolean | undefined;
|
|
2237
|
+
custom?: Record<string, unknown> | undefined;
|
|
2238
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
2239
|
+
formatters?: undefined;
|
|
2240
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
2241
|
+
};
|
|
2242
|
+
42220: {
|
|
2243
|
+
blockExplorers: {
|
|
2244
|
+
readonly default: {
|
|
2245
|
+
readonly name: "Celo Explorer";
|
|
2246
|
+
readonly url: "https://celoscan.io";
|
|
2247
|
+
readonly apiUrl: "https://api.celoscan.io/api";
|
|
2248
|
+
};
|
|
2249
|
+
};
|
|
2250
|
+
contracts: {
|
|
2251
|
+
readonly multicall3: {
|
|
2252
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
2253
|
+
readonly blockCreated: 13112599;
|
|
2254
|
+
};
|
|
2255
|
+
};
|
|
2256
|
+
id: 42220;
|
|
2257
|
+
name: "Celo";
|
|
2258
|
+
nativeCurrency: {
|
|
2259
|
+
readonly decimals: 18;
|
|
2260
|
+
readonly name: "CELO";
|
|
2261
|
+
readonly symbol: "CELO";
|
|
2262
|
+
};
|
|
2263
|
+
rpcUrls: {
|
|
2264
|
+
readonly default: {
|
|
2265
|
+
readonly http: readonly ["https://forno.celo.org"];
|
|
2266
|
+
};
|
|
2267
|
+
};
|
|
2268
|
+
sourceId?: number | undefined;
|
|
2269
|
+
testnet: false;
|
|
2270
|
+
custom?: Record<string, unknown> | undefined;
|
|
2271
|
+
fees: viem.ChainFees<{
|
|
2272
|
+
readonly block: {
|
|
2273
|
+
exclude: [] | undefined;
|
|
2274
|
+
format: (args: viem_chains.CeloRpcBlock) => {
|
|
2275
|
+
baseFeePerGas: bigint | null;
|
|
2276
|
+
blobGasUsed: bigint;
|
|
2277
|
+
difficulty: bigint | undefined;
|
|
2278
|
+
excessBlobGas: bigint;
|
|
2279
|
+
extraData: viem.Hex;
|
|
2280
|
+
gasLimit: bigint | undefined;
|
|
2281
|
+
gasUsed: bigint;
|
|
2282
|
+
hash: `0x${string}` | null;
|
|
2283
|
+
logsBloom: `0x${string}` | null;
|
|
2284
|
+
miner: viem.Address;
|
|
2285
|
+
nonce: bigint | null | undefined;
|
|
2286
|
+
number: bigint | null;
|
|
2287
|
+
parentBeaconBlockRoot?: viem.Hex | undefined;
|
|
2288
|
+
parentHash: viem.Hash;
|
|
2289
|
+
receiptsRoot: viem.Hex;
|
|
2290
|
+
sealFields: viem.Hex[];
|
|
2291
|
+
sha3Uncles: viem.Hash;
|
|
2292
|
+
size: bigint;
|
|
2293
|
+
stateRoot: viem.Hash;
|
|
2294
|
+
timestamp: bigint;
|
|
2295
|
+
totalDifficulty: bigint | null;
|
|
2296
|
+
transactions: `0x${string}`[] | viem_chains.CeloTransaction<boolean>[];
|
|
2297
|
+
transactionsRoot: viem.Hash;
|
|
2298
|
+
withdrawals?: viem.Withdrawal[] | undefined;
|
|
2299
|
+
withdrawalsRoot?: viem.Hex | undefined;
|
|
2300
|
+
mixHash?: undefined;
|
|
2301
|
+
randomness?: {
|
|
2302
|
+
committed: viem.Hex;
|
|
2303
|
+
revealed: viem.Hex;
|
|
2304
|
+
} | undefined;
|
|
2305
|
+
uncles?: undefined;
|
|
2306
|
+
} & {};
|
|
2307
|
+
type: "block";
|
|
2308
|
+
};
|
|
2309
|
+
readonly transaction: {
|
|
2310
|
+
exclude: [] | undefined;
|
|
2311
|
+
format: (args: viem_chains.CeloRpcTransaction) => ({
|
|
2312
|
+
r: viem.Hex;
|
|
2313
|
+
s: viem.Hex;
|
|
2314
|
+
v: bigint;
|
|
2315
|
+
to: viem.Address | null;
|
|
2316
|
+
from: viem.Address;
|
|
2317
|
+
gas: bigint;
|
|
2318
|
+
nonce: number;
|
|
2319
|
+
value: bigint;
|
|
2320
|
+
blockHash: `0x${string}` | null;
|
|
2321
|
+
blockNumber: bigint | null;
|
|
2322
|
+
hash: viem.Hash;
|
|
2323
|
+
input: viem.Hex;
|
|
2324
|
+
transactionIndex: number | null;
|
|
2325
|
+
typeHex: viem.Hex | null;
|
|
2326
|
+
accessList?: undefined;
|
|
2327
|
+
authorizationList?: undefined;
|
|
2328
|
+
blobVersionedHashes?: undefined;
|
|
2329
|
+
chainId?: number | undefined;
|
|
2330
|
+
yParity?: undefined;
|
|
2331
|
+
type: "legacy";
|
|
2332
|
+
gasPrice: bigint;
|
|
2333
|
+
maxFeePerBlobGas?: undefined;
|
|
2334
|
+
maxFeePerGas?: undefined;
|
|
2335
|
+
maxPriorityFeePerGas?: undefined;
|
|
2336
|
+
feeCurrency: viem.Address | null;
|
|
2337
|
+
mint?: undefined;
|
|
2338
|
+
isSystemTx?: undefined;
|
|
2339
|
+
sourceHash?: undefined;
|
|
2340
|
+
gatewayFee?: undefined;
|
|
2341
|
+
gatewayFeeRecipient?: undefined;
|
|
2342
|
+
} | {
|
|
2343
|
+
blockHash: `0x${string}` | null;
|
|
2344
|
+
blockNumber: bigint | null;
|
|
2345
|
+
from: viem.Address;
|
|
2346
|
+
gas: bigint;
|
|
2347
|
+
hash: viem.Hash;
|
|
2348
|
+
input: viem.Hex;
|
|
2349
|
+
nonce: number;
|
|
2350
|
+
r: viem.Hex;
|
|
2351
|
+
s: viem.Hex;
|
|
2352
|
+
to: viem.Address | null;
|
|
2353
|
+
transactionIndex: number | null;
|
|
2354
|
+
typeHex: viem.Hex | null;
|
|
2355
|
+
v: bigint;
|
|
2356
|
+
value: bigint;
|
|
2357
|
+
yParity: number;
|
|
2358
|
+
accessList: viem.AccessList;
|
|
2359
|
+
authorizationList?: undefined;
|
|
2360
|
+
blobVersionedHashes?: undefined;
|
|
2361
|
+
chainId: number;
|
|
2362
|
+
type: "eip2930";
|
|
2363
|
+
gasPrice: bigint;
|
|
2364
|
+
maxFeePerBlobGas?: undefined;
|
|
2365
|
+
maxFeePerGas?: undefined;
|
|
2366
|
+
maxPriorityFeePerGas?: undefined;
|
|
2367
|
+
feeCurrency: viem.Address | null;
|
|
2368
|
+
mint?: undefined;
|
|
2369
|
+
isSystemTx?: undefined;
|
|
2370
|
+
sourceHash?: undefined;
|
|
2371
|
+
gatewayFee?: undefined;
|
|
2372
|
+
gatewayFeeRecipient?: undefined;
|
|
2373
|
+
} | {
|
|
2374
|
+
blockHash: `0x${string}` | null;
|
|
2375
|
+
blockNumber: bigint | null;
|
|
2376
|
+
from: viem.Address;
|
|
2377
|
+
gas: bigint;
|
|
2378
|
+
hash: viem.Hash;
|
|
2379
|
+
input: viem.Hex;
|
|
2380
|
+
nonce: number;
|
|
2381
|
+
r: viem.Hex;
|
|
2382
|
+
s: viem.Hex;
|
|
2383
|
+
to: viem.Address | null;
|
|
2384
|
+
transactionIndex: number | null;
|
|
2385
|
+
typeHex: viem.Hex | null;
|
|
2386
|
+
v: bigint;
|
|
2387
|
+
value: bigint;
|
|
2388
|
+
yParity: number;
|
|
2389
|
+
accessList: viem.AccessList;
|
|
2390
|
+
authorizationList?: undefined;
|
|
2391
|
+
blobVersionedHashes?: undefined;
|
|
2392
|
+
chainId: number;
|
|
2393
|
+
type: "eip1559";
|
|
2394
|
+
gasPrice?: undefined;
|
|
2395
|
+
maxFeePerBlobGas?: undefined;
|
|
2396
|
+
maxFeePerGas: bigint;
|
|
2397
|
+
maxPriorityFeePerGas: bigint;
|
|
2398
|
+
feeCurrency: viem.Address | null;
|
|
2399
|
+
mint?: undefined;
|
|
2400
|
+
isSystemTx?: undefined;
|
|
2401
|
+
sourceHash?: undefined;
|
|
2402
|
+
gatewayFee?: undefined;
|
|
2403
|
+
gatewayFeeRecipient?: undefined;
|
|
2404
|
+
} | {
|
|
2405
|
+
blockHash: `0x${string}` | null;
|
|
2406
|
+
blockNumber: bigint | null;
|
|
2407
|
+
from: viem.Address;
|
|
2408
|
+
gas: bigint;
|
|
2409
|
+
hash: viem.Hash;
|
|
2410
|
+
input: viem.Hex;
|
|
2411
|
+
nonce: number;
|
|
2412
|
+
r: viem.Hex;
|
|
2413
|
+
s: viem.Hex;
|
|
2414
|
+
to: viem.Address | null;
|
|
2415
|
+
transactionIndex: number | null;
|
|
2416
|
+
typeHex: viem.Hex | null;
|
|
2417
|
+
v: bigint;
|
|
2418
|
+
value: bigint;
|
|
2419
|
+
yParity: number;
|
|
2420
|
+
accessList: viem.AccessList;
|
|
2421
|
+
authorizationList?: undefined;
|
|
2422
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
2423
|
+
chainId: number;
|
|
2424
|
+
type: "eip4844";
|
|
2425
|
+
gasPrice?: undefined;
|
|
2426
|
+
maxFeePerBlobGas: bigint;
|
|
2427
|
+
maxFeePerGas: bigint;
|
|
2428
|
+
maxPriorityFeePerGas: bigint;
|
|
2429
|
+
feeCurrency: viem.Address | null;
|
|
2430
|
+
mint?: undefined;
|
|
2431
|
+
isSystemTx?: undefined;
|
|
2432
|
+
sourceHash?: undefined;
|
|
2433
|
+
gatewayFee?: undefined;
|
|
2434
|
+
gatewayFeeRecipient?: undefined;
|
|
2435
|
+
} | {
|
|
2436
|
+
blockHash: `0x${string}` | null;
|
|
2437
|
+
blockNumber: bigint | null;
|
|
2438
|
+
from: viem.Address;
|
|
2439
|
+
gas: bigint;
|
|
2440
|
+
hash: viem.Hash;
|
|
2441
|
+
input: viem.Hex;
|
|
2442
|
+
nonce: number;
|
|
2443
|
+
r: viem.Hex;
|
|
2444
|
+
s: viem.Hex;
|
|
2445
|
+
to: viem.Address | null;
|
|
2446
|
+
transactionIndex: number | null;
|
|
2447
|
+
typeHex: viem.Hex | null;
|
|
2448
|
+
v: bigint;
|
|
2449
|
+
value: bigint;
|
|
2450
|
+
yParity: number;
|
|
2451
|
+
accessList: viem.AccessList;
|
|
2452
|
+
authorizationList: viem_experimental.SignedAuthorizationList;
|
|
2453
|
+
blobVersionedHashes?: undefined;
|
|
2454
|
+
chainId: number;
|
|
2455
|
+
type: "eip7702";
|
|
2456
|
+
gasPrice?: undefined;
|
|
2457
|
+
maxFeePerBlobGas?: undefined;
|
|
2458
|
+
maxFeePerGas: bigint;
|
|
2459
|
+
maxPriorityFeePerGas: bigint;
|
|
2460
|
+
feeCurrency: viem.Address | null;
|
|
2461
|
+
mint?: undefined;
|
|
2462
|
+
isSystemTx?: undefined;
|
|
2463
|
+
sourceHash?: undefined;
|
|
2464
|
+
gatewayFee?: undefined;
|
|
2465
|
+
gatewayFeeRecipient?: undefined;
|
|
2466
|
+
} | {
|
|
2467
|
+
blockHash: `0x${string}` | null;
|
|
2468
|
+
blockNumber: bigint | null;
|
|
2469
|
+
from: viem.Address;
|
|
2470
|
+
gas: bigint;
|
|
2471
|
+
hash: viem.Hash;
|
|
2472
|
+
input: viem.Hex;
|
|
2473
|
+
nonce: number;
|
|
2474
|
+
r: viem.Hex;
|
|
2475
|
+
s: viem.Hex;
|
|
2476
|
+
to: viem.Address | null;
|
|
2477
|
+
transactionIndex: number | null;
|
|
2478
|
+
typeHex: viem.Hex | null;
|
|
2479
|
+
v: bigint;
|
|
2480
|
+
value: bigint;
|
|
2481
|
+
yParity: number;
|
|
2482
|
+
gasPrice?: undefined;
|
|
2483
|
+
maxFeePerBlobGas?: undefined;
|
|
2484
|
+
maxFeePerGas: bigint;
|
|
2485
|
+
maxPriorityFeePerGas: bigint;
|
|
2486
|
+
accessList: viem.AccessList;
|
|
2487
|
+
chainId: number;
|
|
2488
|
+
feeCurrency: viem.Address | null;
|
|
2489
|
+
gatewayFee: bigint | null;
|
|
2490
|
+
gatewayFeeRecipient: viem.Address | null;
|
|
2491
|
+
type: "cip42";
|
|
2492
|
+
authorizationList?: undefined;
|
|
2493
|
+
blobVersionedHashes?: undefined;
|
|
2494
|
+
mint?: undefined;
|
|
2495
|
+
isSystemTx?: undefined;
|
|
2496
|
+
sourceHash?: undefined;
|
|
2497
|
+
} | {
|
|
2498
|
+
blockHash: `0x${string}` | null;
|
|
2499
|
+
blockNumber: bigint | null;
|
|
2500
|
+
from: viem.Address;
|
|
2501
|
+
gas: bigint;
|
|
2502
|
+
hash: viem.Hash;
|
|
2503
|
+
input: viem.Hex;
|
|
2504
|
+
nonce: number;
|
|
2505
|
+
r: viem.Hex;
|
|
2506
|
+
s: viem.Hex;
|
|
2507
|
+
to: viem.Address | null;
|
|
2508
|
+
transactionIndex: number | null;
|
|
2509
|
+
typeHex: viem.Hex | null;
|
|
2510
|
+
v: bigint;
|
|
2511
|
+
value: bigint;
|
|
2512
|
+
yParity: number;
|
|
2513
|
+
gasPrice?: undefined;
|
|
2514
|
+
maxFeePerBlobGas?: undefined;
|
|
2515
|
+
maxFeePerGas: bigint;
|
|
2516
|
+
maxPriorityFeePerGas: bigint;
|
|
2517
|
+
accessList: viem.AccessList;
|
|
2518
|
+
chainId: number;
|
|
2519
|
+
feeCurrency: viem.Address | null;
|
|
2520
|
+
type: "cip64";
|
|
2521
|
+
authorizationList?: undefined;
|
|
2522
|
+
blobVersionedHashes?: undefined;
|
|
2523
|
+
mint?: undefined;
|
|
2524
|
+
isSystemTx?: undefined;
|
|
2525
|
+
sourceHash?: undefined;
|
|
2526
|
+
gatewayFee?: undefined;
|
|
2527
|
+
gatewayFeeRecipient?: undefined;
|
|
2528
|
+
} | {
|
|
2529
|
+
blockHash: `0x${string}` | null;
|
|
2530
|
+
blockNumber: bigint | null;
|
|
2531
|
+
from: viem.Address;
|
|
2532
|
+
gas: bigint;
|
|
2533
|
+
hash: viem.Hash;
|
|
2534
|
+
input: viem.Hex;
|
|
2535
|
+
nonce: number;
|
|
2536
|
+
r: viem.Hex;
|
|
2537
|
+
s: viem.Hex;
|
|
2538
|
+
to: viem.Address | null;
|
|
2539
|
+
transactionIndex: number | null;
|
|
2540
|
+
typeHex: viem.Hex | null;
|
|
2541
|
+
v: bigint;
|
|
2542
|
+
value: bigint;
|
|
2543
|
+
yParity: number;
|
|
2544
|
+
gasPrice?: undefined;
|
|
2545
|
+
maxFeePerBlobGas?: undefined;
|
|
2546
|
+
maxFeePerGas: bigint;
|
|
2547
|
+
maxPriorityFeePerGas: bigint;
|
|
2548
|
+
isSystemTx?: boolean;
|
|
2549
|
+
mint?: bigint | undefined;
|
|
2550
|
+
sourceHash: viem.Hex;
|
|
2551
|
+
type: "deposit";
|
|
2552
|
+
accessList?: undefined;
|
|
2553
|
+
authorizationList?: undefined;
|
|
2554
|
+
blobVersionedHashes?: undefined;
|
|
2555
|
+
chainId?: undefined;
|
|
2556
|
+
feeCurrency?: undefined;
|
|
2557
|
+
gatewayFee?: undefined;
|
|
2558
|
+
gatewayFeeRecipient?: undefined;
|
|
2559
|
+
}) & {};
|
|
2560
|
+
type: "transaction";
|
|
2561
|
+
};
|
|
2562
|
+
readonly transactionRequest: {
|
|
2563
|
+
exclude: [] | undefined;
|
|
2564
|
+
format: (args: viem_chains.CeloTransactionRequest) => ({
|
|
2565
|
+
data?: viem.Hex | undefined;
|
|
2566
|
+
from?: viem.Address | undefined;
|
|
2567
|
+
gas?: `0x${string}` | undefined;
|
|
2568
|
+
nonce?: `0x${string}` | undefined;
|
|
2569
|
+
to?: viem.Address | null | undefined;
|
|
2570
|
+
type?: "0x0" | undefined;
|
|
2571
|
+
value?: `0x${string}` | undefined;
|
|
2572
|
+
gasPrice?: `0x${string}` | undefined;
|
|
2573
|
+
maxFeePerBlobGas?: undefined;
|
|
2574
|
+
maxFeePerGas?: undefined;
|
|
2575
|
+
maxPriorityFeePerGas?: undefined;
|
|
2576
|
+
blobs?: undefined;
|
|
2577
|
+
accessList?: undefined;
|
|
2578
|
+
authorizationList?: undefined;
|
|
2579
|
+
blobVersionedHashes?: undefined;
|
|
2580
|
+
kzg?: undefined;
|
|
2581
|
+
sidecars?: undefined;
|
|
2582
|
+
feeCurrency?: viem.Address | undefined;
|
|
2583
|
+
} | {
|
|
2584
|
+
data?: viem.Hex | undefined;
|
|
2585
|
+
from?: viem.Address | undefined;
|
|
2586
|
+
gas?: `0x${string}` | undefined;
|
|
2587
|
+
nonce?: `0x${string}` | undefined;
|
|
2588
|
+
to?: viem.Address | null | undefined;
|
|
2589
|
+
type?: "0x1" | undefined;
|
|
2590
|
+
value?: `0x${string}` | undefined;
|
|
2591
|
+
gasPrice?: `0x${string}` | undefined;
|
|
2592
|
+
maxFeePerBlobGas?: undefined;
|
|
2593
|
+
maxFeePerGas?: undefined;
|
|
2594
|
+
maxPriorityFeePerGas?: undefined;
|
|
2595
|
+
accessList?: viem.AccessList | undefined;
|
|
2596
|
+
blobs?: undefined;
|
|
2597
|
+
authorizationList?: undefined;
|
|
2598
|
+
blobVersionedHashes?: undefined;
|
|
2599
|
+
kzg?: undefined;
|
|
2600
|
+
sidecars?: undefined;
|
|
2601
|
+
feeCurrency?: viem.Address | undefined;
|
|
2602
|
+
} | {
|
|
2603
|
+
data?: viem.Hex | undefined;
|
|
2604
|
+
from?: viem.Address | undefined;
|
|
2605
|
+
gas?: `0x${string}` | undefined;
|
|
2606
|
+
nonce?: `0x${string}` | undefined;
|
|
2607
|
+
to?: viem.Address | null | undefined;
|
|
2608
|
+
type?: "0x2" | undefined;
|
|
2609
|
+
value?: `0x${string}` | undefined;
|
|
2610
|
+
gasPrice?: undefined;
|
|
2611
|
+
maxFeePerBlobGas?: undefined;
|
|
2612
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
2613
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
2614
|
+
accessList?: viem.AccessList | undefined;
|
|
2615
|
+
blobs?: undefined;
|
|
2616
|
+
authorizationList?: undefined;
|
|
2617
|
+
blobVersionedHashes?: undefined;
|
|
2618
|
+
kzg?: undefined;
|
|
2619
|
+
sidecars?: undefined;
|
|
2620
|
+
feeCurrency?: viem.Address | undefined;
|
|
2621
|
+
} | {
|
|
2622
|
+
type?: "0x3" | undefined;
|
|
2623
|
+
data?: viem.Hex | undefined;
|
|
2624
|
+
from?: viem.Address | undefined;
|
|
2625
|
+
gas?: `0x${string}` | undefined;
|
|
2626
|
+
nonce?: `0x${string}` | undefined;
|
|
2627
|
+
value?: `0x${string}` | undefined;
|
|
2628
|
+
to: `0x${string}` | null;
|
|
2629
|
+
gasPrice?: undefined;
|
|
2630
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
2631
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
2632
|
+
maxFeePerBlobGas: `0x${string}`;
|
|
2633
|
+
accessList?: viem.AccessList | undefined;
|
|
2634
|
+
blobs: readonly viem.Hex[] | readonly viem.ByteArray[];
|
|
2635
|
+
blobVersionedHashes?: readonly viem.Hex[] | undefined;
|
|
2636
|
+
kzg?: viem.Kzg | undefined;
|
|
2637
|
+
sidecars?: readonly viem.BlobSidecar<viem.Hex>[] | undefined;
|
|
2638
|
+
authorizationList?: undefined;
|
|
2639
|
+
feeCurrency?: viem.Address | undefined;
|
|
2640
|
+
} | {
|
|
2641
|
+
type?: "0x4" | undefined;
|
|
2642
|
+
gasPrice?: undefined;
|
|
2643
|
+
maxFeePerBlobGas?: undefined;
|
|
2644
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
2645
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
2646
|
+
to?: viem.Address | null | undefined;
|
|
2647
|
+
data?: viem.Hex | undefined;
|
|
2648
|
+
from?: viem.Address | undefined;
|
|
2649
|
+
gas?: `0x${string}` | undefined;
|
|
2650
|
+
nonce?: `0x${string}` | undefined;
|
|
2651
|
+
value?: `0x${string}` | undefined;
|
|
2652
|
+
accessList?: viem.AccessList | undefined;
|
|
2653
|
+
authorizationList?: viem_experimental.RpcAuthorizationList | undefined;
|
|
2654
|
+
blobs?: undefined;
|
|
2655
|
+
blobVersionedHashes?: undefined;
|
|
2656
|
+
kzg?: undefined;
|
|
2657
|
+
sidecars?: undefined;
|
|
2658
|
+
feeCurrency?: viem.Address | undefined;
|
|
2659
|
+
} | {
|
|
2660
|
+
data?: viem.Hex | undefined;
|
|
2661
|
+
from?: viem.Address | undefined;
|
|
2662
|
+
gas?: `0x${string}` | undefined;
|
|
2663
|
+
nonce?: `0x${string}` | undefined;
|
|
2664
|
+
to?: viem.Address | null | undefined;
|
|
2665
|
+
type?: "0x7b" | undefined;
|
|
2666
|
+
value?: `0x${string}` | undefined;
|
|
2667
|
+
accessList?: viem.AccessList | undefined;
|
|
2668
|
+
feeCurrency?: viem.Address | undefined;
|
|
2669
|
+
gasPrice?: undefined;
|
|
2670
|
+
maxFeePerBlobGas?: undefined;
|
|
2671
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
2672
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
2673
|
+
blobs?: undefined;
|
|
2674
|
+
authorizationList?: undefined;
|
|
2675
|
+
blobVersionedHashes?: undefined;
|
|
2676
|
+
kzg?: undefined;
|
|
2677
|
+
sidecars?: undefined;
|
|
2678
|
+
}) & {};
|
|
2679
|
+
type: "transactionRequest";
|
|
2680
|
+
};
|
|
2681
|
+
}>;
|
|
2682
|
+
formatters: {
|
|
2683
|
+
readonly block: {
|
|
2684
|
+
exclude: [] | undefined;
|
|
2685
|
+
format: (args: viem_chains.CeloRpcBlock) => {
|
|
2686
|
+
baseFeePerGas: bigint | null;
|
|
2687
|
+
blobGasUsed: bigint;
|
|
2688
|
+
difficulty: bigint | undefined;
|
|
2689
|
+
excessBlobGas: bigint;
|
|
2690
|
+
extraData: viem.Hex;
|
|
2691
|
+
gasLimit: bigint | undefined;
|
|
2692
|
+
gasUsed: bigint;
|
|
2693
|
+
hash: `0x${string}` | null;
|
|
2694
|
+
logsBloom: `0x${string}` | null;
|
|
2695
|
+
miner: viem.Address;
|
|
2696
|
+
nonce: bigint | null | undefined;
|
|
2697
|
+
number: bigint | null;
|
|
2698
|
+
parentBeaconBlockRoot?: viem.Hex | undefined;
|
|
2699
|
+
parentHash: viem.Hash;
|
|
2700
|
+
receiptsRoot: viem.Hex;
|
|
2701
|
+
sealFields: viem.Hex[];
|
|
2702
|
+
sha3Uncles: viem.Hash;
|
|
2703
|
+
size: bigint;
|
|
2704
|
+
stateRoot: viem.Hash;
|
|
2705
|
+
timestamp: bigint;
|
|
2706
|
+
totalDifficulty: bigint | null;
|
|
2707
|
+
transactions: `0x${string}`[] | viem_chains.CeloTransaction<boolean>[];
|
|
2708
|
+
transactionsRoot: viem.Hash;
|
|
2709
|
+
withdrawals?: viem.Withdrawal[] | undefined;
|
|
2710
|
+
withdrawalsRoot?: viem.Hex | undefined;
|
|
2711
|
+
mixHash?: undefined;
|
|
2712
|
+
randomness?: {
|
|
2713
|
+
committed: viem.Hex;
|
|
2714
|
+
revealed: viem.Hex;
|
|
2715
|
+
} | undefined;
|
|
2716
|
+
uncles?: undefined;
|
|
2717
|
+
} & {};
|
|
2718
|
+
type: "block";
|
|
2719
|
+
};
|
|
2720
|
+
readonly transaction: {
|
|
2721
|
+
exclude: [] | undefined;
|
|
2722
|
+
format: (args: viem_chains.CeloRpcTransaction) => ({
|
|
2723
|
+
r: viem.Hex;
|
|
2724
|
+
s: viem.Hex;
|
|
2725
|
+
v: bigint;
|
|
2726
|
+
to: viem.Address | null;
|
|
2727
|
+
from: viem.Address;
|
|
2728
|
+
gas: bigint;
|
|
2729
|
+
nonce: number;
|
|
2730
|
+
value: bigint;
|
|
2731
|
+
blockHash: `0x${string}` | null;
|
|
2732
|
+
blockNumber: bigint | null;
|
|
2733
|
+
hash: viem.Hash;
|
|
2734
|
+
input: viem.Hex;
|
|
2735
|
+
transactionIndex: number | null;
|
|
2736
|
+
typeHex: viem.Hex | null;
|
|
2737
|
+
accessList?: undefined;
|
|
2738
|
+
authorizationList?: undefined;
|
|
2739
|
+
blobVersionedHashes?: undefined;
|
|
2740
|
+
chainId?: number | undefined;
|
|
2741
|
+
yParity?: undefined;
|
|
2742
|
+
type: "legacy";
|
|
2743
|
+
gasPrice: bigint;
|
|
2744
|
+
maxFeePerBlobGas?: undefined;
|
|
2745
|
+
maxFeePerGas?: undefined;
|
|
2746
|
+
maxPriorityFeePerGas?: undefined;
|
|
2747
|
+
feeCurrency: viem.Address | null;
|
|
2748
|
+
mint?: undefined;
|
|
2749
|
+
isSystemTx?: undefined;
|
|
2750
|
+
sourceHash?: undefined;
|
|
2751
|
+
gatewayFee?: undefined;
|
|
2752
|
+
gatewayFeeRecipient?: undefined;
|
|
2753
|
+
} | {
|
|
2754
|
+
blockHash: `0x${string}` | null;
|
|
2755
|
+
blockNumber: bigint | null;
|
|
2756
|
+
from: viem.Address;
|
|
2757
|
+
gas: bigint;
|
|
2758
|
+
hash: viem.Hash;
|
|
2759
|
+
input: viem.Hex;
|
|
2760
|
+
nonce: number;
|
|
2761
|
+
r: viem.Hex;
|
|
2762
|
+
s: viem.Hex;
|
|
2763
|
+
to: viem.Address | null;
|
|
2764
|
+
transactionIndex: number | null;
|
|
2765
|
+
typeHex: viem.Hex | null;
|
|
2766
|
+
v: bigint;
|
|
2767
|
+
value: bigint;
|
|
2768
|
+
yParity: number;
|
|
2769
|
+
accessList: viem.AccessList;
|
|
2770
|
+
authorizationList?: undefined;
|
|
2771
|
+
blobVersionedHashes?: undefined;
|
|
2772
|
+
chainId: number;
|
|
2773
|
+
type: "eip2930";
|
|
2774
|
+
gasPrice: bigint;
|
|
2775
|
+
maxFeePerBlobGas?: undefined;
|
|
2776
|
+
maxFeePerGas?: undefined;
|
|
2777
|
+
maxPriorityFeePerGas?: undefined;
|
|
2778
|
+
feeCurrency: viem.Address | null;
|
|
2779
|
+
mint?: undefined;
|
|
2780
|
+
isSystemTx?: undefined;
|
|
2781
|
+
sourceHash?: undefined;
|
|
2782
|
+
gatewayFee?: undefined;
|
|
2783
|
+
gatewayFeeRecipient?: undefined;
|
|
2784
|
+
} | {
|
|
2785
|
+
blockHash: `0x${string}` | null;
|
|
2786
|
+
blockNumber: bigint | null;
|
|
2787
|
+
from: viem.Address;
|
|
2788
|
+
gas: bigint;
|
|
2789
|
+
hash: viem.Hash;
|
|
2790
|
+
input: viem.Hex;
|
|
2791
|
+
nonce: number;
|
|
2792
|
+
r: viem.Hex;
|
|
2793
|
+
s: viem.Hex;
|
|
2794
|
+
to: viem.Address | null;
|
|
2795
|
+
transactionIndex: number | null;
|
|
2796
|
+
typeHex: viem.Hex | null;
|
|
2797
|
+
v: bigint;
|
|
2798
|
+
value: bigint;
|
|
2799
|
+
yParity: number;
|
|
2800
|
+
accessList: viem.AccessList;
|
|
2801
|
+
authorizationList?: undefined;
|
|
2802
|
+
blobVersionedHashes?: undefined;
|
|
2803
|
+
chainId: number;
|
|
2804
|
+
type: "eip1559";
|
|
2805
|
+
gasPrice?: undefined;
|
|
2806
|
+
maxFeePerBlobGas?: undefined;
|
|
2807
|
+
maxFeePerGas: bigint;
|
|
2808
|
+
maxPriorityFeePerGas: bigint;
|
|
2809
|
+
feeCurrency: viem.Address | null;
|
|
2810
|
+
mint?: undefined;
|
|
2811
|
+
isSystemTx?: undefined;
|
|
2812
|
+
sourceHash?: undefined;
|
|
2813
|
+
gatewayFee?: undefined;
|
|
2814
|
+
gatewayFeeRecipient?: undefined;
|
|
2815
|
+
} | {
|
|
2816
|
+
blockHash: `0x${string}` | null;
|
|
2817
|
+
blockNumber: bigint | null;
|
|
2818
|
+
from: viem.Address;
|
|
2819
|
+
gas: bigint;
|
|
2820
|
+
hash: viem.Hash;
|
|
2821
|
+
input: viem.Hex;
|
|
2822
|
+
nonce: number;
|
|
2823
|
+
r: viem.Hex;
|
|
2824
|
+
s: viem.Hex;
|
|
2825
|
+
to: viem.Address | null;
|
|
2826
|
+
transactionIndex: number | null;
|
|
2827
|
+
typeHex: viem.Hex | null;
|
|
2828
|
+
v: bigint;
|
|
2829
|
+
value: bigint;
|
|
2830
|
+
yParity: number;
|
|
2831
|
+
accessList: viem.AccessList;
|
|
2832
|
+
authorizationList?: undefined;
|
|
2833
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
2834
|
+
chainId: number;
|
|
2835
|
+
type: "eip4844";
|
|
2836
|
+
gasPrice?: undefined;
|
|
2837
|
+
maxFeePerBlobGas: bigint;
|
|
2838
|
+
maxFeePerGas: bigint;
|
|
2839
|
+
maxPriorityFeePerGas: bigint;
|
|
2840
|
+
feeCurrency: viem.Address | null;
|
|
2841
|
+
mint?: undefined;
|
|
2842
|
+
isSystemTx?: undefined;
|
|
2843
|
+
sourceHash?: undefined;
|
|
2844
|
+
gatewayFee?: undefined;
|
|
2845
|
+
gatewayFeeRecipient?: undefined;
|
|
2846
|
+
} | {
|
|
2847
|
+
blockHash: `0x${string}` | null;
|
|
2848
|
+
blockNumber: bigint | null;
|
|
2849
|
+
from: viem.Address;
|
|
2850
|
+
gas: bigint;
|
|
2851
|
+
hash: viem.Hash;
|
|
2852
|
+
input: viem.Hex;
|
|
2853
|
+
nonce: number;
|
|
2854
|
+
r: viem.Hex;
|
|
2855
|
+
s: viem.Hex;
|
|
2856
|
+
to: viem.Address | null;
|
|
2857
|
+
transactionIndex: number | null;
|
|
2858
|
+
typeHex: viem.Hex | null;
|
|
2859
|
+
v: bigint;
|
|
2860
|
+
value: bigint;
|
|
2861
|
+
yParity: number;
|
|
2862
|
+
accessList: viem.AccessList;
|
|
2863
|
+
authorizationList: viem_experimental.SignedAuthorizationList;
|
|
2864
|
+
blobVersionedHashes?: undefined;
|
|
2865
|
+
chainId: number;
|
|
2866
|
+
type: "eip7702";
|
|
2867
|
+
gasPrice?: undefined;
|
|
2868
|
+
maxFeePerBlobGas?: undefined;
|
|
2869
|
+
maxFeePerGas: bigint;
|
|
2870
|
+
maxPriorityFeePerGas: bigint;
|
|
2871
|
+
feeCurrency: viem.Address | null;
|
|
2872
|
+
mint?: undefined;
|
|
2873
|
+
isSystemTx?: undefined;
|
|
2874
|
+
sourceHash?: undefined;
|
|
2875
|
+
gatewayFee?: undefined;
|
|
2876
|
+
gatewayFeeRecipient?: undefined;
|
|
2877
|
+
} | {
|
|
2878
|
+
blockHash: `0x${string}` | null;
|
|
2879
|
+
blockNumber: bigint | null;
|
|
2880
|
+
from: viem.Address;
|
|
2881
|
+
gas: bigint;
|
|
2882
|
+
hash: viem.Hash;
|
|
2883
|
+
input: viem.Hex;
|
|
2884
|
+
nonce: number;
|
|
2885
|
+
r: viem.Hex;
|
|
2886
|
+
s: viem.Hex;
|
|
2887
|
+
to: viem.Address | null;
|
|
2888
|
+
transactionIndex: number | null;
|
|
2889
|
+
typeHex: viem.Hex | null;
|
|
2890
|
+
v: bigint;
|
|
2891
|
+
value: bigint;
|
|
2892
|
+
yParity: number;
|
|
2893
|
+
gasPrice?: undefined;
|
|
2894
|
+
maxFeePerBlobGas?: undefined;
|
|
2895
|
+
maxFeePerGas: bigint;
|
|
2896
|
+
maxPriorityFeePerGas: bigint;
|
|
2897
|
+
accessList: viem.AccessList;
|
|
2898
|
+
chainId: number;
|
|
2899
|
+
feeCurrency: viem.Address | null;
|
|
2900
|
+
gatewayFee: bigint | null;
|
|
2901
|
+
gatewayFeeRecipient: viem.Address | null;
|
|
2902
|
+
type: "cip42";
|
|
2903
|
+
authorizationList?: undefined;
|
|
2904
|
+
blobVersionedHashes?: undefined;
|
|
2905
|
+
mint?: undefined;
|
|
2906
|
+
isSystemTx?: undefined;
|
|
2907
|
+
sourceHash?: undefined;
|
|
2908
|
+
} | {
|
|
2909
|
+
blockHash: `0x${string}` | null;
|
|
2910
|
+
blockNumber: bigint | null;
|
|
2911
|
+
from: viem.Address;
|
|
2912
|
+
gas: bigint;
|
|
2913
|
+
hash: viem.Hash;
|
|
2914
|
+
input: viem.Hex;
|
|
2915
|
+
nonce: number;
|
|
2916
|
+
r: viem.Hex;
|
|
2917
|
+
s: viem.Hex;
|
|
2918
|
+
to: viem.Address | null;
|
|
2919
|
+
transactionIndex: number | null;
|
|
2920
|
+
typeHex: viem.Hex | null;
|
|
2921
|
+
v: bigint;
|
|
2922
|
+
value: bigint;
|
|
2923
|
+
yParity: number;
|
|
2924
|
+
gasPrice?: undefined;
|
|
2925
|
+
maxFeePerBlobGas?: undefined;
|
|
2926
|
+
maxFeePerGas: bigint;
|
|
2927
|
+
maxPriorityFeePerGas: bigint;
|
|
2928
|
+
accessList: viem.AccessList;
|
|
2929
|
+
chainId: number;
|
|
2930
|
+
feeCurrency: viem.Address | null;
|
|
2931
|
+
type: "cip64";
|
|
2932
|
+
authorizationList?: undefined;
|
|
2933
|
+
blobVersionedHashes?: undefined;
|
|
2934
|
+
mint?: undefined;
|
|
2935
|
+
isSystemTx?: undefined;
|
|
2936
|
+
sourceHash?: undefined;
|
|
2937
|
+
gatewayFee?: undefined;
|
|
2938
|
+
gatewayFeeRecipient?: undefined;
|
|
2939
|
+
} | {
|
|
2940
|
+
blockHash: `0x${string}` | null;
|
|
2941
|
+
blockNumber: bigint | null;
|
|
2942
|
+
from: viem.Address;
|
|
2943
|
+
gas: bigint;
|
|
2944
|
+
hash: viem.Hash;
|
|
2945
|
+
input: viem.Hex;
|
|
2946
|
+
nonce: number;
|
|
2947
|
+
r: viem.Hex;
|
|
2948
|
+
s: viem.Hex;
|
|
2949
|
+
to: viem.Address | null;
|
|
2950
|
+
transactionIndex: number | null;
|
|
2951
|
+
typeHex: viem.Hex | null;
|
|
2952
|
+
v: bigint;
|
|
2953
|
+
value: bigint;
|
|
2954
|
+
yParity: number;
|
|
2955
|
+
gasPrice?: undefined;
|
|
2956
|
+
maxFeePerBlobGas?: undefined;
|
|
2957
|
+
maxFeePerGas: bigint;
|
|
2958
|
+
maxPriorityFeePerGas: bigint;
|
|
2959
|
+
isSystemTx?: boolean;
|
|
2960
|
+
mint?: bigint | undefined;
|
|
2961
|
+
sourceHash: viem.Hex;
|
|
2962
|
+
type: "deposit";
|
|
2963
|
+
accessList?: undefined;
|
|
2964
|
+
authorizationList?: undefined;
|
|
2965
|
+
blobVersionedHashes?: undefined;
|
|
2966
|
+
chainId?: undefined;
|
|
2967
|
+
feeCurrency?: undefined;
|
|
2968
|
+
gatewayFee?: undefined;
|
|
2969
|
+
gatewayFeeRecipient?: undefined;
|
|
2970
|
+
}) & {};
|
|
2971
|
+
type: "transaction";
|
|
2972
|
+
};
|
|
2973
|
+
readonly transactionRequest: {
|
|
2974
|
+
exclude: [] | undefined;
|
|
2975
|
+
format: (args: viem_chains.CeloTransactionRequest) => ({
|
|
2976
|
+
data?: viem.Hex | undefined;
|
|
2977
|
+
from?: viem.Address | undefined;
|
|
2978
|
+
gas?: `0x${string}` | undefined;
|
|
2979
|
+
nonce?: `0x${string}` | undefined;
|
|
2980
|
+
to?: viem.Address | null | undefined;
|
|
2981
|
+
type?: "0x0" | undefined;
|
|
2982
|
+
value?: `0x${string}` | undefined;
|
|
2983
|
+
gasPrice?: `0x${string}` | undefined;
|
|
2984
|
+
maxFeePerBlobGas?: undefined;
|
|
2985
|
+
maxFeePerGas?: undefined;
|
|
2986
|
+
maxPriorityFeePerGas?: undefined;
|
|
2987
|
+
blobs?: undefined;
|
|
2988
|
+
accessList?: undefined;
|
|
2989
|
+
authorizationList?: undefined;
|
|
2990
|
+
blobVersionedHashes?: undefined;
|
|
2991
|
+
kzg?: undefined;
|
|
2992
|
+
sidecars?: undefined;
|
|
2993
|
+
feeCurrency?: viem.Address | undefined;
|
|
2994
|
+
} | {
|
|
2995
|
+
data?: viem.Hex | undefined;
|
|
2996
|
+
from?: viem.Address | undefined;
|
|
2997
|
+
gas?: `0x${string}` | undefined;
|
|
2998
|
+
nonce?: `0x${string}` | undefined;
|
|
2999
|
+
to?: viem.Address | null | undefined;
|
|
3000
|
+
type?: "0x1" | undefined;
|
|
3001
|
+
value?: `0x${string}` | undefined;
|
|
3002
|
+
gasPrice?: `0x${string}` | undefined;
|
|
3003
|
+
maxFeePerBlobGas?: undefined;
|
|
3004
|
+
maxFeePerGas?: undefined;
|
|
3005
|
+
maxPriorityFeePerGas?: undefined;
|
|
3006
|
+
accessList?: viem.AccessList | undefined;
|
|
3007
|
+
blobs?: undefined;
|
|
3008
|
+
authorizationList?: undefined;
|
|
3009
|
+
blobVersionedHashes?: undefined;
|
|
3010
|
+
kzg?: undefined;
|
|
3011
|
+
sidecars?: undefined;
|
|
3012
|
+
feeCurrency?: viem.Address | undefined;
|
|
3013
|
+
} | {
|
|
3014
|
+
data?: viem.Hex | undefined;
|
|
3015
|
+
from?: viem.Address | undefined;
|
|
3016
|
+
gas?: `0x${string}` | undefined;
|
|
3017
|
+
nonce?: `0x${string}` | undefined;
|
|
3018
|
+
to?: viem.Address | null | undefined;
|
|
3019
|
+
type?: "0x2" | undefined;
|
|
3020
|
+
value?: `0x${string}` | undefined;
|
|
3021
|
+
gasPrice?: undefined;
|
|
3022
|
+
maxFeePerBlobGas?: undefined;
|
|
3023
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
3024
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
3025
|
+
accessList?: viem.AccessList | undefined;
|
|
3026
|
+
blobs?: undefined;
|
|
3027
|
+
authorizationList?: undefined;
|
|
3028
|
+
blobVersionedHashes?: undefined;
|
|
3029
|
+
kzg?: undefined;
|
|
3030
|
+
sidecars?: undefined;
|
|
3031
|
+
feeCurrency?: viem.Address | undefined;
|
|
3032
|
+
} | {
|
|
3033
|
+
type?: "0x3" | undefined;
|
|
3034
|
+
data?: viem.Hex | undefined;
|
|
3035
|
+
from?: viem.Address | undefined;
|
|
3036
|
+
gas?: `0x${string}` | undefined;
|
|
3037
|
+
nonce?: `0x${string}` | undefined;
|
|
3038
|
+
value?: `0x${string}` | undefined;
|
|
3039
|
+
to: `0x${string}` | null;
|
|
3040
|
+
gasPrice?: undefined;
|
|
3041
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
3042
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
3043
|
+
maxFeePerBlobGas: `0x${string}`;
|
|
3044
|
+
accessList?: viem.AccessList | undefined;
|
|
3045
|
+
blobs: readonly viem.Hex[] | readonly viem.ByteArray[];
|
|
3046
|
+
blobVersionedHashes?: readonly viem.Hex[] | undefined;
|
|
3047
|
+
kzg?: viem.Kzg | undefined;
|
|
3048
|
+
sidecars?: readonly viem.BlobSidecar<viem.Hex>[] | undefined;
|
|
3049
|
+
authorizationList?: undefined;
|
|
3050
|
+
feeCurrency?: viem.Address | undefined;
|
|
3051
|
+
} | {
|
|
3052
|
+
type?: "0x4" | undefined;
|
|
3053
|
+
gasPrice?: undefined;
|
|
3054
|
+
maxFeePerBlobGas?: undefined;
|
|
3055
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
3056
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
3057
|
+
to?: viem.Address | null | undefined;
|
|
3058
|
+
data?: viem.Hex | undefined;
|
|
3059
|
+
from?: viem.Address | undefined;
|
|
3060
|
+
gas?: `0x${string}` | undefined;
|
|
3061
|
+
nonce?: `0x${string}` | undefined;
|
|
3062
|
+
value?: `0x${string}` | undefined;
|
|
3063
|
+
accessList?: viem.AccessList | undefined;
|
|
3064
|
+
authorizationList?: viem_experimental.RpcAuthorizationList | undefined;
|
|
3065
|
+
blobs?: undefined;
|
|
3066
|
+
blobVersionedHashes?: undefined;
|
|
3067
|
+
kzg?: undefined;
|
|
3068
|
+
sidecars?: undefined;
|
|
3069
|
+
feeCurrency?: viem.Address | undefined;
|
|
3070
|
+
} | {
|
|
3071
|
+
data?: viem.Hex | undefined;
|
|
3072
|
+
from?: viem.Address | undefined;
|
|
3073
|
+
gas?: `0x${string}` | undefined;
|
|
3074
|
+
nonce?: `0x${string}` | undefined;
|
|
3075
|
+
to?: viem.Address | null | undefined;
|
|
3076
|
+
type?: "0x7b" | undefined;
|
|
3077
|
+
value?: `0x${string}` | undefined;
|
|
3078
|
+
accessList?: viem.AccessList | undefined;
|
|
3079
|
+
feeCurrency?: viem.Address | undefined;
|
|
3080
|
+
gasPrice?: undefined;
|
|
3081
|
+
maxFeePerBlobGas?: undefined;
|
|
3082
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
3083
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
3084
|
+
blobs?: undefined;
|
|
3085
|
+
authorizationList?: undefined;
|
|
3086
|
+
blobVersionedHashes?: undefined;
|
|
3087
|
+
kzg?: undefined;
|
|
3088
|
+
sidecars?: undefined;
|
|
3089
|
+
}) & {};
|
|
3090
|
+
type: "transactionRequest";
|
|
3091
|
+
};
|
|
3092
|
+
};
|
|
3093
|
+
serializers: {
|
|
3094
|
+
readonly transaction: typeof viem_chains.serializeTransactionCelo;
|
|
3095
|
+
};
|
|
3096
|
+
};
|
|
3097
|
+
324: {
|
|
3098
|
+
blockExplorers: {
|
|
3099
|
+
readonly default: {
|
|
3100
|
+
readonly name: "Etherscan";
|
|
3101
|
+
readonly url: "https://era.zksync.network/";
|
|
3102
|
+
readonly apiUrl: "https://api-era.zksync.network/api";
|
|
3103
|
+
};
|
|
3104
|
+
readonly native: {
|
|
3105
|
+
readonly name: "ZKsync Explorer";
|
|
3106
|
+
readonly url: "https://explorer.zksync.io/";
|
|
3107
|
+
readonly apiUrl: "https://block-explorer-api.mainnet.zksync.io/api";
|
|
3108
|
+
};
|
|
3109
|
+
};
|
|
3110
|
+
contracts: {
|
|
3111
|
+
readonly multicall3: {
|
|
3112
|
+
readonly address: "0xF9cda624FBC7e059355ce98a31693d299FACd963";
|
|
3113
|
+
};
|
|
3114
|
+
readonly universalSignatureVerifier: {
|
|
3115
|
+
readonly address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C";
|
|
3116
|
+
readonly blockCreated: 45659388;
|
|
3117
|
+
};
|
|
3118
|
+
};
|
|
3119
|
+
id: 324;
|
|
3120
|
+
name: "ZKsync Era";
|
|
3121
|
+
nativeCurrency: {
|
|
3122
|
+
readonly decimals: 18;
|
|
3123
|
+
readonly name: "Ether";
|
|
3124
|
+
readonly symbol: "ETH";
|
|
3125
|
+
};
|
|
3126
|
+
rpcUrls: {
|
|
3127
|
+
readonly default: {
|
|
3128
|
+
readonly http: readonly ["https://mainnet.era.zksync.io"];
|
|
3129
|
+
readonly webSocket: readonly ["wss://mainnet.era.zksync.io/ws"];
|
|
3130
|
+
};
|
|
3131
|
+
};
|
|
3132
|
+
sourceId?: number | undefined;
|
|
3133
|
+
testnet?: boolean | undefined;
|
|
3134
|
+
custom: {
|
|
3135
|
+
readonly getEip712Domain: viem_zksync.EIP712DomainFn<viem_chains.ZkSyncTransactionSerializable, viem_chains.ZkSyncEIP712TransactionSignable>;
|
|
3136
|
+
};
|
|
3137
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
3138
|
+
formatters: {
|
|
3139
|
+
readonly block: {
|
|
3140
|
+
exclude: [] | undefined;
|
|
3141
|
+
format: (args: viem_chains.ZkSyncRpcBlock) => {
|
|
3142
|
+
baseFeePerGas: bigint | null;
|
|
3143
|
+
blobGasUsed: bigint;
|
|
3144
|
+
difficulty: bigint;
|
|
3145
|
+
excessBlobGas: bigint;
|
|
3146
|
+
extraData: viem.Hex;
|
|
3147
|
+
gasLimit: bigint;
|
|
3148
|
+
gasUsed: bigint;
|
|
3149
|
+
hash: `0x${string}` | null;
|
|
3150
|
+
logsBloom: `0x${string}` | null;
|
|
3151
|
+
miner: viem.Address;
|
|
3152
|
+
mixHash: viem.Hash;
|
|
3153
|
+
nonce: `0x${string}` | null;
|
|
3154
|
+
number: bigint | null;
|
|
3155
|
+
parentBeaconBlockRoot?: viem.Hex | undefined;
|
|
3156
|
+
parentHash: viem.Hash;
|
|
3157
|
+
receiptsRoot: viem.Hex;
|
|
3158
|
+
sealFields: viem.Hex[];
|
|
3159
|
+
sha3Uncles: viem.Hash;
|
|
3160
|
+
size: bigint;
|
|
3161
|
+
stateRoot: viem.Hash;
|
|
3162
|
+
timestamp: bigint;
|
|
3163
|
+
totalDifficulty: bigint | null;
|
|
3164
|
+
transactions: `0x${string}`[] | viem_chains.ZkSyncTransaction<boolean>[];
|
|
3165
|
+
transactionsRoot: viem.Hash;
|
|
3166
|
+
uncles: viem.Hash[];
|
|
3167
|
+
withdrawals?: viem.Withdrawal[] | undefined;
|
|
3168
|
+
withdrawalsRoot?: viem.Hex | undefined;
|
|
3169
|
+
l1BatchNumber: bigint | null;
|
|
3170
|
+
l1BatchTimestamp: bigint | null;
|
|
3171
|
+
} & {};
|
|
3172
|
+
type: "block";
|
|
3173
|
+
};
|
|
3174
|
+
readonly transaction: {
|
|
3175
|
+
exclude: [] | undefined;
|
|
3176
|
+
format: (args: viem_chains.ZkSyncRpcTransaction) => ({
|
|
3177
|
+
r: viem.Hex;
|
|
3178
|
+
s: viem.Hex;
|
|
3179
|
+
v: bigint;
|
|
3180
|
+
to: viem.Address | null;
|
|
3181
|
+
from: viem.Address;
|
|
3182
|
+
gas: bigint;
|
|
3183
|
+
nonce: number;
|
|
3184
|
+
value: bigint;
|
|
3185
|
+
blockHash: `0x${string}` | null;
|
|
3186
|
+
blockNumber: bigint | null;
|
|
3187
|
+
hash: viem.Hash;
|
|
3188
|
+
input: viem.Hex;
|
|
3189
|
+
transactionIndex: number | null;
|
|
3190
|
+
typeHex: viem.Hex | null;
|
|
3191
|
+
accessList?: undefined;
|
|
3192
|
+
authorizationList?: undefined;
|
|
3193
|
+
blobVersionedHashes?: undefined;
|
|
3194
|
+
chainId?: number | undefined;
|
|
3195
|
+
yParity?: undefined;
|
|
3196
|
+
type: "legacy";
|
|
3197
|
+
gasPrice: bigint;
|
|
3198
|
+
maxFeePerBlobGas?: undefined;
|
|
3199
|
+
maxFeePerGas?: undefined;
|
|
3200
|
+
maxPriorityFeePerGas?: undefined;
|
|
3201
|
+
l1BatchNumber: bigint | null;
|
|
3202
|
+
l1BatchTxIndex: bigint | null;
|
|
3203
|
+
} | {
|
|
3204
|
+
blockHash: `0x${string}` | null;
|
|
3205
|
+
blockNumber: bigint | null;
|
|
3206
|
+
from: viem.Address;
|
|
3207
|
+
gas: bigint;
|
|
3208
|
+
hash: viem.Hash;
|
|
3209
|
+
input: viem.Hex;
|
|
3210
|
+
nonce: number;
|
|
3211
|
+
r: viem.Hex;
|
|
3212
|
+
s: viem.Hex;
|
|
3213
|
+
to: viem.Address | null;
|
|
3214
|
+
transactionIndex: number | null;
|
|
3215
|
+
typeHex: viem.Hex | null;
|
|
3216
|
+
v: bigint;
|
|
3217
|
+
value: bigint;
|
|
3218
|
+
yParity: number;
|
|
3219
|
+
accessList: viem.AccessList;
|
|
3220
|
+
authorizationList?: undefined;
|
|
3221
|
+
blobVersionedHashes?: undefined;
|
|
3222
|
+
chainId: number;
|
|
3223
|
+
type: "eip2930";
|
|
3224
|
+
gasPrice: bigint;
|
|
3225
|
+
maxFeePerBlobGas?: undefined;
|
|
3226
|
+
maxFeePerGas?: undefined;
|
|
3227
|
+
maxPriorityFeePerGas?: undefined;
|
|
3228
|
+
l1BatchNumber: bigint | null;
|
|
3229
|
+
l1BatchTxIndex: bigint | null;
|
|
3230
|
+
} | {
|
|
3231
|
+
blockHash: `0x${string}` | null;
|
|
3232
|
+
blockNumber: bigint | null;
|
|
3233
|
+
from: viem.Address;
|
|
3234
|
+
gas: bigint;
|
|
3235
|
+
hash: viem.Hash;
|
|
3236
|
+
input: viem.Hex;
|
|
3237
|
+
nonce: number;
|
|
3238
|
+
r: viem.Hex;
|
|
3239
|
+
s: viem.Hex;
|
|
3240
|
+
to: viem.Address | null;
|
|
3241
|
+
transactionIndex: number | null;
|
|
3242
|
+
typeHex: viem.Hex | null;
|
|
3243
|
+
v: bigint;
|
|
3244
|
+
value: bigint;
|
|
3245
|
+
yParity: number;
|
|
3246
|
+
accessList: viem.AccessList;
|
|
3247
|
+
authorizationList?: undefined;
|
|
3248
|
+
blobVersionedHashes?: undefined;
|
|
3249
|
+
chainId: number;
|
|
3250
|
+
type: "eip1559";
|
|
3251
|
+
gasPrice?: undefined;
|
|
3252
|
+
maxFeePerBlobGas?: undefined;
|
|
3253
|
+
maxFeePerGas: bigint;
|
|
3254
|
+
maxPriorityFeePerGas: bigint;
|
|
3255
|
+
l1BatchNumber: bigint | null;
|
|
3256
|
+
l1BatchTxIndex: bigint | null;
|
|
3257
|
+
} | {
|
|
3258
|
+
blockHash: `0x${string}` | null;
|
|
3259
|
+
blockNumber: bigint | null;
|
|
3260
|
+
from: viem.Address;
|
|
3261
|
+
gas: bigint;
|
|
3262
|
+
hash: viem.Hash;
|
|
3263
|
+
input: viem.Hex;
|
|
3264
|
+
nonce: number;
|
|
3265
|
+
r: viem.Hex;
|
|
3266
|
+
s: viem.Hex;
|
|
3267
|
+
to: viem.Address | null;
|
|
3268
|
+
transactionIndex: number | null;
|
|
3269
|
+
typeHex: viem.Hex | null;
|
|
3270
|
+
v: bigint;
|
|
3271
|
+
value: bigint;
|
|
3272
|
+
yParity: number;
|
|
3273
|
+
accessList: viem.AccessList;
|
|
3274
|
+
authorizationList?: undefined;
|
|
3275
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
3276
|
+
chainId: number;
|
|
3277
|
+
type: "eip4844";
|
|
3278
|
+
gasPrice?: undefined;
|
|
3279
|
+
maxFeePerBlobGas: bigint;
|
|
3280
|
+
maxFeePerGas: bigint;
|
|
3281
|
+
maxPriorityFeePerGas: bigint;
|
|
3282
|
+
l1BatchNumber: bigint | null;
|
|
3283
|
+
l1BatchTxIndex: bigint | null;
|
|
3284
|
+
} | {
|
|
3285
|
+
blockHash: `0x${string}` | null;
|
|
3286
|
+
blockNumber: bigint | null;
|
|
3287
|
+
from: viem.Address;
|
|
3288
|
+
gas: bigint;
|
|
3289
|
+
hash: viem.Hash;
|
|
3290
|
+
input: viem.Hex;
|
|
3291
|
+
nonce: number;
|
|
3292
|
+
r: viem.Hex;
|
|
3293
|
+
s: viem.Hex;
|
|
3294
|
+
to: viem.Address | null;
|
|
3295
|
+
transactionIndex: number | null;
|
|
3296
|
+
typeHex: viem.Hex | null;
|
|
3297
|
+
v: bigint;
|
|
3298
|
+
value: bigint;
|
|
3299
|
+
yParity: number;
|
|
3300
|
+
accessList: viem.AccessList;
|
|
3301
|
+
authorizationList: viem_experimental.SignedAuthorizationList;
|
|
3302
|
+
blobVersionedHashes?: undefined;
|
|
3303
|
+
chainId: number;
|
|
3304
|
+
type: "eip7702";
|
|
3305
|
+
gasPrice?: undefined;
|
|
3306
|
+
maxFeePerBlobGas?: undefined;
|
|
3307
|
+
maxFeePerGas: bigint;
|
|
3308
|
+
maxPriorityFeePerGas: bigint;
|
|
3309
|
+
l1BatchNumber: bigint | null;
|
|
3310
|
+
l1BatchTxIndex: bigint | null;
|
|
3311
|
+
} | {
|
|
3312
|
+
blockHash: `0x${string}` | null;
|
|
3313
|
+
blockNumber: bigint | null;
|
|
3314
|
+
from: viem.Address;
|
|
3315
|
+
gas: bigint;
|
|
3316
|
+
hash: viem.Hash;
|
|
3317
|
+
input: viem.Hex;
|
|
3318
|
+
nonce: number;
|
|
3319
|
+
r: viem.Hex;
|
|
3320
|
+
s: viem.Hex;
|
|
3321
|
+
to: viem.Address | null;
|
|
3322
|
+
transactionIndex: number | null;
|
|
3323
|
+
typeHex: viem.Hex | null;
|
|
3324
|
+
v: bigint;
|
|
3325
|
+
value: bigint;
|
|
3326
|
+
yParity: number;
|
|
3327
|
+
l1BatchNumber: bigint | null;
|
|
3328
|
+
l1BatchTxIndex: bigint | null;
|
|
3329
|
+
gasPrice?: undefined;
|
|
3330
|
+
maxFeePerBlobGas?: undefined;
|
|
3331
|
+
maxFeePerGas: bigint;
|
|
3332
|
+
maxPriorityFeePerGas: bigint;
|
|
3333
|
+
type: "priority";
|
|
3334
|
+
} | {
|
|
3335
|
+
blockHash: `0x${string}` | null;
|
|
3336
|
+
blockNumber: bigint | null;
|
|
3337
|
+
from: viem.Address;
|
|
3338
|
+
gas: bigint;
|
|
3339
|
+
hash: viem.Hash;
|
|
3340
|
+
input: viem.Hex;
|
|
3341
|
+
nonce: number;
|
|
3342
|
+
r: viem.Hex;
|
|
3343
|
+
s: viem.Hex;
|
|
3344
|
+
to: viem.Address | null;
|
|
3345
|
+
transactionIndex: number | null;
|
|
3346
|
+
typeHex: viem.Hex | null;
|
|
3347
|
+
v: bigint;
|
|
3348
|
+
value: bigint;
|
|
3349
|
+
yParity: number;
|
|
3350
|
+
l1BatchNumber: bigint | null;
|
|
3351
|
+
l1BatchTxIndex: bigint | null;
|
|
3352
|
+
gasPrice?: undefined;
|
|
3353
|
+
maxFeePerBlobGas?: undefined;
|
|
3354
|
+
maxFeePerGas: bigint;
|
|
3355
|
+
maxPriorityFeePerGas: bigint;
|
|
3356
|
+
type: "eip712" | "priority";
|
|
3357
|
+
}) & {};
|
|
3358
|
+
type: "transaction";
|
|
3359
|
+
};
|
|
3360
|
+
readonly transactionReceipt: {
|
|
3361
|
+
exclude: [] | undefined;
|
|
3362
|
+
format: (args: viem_chains.ZkSyncRpcTransactionReceipt) => {
|
|
3363
|
+
type: viem_chains.ZkSyncTransactionType;
|
|
3364
|
+
to: viem.Address | null;
|
|
3365
|
+
from: viem.Address;
|
|
3366
|
+
blockHash: viem.Hash;
|
|
3367
|
+
blockNumber: bigint;
|
|
3368
|
+
transactionIndex: number;
|
|
3369
|
+
status: "success" | "reverted";
|
|
3370
|
+
contractAddress: viem.Address | null | undefined;
|
|
3371
|
+
logsBloom: viem.Hex;
|
|
3372
|
+
blobGasUsed?: bigint | undefined;
|
|
3373
|
+
gasUsed: bigint;
|
|
3374
|
+
transactionHash: viem.Hash;
|
|
3375
|
+
blobGasPrice?: bigint | undefined;
|
|
3376
|
+
cumulativeGasUsed: bigint;
|
|
3377
|
+
effectiveGasPrice: bigint;
|
|
3378
|
+
root?: viem.Hash | undefined;
|
|
3379
|
+
l1BatchNumber: bigint | null;
|
|
3380
|
+
l1BatchTxIndex: bigint | null;
|
|
3381
|
+
logs: viem_chains.ZkSyncLog[];
|
|
3382
|
+
l2ToL1Logs: viem_chains.ZkSyncL2ToL1Log[];
|
|
3383
|
+
} & {};
|
|
3384
|
+
type: "transactionReceipt";
|
|
3385
|
+
};
|
|
3386
|
+
readonly transactionRequest: {
|
|
3387
|
+
exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
|
|
3388
|
+
format: (args: viem_chains.ZkSyncTransactionRequest) => ({
|
|
3389
|
+
data?: viem.Hex | undefined;
|
|
3390
|
+
from?: viem.Address | undefined;
|
|
3391
|
+
gas?: `0x${string}` | undefined;
|
|
3392
|
+
nonce?: `0x${string}` | undefined;
|
|
3393
|
+
to?: viem.Address | null | undefined;
|
|
3394
|
+
type?: "0x0" | undefined;
|
|
3395
|
+
value?: `0x${string}` | undefined;
|
|
3396
|
+
gasPrice?: `0x${string}` | undefined;
|
|
3397
|
+
maxFeePerBlobGas?: undefined;
|
|
3398
|
+
maxFeePerGas?: undefined;
|
|
3399
|
+
maxPriorityFeePerGas?: undefined;
|
|
3400
|
+
blobs?: undefined;
|
|
3401
|
+
accessList?: undefined;
|
|
3402
|
+
authorizationList?: undefined;
|
|
3403
|
+
blobVersionedHashes?: undefined;
|
|
3404
|
+
kzg?: undefined;
|
|
3405
|
+
sidecars?: undefined;
|
|
3406
|
+
eip712Meta?: undefined;
|
|
3407
|
+
} | {
|
|
3408
|
+
data?: viem.Hex | undefined;
|
|
3409
|
+
from?: viem.Address | undefined;
|
|
3410
|
+
gas?: `0x${string}` | undefined;
|
|
3411
|
+
nonce?: `0x${string}` | undefined;
|
|
3412
|
+
to?: viem.Address | null | undefined;
|
|
3413
|
+
type?: "0x1" | undefined;
|
|
3414
|
+
value?: `0x${string}` | undefined;
|
|
3415
|
+
gasPrice?: `0x${string}` | undefined;
|
|
3416
|
+
maxFeePerBlobGas?: undefined;
|
|
3417
|
+
maxFeePerGas?: undefined;
|
|
3418
|
+
maxPriorityFeePerGas?: undefined;
|
|
3419
|
+
accessList?: viem.AccessList | undefined;
|
|
3420
|
+
blobs?: undefined;
|
|
3421
|
+
authorizationList?: undefined;
|
|
3422
|
+
blobVersionedHashes?: undefined;
|
|
3423
|
+
kzg?: undefined;
|
|
3424
|
+
sidecars?: undefined;
|
|
3425
|
+
eip712Meta?: undefined;
|
|
3426
|
+
} | {
|
|
3427
|
+
data?: viem.Hex | undefined;
|
|
3428
|
+
from?: viem.Address | undefined;
|
|
3429
|
+
gas?: `0x${string}` | undefined;
|
|
3430
|
+
nonce?: `0x${string}` | undefined;
|
|
3431
|
+
to?: viem.Address | null | undefined;
|
|
3432
|
+
type?: "0x2" | undefined;
|
|
3433
|
+
value?: `0x${string}` | undefined;
|
|
3434
|
+
gasPrice?: undefined;
|
|
3435
|
+
maxFeePerBlobGas?: undefined;
|
|
3436
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
3437
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
3438
|
+
accessList?: viem.AccessList | undefined;
|
|
3439
|
+
blobs?: undefined;
|
|
3440
|
+
authorizationList?: undefined;
|
|
3441
|
+
blobVersionedHashes?: undefined;
|
|
3442
|
+
kzg?: undefined;
|
|
3443
|
+
sidecars?: undefined;
|
|
3444
|
+
eip712Meta?: undefined;
|
|
3445
|
+
} | {
|
|
3446
|
+
type?: "0x3" | undefined;
|
|
3447
|
+
data?: viem.Hex | undefined;
|
|
3448
|
+
from?: viem.Address | undefined;
|
|
3449
|
+
gas?: `0x${string}` | undefined;
|
|
3450
|
+
nonce?: `0x${string}` | undefined;
|
|
3451
|
+
value?: `0x${string}` | undefined;
|
|
3452
|
+
to: `0x${string}` | null;
|
|
3453
|
+
gasPrice?: undefined;
|
|
3454
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
3455
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
3456
|
+
maxFeePerBlobGas: `0x${string}`;
|
|
3457
|
+
accessList?: viem.AccessList | undefined;
|
|
3458
|
+
blobs: readonly viem.Hex[] | readonly viem.ByteArray[];
|
|
3459
|
+
blobVersionedHashes?: readonly viem.Hex[] | undefined;
|
|
3460
|
+
kzg?: viem.Kzg | undefined;
|
|
3461
|
+
sidecars?: readonly viem.BlobSidecar<viem.Hex>[] | undefined;
|
|
3462
|
+
authorizationList?: undefined;
|
|
3463
|
+
eip712Meta?: undefined;
|
|
3464
|
+
} | {
|
|
3465
|
+
type?: "0x4" | undefined;
|
|
3466
|
+
gasPrice?: undefined;
|
|
3467
|
+
maxFeePerBlobGas?: undefined;
|
|
3468
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
3469
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
3470
|
+
to?: viem.Address | null | undefined;
|
|
3471
|
+
data?: viem.Hex | undefined;
|
|
3472
|
+
from?: viem.Address | undefined;
|
|
3473
|
+
gas?: `0x${string}` | undefined;
|
|
3474
|
+
nonce?: `0x${string}` | undefined;
|
|
3475
|
+
value?: `0x${string}` | undefined;
|
|
3476
|
+
accessList?: viem.AccessList | undefined;
|
|
3477
|
+
authorizationList?: viem_experimental.RpcAuthorizationList | undefined;
|
|
3478
|
+
blobs?: undefined;
|
|
3479
|
+
blobVersionedHashes?: undefined;
|
|
3480
|
+
kzg?: undefined;
|
|
3481
|
+
sidecars?: undefined;
|
|
3482
|
+
eip712Meta?: undefined;
|
|
3483
|
+
} | {
|
|
3484
|
+
data?: viem.Hex | undefined;
|
|
3485
|
+
from?: viem.Address | undefined;
|
|
3486
|
+
gas?: `0x${string}` | undefined;
|
|
3487
|
+
nonce?: `0x${string}` | undefined;
|
|
3488
|
+
to?: viem.Address | null | undefined;
|
|
3489
|
+
type: "0xff" | "0x71";
|
|
3490
|
+
value?: `0x${string}` | undefined;
|
|
3491
|
+
gasPrice?: undefined;
|
|
3492
|
+
maxFeePerBlobGas?: undefined;
|
|
3493
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
3494
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
3495
|
+
eip712Meta: viem_chains.ZkSyncEip712Meta;
|
|
3496
|
+
}) & {
|
|
3497
|
+
paymaster: never;
|
|
3498
|
+
gasPerPubdata: never;
|
|
3499
|
+
factoryDeps: never;
|
|
3500
|
+
paymasterInput: never;
|
|
3501
|
+
customSignature: never;
|
|
3502
|
+
};
|
|
3503
|
+
type: "transactionRequest";
|
|
3504
|
+
};
|
|
3505
|
+
};
|
|
3506
|
+
serializers: {
|
|
3507
|
+
readonly transaction: typeof viem_zksync.serializeTransaction;
|
|
3508
|
+
};
|
|
3509
|
+
readonly network: "zksync-era";
|
|
3510
|
+
};
|
|
3511
|
+
59144: {
|
|
3512
|
+
blockExplorers: {
|
|
3513
|
+
readonly default: {
|
|
3514
|
+
readonly name: "Etherscan";
|
|
3515
|
+
readonly url: "https://lineascan.build";
|
|
3516
|
+
readonly apiUrl: "https://api.lineascan.build/api";
|
|
3517
|
+
};
|
|
3518
|
+
};
|
|
3519
|
+
contracts: {
|
|
3520
|
+
readonly multicall3: {
|
|
3521
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
3522
|
+
readonly blockCreated: 42;
|
|
3523
|
+
};
|
|
3524
|
+
};
|
|
3525
|
+
id: 59144;
|
|
3526
|
+
name: "Linea Mainnet";
|
|
3527
|
+
nativeCurrency: {
|
|
3528
|
+
readonly name: "Linea Ether";
|
|
3529
|
+
readonly symbol: "ETH";
|
|
3530
|
+
readonly decimals: 18;
|
|
3531
|
+
};
|
|
3532
|
+
rpcUrls: {
|
|
3533
|
+
readonly default: {
|
|
3534
|
+
readonly http: readonly ["https://rpc.linea.build"];
|
|
3535
|
+
readonly webSocket: readonly ["wss://rpc.linea.build"];
|
|
3536
|
+
};
|
|
3537
|
+
};
|
|
3538
|
+
sourceId?: number | undefined;
|
|
3539
|
+
testnet: false;
|
|
3540
|
+
custom?: Record<string, unknown> | undefined;
|
|
3541
|
+
fees: {
|
|
3542
|
+
readonly estimateFeesPerGas: ({ client, multiply, request, type, }: Parameters<viem.ChainEstimateFeesPerGasFn>[0]) => ReturnType<viem.ChainEstimateFeesPerGasFn>;
|
|
3543
|
+
readonly maxPriorityFeePerGas: ({ block, client, request }: viem.ChainFeesFnParameters<viem.ChainFormatters | undefined>) => Promise<bigint | null>;
|
|
3544
|
+
};
|
|
3545
|
+
formatters?: undefined;
|
|
3546
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
3547
|
+
};
|
|
3548
|
+
57073: {
|
|
3549
|
+
blockExplorers: {
|
|
3550
|
+
readonly default: {
|
|
3551
|
+
readonly name: "Blockscout";
|
|
3552
|
+
readonly url: "https://explorer.inkonchain.com";
|
|
3553
|
+
readonly apiUrl: "https://explorer.inkonchain.com/api/v2";
|
|
3554
|
+
};
|
|
3555
|
+
};
|
|
3556
|
+
contracts: {
|
|
3557
|
+
readonly disputeGameFactory: {
|
|
3558
|
+
readonly 1: {
|
|
3559
|
+
readonly address: "0x10d7b35078d3baabb96dd45a9143b94be65b12cd";
|
|
3560
|
+
};
|
|
3561
|
+
};
|
|
3562
|
+
readonly portal: {
|
|
3563
|
+
readonly 1: {
|
|
3564
|
+
readonly address: "0x5d66c1782664115999c47c9fa5cd031f495d3e4f";
|
|
3565
|
+
};
|
|
3566
|
+
};
|
|
3567
|
+
readonly l1StandardBridge: {
|
|
3568
|
+
readonly 1: {
|
|
3569
|
+
readonly address: "0x88ff1e5b602916615391f55854588efcbb7663f0";
|
|
3570
|
+
};
|
|
3571
|
+
};
|
|
3572
|
+
readonly gasPriceOracle: {
|
|
3573
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
3574
|
+
};
|
|
3575
|
+
readonly l1Block: {
|
|
3576
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
3577
|
+
};
|
|
3578
|
+
readonly l2CrossDomainMessenger: {
|
|
3579
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
3580
|
+
};
|
|
3581
|
+
readonly l2Erc721Bridge: {
|
|
3582
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
3583
|
+
};
|
|
3584
|
+
readonly l2StandardBridge: {
|
|
3585
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
3586
|
+
};
|
|
3587
|
+
readonly l2ToL1MessagePasser: {
|
|
3588
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
3589
|
+
};
|
|
3590
|
+
};
|
|
3591
|
+
id: 57073;
|
|
3592
|
+
name: "Ink";
|
|
3593
|
+
nativeCurrency: {
|
|
3594
|
+
readonly name: "Ether";
|
|
3595
|
+
readonly symbol: "ETH";
|
|
3596
|
+
readonly decimals: 18;
|
|
3597
|
+
};
|
|
3598
|
+
rpcUrls: {
|
|
3599
|
+
readonly default: {
|
|
3600
|
+
readonly http: readonly ["https://rpc-gel.inkonchain.com", "https://rpc-qnd.inkonchain.com"];
|
|
3601
|
+
readonly webSocket: readonly ["wss://rpc-gel.inkonchain.com", "wss://rpc-qnd.inkonchain.com"];
|
|
3602
|
+
};
|
|
3603
|
+
};
|
|
3604
|
+
sourceId: 1;
|
|
3605
|
+
testnet: false;
|
|
3606
|
+
custom?: Record<string, unknown> | undefined;
|
|
3607
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
3608
|
+
formatters: {
|
|
3609
|
+
readonly block: {
|
|
3610
|
+
exclude: [] | undefined;
|
|
3611
|
+
format: (args: viem_chains.OpStackRpcBlock) => {
|
|
3612
|
+
baseFeePerGas: bigint | null;
|
|
3613
|
+
blobGasUsed: bigint;
|
|
3614
|
+
difficulty: bigint;
|
|
3615
|
+
excessBlobGas: bigint;
|
|
3616
|
+
extraData: viem.Hex;
|
|
3617
|
+
gasLimit: bigint;
|
|
3618
|
+
gasUsed: bigint;
|
|
3619
|
+
hash: `0x${string}` | null;
|
|
3620
|
+
logsBloom: `0x${string}` | null;
|
|
3621
|
+
miner: viem.Address;
|
|
3622
|
+
mixHash: viem.Hash;
|
|
3623
|
+
nonce: `0x${string}` | null;
|
|
3624
|
+
number: bigint | null;
|
|
3625
|
+
parentBeaconBlockRoot?: viem.Hex | undefined;
|
|
3626
|
+
parentHash: viem.Hash;
|
|
3627
|
+
receiptsRoot: viem.Hex;
|
|
3628
|
+
sealFields: viem.Hex[];
|
|
3629
|
+
sha3Uncles: viem.Hash;
|
|
3630
|
+
size: bigint;
|
|
3631
|
+
stateRoot: viem.Hash;
|
|
3632
|
+
timestamp: bigint;
|
|
3633
|
+
totalDifficulty: bigint | null;
|
|
3634
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
3635
|
+
transactionsRoot: viem.Hash;
|
|
3636
|
+
uncles: viem.Hash[];
|
|
3637
|
+
withdrawals?: viem.Withdrawal[] | undefined;
|
|
3638
|
+
withdrawalsRoot?: viem.Hex | undefined;
|
|
3639
|
+
} & {};
|
|
3640
|
+
type: "block";
|
|
3641
|
+
};
|
|
3642
|
+
readonly transaction: {
|
|
3643
|
+
exclude: [] | undefined;
|
|
3644
|
+
format: (args: viem_chains.OpStackRpcTransaction) => ({
|
|
3645
|
+
blockHash: `0x${string}` | null;
|
|
3646
|
+
blockNumber: bigint | null;
|
|
3647
|
+
from: viem.Address;
|
|
3648
|
+
gas: bigint;
|
|
3649
|
+
hash: viem.Hash;
|
|
3650
|
+
input: viem.Hex;
|
|
3651
|
+
nonce: number;
|
|
3652
|
+
r: viem.Hex;
|
|
3653
|
+
s: viem.Hex;
|
|
3654
|
+
to: viem.Address | null;
|
|
3655
|
+
transactionIndex: number | null;
|
|
3656
|
+
typeHex: viem.Hex | null;
|
|
3657
|
+
v: bigint;
|
|
3658
|
+
value: bigint;
|
|
3659
|
+
yParity: number;
|
|
3660
|
+
gasPrice?: undefined;
|
|
3661
|
+
maxFeePerBlobGas?: undefined;
|
|
3662
|
+
maxFeePerGas: bigint;
|
|
3663
|
+
maxPriorityFeePerGas: bigint;
|
|
3664
|
+
isSystemTx?: boolean;
|
|
3665
|
+
mint?: bigint | undefined;
|
|
3666
|
+
sourceHash: viem.Hex;
|
|
3667
|
+
type: "deposit";
|
|
3668
|
+
} | {
|
|
3669
|
+
r: viem.Hex;
|
|
3670
|
+
s: viem.Hex;
|
|
3671
|
+
v: bigint;
|
|
3672
|
+
to: viem.Address | null;
|
|
3673
|
+
from: viem.Address;
|
|
3674
|
+
gas: bigint;
|
|
3675
|
+
nonce: number;
|
|
3676
|
+
value: bigint;
|
|
3677
|
+
blockHash: `0x${string}` | null;
|
|
3678
|
+
blockNumber: bigint | null;
|
|
3679
|
+
hash: viem.Hash;
|
|
3680
|
+
input: viem.Hex;
|
|
3681
|
+
transactionIndex: number | null;
|
|
3682
|
+
typeHex: viem.Hex | null;
|
|
3683
|
+
accessList?: undefined;
|
|
3684
|
+
authorizationList?: undefined;
|
|
3685
|
+
blobVersionedHashes?: undefined;
|
|
3686
|
+
chainId?: number | undefined;
|
|
3687
|
+
yParity?: undefined;
|
|
3688
|
+
type: "legacy";
|
|
3689
|
+
gasPrice: bigint;
|
|
3690
|
+
maxFeePerBlobGas?: undefined;
|
|
3691
|
+
maxFeePerGas?: undefined;
|
|
3692
|
+
maxPriorityFeePerGas?: undefined;
|
|
3693
|
+
isSystemTx?: undefined;
|
|
3694
|
+
mint?: undefined;
|
|
3695
|
+
sourceHash?: undefined;
|
|
3696
|
+
} | {
|
|
3697
|
+
blockHash: `0x${string}` | null;
|
|
3698
|
+
blockNumber: bigint | null;
|
|
3699
|
+
from: viem.Address;
|
|
3700
|
+
gas: bigint;
|
|
3701
|
+
hash: viem.Hash;
|
|
3702
|
+
input: viem.Hex;
|
|
3703
|
+
nonce: number;
|
|
3704
|
+
r: viem.Hex;
|
|
3705
|
+
s: viem.Hex;
|
|
3706
|
+
to: viem.Address | null;
|
|
3707
|
+
transactionIndex: number | null;
|
|
3708
|
+
typeHex: viem.Hex | null;
|
|
3709
|
+
v: bigint;
|
|
3710
|
+
value: bigint;
|
|
3711
|
+
yParity: number;
|
|
3712
|
+
accessList: viem.AccessList;
|
|
3713
|
+
authorizationList?: undefined;
|
|
3714
|
+
blobVersionedHashes?: undefined;
|
|
3715
|
+
chainId: number;
|
|
3716
|
+
type: "eip2930";
|
|
3717
|
+
gasPrice: bigint;
|
|
3718
|
+
maxFeePerBlobGas?: undefined;
|
|
3719
|
+
maxFeePerGas?: undefined;
|
|
3720
|
+
maxPriorityFeePerGas?: undefined;
|
|
3721
|
+
isSystemTx?: undefined;
|
|
3722
|
+
mint?: undefined;
|
|
3723
|
+
sourceHash?: undefined;
|
|
3724
|
+
} | {
|
|
3725
|
+
blockHash: `0x${string}` | null;
|
|
3726
|
+
blockNumber: bigint | null;
|
|
3727
|
+
from: viem.Address;
|
|
3728
|
+
gas: bigint;
|
|
3729
|
+
hash: viem.Hash;
|
|
3730
|
+
input: viem.Hex;
|
|
3731
|
+
nonce: number;
|
|
3732
|
+
r: viem.Hex;
|
|
3733
|
+
s: viem.Hex;
|
|
3734
|
+
to: viem.Address | null;
|
|
3735
|
+
transactionIndex: number | null;
|
|
3736
|
+
typeHex: viem.Hex | null;
|
|
3737
|
+
v: bigint;
|
|
3738
|
+
value: bigint;
|
|
3739
|
+
yParity: number;
|
|
3740
|
+
accessList: viem.AccessList;
|
|
3741
|
+
authorizationList?: undefined;
|
|
3742
|
+
blobVersionedHashes?: undefined;
|
|
3743
|
+
chainId: number;
|
|
3744
|
+
type: "eip1559";
|
|
3745
|
+
gasPrice?: undefined;
|
|
3746
|
+
maxFeePerBlobGas?: undefined;
|
|
3747
|
+
maxFeePerGas: bigint;
|
|
3748
|
+
maxPriorityFeePerGas: bigint;
|
|
3749
|
+
isSystemTx?: undefined;
|
|
3750
|
+
mint?: undefined;
|
|
3751
|
+
sourceHash?: undefined;
|
|
3752
|
+
} | {
|
|
3753
|
+
blockHash: `0x${string}` | null;
|
|
3754
|
+
blockNumber: bigint | null;
|
|
3755
|
+
from: viem.Address;
|
|
3756
|
+
gas: bigint;
|
|
3757
|
+
hash: viem.Hash;
|
|
3758
|
+
input: viem.Hex;
|
|
3759
|
+
nonce: number;
|
|
3760
|
+
r: viem.Hex;
|
|
3761
|
+
s: viem.Hex;
|
|
3762
|
+
to: viem.Address | null;
|
|
3763
|
+
transactionIndex: number | null;
|
|
3764
|
+
typeHex: viem.Hex | null;
|
|
3765
|
+
v: bigint;
|
|
3766
|
+
value: bigint;
|
|
3767
|
+
yParity: number;
|
|
3768
|
+
accessList: viem.AccessList;
|
|
3769
|
+
authorizationList?: undefined;
|
|
3770
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
3771
|
+
chainId: number;
|
|
3772
|
+
type: "eip4844";
|
|
3773
|
+
gasPrice?: undefined;
|
|
3774
|
+
maxFeePerBlobGas: bigint;
|
|
3775
|
+
maxFeePerGas: bigint;
|
|
3776
|
+
maxPriorityFeePerGas: bigint;
|
|
3777
|
+
isSystemTx?: undefined;
|
|
3778
|
+
mint?: undefined;
|
|
3779
|
+
sourceHash?: undefined;
|
|
3780
|
+
} | {
|
|
3781
|
+
blockHash: `0x${string}` | null;
|
|
3782
|
+
blockNumber: bigint | null;
|
|
3783
|
+
from: viem.Address;
|
|
3784
|
+
gas: bigint;
|
|
3785
|
+
hash: viem.Hash;
|
|
3786
|
+
input: viem.Hex;
|
|
3787
|
+
nonce: number;
|
|
3788
|
+
r: viem.Hex;
|
|
3789
|
+
s: viem.Hex;
|
|
3790
|
+
to: viem.Address | null;
|
|
3791
|
+
transactionIndex: number | null;
|
|
3792
|
+
typeHex: viem.Hex | null;
|
|
3793
|
+
v: bigint;
|
|
3794
|
+
value: bigint;
|
|
3795
|
+
yParity: number;
|
|
3796
|
+
accessList: viem.AccessList;
|
|
3797
|
+
authorizationList: viem_experimental.SignedAuthorizationList;
|
|
3798
|
+
blobVersionedHashes?: undefined;
|
|
3799
|
+
chainId: number;
|
|
3800
|
+
type: "eip7702";
|
|
3801
|
+
gasPrice?: undefined;
|
|
3802
|
+
maxFeePerBlobGas?: undefined;
|
|
3803
|
+
maxFeePerGas: bigint;
|
|
3804
|
+
maxPriorityFeePerGas: bigint;
|
|
3805
|
+
isSystemTx?: undefined;
|
|
3806
|
+
mint?: undefined;
|
|
3807
|
+
sourceHash?: undefined;
|
|
3808
|
+
}) & {};
|
|
3809
|
+
type: "transaction";
|
|
3810
|
+
};
|
|
3811
|
+
readonly transactionReceipt: {
|
|
3812
|
+
exclude: [] | undefined;
|
|
3813
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
|
|
3814
|
+
blobGasPrice?: bigint | undefined;
|
|
3815
|
+
blobGasUsed?: bigint | undefined;
|
|
3816
|
+
blockHash: viem.Hash;
|
|
3817
|
+
blockNumber: bigint;
|
|
3818
|
+
contractAddress: viem.Address | null | undefined;
|
|
3819
|
+
cumulativeGasUsed: bigint;
|
|
3820
|
+
effectiveGasPrice: bigint;
|
|
3821
|
+
from: viem.Address;
|
|
3822
|
+
gasUsed: bigint;
|
|
3823
|
+
logs: viem.Log<bigint, number, false>[];
|
|
3824
|
+
logsBloom: viem.Hex;
|
|
3825
|
+
root?: viem.Hash | undefined;
|
|
3826
|
+
status: "success" | "reverted";
|
|
3827
|
+
to: viem.Address | null;
|
|
3828
|
+
transactionHash: viem.Hash;
|
|
3829
|
+
transactionIndex: number;
|
|
3830
|
+
type: viem.TransactionType;
|
|
3831
|
+
l1GasPrice: bigint | null;
|
|
3832
|
+
l1GasUsed: bigint | null;
|
|
3833
|
+
l1Fee: bigint | null;
|
|
3834
|
+
l1FeeScalar: number | null;
|
|
3835
|
+
} & {};
|
|
3836
|
+
type: "transactionReceipt";
|
|
3837
|
+
};
|
|
3838
|
+
};
|
|
3839
|
+
serializers: {
|
|
3840
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
3841
|
+
};
|
|
3842
|
+
};
|
|
378
3843
|
};
|
|
379
3844
|
|
|
380
3845
|
type SupportedChainIds = (typeof ChainId)[keyof typeof ChainId];
|
|
@@ -396,12 +3861,12 @@ declare const publicRPCs: {
|
|
|
396
3861
|
readonly 43114: "https://api.avax.network/ext/bc/C/rpc";
|
|
397
3862
|
readonly 59144: "https://rpc.linea.build";
|
|
398
3863
|
};
|
|
399
|
-
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 250 | 324 | 1101 | 4002 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 1666600000)[];
|
|
400
|
-
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_MAINNET" | "RPC_OPTIMISM" | "RPC_FANTOM" | "RPC_CELO" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_METIS" | "RPC_BASE" | "RPC_BASE_SEPOLIA" | "RPC_BNB" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA";
|
|
3864
|
+
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 250 | 324 | 1101 | 4002 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 57073 | 1666600000)[];
|
|
3865
|
+
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_MAINNET" | "RPC_OPTIMISM" | "RPC_FANTOM" | "RPC_CELO" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_METIS" | "RPC_BASE" | "RPC_BASE_SEPOLIA" | "RPC_BNB" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK";
|
|
401
3866
|
declare function getExplicitRPC(chainId: SupportedChainIds): string;
|
|
402
3867
|
declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
|
|
403
3868
|
declare function getPublicRpc(chainId: SupportedChainIds): "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.ankr.com/gnosis" | "https://rpc.scroll.io" | "https://mainnet.era.zksync.io" | "https://rpc.ftm.tools" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build";
|
|
404
|
-
declare function
|
|
3869
|
+
declare function getQuicknodeRpc(chainId: SupportedChainIds, options: {
|
|
405
3870
|
quicknodeEndpointName: string;
|
|
406
3871
|
quicknodeToken: string;
|
|
407
3872
|
}): string;
|
|
@@ -435,6 +3900,1012 @@ declare function getClient(chainId: number, { httpConfig, clientConfig, provider
|
|
|
435
3900
|
forceRebuildClient?: boolean;
|
|
436
3901
|
}): Client;
|
|
437
3902
|
|
|
3903
|
+
declare const alchemyNetworkMap: {
|
|
3904
|
+
readonly 1: "eth-mainnet";
|
|
3905
|
+
readonly 10: "opt-mainnet";
|
|
3906
|
+
readonly 30: "rootstock-mainnet";
|
|
3907
|
+
readonly 31: "rootstock-testnet";
|
|
3908
|
+
readonly 56: "bnb-mainnet";
|
|
3909
|
+
readonly 97: "bnb-testnet";
|
|
3910
|
+
readonly 100: "gnosis-mainnet";
|
|
3911
|
+
readonly 130: "unichain-mainnet";
|
|
3912
|
+
readonly 137: "polygon-mainnet";
|
|
3913
|
+
readonly 146: "sonic-mainnet";
|
|
3914
|
+
readonly 204: "opbnb-mainnet";
|
|
3915
|
+
readonly 250: "fantom-mainnet";
|
|
3916
|
+
readonly 252: "frax-mainnet";
|
|
3917
|
+
readonly 300: "zksync-sepolia";
|
|
3918
|
+
readonly 324: "zksync-mainnet";
|
|
3919
|
+
readonly 360: "shape-mainnet";
|
|
3920
|
+
readonly 480: "worldchain-mainnet";
|
|
3921
|
+
readonly 545: "flow-testnet";
|
|
3922
|
+
readonly 592: "astar-mainnet";
|
|
3923
|
+
readonly 747: "flow-mainnet";
|
|
3924
|
+
readonly 1088: "metis-mainnet";
|
|
3925
|
+
readonly 1101: "polygonzkevm-mainnet";
|
|
3926
|
+
readonly 1301: "unichain-sepolia";
|
|
3927
|
+
readonly 1328: "sei-testnet";
|
|
3928
|
+
readonly 1329: "sei-mainnet";
|
|
3929
|
+
readonly 1868: "soneium-mainnet";
|
|
3930
|
+
readonly 1946: "soneium-minato";
|
|
3931
|
+
readonly 2020: "ronin-mainnet";
|
|
3932
|
+
readonly 2021: "ronin-saigon";
|
|
3933
|
+
readonly 2442: "polygonzkevm-cardona";
|
|
3934
|
+
readonly 2522: "frax-sepolia";
|
|
3935
|
+
readonly 2741: "abstract-mainnet";
|
|
3936
|
+
readonly 4002: "fantom-testnet";
|
|
3937
|
+
readonly 4157: "crossfi-testnet";
|
|
3938
|
+
readonly 4158: "crossfi-mainnet";
|
|
3939
|
+
readonly 4801: "worldchain-sepolia";
|
|
3940
|
+
readonly 5000: "mantle-mainnet";
|
|
3941
|
+
readonly 5003: "mantle-sepolia";
|
|
3942
|
+
readonly 5373: "settlus-septestnet";
|
|
3943
|
+
readonly 5611: "opbnb-testnet";
|
|
3944
|
+
readonly 7000: "zetachain-mainnet";
|
|
3945
|
+
readonly 7001: "zetachain-testnet";
|
|
3946
|
+
readonly 8008: "polynomial-mainnet";
|
|
3947
|
+
readonly 8009: "polynomial-sepolia";
|
|
3948
|
+
readonly 8453: "base-mainnet";
|
|
3949
|
+
readonly 10143: "monad-testnet";
|
|
3950
|
+
readonly 10200: "gnosis-chiado";
|
|
3951
|
+
readonly 11011: "shape-sepolia";
|
|
3952
|
+
readonly 11124: "abstract-testnet";
|
|
3953
|
+
readonly 17000: "eth-holesky";
|
|
3954
|
+
readonly 33111: "apechain-curtis";
|
|
3955
|
+
readonly 33139: "apechain-mainnet";
|
|
3956
|
+
readonly 37111: "lens-sepolia";
|
|
3957
|
+
readonly 42161: "arb-mainnet";
|
|
3958
|
+
readonly 42170: "arbnova-mainnet";
|
|
3959
|
+
readonly 43113: "avax-fuji";
|
|
3960
|
+
readonly 43114: "avax-mainnet";
|
|
3961
|
+
readonly 57054: "sonic-blaze";
|
|
3962
|
+
readonly 57073: "ink-mainnet";
|
|
3963
|
+
readonly 59141: "linea-sepolia";
|
|
3964
|
+
readonly 59144: "linea-mainnet";
|
|
3965
|
+
readonly 63157: "geist-mainnet";
|
|
3966
|
+
readonly 80002: "polygon-amoy";
|
|
3967
|
+
readonly 80094: "berachain-mainnet";
|
|
3968
|
+
readonly 81457: "blast-mainnet";
|
|
3969
|
+
readonly 84532: "base-sepolia";
|
|
3970
|
+
readonly 421614: "arb-sepolia";
|
|
3971
|
+
readonly 534351: "scroll-sepolia";
|
|
3972
|
+
readonly 534352: "scroll-mainnet";
|
|
3973
|
+
readonly 631571: "geist-polter";
|
|
3974
|
+
readonly 763373: "ink-sepolia";
|
|
3975
|
+
readonly 7777777: "zora-mainnet";
|
|
3976
|
+
readonly 11155111: "eth-sepolia";
|
|
3977
|
+
readonly 11155420: "opt-sepolia";
|
|
3978
|
+
readonly 168587773: "blast-sepolia";
|
|
3979
|
+
readonly 241320161: "xmtp-testnet";
|
|
3980
|
+
readonly 666666666: "degen-mainnet";
|
|
3981
|
+
readonly 994873017: "lumia-prism";
|
|
3982
|
+
readonly 999999999: "zora-sepolia";
|
|
3983
|
+
readonly 1952959480: "lumia-testnet";
|
|
3984
|
+
};
|
|
3985
|
+
|
|
3986
|
+
declare const quicknodeNetworkMap: {
|
|
3987
|
+
readonly 1: "mainnet";
|
|
3988
|
+
readonly 10: "optimism";
|
|
3989
|
+
readonly 14: "flare-mainnet";
|
|
3990
|
+
readonly 56: "bsc";
|
|
3991
|
+
readonly 81: "joc-mainnet";
|
|
3992
|
+
readonly 97: "bsc-testnet";
|
|
3993
|
+
readonly 100: "xdai";
|
|
3994
|
+
readonly 114: "flare-coston2";
|
|
3995
|
+
readonly 130: "unichain-mainnet";
|
|
3996
|
+
readonly 137: "matic";
|
|
3997
|
+
readonly 164: "omni-omega";
|
|
3998
|
+
readonly 166: "omni-mainnet";
|
|
3999
|
+
readonly 250: "fantom";
|
|
4000
|
+
readonly 252: "fraxtal-mainnet";
|
|
4001
|
+
readonly 295: "hedera-mainnet";
|
|
4002
|
+
readonly 296: "hedera-testnet";
|
|
4003
|
+
readonly 300: "zksync-sepolia";
|
|
4004
|
+
readonly 324: "zksync-mainnet";
|
|
4005
|
+
readonly 480: "worldchain-mainnet";
|
|
4006
|
+
readonly 545: "flow-testnet";
|
|
4007
|
+
readonly 690: "redstone-mainnet";
|
|
4008
|
+
readonly 747: "flow-mainnet";
|
|
4009
|
+
readonly 1001: "kaia-kairos";
|
|
4010
|
+
readonly 1101: "zkevm-mainnet";
|
|
4011
|
+
readonly 1135: "lisk-mainnet";
|
|
4012
|
+
readonly 1301: "unichain-sepolia";
|
|
4013
|
+
readonly 1315: "story-aeneid";
|
|
4014
|
+
readonly 1328: "sei-atlantic";
|
|
4015
|
+
readonly 1329: "sei-pacific";
|
|
4016
|
+
readonly 1480: "vana-mainnet";
|
|
4017
|
+
readonly 1513: "story-testnet";
|
|
4018
|
+
readonly 1516: "story-odyssey";
|
|
4019
|
+
readonly 1993: "b3-sepolia";
|
|
4020
|
+
readonly 2442: "zkevm-cardona";
|
|
4021
|
+
readonly 2741: "abstract-mainnet";
|
|
4022
|
+
readonly 2810: "morph-holesky";
|
|
4023
|
+
readonly 2818: "morph-mainnet";
|
|
4024
|
+
readonly 3338: "peaq-mainnet";
|
|
4025
|
+
readonly 4801: "worldchain-sepolia";
|
|
4026
|
+
readonly 5000: "mantle-mainnet";
|
|
4027
|
+
readonly 5003: "mantle-sepolia";
|
|
4028
|
+
readonly 6805: "race-mainnet";
|
|
4029
|
+
readonly 6806: "race-sepolia";
|
|
4030
|
+
readonly 7560: "cyber-mainnet";
|
|
4031
|
+
readonly 8217: "kaia-mainnet";
|
|
4032
|
+
readonly 8333: "b3-mainnet";
|
|
4033
|
+
readonly 8453: "base-mainnet";
|
|
4034
|
+
readonly 11124: "abstract-testnet";
|
|
4035
|
+
readonly 13371: "imx-mainnet";
|
|
4036
|
+
readonly 13473: "imx-testnet";
|
|
4037
|
+
readonly 14800: "vana-moksha";
|
|
4038
|
+
readonly 16600: "0g-newton";
|
|
4039
|
+
readonly 17000: "ethereum-holesky";
|
|
4040
|
+
readonly 34443: "mode-mainnet";
|
|
4041
|
+
readonly 42161: "arbitrum-mainnet";
|
|
4042
|
+
readonly 42170: "nova-mainnet";
|
|
4043
|
+
readonly 42220: "celo-mainnet";
|
|
4044
|
+
readonly 43113: "avalanche-testnet";
|
|
4045
|
+
readonly 43114: "avalanche-mainnet";
|
|
4046
|
+
readonly 59144: "linea-mainnet";
|
|
4047
|
+
readonly 80002: "matic-amoy";
|
|
4048
|
+
readonly 80084: "bera-bartio";
|
|
4049
|
+
readonly 80085: "bera-artio";
|
|
4050
|
+
readonly 80094: "bera-mainnet";
|
|
4051
|
+
readonly 81457: "blast-mainnet";
|
|
4052
|
+
readonly 84532: "base-sepolia";
|
|
4053
|
+
readonly 421613: "arbitrum-goerli";
|
|
4054
|
+
readonly 421614: "arbitrum-sepolia";
|
|
4055
|
+
readonly 534351: "scroll-testnet";
|
|
4056
|
+
readonly 534352: "scroll-mainnet";
|
|
4057
|
+
readonly 660279: "xai-mainnet";
|
|
4058
|
+
readonly 763373: "ink-sepolia";
|
|
4059
|
+
readonly 7777777: "zora-mainnet";
|
|
4060
|
+
readonly 11155111: "ethereum-sepolia";
|
|
4061
|
+
readonly 11155420: "optimism-sepolia";
|
|
4062
|
+
readonly 111557560: "cyber-sepolia";
|
|
4063
|
+
readonly 168587773: "blast-sepolia";
|
|
4064
|
+
readonly 37714555429: "xai-testnet";
|
|
4065
|
+
};
|
|
4066
|
+
|
|
4067
|
+
declare const etherscanExplorers: {
|
|
4068
|
+
readonly 1: {
|
|
4069
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4070
|
+
readonly explorer: "https://etherscan.io";
|
|
4071
|
+
};
|
|
4072
|
+
readonly 10: {
|
|
4073
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4074
|
+
readonly explorer: "https://optimistic.etherscan.io/";
|
|
4075
|
+
};
|
|
4076
|
+
readonly 25: {
|
|
4077
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4078
|
+
readonly explorer: "https://cronoscan.com";
|
|
4079
|
+
};
|
|
4080
|
+
readonly 50: {
|
|
4081
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4082
|
+
readonly explorer: "https://xdcscan.com/";
|
|
4083
|
+
};
|
|
4084
|
+
readonly 51: {
|
|
4085
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4086
|
+
readonly explorer: "https://testnet.xdcscan.com/";
|
|
4087
|
+
};
|
|
4088
|
+
readonly 56: {
|
|
4089
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4090
|
+
readonly explorer: "https://bscscan.com";
|
|
4091
|
+
};
|
|
4092
|
+
readonly 97: {
|
|
4093
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4094
|
+
readonly explorer: "https://testnet.bscscan.com";
|
|
4095
|
+
};
|
|
4096
|
+
readonly 100: {
|
|
4097
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4098
|
+
readonly explorer: "https://gnosisscan.io/";
|
|
4099
|
+
};
|
|
4100
|
+
readonly 130: {
|
|
4101
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4102
|
+
readonly explorer: "https://uniscan.xyz/";
|
|
4103
|
+
};
|
|
4104
|
+
readonly 137: {
|
|
4105
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4106
|
+
readonly explorer: "https://polygonscan.com";
|
|
4107
|
+
};
|
|
4108
|
+
readonly 146: {
|
|
4109
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4110
|
+
readonly explorer: "https://sonicscan.org/";
|
|
4111
|
+
};
|
|
4112
|
+
readonly 199: {
|
|
4113
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4114
|
+
readonly explorer: "https://bttcscan.com/";
|
|
4115
|
+
};
|
|
4116
|
+
readonly 204: {
|
|
4117
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4118
|
+
readonly explorer: "https://opbnb.bscscan.com/";
|
|
4119
|
+
};
|
|
4120
|
+
readonly 250: {
|
|
4121
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4122
|
+
readonly explorer: "https://ftmscan.com";
|
|
4123
|
+
};
|
|
4124
|
+
readonly 252: {
|
|
4125
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4126
|
+
readonly explorer: "https://fraxscan.com/";
|
|
4127
|
+
};
|
|
4128
|
+
readonly 255: {
|
|
4129
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4130
|
+
readonly explorer: "https://kromascan.com/";
|
|
4131
|
+
};
|
|
4132
|
+
readonly 300: {
|
|
4133
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4134
|
+
readonly explorer: "https://sepolia-era.zksync.network/";
|
|
4135
|
+
};
|
|
4136
|
+
readonly 324: {
|
|
4137
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4138
|
+
readonly explorer: "https://era.zksync.network/";
|
|
4139
|
+
};
|
|
4140
|
+
readonly 480: {
|
|
4141
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4142
|
+
readonly explorer: "https://worldscan.org/";
|
|
4143
|
+
};
|
|
4144
|
+
readonly 1028: {
|
|
4145
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4146
|
+
readonly explorer: "https://testnet.bttcscan.com/";
|
|
4147
|
+
};
|
|
4148
|
+
readonly 1101: {
|
|
4149
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4150
|
+
readonly explorer: "https://zkevm.polygonscan.com/";
|
|
4151
|
+
};
|
|
4152
|
+
readonly 1111: {
|
|
4153
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4154
|
+
readonly explorer: "https://wemixscan.com/";
|
|
4155
|
+
};
|
|
4156
|
+
readonly 1112: {
|
|
4157
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4158
|
+
readonly explorer: "https://testnet.wemixscan.com/";
|
|
4159
|
+
};
|
|
4160
|
+
readonly 1284: {
|
|
4161
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4162
|
+
readonly explorer: "https://moonbeam.moonscan.io/";
|
|
4163
|
+
};
|
|
4164
|
+
readonly 1285: {
|
|
4165
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4166
|
+
readonly explorer: "https://moonriver.moonscan.io/";
|
|
4167
|
+
};
|
|
4168
|
+
readonly 1287: {
|
|
4169
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4170
|
+
readonly explorer: "https://moonbase.moonscan.io/";
|
|
4171
|
+
};
|
|
4172
|
+
readonly 1301: {
|
|
4173
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4174
|
+
readonly explorer: "https://sepolia.uniscan.xyz/";
|
|
4175
|
+
};
|
|
4176
|
+
readonly 2358: {
|
|
4177
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4178
|
+
readonly explorer: "https://sepolia.kromascan.com/";
|
|
4179
|
+
};
|
|
4180
|
+
readonly 2442: {
|
|
4181
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4182
|
+
readonly explorer: "https://cardona-zkevm.polygonscan.com/";
|
|
4183
|
+
};
|
|
4184
|
+
readonly 2522: {
|
|
4185
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4186
|
+
readonly explorer: "https://holesky.fraxscan.com/";
|
|
4187
|
+
};
|
|
4188
|
+
readonly 2741: {
|
|
4189
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4190
|
+
readonly explorer: "https://abscan.org/";
|
|
4191
|
+
};
|
|
4192
|
+
readonly 4002: {
|
|
4193
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4194
|
+
readonly explorer: "https://testnet.ftmscan.com/";
|
|
4195
|
+
};
|
|
4196
|
+
readonly 4801: {
|
|
4197
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4198
|
+
readonly explorer: "https://sepolia.worldscan.org/";
|
|
4199
|
+
};
|
|
4200
|
+
readonly 5000: {
|
|
4201
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4202
|
+
readonly explorer: "https://mantlescan.xyz/";
|
|
4203
|
+
};
|
|
4204
|
+
readonly 5003: {
|
|
4205
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4206
|
+
readonly explorer: "https://sepolia.mantlescan.xyz/";
|
|
4207
|
+
};
|
|
4208
|
+
readonly 5611: {
|
|
4209
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4210
|
+
readonly explorer: "https://opbnb-testnet.bscscan.com/";
|
|
4211
|
+
};
|
|
4212
|
+
readonly 8453: {
|
|
4213
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4214
|
+
readonly explorer: "https://basescan.org";
|
|
4215
|
+
};
|
|
4216
|
+
readonly 11124: {
|
|
4217
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4218
|
+
readonly explorer: "https://sepolia.abscan.org/";
|
|
4219
|
+
};
|
|
4220
|
+
readonly 17000: {
|
|
4221
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4222
|
+
readonly explorer: "https://sepolia.etherscan.io";
|
|
4223
|
+
};
|
|
4224
|
+
readonly 33111: {
|
|
4225
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4226
|
+
readonly explorer: "https://curtis.apescan.io/";
|
|
4227
|
+
};
|
|
4228
|
+
readonly 33139: {
|
|
4229
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4230
|
+
readonly explorer: "https://apescan.io/";
|
|
4231
|
+
};
|
|
4232
|
+
readonly 42161: {
|
|
4233
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4234
|
+
readonly explorer: "https://arbiscan.io";
|
|
4235
|
+
};
|
|
4236
|
+
readonly 42170: {
|
|
4237
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4238
|
+
readonly explorer: "https://nova.arbiscan.io/";
|
|
4239
|
+
};
|
|
4240
|
+
readonly 42220: {
|
|
4241
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4242
|
+
readonly explorer: "https://celoscan.io";
|
|
4243
|
+
};
|
|
4244
|
+
readonly 43113: {
|
|
4245
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4246
|
+
readonly explorer: "https://testnet.snowscan.xyz/";
|
|
4247
|
+
};
|
|
4248
|
+
readonly 43114: {
|
|
4249
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4250
|
+
readonly explorer: "https://snowscan.xyz/";
|
|
4251
|
+
};
|
|
4252
|
+
readonly 44787: {
|
|
4253
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4254
|
+
readonly explorer: "https://alfajores.celoscan.io/";
|
|
4255
|
+
};
|
|
4256
|
+
readonly 50104: {
|
|
4257
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4258
|
+
readonly explorer: "https://sophscan.xyz/";
|
|
4259
|
+
};
|
|
4260
|
+
readonly 57054: {
|
|
4261
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4262
|
+
readonly explorer: "https://testnet.sonicscan.org/";
|
|
4263
|
+
};
|
|
4264
|
+
readonly 59141: {
|
|
4265
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4266
|
+
readonly explorer: "https://sepolia.lineascan.build/";
|
|
4267
|
+
};
|
|
4268
|
+
readonly 59144: {
|
|
4269
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4270
|
+
readonly explorer: "https://lineascan.build/";
|
|
4271
|
+
};
|
|
4272
|
+
readonly 80002: {
|
|
4273
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4274
|
+
readonly explorer: "https://amoy.polygonscan.com/";
|
|
4275
|
+
};
|
|
4276
|
+
readonly 80094: {
|
|
4277
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4278
|
+
readonly explorer: "https://berascan.com/";
|
|
4279
|
+
};
|
|
4280
|
+
readonly 81457: {
|
|
4281
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4282
|
+
readonly explorer: "https://blastscan.io/";
|
|
4283
|
+
};
|
|
4284
|
+
readonly 84532: {
|
|
4285
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4286
|
+
readonly explorer: "https://sepolia.basescan.org/";
|
|
4287
|
+
};
|
|
4288
|
+
readonly 167000: {
|
|
4289
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4290
|
+
readonly explorer: "https://taikoscan.io/";
|
|
4291
|
+
};
|
|
4292
|
+
readonly 167009: {
|
|
4293
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4294
|
+
readonly explorer: "https://hekla.taikoscan.io/";
|
|
4295
|
+
};
|
|
4296
|
+
readonly 421614: {
|
|
4297
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4298
|
+
readonly explorer: "https://sepolia.arbiscan.io/";
|
|
4299
|
+
};
|
|
4300
|
+
readonly 534351: {
|
|
4301
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4302
|
+
readonly explorer: "https://sepolia.scrollscan.com/";
|
|
4303
|
+
};
|
|
4304
|
+
readonly 534352: {
|
|
4305
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4306
|
+
readonly explorer: "https://scrollscan.com/";
|
|
4307
|
+
};
|
|
4308
|
+
readonly 660279: {
|
|
4309
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4310
|
+
readonly explorer: "https://xaiscan.io/";
|
|
4311
|
+
};
|
|
4312
|
+
readonly 11155111: {
|
|
4313
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4314
|
+
readonly explorer: "https://sepolia.etherscan.io";
|
|
4315
|
+
};
|
|
4316
|
+
readonly 11155420: {
|
|
4317
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4318
|
+
readonly explorer: "https://sepolia-optimism.etherscan.io/";
|
|
4319
|
+
};
|
|
4320
|
+
readonly 168587773: {
|
|
4321
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4322
|
+
readonly explorer: "https://sepolia.blastscan.io/";
|
|
4323
|
+
};
|
|
4324
|
+
readonly 531050104: {
|
|
4325
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4326
|
+
readonly explorer: "https://testnet.sophscan.xyz/";
|
|
4327
|
+
};
|
|
4328
|
+
readonly 37714555429: {
|
|
4329
|
+
readonly api: "https://api.etherscan.io/v2/api";
|
|
4330
|
+
readonly explorer: "https://sepolia.xaiscan.io/";
|
|
4331
|
+
};
|
|
4332
|
+
};
|
|
4333
|
+
|
|
4334
|
+
declare const routescanExplorers: {
|
|
4335
|
+
readonly 1: {
|
|
4336
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/1/etherscan";
|
|
4337
|
+
readonly explorer: "1.routescan.io";
|
|
4338
|
+
};
|
|
4339
|
+
readonly 10: {
|
|
4340
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/10/etherscan";
|
|
4341
|
+
readonly explorer: "10.routescan.io";
|
|
4342
|
+
};
|
|
4343
|
+
readonly 14: {
|
|
4344
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/14/etherscan";
|
|
4345
|
+
readonly explorer: "14.routescan.io";
|
|
4346
|
+
};
|
|
4347
|
+
readonly 16: {
|
|
4348
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/16/etherscan";
|
|
4349
|
+
readonly explorer: "16.routescan.io";
|
|
4350
|
+
};
|
|
4351
|
+
readonly 19: {
|
|
4352
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/19/etherscan";
|
|
4353
|
+
readonly explorer: "19.routescan.io";
|
|
4354
|
+
};
|
|
4355
|
+
readonly 56: {
|
|
4356
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/56/etherscan";
|
|
4357
|
+
readonly explorer: "56.routescan.io";
|
|
4358
|
+
};
|
|
4359
|
+
readonly 97: {
|
|
4360
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/97/etherscan";
|
|
4361
|
+
readonly explorer: "97.routescan.io";
|
|
4362
|
+
};
|
|
4363
|
+
readonly 114: {
|
|
4364
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/114/etherscan";
|
|
4365
|
+
readonly explorer: "114.routescan.io";
|
|
4366
|
+
};
|
|
4367
|
+
readonly 146: {
|
|
4368
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/146/etherscan";
|
|
4369
|
+
readonly explorer: "146.routescan.io";
|
|
4370
|
+
};
|
|
4371
|
+
readonly 151: {
|
|
4372
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/151/etherscan";
|
|
4373
|
+
readonly explorer: "151.routescan.io";
|
|
4374
|
+
};
|
|
4375
|
+
readonly 166: {
|
|
4376
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/166/etherscan";
|
|
4377
|
+
readonly explorer: "166.routescan.io";
|
|
4378
|
+
};
|
|
4379
|
+
readonly 183: {
|
|
4380
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/183/etherscan";
|
|
4381
|
+
readonly explorer: "183.routescan.io";
|
|
4382
|
+
};
|
|
4383
|
+
readonly 185: {
|
|
4384
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/185/etherscan";
|
|
4385
|
+
readonly explorer: "185.routescan.io";
|
|
4386
|
+
};
|
|
4387
|
+
readonly 233: {
|
|
4388
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/233/etherscan";
|
|
4389
|
+
readonly explorer: "233.routescan.io";
|
|
4390
|
+
};
|
|
4391
|
+
readonly 252: {
|
|
4392
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/252/etherscan";
|
|
4393
|
+
readonly explorer: "252.routescan.io";
|
|
4394
|
+
};
|
|
4395
|
+
readonly 254: {
|
|
4396
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/254/etherscan";
|
|
4397
|
+
readonly explorer: "254.routescan.io";
|
|
4398
|
+
};
|
|
4399
|
+
readonly 255: {
|
|
4400
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/255/etherscan";
|
|
4401
|
+
readonly explorer: "255.routescan.io";
|
|
4402
|
+
};
|
|
4403
|
+
readonly 288: {
|
|
4404
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/288/etherscan";
|
|
4405
|
+
readonly explorer: "288.routescan.io";
|
|
4406
|
+
};
|
|
4407
|
+
readonly 291: {
|
|
4408
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/291/etherscan";
|
|
4409
|
+
readonly explorer: "291.routescan.io";
|
|
4410
|
+
};
|
|
4411
|
+
readonly 303: {
|
|
4412
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/303/etherscan";
|
|
4413
|
+
readonly explorer: "303.routescan.io";
|
|
4414
|
+
};
|
|
4415
|
+
readonly 324: {
|
|
4416
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/324/etherscan";
|
|
4417
|
+
readonly explorer: "324.routescan.io";
|
|
4418
|
+
};
|
|
4419
|
+
readonly 335: {
|
|
4420
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/335/etherscan";
|
|
4421
|
+
readonly explorer: "335.routescan.io";
|
|
4422
|
+
};
|
|
4423
|
+
readonly 357: {
|
|
4424
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/357/etherscan";
|
|
4425
|
+
readonly explorer: "357.routescan.io";
|
|
4426
|
+
};
|
|
4427
|
+
readonly 392: {
|
|
4428
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/392/etherscan";
|
|
4429
|
+
readonly explorer: "392.routescan.io";
|
|
4430
|
+
};
|
|
4431
|
+
readonly 480: {
|
|
4432
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/480/etherscan";
|
|
4433
|
+
readonly explorer: "480.routescan.io";
|
|
4434
|
+
};
|
|
4435
|
+
readonly 749: {
|
|
4436
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/749/etherscan";
|
|
4437
|
+
readonly explorer: "749.routescan.io";
|
|
4438
|
+
};
|
|
4439
|
+
readonly 919: {
|
|
4440
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/919/etherscan";
|
|
4441
|
+
readonly explorer: "919.routescan.io";
|
|
4442
|
+
};
|
|
4443
|
+
readonly 1010: {
|
|
4444
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/1010/etherscan";
|
|
4445
|
+
readonly explorer: "1010.routescan.io";
|
|
4446
|
+
};
|
|
4447
|
+
readonly 1088: {
|
|
4448
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan";
|
|
4449
|
+
readonly explorer: "1088.routescan.io";
|
|
4450
|
+
};
|
|
4451
|
+
readonly 1135: {
|
|
4452
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/1135/etherscan";
|
|
4453
|
+
readonly explorer: "1135.routescan.io";
|
|
4454
|
+
};
|
|
4455
|
+
readonly 1234: {
|
|
4456
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/1234/etherscan";
|
|
4457
|
+
readonly explorer: "1234.routescan.io";
|
|
4458
|
+
};
|
|
4459
|
+
readonly 1301: {
|
|
4460
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/1301/etherscan";
|
|
4461
|
+
readonly explorer: "1301.routescan.io";
|
|
4462
|
+
};
|
|
4463
|
+
readonly 1687: {
|
|
4464
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/1687/etherscan";
|
|
4465
|
+
readonly explorer: "1687.routescan.io";
|
|
4466
|
+
};
|
|
4467
|
+
readonly 1853: {
|
|
4468
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/1853/etherscan";
|
|
4469
|
+
readonly explorer: "1853.routescan.io";
|
|
4470
|
+
};
|
|
4471
|
+
readonly 1923: {
|
|
4472
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/1923/etherscan";
|
|
4473
|
+
readonly explorer: "1923.routescan.io";
|
|
4474
|
+
};
|
|
4475
|
+
readonly 1946: {
|
|
4476
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/1946/etherscan";
|
|
4477
|
+
readonly explorer: "1946.routescan.io";
|
|
4478
|
+
};
|
|
4479
|
+
readonly 2037: {
|
|
4480
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/2037/etherscan";
|
|
4481
|
+
readonly explorer: "2037.routescan.io";
|
|
4482
|
+
};
|
|
4483
|
+
readonly 2044: {
|
|
4484
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/2044/etherscan";
|
|
4485
|
+
readonly explorer: "2044.routescan.io";
|
|
4486
|
+
};
|
|
4487
|
+
readonly 2233: {
|
|
4488
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/2233/etherscan";
|
|
4489
|
+
readonly explorer: "2233.routescan.io";
|
|
4490
|
+
};
|
|
4491
|
+
readonly 2358: {
|
|
4492
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/2358/etherscan";
|
|
4493
|
+
readonly explorer: "2358.routescan.io";
|
|
4494
|
+
};
|
|
4495
|
+
readonly 2522: {
|
|
4496
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/2522/etherscan";
|
|
4497
|
+
readonly explorer: "2522.routescan.io";
|
|
4498
|
+
};
|
|
4499
|
+
readonly 2818: {
|
|
4500
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/2818/etherscan";
|
|
4501
|
+
readonly explorer: "2818.routescan.io";
|
|
4502
|
+
};
|
|
4503
|
+
readonly 3011: {
|
|
4504
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/3011/etherscan";
|
|
4505
|
+
readonly explorer: "3011.routescan.io";
|
|
4506
|
+
};
|
|
4507
|
+
readonly 3012: {
|
|
4508
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/3012/etherscan";
|
|
4509
|
+
readonly explorer: "3012.routescan.io";
|
|
4510
|
+
};
|
|
4511
|
+
readonly 3636: {
|
|
4512
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/3636/etherscan";
|
|
4513
|
+
readonly explorer: "3636.routescan.io";
|
|
4514
|
+
};
|
|
4515
|
+
readonly 3939: {
|
|
4516
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/3939/etherscan";
|
|
4517
|
+
readonly explorer: "3939.routescan.io";
|
|
4518
|
+
};
|
|
4519
|
+
readonly 4202: {
|
|
4520
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/4202/etherscan";
|
|
4521
|
+
readonly explorer: "4202.routescan.io";
|
|
4522
|
+
};
|
|
4523
|
+
readonly 4337: {
|
|
4524
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/4337/etherscan";
|
|
4525
|
+
readonly explorer: "4337.routescan.io";
|
|
4526
|
+
};
|
|
4527
|
+
readonly 4460: {
|
|
4528
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/4460/etherscan";
|
|
4529
|
+
readonly explorer: "4460.routescan.io";
|
|
4530
|
+
};
|
|
4531
|
+
readonly 4801: {
|
|
4532
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/4801/etherscan";
|
|
4533
|
+
readonly explorer: "4801.routescan.io";
|
|
4534
|
+
};
|
|
4535
|
+
readonly 5000: {
|
|
4536
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/5000/etherscan";
|
|
4537
|
+
readonly explorer: "5000.routescan.io";
|
|
4538
|
+
};
|
|
4539
|
+
readonly 5115: {
|
|
4540
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/5115/etherscan";
|
|
4541
|
+
readonly explorer: "5115.routescan.io";
|
|
4542
|
+
};
|
|
4543
|
+
readonly 5330: {
|
|
4544
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/5330/etherscan";
|
|
4545
|
+
readonly explorer: "5330.routescan.io";
|
|
4546
|
+
};
|
|
4547
|
+
readonly 5566: {
|
|
4548
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/5566/etherscan";
|
|
4549
|
+
readonly explorer: "5566.routescan.io";
|
|
4550
|
+
};
|
|
4551
|
+
readonly 6119: {
|
|
4552
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/6119/etherscan";
|
|
4553
|
+
readonly explorer: "6119.routescan.io";
|
|
4554
|
+
};
|
|
4555
|
+
readonly 6900: {
|
|
4556
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/6900/etherscan";
|
|
4557
|
+
readonly explorer: "6900.routescan.io";
|
|
4558
|
+
};
|
|
4559
|
+
readonly 6911: {
|
|
4560
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/6911/etherscan";
|
|
4561
|
+
readonly explorer: "6911.routescan.io";
|
|
4562
|
+
};
|
|
4563
|
+
readonly 7171: {
|
|
4564
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/7171/etherscan";
|
|
4565
|
+
readonly explorer: "7171.routescan.io";
|
|
4566
|
+
};
|
|
4567
|
+
readonly 7210: {
|
|
4568
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/7210/etherscan";
|
|
4569
|
+
readonly explorer: "7210.routescan.io";
|
|
4570
|
+
};
|
|
4571
|
+
readonly 7222: {
|
|
4572
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/7222/etherscan";
|
|
4573
|
+
readonly explorer: "7222.routescan.io";
|
|
4574
|
+
};
|
|
4575
|
+
readonly 7560: {
|
|
4576
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/7560/etherscan";
|
|
4577
|
+
readonly explorer: "7560.routescan.io";
|
|
4578
|
+
};
|
|
4579
|
+
readonly 7887: {
|
|
4580
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/7887/etherscan";
|
|
4581
|
+
readonly explorer: "7887.routescan.io";
|
|
4582
|
+
};
|
|
4583
|
+
readonly 7979: {
|
|
4584
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/7979/etherscan";
|
|
4585
|
+
readonly explorer: "7979.routescan.io";
|
|
4586
|
+
};
|
|
4587
|
+
readonly 8008: {
|
|
4588
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/8008/etherscan";
|
|
4589
|
+
readonly explorer: "8008.routescan.io";
|
|
4590
|
+
};
|
|
4591
|
+
readonly 8082: {
|
|
4592
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/8082/etherscan";
|
|
4593
|
+
readonly explorer: "8082.routescan.io";
|
|
4594
|
+
};
|
|
4595
|
+
readonly 8453: {
|
|
4596
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/8453/etherscan";
|
|
4597
|
+
readonly explorer: "8453.routescan.io";
|
|
4598
|
+
};
|
|
4599
|
+
readonly 8888: {
|
|
4600
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/8888/etherscan";
|
|
4601
|
+
readonly explorer: "8888.routescan.io";
|
|
4602
|
+
};
|
|
4603
|
+
readonly 9728: {
|
|
4604
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/9728/etherscan";
|
|
4605
|
+
readonly explorer: "9728.routescan.io";
|
|
4606
|
+
};
|
|
4607
|
+
readonly 10507: {
|
|
4608
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/10507/etherscan";
|
|
4609
|
+
readonly explorer: "10507.routescan.io";
|
|
4610
|
+
};
|
|
4611
|
+
readonly 10849: {
|
|
4612
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/10849/etherscan";
|
|
4613
|
+
readonly explorer: "10849.routescan.io";
|
|
4614
|
+
};
|
|
4615
|
+
readonly 10880: {
|
|
4616
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/10880/etherscan";
|
|
4617
|
+
readonly explorer: "10880.routescan.io";
|
|
4618
|
+
};
|
|
4619
|
+
readonly 10888: {
|
|
4620
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/10888/etherscan";
|
|
4621
|
+
readonly explorer: "10888.routescan.io";
|
|
4622
|
+
};
|
|
4623
|
+
readonly 12150: {
|
|
4624
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/12150/etherscan";
|
|
4625
|
+
readonly explorer: "12150.routescan.io";
|
|
4626
|
+
};
|
|
4627
|
+
readonly 17000: {
|
|
4628
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/17000/etherscan";
|
|
4629
|
+
readonly explorer: "17000.routescan.io";
|
|
4630
|
+
};
|
|
4631
|
+
readonly 26659: {
|
|
4632
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/26659/etherscan";
|
|
4633
|
+
readonly explorer: "26659.routescan.io";
|
|
4634
|
+
};
|
|
4635
|
+
readonly 28882: {
|
|
4636
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/28882/etherscan";
|
|
4637
|
+
readonly explorer: "28882.routescan.io";
|
|
4638
|
+
};
|
|
4639
|
+
readonly 31335: {
|
|
4640
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/31335/etherscan";
|
|
4641
|
+
readonly explorer: "31335.routescan.io";
|
|
4642
|
+
};
|
|
4643
|
+
readonly 34443: {
|
|
4644
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/34443/etherscan";
|
|
4645
|
+
readonly explorer: "34443.routescan.io";
|
|
4646
|
+
};
|
|
4647
|
+
readonly 42026: {
|
|
4648
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/42026/etherscan";
|
|
4649
|
+
readonly explorer: "42026.routescan.io";
|
|
4650
|
+
};
|
|
4651
|
+
readonly 42069: {
|
|
4652
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/42069/etherscan";
|
|
4653
|
+
readonly explorer: "42069.routescan.io";
|
|
4654
|
+
};
|
|
4655
|
+
readonly 42161: {
|
|
4656
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/42161/etherscan";
|
|
4657
|
+
readonly explorer: "42161.routescan.io";
|
|
4658
|
+
};
|
|
4659
|
+
readonly 43113: {
|
|
4660
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/43113/etherscan";
|
|
4661
|
+
readonly explorer: "43113.routescan.io";
|
|
4662
|
+
};
|
|
4663
|
+
readonly 43114: {
|
|
4664
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/43114/etherscan";
|
|
4665
|
+
readonly explorer: "43114.routescan.io";
|
|
4666
|
+
};
|
|
4667
|
+
readonly 48795: {
|
|
4668
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/48795/etherscan";
|
|
4669
|
+
readonly explorer: "48795.routescan.io";
|
|
4670
|
+
};
|
|
4671
|
+
readonly 49321: {
|
|
4672
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/49321/etherscan";
|
|
4673
|
+
readonly explorer: "49321.routescan.io";
|
|
4674
|
+
};
|
|
4675
|
+
readonly 53123: {
|
|
4676
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/53123/etherscan";
|
|
4677
|
+
readonly explorer: "53123.routescan.io";
|
|
4678
|
+
};
|
|
4679
|
+
readonly 53302: {
|
|
4680
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/53302/etherscan";
|
|
4681
|
+
readonly explorer: "53302.routescan.io";
|
|
4682
|
+
};
|
|
4683
|
+
readonly 53935: {
|
|
4684
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/53935/etherscan";
|
|
4685
|
+
readonly explorer: "53935.routescan.io";
|
|
4686
|
+
};
|
|
4687
|
+
readonly 55551: {
|
|
4688
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/55551/etherscan";
|
|
4689
|
+
readonly explorer: "55551.routescan.io";
|
|
4690
|
+
};
|
|
4691
|
+
readonly 56288: {
|
|
4692
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/56288/etherscan";
|
|
4693
|
+
readonly explorer: "56288.routescan.io";
|
|
4694
|
+
};
|
|
4695
|
+
readonly 57054: {
|
|
4696
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/57054/etherscan";
|
|
4697
|
+
readonly explorer: "57054.routescan.io";
|
|
4698
|
+
};
|
|
4699
|
+
readonly 57073: {
|
|
4700
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/57073/etherscan";
|
|
4701
|
+
readonly explorer: "57073.routescan.io";
|
|
4702
|
+
};
|
|
4703
|
+
readonly 60118: {
|
|
4704
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/60118/etherscan";
|
|
4705
|
+
readonly explorer: "60118.routescan.io";
|
|
4706
|
+
};
|
|
4707
|
+
readonly 62707: {
|
|
4708
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/62707/etherscan";
|
|
4709
|
+
readonly explorer: "62707.routescan.io";
|
|
4710
|
+
};
|
|
4711
|
+
readonly 70800: {
|
|
4712
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/70800/etherscan";
|
|
4713
|
+
readonly explorer: "70800.routescan.io";
|
|
4714
|
+
};
|
|
4715
|
+
readonly 70953: {
|
|
4716
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/70953/etherscan";
|
|
4717
|
+
readonly explorer: "70953.routescan.io";
|
|
4718
|
+
};
|
|
4719
|
+
readonly 76736: {
|
|
4720
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/76736/etherscan";
|
|
4721
|
+
readonly explorer: "76736.routescan.io";
|
|
4722
|
+
};
|
|
4723
|
+
readonly 78170: {
|
|
4724
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/78170/etherscan";
|
|
4725
|
+
readonly explorer: "78170.routescan.io";
|
|
4726
|
+
};
|
|
4727
|
+
readonly 80000: {
|
|
4728
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/80000/etherscan";
|
|
4729
|
+
readonly explorer: "80000.routescan.io";
|
|
4730
|
+
};
|
|
4731
|
+
readonly 80002: {
|
|
4732
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/80002/etherscan";
|
|
4733
|
+
readonly explorer: "80002.routescan.io";
|
|
4734
|
+
};
|
|
4735
|
+
readonly 80008: {
|
|
4736
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/80008/etherscan";
|
|
4737
|
+
readonly explorer: "80008.routescan.io";
|
|
4738
|
+
};
|
|
4739
|
+
readonly 80069: {
|
|
4740
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/80069/etherscan";
|
|
4741
|
+
readonly explorer: "80069.routescan.io";
|
|
4742
|
+
};
|
|
4743
|
+
readonly 80084: {
|
|
4744
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/80084/etherscan";
|
|
4745
|
+
readonly explorer: "80084.routescan.io";
|
|
4746
|
+
};
|
|
4747
|
+
readonly 80085: {
|
|
4748
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/80085/etherscan";
|
|
4749
|
+
readonly explorer: "80085.routescan.io";
|
|
4750
|
+
};
|
|
4751
|
+
readonly 80094: {
|
|
4752
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/80094/etherscan";
|
|
4753
|
+
readonly explorer: "80094.routescan.io";
|
|
4754
|
+
};
|
|
4755
|
+
readonly 81457: {
|
|
4756
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/81457/etherscan";
|
|
4757
|
+
readonly explorer: "81457.routescan.io";
|
|
4758
|
+
};
|
|
4759
|
+
readonly 84532: {
|
|
4760
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/84532/etherscan";
|
|
4761
|
+
readonly explorer: "84532.routescan.io";
|
|
4762
|
+
};
|
|
4763
|
+
readonly 88882: {
|
|
4764
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/88882/etherscan";
|
|
4765
|
+
readonly explorer: "88882.routescan.io";
|
|
4766
|
+
};
|
|
4767
|
+
readonly 88888: {
|
|
4768
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/88888/etherscan";
|
|
4769
|
+
readonly explorer: "88888.routescan.io";
|
|
4770
|
+
};
|
|
4771
|
+
readonly 124832: {
|
|
4772
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/124832/etherscan";
|
|
4773
|
+
readonly explorer: "124832.routescan.io";
|
|
4774
|
+
};
|
|
4775
|
+
readonly 167000: {
|
|
4776
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/167000/etherscan";
|
|
4777
|
+
readonly explorer: "167000.routescan.io";
|
|
4778
|
+
};
|
|
4779
|
+
readonly 167008: {
|
|
4780
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/167008/etherscan";
|
|
4781
|
+
readonly explorer: "167008.routescan.io";
|
|
4782
|
+
};
|
|
4783
|
+
readonly 167009: {
|
|
4784
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/167009/etherscan";
|
|
4785
|
+
readonly explorer: "167009.routescan.io";
|
|
4786
|
+
};
|
|
4787
|
+
readonly 173750: {
|
|
4788
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/173750/etherscan";
|
|
4789
|
+
readonly explorer: "173750.routescan.io";
|
|
4790
|
+
};
|
|
4791
|
+
readonly 421614: {
|
|
4792
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/421614/etherscan";
|
|
4793
|
+
readonly explorer: "421614.routescan.io";
|
|
4794
|
+
};
|
|
4795
|
+
readonly 432201: {
|
|
4796
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/432201/etherscan";
|
|
4797
|
+
readonly explorer: "432201.routescan.io";
|
|
4798
|
+
};
|
|
4799
|
+
readonly 432204: {
|
|
4800
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/432204/etherscan";
|
|
4801
|
+
readonly explorer: "432204.routescan.io";
|
|
4802
|
+
};
|
|
4803
|
+
readonly 504441: {
|
|
4804
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/504441/etherscan";
|
|
4805
|
+
readonly explorer: "504441.routescan.io";
|
|
4806
|
+
};
|
|
4807
|
+
readonly 555666: {
|
|
4808
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/555666/etherscan";
|
|
4809
|
+
readonly explorer: "555666.routescan.io";
|
|
4810
|
+
};
|
|
4811
|
+
readonly 710420: {
|
|
4812
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/710420/etherscan";
|
|
4813
|
+
readonly explorer: "710420.routescan.io";
|
|
4814
|
+
};
|
|
4815
|
+
readonly 763373: {
|
|
4816
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/763373/etherscan";
|
|
4817
|
+
readonly explorer: "763373.routescan.io";
|
|
4818
|
+
};
|
|
4819
|
+
readonly 779672: {
|
|
4820
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/779672/etherscan";
|
|
4821
|
+
readonly explorer: "779672.routescan.io";
|
|
4822
|
+
};
|
|
4823
|
+
readonly 999999: {
|
|
4824
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/999999/etherscan";
|
|
4825
|
+
readonly explorer: "999999.routescan.io";
|
|
4826
|
+
};
|
|
4827
|
+
readonly 3397901: {
|
|
4828
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/3397901/etherscan";
|
|
4829
|
+
readonly explorer: "3397901.routescan.io";
|
|
4830
|
+
};
|
|
4831
|
+
readonly 7777777: {
|
|
4832
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/7777777/etherscan";
|
|
4833
|
+
readonly explorer: "7777777.routescan.io";
|
|
4834
|
+
};
|
|
4835
|
+
readonly 11155111: {
|
|
4836
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/11155111/etherscan";
|
|
4837
|
+
readonly explorer: "11155111.routescan.io";
|
|
4838
|
+
};
|
|
4839
|
+
readonly 11155420: {
|
|
4840
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/11155420/etherscan";
|
|
4841
|
+
readonly explorer: "11155420.routescan.io";
|
|
4842
|
+
};
|
|
4843
|
+
readonly 11155931: {
|
|
4844
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/11155931/etherscan";
|
|
4845
|
+
readonly explorer: "11155931.routescan.io";
|
|
4846
|
+
};
|
|
4847
|
+
readonly 12345678: {
|
|
4848
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/12345678/etherscan";
|
|
4849
|
+
readonly explorer: "12345678.routescan.io";
|
|
4850
|
+
};
|
|
4851
|
+
readonly 13068200: {
|
|
4852
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/13068200/etherscan";
|
|
4853
|
+
readonly explorer: "13068200.routescan.io";
|
|
4854
|
+
};
|
|
4855
|
+
readonly 20241133: {
|
|
4856
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/20241133/etherscan";
|
|
4857
|
+
readonly explorer: "20241133.routescan.io";
|
|
4858
|
+
};
|
|
4859
|
+
readonly 21000000: {
|
|
4860
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/21000000/etherscan";
|
|
4861
|
+
readonly explorer: "21000000.routescan.io";
|
|
4862
|
+
};
|
|
4863
|
+
readonly 21000001: {
|
|
4864
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/21000001/etherscan";
|
|
4865
|
+
readonly explorer: "21000001.routescan.io";
|
|
4866
|
+
};
|
|
4867
|
+
readonly 28122024: {
|
|
4868
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/28122024/etherscan";
|
|
4869
|
+
readonly explorer: "28122024.routescan.io";
|
|
4870
|
+
};
|
|
4871
|
+
readonly 111557560: {
|
|
4872
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/111557560/etherscan";
|
|
4873
|
+
readonly explorer: "111557560.routescan.io";
|
|
4874
|
+
};
|
|
4875
|
+
readonly 168587773: {
|
|
4876
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/168587773/etherscan";
|
|
4877
|
+
readonly explorer: "168587773.routescan.io";
|
|
4878
|
+
};
|
|
4879
|
+
readonly 333000333: {
|
|
4880
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/333000333/etherscan";
|
|
4881
|
+
readonly explorer: "333000333.routescan.io";
|
|
4882
|
+
};
|
|
4883
|
+
readonly 420120000: {
|
|
4884
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/420120000/etherscan";
|
|
4885
|
+
readonly explorer: "420120000.routescan.io";
|
|
4886
|
+
};
|
|
4887
|
+
readonly 420120001: {
|
|
4888
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/420120001/etherscan";
|
|
4889
|
+
readonly explorer: "420120001.routescan.io";
|
|
4890
|
+
};
|
|
4891
|
+
readonly 686669576: {
|
|
4892
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/686669576/etherscan";
|
|
4893
|
+
readonly explorer: "686669576.routescan.io";
|
|
4894
|
+
};
|
|
4895
|
+
readonly 888888888: {
|
|
4896
|
+
readonly api: "https://api.routescan.io/v2/network/mainnet/evm/888888888/etherscan";
|
|
4897
|
+
readonly explorer: "888888888.routescan.io";
|
|
4898
|
+
};
|
|
4899
|
+
readonly 999999999: {
|
|
4900
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/999999999/etherscan";
|
|
4901
|
+
readonly explorer: "999999999.routescan.io";
|
|
4902
|
+
};
|
|
4903
|
+
readonly 920637907288165: {
|
|
4904
|
+
readonly api: "https://api.routescan.io/v2/network/testnet/evm/920637907288165/etherscan";
|
|
4905
|
+
readonly explorer: "920637907288165.routescan.io";
|
|
4906
|
+
};
|
|
4907
|
+
};
|
|
4908
|
+
|
|
438
4909
|
declare const erc1967_ImplementationSlot = "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc";
|
|
439
4910
|
declare const erc1967_AdminSlot = "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103";
|
|
440
4911
|
|
|
@@ -474,4 +4945,4 @@ declare function renderTenderlyReport({ client, sim, }: RenderTenderlyReportPara
|
|
|
474
4945
|
emitter: viem.Address;
|
|
475
4946
|
}[]>;
|
|
476
4947
|
|
|
477
|
-
export { EVENT_DB, type ExplorerConfig, type FoundryStorage, type GovernanceContract, HALF_RAY, HALF_WAD, HUMAN_READABLE_PAYLOAD_STATE, HUMAN_READABLE_PROPOSAL_STATE, LTV_PRECISION, PayloadState, type PayloadsControllerContract, ProposalState, RAY, type ReserveConfiguration, SECONDS_PER_YEAR, SelfdestuctCheckState, type Storage, type StorageType, type Tenderly_createVnetParamsResponse, WAD, WAD_RAY_RATIO, alchemySupportedChainIds, bitmapToIndexes, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateHealthFactorFromBalances, calculateLinearInterest, checkForSelfdestruct, decodeReserveConfiguration, decodeReserveConfigurationV2, decodeUserConfiguration, diffCode, diffFoundryStorageLayout, erc1967_AdminSlot, erc1967_ImplementationSlot, foundry_getStandardJsonInput, foundry_getStorageLayout, getAlchemyRPC, getBits, getClient, getCurrentDebtBalance, getCurrentLiquidityBalance, getExplicitRPC, getExplorer, getGovernance, getMarketReferenceCurrencyAndUsdBalance, getNetworkEnv, getNonFinalizedPayloads, getNonFinalizedProposals, getNormalizedDebt, getNormalizedIncome, getPayloadsController, getPublicRpc,
|
|
4948
|
+
export { ChainId, ChainList, EVENT_DB, type ExplorerConfig, type FoundryStorage, type GovernanceContract, HALF_RAY, HALF_WAD, HUMAN_READABLE_PAYLOAD_STATE, HUMAN_READABLE_PROPOSAL_STATE, LTV_PRECISION, PayloadState, type PayloadsControllerContract, ProposalState, RAY, type ReserveConfiguration, SECONDS_PER_YEAR, SelfdestuctCheckState, type Storage, type StorageType, type Tenderly_createVnetParamsResponse, WAD, WAD_RAY_RATIO, alchemyNetworkMap, alchemySupportedChainIds, bitmapToIndexes, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateHealthFactorFromBalances, calculateLinearInterest, checkForSelfdestruct, decodeReserveConfiguration, decodeReserveConfigurationV2, decodeUserConfiguration, diffCode, diffFoundryStorageLayout, erc1967_AdminSlot, erc1967_ImplementationSlot, etherscanExplorers, foundry_getStandardJsonInput, foundry_getStorageLayout, getAlchemyRPC, getBits, getClient, getCurrentDebtBalance, getCurrentLiquidityBalance, getExplicitRPC, getExplorer, getGovernance, getMarketReferenceCurrencyAndUsdBalance, getNetworkEnv, getNonFinalizedPayloads, getNonFinalizedProposals, getNormalizedDebt, getNormalizedIncome, getPayloadsController, getPublicRpc, getQuicknodeRpc, getRPCUrl, getSourceCode, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, parseEtherscanStyleSourceCode, parseLogs, publicRPCs, quicknodeNetworkMap, rayDiv, rayMul, rayToWad, renderTenderlyReport, routescanExplorers, setBits, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_simVnet, wadDiv, wadToRay };
|