@bgd-labs/toolbox 0.0.5 → 0.0.6

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 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.
@@ -376,6 +379,3172 @@ declare const ChainId: {
376
379
  readonly zksync: 324;
377
380
  readonly linea: 59144;
378
381
  };
382
+ declare const ChainList: {
383
+ 1: {
384
+ blockExplorers: {
385
+ readonly default: {
386
+ readonly name: "Etherscan";
387
+ readonly url: "https://etherscan.io";
388
+ readonly apiUrl: "https://api.etherscan.io/api";
389
+ };
390
+ };
391
+ contracts: {
392
+ readonly ensRegistry: {
393
+ readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
394
+ };
395
+ readonly ensUniversalResolver: {
396
+ readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
397
+ readonly blockCreated: 19258213;
398
+ };
399
+ readonly multicall3: {
400
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
401
+ readonly blockCreated: 14353601;
402
+ };
403
+ };
404
+ id: 1;
405
+ name: "Ethereum";
406
+ nativeCurrency: {
407
+ readonly name: "Ether";
408
+ readonly symbol: "ETH";
409
+ readonly decimals: 18;
410
+ };
411
+ rpcUrls: {
412
+ readonly default: {
413
+ readonly http: readonly ["https://eth.merkle.io"];
414
+ };
415
+ };
416
+ sourceId?: number | undefined;
417
+ testnet?: boolean | undefined;
418
+ custom?: Record<string, unknown> | undefined;
419
+ fees?: viem.ChainFees<undefined> | undefined;
420
+ formatters?: undefined;
421
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
422
+ };
423
+ 137: {
424
+ blockExplorers: {
425
+ readonly default: {
426
+ readonly name: "PolygonScan";
427
+ readonly url: "https://polygonscan.com";
428
+ readonly apiUrl: "https://api.polygonscan.com/api";
429
+ };
430
+ };
431
+ contracts: {
432
+ readonly multicall3: {
433
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
434
+ readonly blockCreated: 25770160;
435
+ };
436
+ };
437
+ id: 137;
438
+ name: "Polygon";
439
+ nativeCurrency: {
440
+ readonly name: "POL";
441
+ readonly symbol: "POL";
442
+ readonly decimals: 18;
443
+ };
444
+ rpcUrls: {
445
+ readonly default: {
446
+ readonly http: readonly ["https://polygon-rpc.com"];
447
+ };
448
+ };
449
+ sourceId?: number | undefined;
450
+ testnet?: boolean | undefined;
451
+ custom?: Record<string, unknown> | undefined;
452
+ fees?: viem.ChainFees<undefined> | undefined;
453
+ formatters?: undefined;
454
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
455
+ };
456
+ 80002: {
457
+ blockExplorers: {
458
+ readonly default: {
459
+ readonly name: "PolygonScan";
460
+ readonly url: "https://amoy.polygonscan.com";
461
+ readonly apiUrl: "https://api-amoy.polygonscan.com/api";
462
+ };
463
+ };
464
+ contracts: {
465
+ readonly multicall3: {
466
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
467
+ readonly blockCreated: 3127388;
468
+ };
469
+ };
470
+ id: 80002;
471
+ name: "Polygon Amoy";
472
+ nativeCurrency: {
473
+ readonly name: "POL";
474
+ readonly symbol: "POL";
475
+ readonly decimals: 18;
476
+ };
477
+ rpcUrls: {
478
+ readonly default: {
479
+ readonly http: readonly ["https://rpc-amoy.polygon.technology"];
480
+ };
481
+ };
482
+ sourceId?: number | undefined;
483
+ testnet: true;
484
+ custom?: Record<string, unknown> | undefined;
485
+ fees?: viem.ChainFees<undefined> | undefined;
486
+ formatters?: undefined;
487
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
488
+ };
489
+ 43114: {
490
+ blockExplorers: {
491
+ readonly default: {
492
+ readonly name: "SnowTrace";
493
+ readonly url: "https://snowtrace.io";
494
+ readonly apiUrl: "https://api.snowtrace.io";
495
+ };
496
+ };
497
+ contracts: {
498
+ readonly multicall3: {
499
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
500
+ readonly blockCreated: 11907934;
501
+ };
502
+ };
503
+ id: 43114;
504
+ name: "Avalanche";
505
+ nativeCurrency: {
506
+ readonly decimals: 18;
507
+ readonly name: "Avalanche";
508
+ readonly symbol: "AVAX";
509
+ };
510
+ rpcUrls: {
511
+ readonly default: {
512
+ readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
513
+ };
514
+ };
515
+ sourceId?: number | undefined;
516
+ testnet?: boolean | undefined;
517
+ custom?: Record<string, unknown> | undefined;
518
+ fees?: viem.ChainFees<undefined> | undefined;
519
+ formatters?: undefined;
520
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
521
+ };
522
+ 43113: {
523
+ blockExplorers: {
524
+ readonly default: {
525
+ readonly name: "SnowTrace";
526
+ readonly url: "https://testnet.snowtrace.io";
527
+ readonly apiUrl: "https://api-testnet.snowtrace.io";
528
+ };
529
+ };
530
+ contracts: {
531
+ readonly multicall3: {
532
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
533
+ readonly blockCreated: 7096959;
534
+ };
535
+ };
536
+ id: 43113;
537
+ name: "Avalanche Fuji";
538
+ nativeCurrency: {
539
+ readonly decimals: 18;
540
+ readonly name: "Avalanche Fuji";
541
+ readonly symbol: "AVAX";
542
+ };
543
+ rpcUrls: {
544
+ readonly default: {
545
+ readonly http: readonly ["https://api.avax-test.network/ext/bc/C/rpc"];
546
+ };
547
+ };
548
+ sourceId?: number | undefined;
549
+ testnet: true;
550
+ custom?: Record<string, unknown> | undefined;
551
+ fees?: viem.ChainFees<undefined> | undefined;
552
+ formatters?: undefined;
553
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
554
+ };
555
+ 42161: {
556
+ blockExplorers: {
557
+ readonly default: {
558
+ readonly name: "Arbiscan";
559
+ readonly url: "https://arbiscan.io";
560
+ readonly apiUrl: "https://api.arbiscan.io/api";
561
+ };
562
+ };
563
+ contracts: {
564
+ readonly multicall3: {
565
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
566
+ readonly blockCreated: 7654707;
567
+ };
568
+ };
569
+ id: 42161;
570
+ name: "Arbitrum One";
571
+ nativeCurrency: {
572
+ readonly name: "Ether";
573
+ readonly symbol: "ETH";
574
+ readonly decimals: 18;
575
+ };
576
+ rpcUrls: {
577
+ readonly default: {
578
+ readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
579
+ };
580
+ };
581
+ sourceId?: number | undefined;
582
+ testnet?: boolean | undefined;
583
+ custom?: Record<string, unknown> | undefined;
584
+ fees?: viem.ChainFees<undefined> | undefined;
585
+ formatters?: undefined;
586
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
587
+ };
588
+ 421614: {
589
+ blockExplorers: {
590
+ readonly default: {
591
+ readonly name: "Arbiscan";
592
+ readonly url: "https://sepolia.arbiscan.io";
593
+ readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
594
+ };
595
+ };
596
+ contracts: {
597
+ readonly multicall3: {
598
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
599
+ readonly blockCreated: 81930;
600
+ };
601
+ };
602
+ id: 421614;
603
+ name: "Arbitrum Sepolia";
604
+ nativeCurrency: {
605
+ readonly name: "Arbitrum Sepolia Ether";
606
+ readonly symbol: "ETH";
607
+ readonly decimals: 18;
608
+ };
609
+ rpcUrls: {
610
+ readonly default: {
611
+ readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
612
+ };
613
+ };
614
+ sourceId?: number | undefined;
615
+ testnet: true;
616
+ custom?: Record<string, unknown> | undefined;
617
+ fees?: viem.ChainFees<undefined> | undefined;
618
+ formatters?: undefined;
619
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
620
+ };
621
+ 250: {
622
+ blockExplorers: {
623
+ readonly default: {
624
+ readonly name: "FTMScan";
625
+ readonly url: "https://ftmscan.com";
626
+ readonly apiUrl: "https://api.ftmscan.com/api";
627
+ };
628
+ };
629
+ contracts: {
630
+ readonly multicall3: {
631
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
632
+ readonly blockCreated: 33001987;
633
+ };
634
+ };
635
+ id: 250;
636
+ name: "Fantom";
637
+ nativeCurrency: {
638
+ readonly decimals: 18;
639
+ readonly name: "Fantom";
640
+ readonly symbol: "FTM";
641
+ };
642
+ rpcUrls: {
643
+ readonly default: {
644
+ readonly http: readonly ["https://rpc.ankr.com/fantom"];
645
+ };
646
+ };
647
+ sourceId?: number | undefined;
648
+ testnet?: boolean | undefined;
649
+ custom?: Record<string, unknown> | undefined;
650
+ fees?: viem.ChainFees<undefined> | undefined;
651
+ formatters?: undefined;
652
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
653
+ };
654
+ 4002: {
655
+ blockExplorers: {
656
+ readonly default: {
657
+ readonly name: "FTMScan";
658
+ readonly url: "https://testnet.ftmscan.com";
659
+ readonly apiUrl: "https://testnet.ftmscan.com/api";
660
+ };
661
+ };
662
+ contracts: {
663
+ readonly multicall3: {
664
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
665
+ readonly blockCreated: 8328688;
666
+ };
667
+ };
668
+ id: 4002;
669
+ name: "Fantom Testnet";
670
+ nativeCurrency: {
671
+ readonly decimals: 18;
672
+ readonly name: "Fantom";
673
+ readonly symbol: "FTM";
674
+ };
675
+ rpcUrls: {
676
+ readonly default: {
677
+ readonly http: readonly ["https://rpc.testnet.fantom.network"];
678
+ };
679
+ };
680
+ sourceId?: number | undefined;
681
+ testnet: true;
682
+ custom?: Record<string, unknown> | undefined;
683
+ fees?: viem.ChainFees<undefined> | undefined;
684
+ formatters?: undefined;
685
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
686
+ };
687
+ 10: {
688
+ blockExplorers: {
689
+ readonly default: {
690
+ readonly name: "Optimism Explorer";
691
+ readonly url: "https://optimistic.etherscan.io";
692
+ readonly apiUrl: "https://api-optimistic.etherscan.io/api";
693
+ };
694
+ };
695
+ contracts: {
696
+ readonly disputeGameFactory: {
697
+ readonly 1: {
698
+ readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
699
+ };
700
+ };
701
+ readonly l2OutputOracle: {
702
+ readonly 1: {
703
+ readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
704
+ };
705
+ };
706
+ readonly multicall3: {
707
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
708
+ readonly blockCreated: 4286263;
709
+ };
710
+ readonly portal: {
711
+ readonly 1: {
712
+ readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
713
+ };
714
+ };
715
+ readonly l1StandardBridge: {
716
+ readonly 1: {
717
+ readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
718
+ };
719
+ };
720
+ readonly gasPriceOracle: {
721
+ readonly address: "0x420000000000000000000000000000000000000F";
722
+ };
723
+ readonly l1Block: {
724
+ readonly address: "0x4200000000000000000000000000000000000015";
725
+ };
726
+ readonly l2CrossDomainMessenger: {
727
+ readonly address: "0x4200000000000000000000000000000000000007";
728
+ };
729
+ readonly l2Erc721Bridge: {
730
+ readonly address: "0x4200000000000000000000000000000000000014";
731
+ };
732
+ readonly l2StandardBridge: {
733
+ readonly address: "0x4200000000000000000000000000000000000010";
734
+ };
735
+ readonly l2ToL1MessagePasser: {
736
+ readonly address: "0x4200000000000000000000000000000000000016";
737
+ };
738
+ };
739
+ id: 10;
740
+ name: "OP Mainnet";
741
+ nativeCurrency: {
742
+ readonly name: "Ether";
743
+ readonly symbol: "ETH";
744
+ readonly decimals: 18;
745
+ };
746
+ rpcUrls: {
747
+ readonly default: {
748
+ readonly http: readonly ["https://mainnet.optimism.io"];
749
+ };
750
+ };
751
+ sourceId: 1;
752
+ testnet?: boolean | undefined;
753
+ custom?: Record<string, unknown> | undefined;
754
+ fees?: viem.ChainFees<undefined> | undefined;
755
+ formatters: {
756
+ readonly block: {
757
+ exclude: [] | undefined;
758
+ format: (args: viem_chains.OpStackRpcBlock) => {
759
+ baseFeePerGas: bigint | null;
760
+ blobGasUsed: bigint;
761
+ difficulty: bigint;
762
+ excessBlobGas: bigint;
763
+ extraData: viem.Hex;
764
+ gasLimit: bigint;
765
+ gasUsed: bigint;
766
+ hash: `0x${string}` | null;
767
+ logsBloom: `0x${string}` | null;
768
+ miner: viem.Address;
769
+ mixHash: viem.Hash;
770
+ nonce: `0x${string}` | null;
771
+ number: bigint | null;
772
+ parentBeaconBlockRoot?: viem.Hex | undefined;
773
+ parentHash: viem.Hash;
774
+ receiptsRoot: viem.Hex;
775
+ sealFields: viem.Hex[];
776
+ sha3Uncles: viem.Hash;
777
+ size: bigint;
778
+ stateRoot: viem.Hash;
779
+ timestamp: bigint;
780
+ totalDifficulty: bigint | null;
781
+ transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
782
+ transactionsRoot: viem.Hash;
783
+ uncles: viem.Hash[];
784
+ withdrawals?: viem.Withdrawal[] | undefined;
785
+ withdrawalsRoot?: viem.Hex | undefined;
786
+ } & {};
787
+ type: "block";
788
+ };
789
+ readonly transaction: {
790
+ exclude: [] | undefined;
791
+ format: (args: viem_chains.OpStackRpcTransaction) => ({
792
+ blockHash: `0x${string}` | null;
793
+ blockNumber: bigint | null;
794
+ from: viem.Address;
795
+ gas: bigint;
796
+ hash: viem.Hash;
797
+ input: viem.Hex;
798
+ nonce: number;
799
+ r: viem.Hex;
800
+ s: viem.Hex;
801
+ to: viem.Address | null;
802
+ transactionIndex: number | null;
803
+ typeHex: viem.Hex | null;
804
+ v: bigint;
805
+ value: bigint;
806
+ yParity: number;
807
+ gasPrice?: undefined;
808
+ maxFeePerBlobGas?: undefined;
809
+ maxFeePerGas: bigint;
810
+ maxPriorityFeePerGas: bigint;
811
+ isSystemTx?: boolean;
812
+ mint?: bigint | undefined;
813
+ sourceHash: viem.Hex;
814
+ type: "deposit";
815
+ } | {
816
+ r: viem.Hex;
817
+ s: viem.Hex;
818
+ v: bigint;
819
+ to: viem.Address | null;
820
+ from: viem.Address;
821
+ gas: bigint;
822
+ nonce: number;
823
+ value: bigint;
824
+ blockHash: `0x${string}` | null;
825
+ blockNumber: bigint | null;
826
+ hash: viem.Hash;
827
+ input: viem.Hex;
828
+ transactionIndex: number | null;
829
+ typeHex: viem.Hex | null;
830
+ accessList?: undefined;
831
+ authorizationList?: undefined;
832
+ blobVersionedHashes?: undefined;
833
+ chainId?: number | undefined;
834
+ yParity?: undefined;
835
+ type: "legacy";
836
+ gasPrice: bigint;
837
+ maxFeePerBlobGas?: undefined;
838
+ maxFeePerGas?: undefined;
839
+ maxPriorityFeePerGas?: undefined;
840
+ isSystemTx?: undefined;
841
+ mint?: undefined;
842
+ sourceHash?: undefined;
843
+ } | {
844
+ blockHash: `0x${string}` | null;
845
+ blockNumber: bigint | null;
846
+ from: viem.Address;
847
+ gas: bigint;
848
+ hash: viem.Hash;
849
+ input: viem.Hex;
850
+ nonce: number;
851
+ r: viem.Hex;
852
+ s: viem.Hex;
853
+ to: viem.Address | null;
854
+ transactionIndex: number | null;
855
+ typeHex: viem.Hex | null;
856
+ v: bigint;
857
+ value: bigint;
858
+ yParity: number;
859
+ accessList: viem.AccessList;
860
+ authorizationList?: undefined;
861
+ blobVersionedHashes?: undefined;
862
+ chainId: number;
863
+ type: "eip2930";
864
+ gasPrice: bigint;
865
+ maxFeePerBlobGas?: undefined;
866
+ maxFeePerGas?: undefined;
867
+ maxPriorityFeePerGas?: undefined;
868
+ isSystemTx?: undefined;
869
+ mint?: undefined;
870
+ sourceHash?: undefined;
871
+ } | {
872
+ blockHash: `0x${string}` | null;
873
+ blockNumber: bigint | null;
874
+ from: viem.Address;
875
+ gas: bigint;
876
+ hash: viem.Hash;
877
+ input: viem.Hex;
878
+ nonce: number;
879
+ r: viem.Hex;
880
+ s: viem.Hex;
881
+ to: viem.Address | null;
882
+ transactionIndex: number | null;
883
+ typeHex: viem.Hex | null;
884
+ v: bigint;
885
+ value: bigint;
886
+ yParity: number;
887
+ accessList: viem.AccessList;
888
+ authorizationList?: undefined;
889
+ blobVersionedHashes?: undefined;
890
+ chainId: number;
891
+ type: "eip1559";
892
+ gasPrice?: undefined;
893
+ maxFeePerBlobGas?: undefined;
894
+ maxFeePerGas: bigint;
895
+ maxPriorityFeePerGas: bigint;
896
+ isSystemTx?: undefined;
897
+ mint?: undefined;
898
+ sourceHash?: undefined;
899
+ } | {
900
+ blockHash: `0x${string}` | null;
901
+ blockNumber: bigint | null;
902
+ from: viem.Address;
903
+ gas: bigint;
904
+ hash: viem.Hash;
905
+ input: viem.Hex;
906
+ nonce: number;
907
+ r: viem.Hex;
908
+ s: viem.Hex;
909
+ to: viem.Address | null;
910
+ transactionIndex: number | null;
911
+ typeHex: viem.Hex | null;
912
+ v: bigint;
913
+ value: bigint;
914
+ yParity: number;
915
+ accessList: viem.AccessList;
916
+ authorizationList?: undefined;
917
+ blobVersionedHashes: readonly viem.Hex[];
918
+ chainId: number;
919
+ type: "eip4844";
920
+ gasPrice?: undefined;
921
+ maxFeePerBlobGas: bigint;
922
+ maxFeePerGas: bigint;
923
+ maxPriorityFeePerGas: bigint;
924
+ isSystemTx?: undefined;
925
+ mint?: undefined;
926
+ sourceHash?: undefined;
927
+ } | {
928
+ blockHash: `0x${string}` | null;
929
+ blockNumber: bigint | null;
930
+ from: viem.Address;
931
+ gas: bigint;
932
+ hash: viem.Hash;
933
+ input: viem.Hex;
934
+ nonce: number;
935
+ r: viem.Hex;
936
+ s: viem.Hex;
937
+ to: viem.Address | null;
938
+ transactionIndex: number | null;
939
+ typeHex: viem.Hex | null;
940
+ v: bigint;
941
+ value: bigint;
942
+ yParity: number;
943
+ accessList: viem.AccessList;
944
+ authorizationList: viem_experimental.SignedAuthorizationList;
945
+ blobVersionedHashes?: undefined;
946
+ chainId: number;
947
+ type: "eip7702";
948
+ gasPrice?: undefined;
949
+ maxFeePerBlobGas?: undefined;
950
+ maxFeePerGas: bigint;
951
+ maxPriorityFeePerGas: bigint;
952
+ isSystemTx?: undefined;
953
+ mint?: undefined;
954
+ sourceHash?: undefined;
955
+ }) & {};
956
+ type: "transaction";
957
+ };
958
+ readonly transactionReceipt: {
959
+ exclude: [] | undefined;
960
+ format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
961
+ blobGasPrice?: bigint | undefined;
962
+ blobGasUsed?: bigint | undefined;
963
+ blockHash: viem.Hash;
964
+ blockNumber: bigint;
965
+ contractAddress: viem.Address | null | undefined;
966
+ cumulativeGasUsed: bigint;
967
+ effectiveGasPrice: bigint;
968
+ from: viem.Address;
969
+ gasUsed: bigint;
970
+ logs: viem.Log<bigint, number, false>[];
971
+ logsBloom: viem.Hex;
972
+ root?: viem.Hash | undefined;
973
+ status: "success" | "reverted";
974
+ to: viem.Address | null;
975
+ transactionHash: viem.Hash;
976
+ transactionIndex: number;
977
+ type: viem.TransactionType;
978
+ l1GasPrice: bigint | null;
979
+ l1GasUsed: bigint | null;
980
+ l1Fee: bigint | null;
981
+ l1FeeScalar: number | null;
982
+ } & {};
983
+ type: "transactionReceipt";
984
+ };
985
+ };
986
+ serializers: {
987
+ readonly transaction: typeof viem_chains.serializeTransactionOpStack;
988
+ };
989
+ };
990
+ 11155420: {
991
+ blockExplorers: {
992
+ readonly default: {
993
+ readonly name: "Blockscout";
994
+ readonly url: "https://optimism-sepolia.blockscout.com";
995
+ readonly apiUrl: "https://optimism-sepolia.blockscout.com/api";
996
+ };
997
+ };
998
+ contracts: {
999
+ readonly disputeGameFactory: {
1000
+ readonly 11155111: {
1001
+ readonly address: "0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1";
1002
+ };
1003
+ };
1004
+ readonly l2OutputOracle: {
1005
+ readonly 11155111: {
1006
+ readonly address: "0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F";
1007
+ };
1008
+ };
1009
+ readonly multicall3: {
1010
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1011
+ readonly blockCreated: 1620204;
1012
+ };
1013
+ readonly portal: {
1014
+ readonly 11155111: {
1015
+ readonly address: "0x16Fc5058F25648194471939df75CF27A2fdC48BC";
1016
+ };
1017
+ };
1018
+ readonly l1StandardBridge: {
1019
+ readonly 11155111: {
1020
+ readonly address: "0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1";
1021
+ };
1022
+ };
1023
+ readonly gasPriceOracle: {
1024
+ readonly address: "0x420000000000000000000000000000000000000F";
1025
+ };
1026
+ readonly l1Block: {
1027
+ readonly address: "0x4200000000000000000000000000000000000015";
1028
+ };
1029
+ readonly l2CrossDomainMessenger: {
1030
+ readonly address: "0x4200000000000000000000000000000000000007";
1031
+ };
1032
+ readonly l2Erc721Bridge: {
1033
+ readonly address: "0x4200000000000000000000000000000000000014";
1034
+ };
1035
+ readonly l2StandardBridge: {
1036
+ readonly address: "0x4200000000000000000000000000000000000010";
1037
+ };
1038
+ readonly l2ToL1MessagePasser: {
1039
+ readonly address: "0x4200000000000000000000000000000000000016";
1040
+ };
1041
+ };
1042
+ id: 11155420;
1043
+ name: "OP Sepolia";
1044
+ nativeCurrency: {
1045
+ readonly name: "Sepolia Ether";
1046
+ readonly symbol: "ETH";
1047
+ readonly decimals: 18;
1048
+ };
1049
+ rpcUrls: {
1050
+ readonly default: {
1051
+ readonly http: readonly ["https://sepolia.optimism.io"];
1052
+ };
1053
+ };
1054
+ sourceId: 11155111;
1055
+ testnet: true;
1056
+ custom?: Record<string, unknown> | undefined;
1057
+ fees?: viem.ChainFees<undefined> | undefined;
1058
+ formatters: {
1059
+ readonly block: {
1060
+ exclude: [] | undefined;
1061
+ format: (args: viem_chains.OpStackRpcBlock) => {
1062
+ baseFeePerGas: bigint | null;
1063
+ blobGasUsed: bigint;
1064
+ difficulty: bigint;
1065
+ excessBlobGas: bigint;
1066
+ extraData: viem.Hex;
1067
+ gasLimit: bigint;
1068
+ gasUsed: bigint;
1069
+ hash: `0x${string}` | null;
1070
+ logsBloom: `0x${string}` | null;
1071
+ miner: viem.Address;
1072
+ mixHash: viem.Hash;
1073
+ nonce: `0x${string}` | null;
1074
+ number: bigint | null;
1075
+ parentBeaconBlockRoot?: viem.Hex | undefined;
1076
+ parentHash: viem.Hash;
1077
+ receiptsRoot: viem.Hex;
1078
+ sealFields: viem.Hex[];
1079
+ sha3Uncles: viem.Hash;
1080
+ size: bigint;
1081
+ stateRoot: viem.Hash;
1082
+ timestamp: bigint;
1083
+ totalDifficulty: bigint | null;
1084
+ transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
1085
+ transactionsRoot: viem.Hash;
1086
+ uncles: viem.Hash[];
1087
+ withdrawals?: viem.Withdrawal[] | undefined;
1088
+ withdrawalsRoot?: viem.Hex | undefined;
1089
+ } & {};
1090
+ type: "block";
1091
+ };
1092
+ readonly transaction: {
1093
+ exclude: [] | undefined;
1094
+ format: (args: viem_chains.OpStackRpcTransaction) => ({
1095
+ blockHash: `0x${string}` | null;
1096
+ blockNumber: bigint | null;
1097
+ from: viem.Address;
1098
+ gas: bigint;
1099
+ hash: viem.Hash;
1100
+ input: viem.Hex;
1101
+ nonce: number;
1102
+ r: viem.Hex;
1103
+ s: viem.Hex;
1104
+ to: viem.Address | null;
1105
+ transactionIndex: number | null;
1106
+ typeHex: viem.Hex | null;
1107
+ v: bigint;
1108
+ value: bigint;
1109
+ yParity: number;
1110
+ gasPrice?: undefined;
1111
+ maxFeePerBlobGas?: undefined;
1112
+ maxFeePerGas: bigint;
1113
+ maxPriorityFeePerGas: bigint;
1114
+ isSystemTx?: boolean;
1115
+ mint?: bigint | undefined;
1116
+ sourceHash: viem.Hex;
1117
+ type: "deposit";
1118
+ } | {
1119
+ r: viem.Hex;
1120
+ s: viem.Hex;
1121
+ v: bigint;
1122
+ to: viem.Address | null;
1123
+ from: viem.Address;
1124
+ gas: bigint;
1125
+ nonce: number;
1126
+ value: bigint;
1127
+ blockHash: `0x${string}` | null;
1128
+ blockNumber: bigint | null;
1129
+ hash: viem.Hash;
1130
+ input: viem.Hex;
1131
+ transactionIndex: number | null;
1132
+ typeHex: viem.Hex | null;
1133
+ accessList?: undefined;
1134
+ authorizationList?: undefined;
1135
+ blobVersionedHashes?: undefined;
1136
+ chainId?: number | undefined;
1137
+ yParity?: undefined;
1138
+ type: "legacy";
1139
+ gasPrice: bigint;
1140
+ maxFeePerBlobGas?: undefined;
1141
+ maxFeePerGas?: undefined;
1142
+ maxPriorityFeePerGas?: undefined;
1143
+ isSystemTx?: undefined;
1144
+ mint?: undefined;
1145
+ sourceHash?: undefined;
1146
+ } | {
1147
+ blockHash: `0x${string}` | null;
1148
+ blockNumber: bigint | null;
1149
+ from: viem.Address;
1150
+ gas: bigint;
1151
+ hash: viem.Hash;
1152
+ input: viem.Hex;
1153
+ nonce: number;
1154
+ r: viem.Hex;
1155
+ s: viem.Hex;
1156
+ to: viem.Address | null;
1157
+ transactionIndex: number | null;
1158
+ typeHex: viem.Hex | null;
1159
+ v: bigint;
1160
+ value: bigint;
1161
+ yParity: number;
1162
+ accessList: viem.AccessList;
1163
+ authorizationList?: undefined;
1164
+ blobVersionedHashes?: undefined;
1165
+ chainId: number;
1166
+ type: "eip2930";
1167
+ gasPrice: bigint;
1168
+ maxFeePerBlobGas?: undefined;
1169
+ maxFeePerGas?: undefined;
1170
+ maxPriorityFeePerGas?: undefined;
1171
+ isSystemTx?: undefined;
1172
+ mint?: undefined;
1173
+ sourceHash?: undefined;
1174
+ } | {
1175
+ blockHash: `0x${string}` | null;
1176
+ blockNumber: bigint | null;
1177
+ from: viem.Address;
1178
+ gas: bigint;
1179
+ hash: viem.Hash;
1180
+ input: viem.Hex;
1181
+ nonce: number;
1182
+ r: viem.Hex;
1183
+ s: viem.Hex;
1184
+ to: viem.Address | null;
1185
+ transactionIndex: number | null;
1186
+ typeHex: viem.Hex | null;
1187
+ v: bigint;
1188
+ value: bigint;
1189
+ yParity: number;
1190
+ accessList: viem.AccessList;
1191
+ authorizationList?: undefined;
1192
+ blobVersionedHashes?: undefined;
1193
+ chainId: number;
1194
+ type: "eip1559";
1195
+ gasPrice?: undefined;
1196
+ maxFeePerBlobGas?: undefined;
1197
+ maxFeePerGas: bigint;
1198
+ maxPriorityFeePerGas: bigint;
1199
+ isSystemTx?: undefined;
1200
+ mint?: undefined;
1201
+ sourceHash?: undefined;
1202
+ } | {
1203
+ blockHash: `0x${string}` | null;
1204
+ blockNumber: bigint | null;
1205
+ from: viem.Address;
1206
+ gas: bigint;
1207
+ hash: viem.Hash;
1208
+ input: viem.Hex;
1209
+ nonce: number;
1210
+ r: viem.Hex;
1211
+ s: viem.Hex;
1212
+ to: viem.Address | null;
1213
+ transactionIndex: number | null;
1214
+ typeHex: viem.Hex | null;
1215
+ v: bigint;
1216
+ value: bigint;
1217
+ yParity: number;
1218
+ accessList: viem.AccessList;
1219
+ authorizationList?: undefined;
1220
+ blobVersionedHashes: readonly viem.Hex[];
1221
+ chainId: number;
1222
+ type: "eip4844";
1223
+ gasPrice?: undefined;
1224
+ maxFeePerBlobGas: bigint;
1225
+ maxFeePerGas: bigint;
1226
+ maxPriorityFeePerGas: bigint;
1227
+ isSystemTx?: undefined;
1228
+ mint?: undefined;
1229
+ sourceHash?: undefined;
1230
+ } | {
1231
+ blockHash: `0x${string}` | null;
1232
+ blockNumber: bigint | null;
1233
+ from: viem.Address;
1234
+ gas: bigint;
1235
+ hash: viem.Hash;
1236
+ input: viem.Hex;
1237
+ nonce: number;
1238
+ r: viem.Hex;
1239
+ s: viem.Hex;
1240
+ to: viem.Address | null;
1241
+ transactionIndex: number | null;
1242
+ typeHex: viem.Hex | null;
1243
+ v: bigint;
1244
+ value: bigint;
1245
+ yParity: number;
1246
+ accessList: viem.AccessList;
1247
+ authorizationList: viem_experimental.SignedAuthorizationList;
1248
+ blobVersionedHashes?: undefined;
1249
+ chainId: number;
1250
+ type: "eip7702";
1251
+ gasPrice?: undefined;
1252
+ maxFeePerBlobGas?: undefined;
1253
+ maxFeePerGas: bigint;
1254
+ maxPriorityFeePerGas: bigint;
1255
+ isSystemTx?: undefined;
1256
+ mint?: undefined;
1257
+ sourceHash?: undefined;
1258
+ }) & {};
1259
+ type: "transaction";
1260
+ };
1261
+ readonly transactionReceipt: {
1262
+ exclude: [] | undefined;
1263
+ format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
1264
+ blobGasPrice?: bigint | undefined;
1265
+ blobGasUsed?: bigint | undefined;
1266
+ blockHash: viem.Hash;
1267
+ blockNumber: bigint;
1268
+ contractAddress: viem.Address | null | undefined;
1269
+ cumulativeGasUsed: bigint;
1270
+ effectiveGasPrice: bigint;
1271
+ from: viem.Address;
1272
+ gasUsed: bigint;
1273
+ logs: viem.Log<bigint, number, false>[];
1274
+ logsBloom: viem.Hex;
1275
+ root?: viem.Hash | undefined;
1276
+ status: "success" | "reverted";
1277
+ to: viem.Address | null;
1278
+ transactionHash: viem.Hash;
1279
+ transactionIndex: number;
1280
+ type: viem.TransactionType;
1281
+ l1GasPrice: bigint | null;
1282
+ l1GasUsed: bigint | null;
1283
+ l1Fee: bigint | null;
1284
+ l1FeeScalar: number | null;
1285
+ } & {};
1286
+ type: "transactionReceipt";
1287
+ };
1288
+ };
1289
+ serializers: {
1290
+ readonly transaction: typeof viem_chains.serializeTransactionOpStack;
1291
+ };
1292
+ };
1293
+ 1666600000: {
1294
+ blockExplorers: {
1295
+ readonly default: {
1296
+ readonly name: "Harmony Explorer";
1297
+ readonly url: "https://explorer.harmony.one";
1298
+ };
1299
+ };
1300
+ contracts: {
1301
+ readonly multicall3: {
1302
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1303
+ readonly blockCreated: 24185753;
1304
+ };
1305
+ };
1306
+ id: 1666600000;
1307
+ name: "Harmony One";
1308
+ nativeCurrency: {
1309
+ readonly name: "Harmony";
1310
+ readonly symbol: "ONE";
1311
+ readonly decimals: 18;
1312
+ };
1313
+ rpcUrls: {
1314
+ readonly default: {
1315
+ readonly http: readonly ["https://rpc.ankr.com/harmony"];
1316
+ };
1317
+ };
1318
+ sourceId?: number | undefined;
1319
+ testnet?: boolean | undefined;
1320
+ custom?: Record<string, unknown> | undefined;
1321
+ fees?: viem.ChainFees<undefined> | undefined;
1322
+ formatters?: undefined;
1323
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1324
+ };
1325
+ 11155111: {
1326
+ blockExplorers: {
1327
+ readonly default: {
1328
+ readonly name: "Etherscan";
1329
+ readonly url: "https://sepolia.etherscan.io";
1330
+ readonly apiUrl: "https://api-sepolia.etherscan.io/api";
1331
+ };
1332
+ };
1333
+ contracts: {
1334
+ readonly multicall3: {
1335
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1336
+ readonly blockCreated: 751532;
1337
+ };
1338
+ readonly ensRegistry: {
1339
+ readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
1340
+ };
1341
+ readonly ensUniversalResolver: {
1342
+ readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
1343
+ readonly blockCreated: 5317080;
1344
+ };
1345
+ };
1346
+ id: 11155111;
1347
+ name: "Sepolia";
1348
+ nativeCurrency: {
1349
+ readonly name: "Sepolia Ether";
1350
+ readonly symbol: "ETH";
1351
+ readonly decimals: 18;
1352
+ };
1353
+ rpcUrls: {
1354
+ readonly default: {
1355
+ readonly http: readonly ["https://sepolia.drpc.org"];
1356
+ };
1357
+ };
1358
+ sourceId?: number | undefined;
1359
+ testnet: true;
1360
+ custom?: Record<string, unknown> | undefined;
1361
+ fees?: viem.ChainFees<undefined> | undefined;
1362
+ formatters?: undefined;
1363
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1364
+ };
1365
+ 534352: {
1366
+ blockExplorers: {
1367
+ readonly default: {
1368
+ readonly name: "Scrollscan";
1369
+ readonly url: "https://scrollscan.com";
1370
+ readonly apiUrl: "https://api.scrollscan.com/api";
1371
+ };
1372
+ };
1373
+ contracts: {
1374
+ readonly multicall3: {
1375
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1376
+ readonly blockCreated: 14;
1377
+ };
1378
+ };
1379
+ id: 534352;
1380
+ name: "Scroll";
1381
+ nativeCurrency: {
1382
+ readonly name: "Ether";
1383
+ readonly symbol: "ETH";
1384
+ readonly decimals: 18;
1385
+ };
1386
+ rpcUrls: {
1387
+ readonly default: {
1388
+ readonly http: readonly ["https://rpc.scroll.io"];
1389
+ readonly webSocket: readonly ["wss://wss-rpc.scroll.io/ws"];
1390
+ };
1391
+ };
1392
+ sourceId?: number | undefined;
1393
+ testnet: false;
1394
+ custom?: Record<string, unknown> | undefined;
1395
+ fees?: viem.ChainFees<undefined> | undefined;
1396
+ formatters?: undefined;
1397
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1398
+ };
1399
+ 534351: {
1400
+ blockExplorers: {
1401
+ readonly default: {
1402
+ readonly name: "Scrollscan";
1403
+ readonly url: "https://sepolia.scrollscan.com";
1404
+ readonly apiUrl: "https://api-sepolia.scrollscan.com/api";
1405
+ };
1406
+ };
1407
+ contracts: {
1408
+ readonly multicall3: {
1409
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1410
+ readonly blockCreated: 9473;
1411
+ };
1412
+ };
1413
+ id: 534351;
1414
+ name: "Scroll Sepolia";
1415
+ nativeCurrency: {
1416
+ readonly name: "Ether";
1417
+ readonly symbol: "ETH";
1418
+ readonly decimals: 18;
1419
+ };
1420
+ rpcUrls: {
1421
+ readonly default: {
1422
+ readonly http: readonly ["https://sepolia-rpc.scroll.io"];
1423
+ };
1424
+ };
1425
+ sourceId?: number | undefined;
1426
+ testnet: true;
1427
+ custom?: Record<string, unknown> | undefined;
1428
+ fees?: viem.ChainFees<undefined> | undefined;
1429
+ formatters?: undefined;
1430
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1431
+ };
1432
+ 146: {
1433
+ blockExplorers: {
1434
+ readonly default: {
1435
+ readonly name: "Sonic Explorer";
1436
+ readonly url: "https://sonicscan.org/";
1437
+ };
1438
+ };
1439
+ contracts: {
1440
+ readonly multicall3: {
1441
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1442
+ readonly blockCreated: 60;
1443
+ };
1444
+ };
1445
+ id: 146;
1446
+ name: "Sonic";
1447
+ nativeCurrency: {
1448
+ readonly decimals: 18;
1449
+ readonly name: "Sonic";
1450
+ readonly symbol: "S";
1451
+ };
1452
+ rpcUrls: {
1453
+ readonly default: {
1454
+ readonly http: readonly ["https://rpc.soniclabs.com"];
1455
+ };
1456
+ };
1457
+ sourceId?: number | undefined;
1458
+ testnet: false;
1459
+ custom?: Record<string, unknown> | undefined;
1460
+ fees?: viem.ChainFees<undefined> | undefined;
1461
+ formatters?: undefined;
1462
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1463
+ };
1464
+ 5000: {
1465
+ blockExplorers: {
1466
+ readonly default: {
1467
+ readonly name: "Mantle Explorer";
1468
+ readonly url: "https://mantlescan.xyz/";
1469
+ readonly apiUrl: "https://api.mantlescan.xyz/api";
1470
+ };
1471
+ };
1472
+ contracts: {
1473
+ readonly multicall3: {
1474
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
1475
+ readonly blockCreated: 304717;
1476
+ };
1477
+ };
1478
+ id: 5000;
1479
+ name: "Mantle";
1480
+ nativeCurrency: {
1481
+ readonly decimals: 18;
1482
+ readonly name: "MNT";
1483
+ readonly symbol: "MNT";
1484
+ };
1485
+ rpcUrls: {
1486
+ readonly default: {
1487
+ readonly http: readonly ["https://rpc.mantle.xyz"];
1488
+ };
1489
+ };
1490
+ sourceId?: number | undefined;
1491
+ testnet?: boolean | undefined;
1492
+ custom?: Record<string, unknown> | undefined;
1493
+ fees?: viem.ChainFees<undefined> | undefined;
1494
+ formatters?: undefined;
1495
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1496
+ };
1497
+ 1088: {
1498
+ blockExplorers: {
1499
+ readonly default: {
1500
+ readonly name: "Metis Explorer";
1501
+ readonly url: "https://explorer.metis.io";
1502
+ readonly apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan/api";
1503
+ };
1504
+ };
1505
+ contracts: {
1506
+ readonly multicall3: {
1507
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1508
+ readonly blockCreated: 2338552;
1509
+ };
1510
+ };
1511
+ id: 1088;
1512
+ name: "Metis";
1513
+ nativeCurrency: {
1514
+ readonly decimals: 18;
1515
+ readonly name: "Metis";
1516
+ readonly symbol: "METIS";
1517
+ };
1518
+ rpcUrls: {
1519
+ readonly default: {
1520
+ 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"];
1521
+ };
1522
+ };
1523
+ sourceId?: number | undefined;
1524
+ testnet?: boolean | undefined;
1525
+ custom?: Record<string, unknown> | undefined;
1526
+ fees?: viem.ChainFees<undefined> | undefined;
1527
+ formatters?: undefined;
1528
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1529
+ };
1530
+ 8453: {
1531
+ blockExplorers: {
1532
+ readonly default: {
1533
+ readonly name: "Basescan";
1534
+ readonly url: "https://basescan.org";
1535
+ readonly apiUrl: "https://api.basescan.org/api";
1536
+ };
1537
+ };
1538
+ contracts: {
1539
+ readonly disputeGameFactory: {
1540
+ readonly 1: {
1541
+ readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
1542
+ };
1543
+ };
1544
+ readonly l2OutputOracle: {
1545
+ readonly 1: {
1546
+ readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
1547
+ };
1548
+ };
1549
+ readonly multicall3: {
1550
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1551
+ readonly blockCreated: 5022;
1552
+ };
1553
+ readonly portal: {
1554
+ readonly 1: {
1555
+ readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
1556
+ readonly blockCreated: 17482143;
1557
+ };
1558
+ };
1559
+ readonly l1StandardBridge: {
1560
+ readonly 1: {
1561
+ readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
1562
+ readonly blockCreated: 17482143;
1563
+ };
1564
+ };
1565
+ readonly gasPriceOracle: {
1566
+ readonly address: "0x420000000000000000000000000000000000000F";
1567
+ };
1568
+ readonly l1Block: {
1569
+ readonly address: "0x4200000000000000000000000000000000000015";
1570
+ };
1571
+ readonly l2CrossDomainMessenger: {
1572
+ readonly address: "0x4200000000000000000000000000000000000007";
1573
+ };
1574
+ readonly l2Erc721Bridge: {
1575
+ readonly address: "0x4200000000000000000000000000000000000014";
1576
+ };
1577
+ readonly l2StandardBridge: {
1578
+ readonly address: "0x4200000000000000000000000000000000000010";
1579
+ };
1580
+ readonly l2ToL1MessagePasser: {
1581
+ readonly address: "0x4200000000000000000000000000000000000016";
1582
+ };
1583
+ };
1584
+ id: 8453;
1585
+ name: "Base";
1586
+ nativeCurrency: {
1587
+ readonly name: "Ether";
1588
+ readonly symbol: "ETH";
1589
+ readonly decimals: 18;
1590
+ };
1591
+ rpcUrls: {
1592
+ readonly default: {
1593
+ readonly http: readonly ["https://mainnet.base.org"];
1594
+ };
1595
+ };
1596
+ sourceId: 1;
1597
+ testnet?: boolean | undefined;
1598
+ custom?: Record<string, unknown> | undefined;
1599
+ fees?: viem.ChainFees<undefined> | undefined;
1600
+ formatters: {
1601
+ readonly block: {
1602
+ exclude: [] | undefined;
1603
+ format: (args: viem_chains.OpStackRpcBlock) => {
1604
+ baseFeePerGas: bigint | null;
1605
+ blobGasUsed: bigint;
1606
+ difficulty: bigint;
1607
+ excessBlobGas: bigint;
1608
+ extraData: viem.Hex;
1609
+ gasLimit: bigint;
1610
+ gasUsed: bigint;
1611
+ hash: `0x${string}` | null;
1612
+ logsBloom: `0x${string}` | null;
1613
+ miner: viem.Address;
1614
+ mixHash: viem.Hash;
1615
+ nonce: `0x${string}` | null;
1616
+ number: bigint | null;
1617
+ parentBeaconBlockRoot?: viem.Hex | undefined;
1618
+ parentHash: viem.Hash;
1619
+ receiptsRoot: viem.Hex;
1620
+ sealFields: viem.Hex[];
1621
+ sha3Uncles: viem.Hash;
1622
+ size: bigint;
1623
+ stateRoot: viem.Hash;
1624
+ timestamp: bigint;
1625
+ totalDifficulty: bigint | null;
1626
+ transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
1627
+ transactionsRoot: viem.Hash;
1628
+ uncles: viem.Hash[];
1629
+ withdrawals?: viem.Withdrawal[] | undefined;
1630
+ withdrawalsRoot?: viem.Hex | undefined;
1631
+ } & {};
1632
+ type: "block";
1633
+ };
1634
+ readonly transaction: {
1635
+ exclude: [] | undefined;
1636
+ format: (args: viem_chains.OpStackRpcTransaction) => ({
1637
+ blockHash: `0x${string}` | null;
1638
+ blockNumber: bigint | null;
1639
+ from: viem.Address;
1640
+ gas: bigint;
1641
+ hash: viem.Hash;
1642
+ input: viem.Hex;
1643
+ nonce: number;
1644
+ r: viem.Hex;
1645
+ s: viem.Hex;
1646
+ to: viem.Address | null;
1647
+ transactionIndex: number | null;
1648
+ typeHex: viem.Hex | null;
1649
+ v: bigint;
1650
+ value: bigint;
1651
+ yParity: number;
1652
+ gasPrice?: undefined;
1653
+ maxFeePerBlobGas?: undefined;
1654
+ maxFeePerGas: bigint;
1655
+ maxPriorityFeePerGas: bigint;
1656
+ isSystemTx?: boolean;
1657
+ mint?: bigint | undefined;
1658
+ sourceHash: viem.Hex;
1659
+ type: "deposit";
1660
+ } | {
1661
+ r: viem.Hex;
1662
+ s: viem.Hex;
1663
+ v: bigint;
1664
+ to: viem.Address | null;
1665
+ from: viem.Address;
1666
+ gas: bigint;
1667
+ nonce: number;
1668
+ value: bigint;
1669
+ blockHash: `0x${string}` | null;
1670
+ blockNumber: bigint | null;
1671
+ hash: viem.Hash;
1672
+ input: viem.Hex;
1673
+ transactionIndex: number | null;
1674
+ typeHex: viem.Hex | null;
1675
+ accessList?: undefined;
1676
+ authorizationList?: undefined;
1677
+ blobVersionedHashes?: undefined;
1678
+ chainId?: number | undefined;
1679
+ yParity?: undefined;
1680
+ type: "legacy";
1681
+ gasPrice: bigint;
1682
+ maxFeePerBlobGas?: undefined;
1683
+ maxFeePerGas?: undefined;
1684
+ maxPriorityFeePerGas?: undefined;
1685
+ isSystemTx?: undefined;
1686
+ mint?: undefined;
1687
+ sourceHash?: undefined;
1688
+ } | {
1689
+ blockHash: `0x${string}` | null;
1690
+ blockNumber: bigint | null;
1691
+ from: viem.Address;
1692
+ gas: bigint;
1693
+ hash: viem.Hash;
1694
+ input: viem.Hex;
1695
+ nonce: number;
1696
+ r: viem.Hex;
1697
+ s: viem.Hex;
1698
+ to: viem.Address | null;
1699
+ transactionIndex: number | null;
1700
+ typeHex: viem.Hex | null;
1701
+ v: bigint;
1702
+ value: bigint;
1703
+ yParity: number;
1704
+ accessList: viem.AccessList;
1705
+ authorizationList?: undefined;
1706
+ blobVersionedHashes?: undefined;
1707
+ chainId: number;
1708
+ type: "eip2930";
1709
+ gasPrice: bigint;
1710
+ maxFeePerBlobGas?: undefined;
1711
+ maxFeePerGas?: undefined;
1712
+ maxPriorityFeePerGas?: undefined;
1713
+ isSystemTx?: undefined;
1714
+ mint?: undefined;
1715
+ sourceHash?: undefined;
1716
+ } | {
1717
+ blockHash: `0x${string}` | null;
1718
+ blockNumber: bigint | null;
1719
+ from: viem.Address;
1720
+ gas: bigint;
1721
+ hash: viem.Hash;
1722
+ input: viem.Hex;
1723
+ nonce: number;
1724
+ r: viem.Hex;
1725
+ s: viem.Hex;
1726
+ to: viem.Address | null;
1727
+ transactionIndex: number | null;
1728
+ typeHex: viem.Hex | null;
1729
+ v: bigint;
1730
+ value: bigint;
1731
+ yParity: number;
1732
+ accessList: viem.AccessList;
1733
+ authorizationList?: undefined;
1734
+ blobVersionedHashes?: undefined;
1735
+ chainId: number;
1736
+ type: "eip1559";
1737
+ gasPrice?: undefined;
1738
+ maxFeePerBlobGas?: undefined;
1739
+ maxFeePerGas: bigint;
1740
+ maxPriorityFeePerGas: bigint;
1741
+ isSystemTx?: undefined;
1742
+ mint?: undefined;
1743
+ sourceHash?: undefined;
1744
+ } | {
1745
+ blockHash: `0x${string}` | null;
1746
+ blockNumber: bigint | null;
1747
+ from: viem.Address;
1748
+ gas: bigint;
1749
+ hash: viem.Hash;
1750
+ input: viem.Hex;
1751
+ nonce: number;
1752
+ r: viem.Hex;
1753
+ s: viem.Hex;
1754
+ to: viem.Address | null;
1755
+ transactionIndex: number | null;
1756
+ typeHex: viem.Hex | null;
1757
+ v: bigint;
1758
+ value: bigint;
1759
+ yParity: number;
1760
+ accessList: viem.AccessList;
1761
+ authorizationList?: undefined;
1762
+ blobVersionedHashes: readonly viem.Hex[];
1763
+ chainId: number;
1764
+ type: "eip4844";
1765
+ gasPrice?: undefined;
1766
+ maxFeePerBlobGas: bigint;
1767
+ maxFeePerGas: bigint;
1768
+ maxPriorityFeePerGas: bigint;
1769
+ isSystemTx?: undefined;
1770
+ mint?: undefined;
1771
+ sourceHash?: undefined;
1772
+ } | {
1773
+ blockHash: `0x${string}` | null;
1774
+ blockNumber: bigint | null;
1775
+ from: viem.Address;
1776
+ gas: bigint;
1777
+ hash: viem.Hash;
1778
+ input: viem.Hex;
1779
+ nonce: number;
1780
+ r: viem.Hex;
1781
+ s: viem.Hex;
1782
+ to: viem.Address | null;
1783
+ transactionIndex: number | null;
1784
+ typeHex: viem.Hex | null;
1785
+ v: bigint;
1786
+ value: bigint;
1787
+ yParity: number;
1788
+ accessList: viem.AccessList;
1789
+ authorizationList: viem_experimental.SignedAuthorizationList;
1790
+ blobVersionedHashes?: undefined;
1791
+ chainId: number;
1792
+ type: "eip7702";
1793
+ gasPrice?: undefined;
1794
+ maxFeePerBlobGas?: undefined;
1795
+ maxFeePerGas: bigint;
1796
+ maxPriorityFeePerGas: bigint;
1797
+ isSystemTx?: undefined;
1798
+ mint?: undefined;
1799
+ sourceHash?: undefined;
1800
+ }) & {};
1801
+ type: "transaction";
1802
+ };
1803
+ readonly transactionReceipt: {
1804
+ exclude: [] | undefined;
1805
+ format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
1806
+ blobGasPrice?: bigint | undefined;
1807
+ blobGasUsed?: bigint | undefined;
1808
+ blockHash: viem.Hash;
1809
+ blockNumber: bigint;
1810
+ contractAddress: viem.Address | null | undefined;
1811
+ cumulativeGasUsed: bigint;
1812
+ effectiveGasPrice: bigint;
1813
+ from: viem.Address;
1814
+ gasUsed: bigint;
1815
+ logs: viem.Log<bigint, number, false>[];
1816
+ logsBloom: viem.Hex;
1817
+ root?: viem.Hash | undefined;
1818
+ status: "success" | "reverted";
1819
+ to: viem.Address | null;
1820
+ transactionHash: viem.Hash;
1821
+ transactionIndex: number;
1822
+ type: viem.TransactionType;
1823
+ l1GasPrice: bigint | null;
1824
+ l1GasUsed: bigint | null;
1825
+ l1Fee: bigint | null;
1826
+ l1FeeScalar: number | null;
1827
+ } & {};
1828
+ type: "transactionReceipt";
1829
+ };
1830
+ };
1831
+ serializers: {
1832
+ readonly transaction: typeof viem_chains.serializeTransactionOpStack;
1833
+ };
1834
+ };
1835
+ 84532: {
1836
+ blockExplorers: {
1837
+ readonly default: {
1838
+ readonly name: "Basescan";
1839
+ readonly url: "https://sepolia.basescan.org";
1840
+ readonly apiUrl: "https://api-sepolia.basescan.org/api";
1841
+ };
1842
+ };
1843
+ contracts: {
1844
+ readonly disputeGameFactory: {
1845
+ readonly 11155111: {
1846
+ readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
1847
+ };
1848
+ };
1849
+ readonly l2OutputOracle: {
1850
+ readonly 11155111: {
1851
+ readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
1852
+ };
1853
+ };
1854
+ readonly portal: {
1855
+ readonly 11155111: {
1856
+ readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
1857
+ readonly blockCreated: 4446677;
1858
+ };
1859
+ };
1860
+ readonly l1StandardBridge: {
1861
+ readonly 11155111: {
1862
+ readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
1863
+ readonly blockCreated: 4446677;
1864
+ };
1865
+ };
1866
+ readonly multicall3: {
1867
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1868
+ readonly blockCreated: 1059647;
1869
+ };
1870
+ readonly gasPriceOracle: {
1871
+ readonly address: "0x420000000000000000000000000000000000000F";
1872
+ };
1873
+ readonly l1Block: {
1874
+ readonly address: "0x4200000000000000000000000000000000000015";
1875
+ };
1876
+ readonly l2CrossDomainMessenger: {
1877
+ readonly address: "0x4200000000000000000000000000000000000007";
1878
+ };
1879
+ readonly l2Erc721Bridge: {
1880
+ readonly address: "0x4200000000000000000000000000000000000014";
1881
+ };
1882
+ readonly l2StandardBridge: {
1883
+ readonly address: "0x4200000000000000000000000000000000000010";
1884
+ };
1885
+ readonly l2ToL1MessagePasser: {
1886
+ readonly address: "0x4200000000000000000000000000000000000016";
1887
+ };
1888
+ };
1889
+ id: 84532;
1890
+ name: "Base Sepolia";
1891
+ nativeCurrency: {
1892
+ readonly name: "Sepolia Ether";
1893
+ readonly symbol: "ETH";
1894
+ readonly decimals: 18;
1895
+ };
1896
+ rpcUrls: {
1897
+ readonly default: {
1898
+ readonly http: readonly ["https://sepolia.base.org"];
1899
+ };
1900
+ };
1901
+ sourceId: 11155111;
1902
+ testnet: true;
1903
+ custom?: Record<string, unknown> | undefined;
1904
+ fees?: viem.ChainFees<undefined> | undefined;
1905
+ formatters: {
1906
+ readonly block: {
1907
+ exclude: [] | undefined;
1908
+ format: (args: viem_chains.OpStackRpcBlock) => {
1909
+ baseFeePerGas: bigint | null;
1910
+ blobGasUsed: bigint;
1911
+ difficulty: bigint;
1912
+ excessBlobGas: bigint;
1913
+ extraData: viem.Hex;
1914
+ gasLimit: bigint;
1915
+ gasUsed: bigint;
1916
+ hash: `0x${string}` | null;
1917
+ logsBloom: `0x${string}` | null;
1918
+ miner: viem.Address;
1919
+ mixHash: viem.Hash;
1920
+ nonce: `0x${string}` | null;
1921
+ number: bigint | null;
1922
+ parentBeaconBlockRoot?: viem.Hex | undefined;
1923
+ parentHash: viem.Hash;
1924
+ receiptsRoot: viem.Hex;
1925
+ sealFields: viem.Hex[];
1926
+ sha3Uncles: viem.Hash;
1927
+ size: bigint;
1928
+ stateRoot: viem.Hash;
1929
+ timestamp: bigint;
1930
+ totalDifficulty: bigint | null;
1931
+ transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
1932
+ transactionsRoot: viem.Hash;
1933
+ uncles: viem.Hash[];
1934
+ withdrawals?: viem.Withdrawal[] | undefined;
1935
+ withdrawalsRoot?: viem.Hex | undefined;
1936
+ } & {};
1937
+ type: "block";
1938
+ };
1939
+ readonly transaction: {
1940
+ exclude: [] | undefined;
1941
+ format: (args: viem_chains.OpStackRpcTransaction) => ({
1942
+ blockHash: `0x${string}` | null;
1943
+ blockNumber: bigint | null;
1944
+ from: viem.Address;
1945
+ gas: bigint;
1946
+ hash: viem.Hash;
1947
+ input: viem.Hex;
1948
+ nonce: number;
1949
+ r: viem.Hex;
1950
+ s: viem.Hex;
1951
+ to: viem.Address | null;
1952
+ transactionIndex: number | null;
1953
+ typeHex: viem.Hex | null;
1954
+ v: bigint;
1955
+ value: bigint;
1956
+ yParity: number;
1957
+ gasPrice?: undefined;
1958
+ maxFeePerBlobGas?: undefined;
1959
+ maxFeePerGas: bigint;
1960
+ maxPriorityFeePerGas: bigint;
1961
+ isSystemTx?: boolean;
1962
+ mint?: bigint | undefined;
1963
+ sourceHash: viem.Hex;
1964
+ type: "deposit";
1965
+ } | {
1966
+ r: viem.Hex;
1967
+ s: viem.Hex;
1968
+ v: bigint;
1969
+ to: viem.Address | null;
1970
+ from: viem.Address;
1971
+ gas: bigint;
1972
+ nonce: number;
1973
+ value: bigint;
1974
+ blockHash: `0x${string}` | null;
1975
+ blockNumber: bigint | null;
1976
+ hash: viem.Hash;
1977
+ input: viem.Hex;
1978
+ transactionIndex: number | null;
1979
+ typeHex: viem.Hex | null;
1980
+ accessList?: undefined;
1981
+ authorizationList?: undefined;
1982
+ blobVersionedHashes?: undefined;
1983
+ chainId?: number | undefined;
1984
+ yParity?: undefined;
1985
+ type: "legacy";
1986
+ gasPrice: bigint;
1987
+ maxFeePerBlobGas?: undefined;
1988
+ maxFeePerGas?: undefined;
1989
+ maxPriorityFeePerGas?: undefined;
1990
+ isSystemTx?: undefined;
1991
+ mint?: undefined;
1992
+ sourceHash?: undefined;
1993
+ } | {
1994
+ blockHash: `0x${string}` | null;
1995
+ blockNumber: bigint | null;
1996
+ from: viem.Address;
1997
+ gas: bigint;
1998
+ hash: viem.Hash;
1999
+ input: viem.Hex;
2000
+ nonce: number;
2001
+ r: viem.Hex;
2002
+ s: viem.Hex;
2003
+ to: viem.Address | null;
2004
+ transactionIndex: number | null;
2005
+ typeHex: viem.Hex | null;
2006
+ v: bigint;
2007
+ value: bigint;
2008
+ yParity: number;
2009
+ accessList: viem.AccessList;
2010
+ authorizationList?: undefined;
2011
+ blobVersionedHashes?: undefined;
2012
+ chainId: number;
2013
+ type: "eip2930";
2014
+ gasPrice: bigint;
2015
+ maxFeePerBlobGas?: undefined;
2016
+ maxFeePerGas?: undefined;
2017
+ maxPriorityFeePerGas?: undefined;
2018
+ isSystemTx?: undefined;
2019
+ mint?: undefined;
2020
+ sourceHash?: undefined;
2021
+ } | {
2022
+ blockHash: `0x${string}` | null;
2023
+ blockNumber: bigint | null;
2024
+ from: viem.Address;
2025
+ gas: bigint;
2026
+ hash: viem.Hash;
2027
+ input: viem.Hex;
2028
+ nonce: number;
2029
+ r: viem.Hex;
2030
+ s: viem.Hex;
2031
+ to: viem.Address | null;
2032
+ transactionIndex: number | null;
2033
+ typeHex: viem.Hex | null;
2034
+ v: bigint;
2035
+ value: bigint;
2036
+ yParity: number;
2037
+ accessList: viem.AccessList;
2038
+ authorizationList?: undefined;
2039
+ blobVersionedHashes?: undefined;
2040
+ chainId: number;
2041
+ type: "eip1559";
2042
+ gasPrice?: undefined;
2043
+ maxFeePerBlobGas?: undefined;
2044
+ maxFeePerGas: bigint;
2045
+ maxPriorityFeePerGas: bigint;
2046
+ isSystemTx?: undefined;
2047
+ mint?: undefined;
2048
+ sourceHash?: undefined;
2049
+ } | {
2050
+ blockHash: `0x${string}` | null;
2051
+ blockNumber: bigint | null;
2052
+ from: viem.Address;
2053
+ gas: bigint;
2054
+ hash: viem.Hash;
2055
+ input: viem.Hex;
2056
+ nonce: number;
2057
+ r: viem.Hex;
2058
+ s: viem.Hex;
2059
+ to: viem.Address | null;
2060
+ transactionIndex: number | null;
2061
+ typeHex: viem.Hex | null;
2062
+ v: bigint;
2063
+ value: bigint;
2064
+ yParity: number;
2065
+ accessList: viem.AccessList;
2066
+ authorizationList?: undefined;
2067
+ blobVersionedHashes: readonly viem.Hex[];
2068
+ chainId: number;
2069
+ type: "eip4844";
2070
+ gasPrice?: undefined;
2071
+ maxFeePerBlobGas: bigint;
2072
+ maxFeePerGas: bigint;
2073
+ maxPriorityFeePerGas: bigint;
2074
+ isSystemTx?: undefined;
2075
+ mint?: undefined;
2076
+ sourceHash?: undefined;
2077
+ } | {
2078
+ blockHash: `0x${string}` | null;
2079
+ blockNumber: bigint | null;
2080
+ from: viem.Address;
2081
+ gas: bigint;
2082
+ hash: viem.Hash;
2083
+ input: viem.Hex;
2084
+ nonce: number;
2085
+ r: viem.Hex;
2086
+ s: viem.Hex;
2087
+ to: viem.Address | null;
2088
+ transactionIndex: number | null;
2089
+ typeHex: viem.Hex | null;
2090
+ v: bigint;
2091
+ value: bigint;
2092
+ yParity: number;
2093
+ accessList: viem.AccessList;
2094
+ authorizationList: viem_experimental.SignedAuthorizationList;
2095
+ blobVersionedHashes?: undefined;
2096
+ chainId: number;
2097
+ type: "eip7702";
2098
+ gasPrice?: undefined;
2099
+ maxFeePerBlobGas?: undefined;
2100
+ maxFeePerGas: bigint;
2101
+ maxPriorityFeePerGas: bigint;
2102
+ isSystemTx?: undefined;
2103
+ mint?: undefined;
2104
+ sourceHash?: undefined;
2105
+ }) & {};
2106
+ type: "transaction";
2107
+ };
2108
+ readonly transactionReceipt: {
2109
+ exclude: [] | undefined;
2110
+ format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
2111
+ blobGasPrice?: bigint | undefined;
2112
+ blobGasUsed?: bigint | undefined;
2113
+ blockHash: viem.Hash;
2114
+ blockNumber: bigint;
2115
+ contractAddress: viem.Address | null | undefined;
2116
+ cumulativeGasUsed: bigint;
2117
+ effectiveGasPrice: bigint;
2118
+ from: viem.Address;
2119
+ gasUsed: bigint;
2120
+ logs: viem.Log<bigint, number, false>[];
2121
+ logsBloom: viem.Hex;
2122
+ root?: viem.Hash | undefined;
2123
+ status: "success" | "reverted";
2124
+ to: viem.Address | null;
2125
+ transactionHash: viem.Hash;
2126
+ transactionIndex: number;
2127
+ type: viem.TransactionType;
2128
+ l1GasPrice: bigint | null;
2129
+ l1GasUsed: bigint | null;
2130
+ l1Fee: bigint | null;
2131
+ l1FeeScalar: number | null;
2132
+ } & {};
2133
+ type: "transactionReceipt";
2134
+ };
2135
+ };
2136
+ serializers: {
2137
+ readonly transaction: typeof viem_chains.serializeTransactionOpStack;
2138
+ };
2139
+ readonly network: "base-sepolia";
2140
+ };
2141
+ 56: {
2142
+ blockExplorers: {
2143
+ readonly default: {
2144
+ readonly name: "BscScan";
2145
+ readonly url: "https://bscscan.com";
2146
+ readonly apiUrl: "https://api.bscscan.com/api";
2147
+ };
2148
+ };
2149
+ contracts: {
2150
+ readonly multicall3: {
2151
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2152
+ readonly blockCreated: 15921452;
2153
+ };
2154
+ };
2155
+ id: 56;
2156
+ name: "BNB Smart Chain";
2157
+ nativeCurrency: {
2158
+ readonly decimals: 18;
2159
+ readonly name: "BNB";
2160
+ readonly symbol: "BNB";
2161
+ };
2162
+ rpcUrls: {
2163
+ readonly default: {
2164
+ readonly http: readonly ["https://rpc.ankr.com/bsc"];
2165
+ };
2166
+ };
2167
+ sourceId?: number | undefined;
2168
+ testnet?: boolean | undefined;
2169
+ custom?: Record<string, unknown> | undefined;
2170
+ fees?: viem.ChainFees<undefined> | undefined;
2171
+ formatters?: undefined;
2172
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
2173
+ };
2174
+ 100: {
2175
+ blockExplorers: {
2176
+ readonly default: {
2177
+ readonly name: "Gnosisscan";
2178
+ readonly url: "https://gnosisscan.io";
2179
+ readonly apiUrl: "https://api.gnosisscan.io/api";
2180
+ };
2181
+ };
2182
+ contracts: {
2183
+ readonly multicall3: {
2184
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2185
+ readonly blockCreated: 21022491;
2186
+ };
2187
+ };
2188
+ id: 100;
2189
+ name: "Gnosis";
2190
+ nativeCurrency: {
2191
+ readonly decimals: 18;
2192
+ readonly name: "xDAI";
2193
+ readonly symbol: "XDAI";
2194
+ };
2195
+ rpcUrls: {
2196
+ readonly default: {
2197
+ readonly http: readonly ["https://rpc.gnosischain.com"];
2198
+ readonly webSocket: readonly ["wss://rpc.gnosischain.com/wss"];
2199
+ };
2200
+ };
2201
+ sourceId?: number | undefined;
2202
+ testnet?: boolean | undefined;
2203
+ custom?: Record<string, unknown> | undefined;
2204
+ fees?: viem.ChainFees<undefined> | undefined;
2205
+ formatters?: undefined;
2206
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
2207
+ };
2208
+ 1101: {
2209
+ blockExplorers: {
2210
+ readonly default: {
2211
+ readonly name: "PolygonScan";
2212
+ readonly url: "https://zkevm.polygonscan.com";
2213
+ readonly apiUrl: "https://api-zkevm.polygonscan.com/api";
2214
+ };
2215
+ };
2216
+ contracts: {
2217
+ readonly multicall3: {
2218
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2219
+ readonly blockCreated: 57746;
2220
+ };
2221
+ };
2222
+ id: 1101;
2223
+ name: "Polygon zkEVM";
2224
+ nativeCurrency: {
2225
+ readonly name: "Ether";
2226
+ readonly symbol: "ETH";
2227
+ readonly decimals: 18;
2228
+ };
2229
+ rpcUrls: {
2230
+ readonly default: {
2231
+ readonly http: readonly ["https://zkevm-rpc.com"];
2232
+ };
2233
+ };
2234
+ sourceId?: number | undefined;
2235
+ testnet?: boolean | undefined;
2236
+ custom?: Record<string, unknown> | undefined;
2237
+ fees?: viem.ChainFees<undefined> | undefined;
2238
+ formatters?: undefined;
2239
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
2240
+ };
2241
+ 42220: {
2242
+ blockExplorers: {
2243
+ readonly default: {
2244
+ readonly name: "Celo Explorer";
2245
+ readonly url: "https://celoscan.io";
2246
+ readonly apiUrl: "https://api.celoscan.io/api";
2247
+ };
2248
+ };
2249
+ contracts: {
2250
+ readonly multicall3: {
2251
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
2252
+ readonly blockCreated: 13112599;
2253
+ };
2254
+ };
2255
+ id: 42220;
2256
+ name: "Celo";
2257
+ nativeCurrency: {
2258
+ readonly decimals: 18;
2259
+ readonly name: "CELO";
2260
+ readonly symbol: "CELO";
2261
+ };
2262
+ rpcUrls: {
2263
+ readonly default: {
2264
+ readonly http: readonly ["https://forno.celo.org"];
2265
+ };
2266
+ };
2267
+ sourceId?: number | undefined;
2268
+ testnet: false;
2269
+ custom?: Record<string, unknown> | undefined;
2270
+ fees: viem.ChainFees<{
2271
+ readonly block: {
2272
+ exclude: [] | undefined;
2273
+ format: (args: viem_chains.CeloRpcBlock) => {
2274
+ baseFeePerGas: bigint | null;
2275
+ blobGasUsed: bigint;
2276
+ difficulty: bigint | undefined;
2277
+ excessBlobGas: bigint;
2278
+ extraData: viem.Hex;
2279
+ gasLimit: bigint | undefined;
2280
+ gasUsed: bigint;
2281
+ hash: `0x${string}` | null;
2282
+ logsBloom: `0x${string}` | null;
2283
+ miner: viem.Address;
2284
+ nonce: bigint | null | undefined;
2285
+ number: bigint | null;
2286
+ parentBeaconBlockRoot?: viem.Hex | undefined;
2287
+ parentHash: viem.Hash;
2288
+ receiptsRoot: viem.Hex;
2289
+ sealFields: viem.Hex[];
2290
+ sha3Uncles: viem.Hash;
2291
+ size: bigint;
2292
+ stateRoot: viem.Hash;
2293
+ timestamp: bigint;
2294
+ totalDifficulty: bigint | null;
2295
+ transactions: `0x${string}`[] | viem_chains.CeloTransaction<boolean>[];
2296
+ transactionsRoot: viem.Hash;
2297
+ withdrawals?: viem.Withdrawal[] | undefined;
2298
+ withdrawalsRoot?: viem.Hex | undefined;
2299
+ mixHash?: undefined;
2300
+ randomness?: {
2301
+ committed: viem.Hex;
2302
+ revealed: viem.Hex;
2303
+ } | undefined;
2304
+ uncles?: undefined;
2305
+ } & {};
2306
+ type: "block";
2307
+ };
2308
+ readonly transaction: {
2309
+ exclude: [] | undefined;
2310
+ format: (args: viem_chains.CeloRpcTransaction) => ({
2311
+ r: viem.Hex;
2312
+ s: viem.Hex;
2313
+ v: bigint;
2314
+ to: viem.Address | null;
2315
+ from: viem.Address;
2316
+ gas: bigint;
2317
+ nonce: number;
2318
+ value: bigint;
2319
+ blockHash: `0x${string}` | null;
2320
+ blockNumber: bigint | null;
2321
+ hash: viem.Hash;
2322
+ input: viem.Hex;
2323
+ transactionIndex: number | null;
2324
+ typeHex: viem.Hex | null;
2325
+ accessList?: undefined;
2326
+ authorizationList?: undefined;
2327
+ blobVersionedHashes?: undefined;
2328
+ chainId?: number | undefined;
2329
+ yParity?: undefined;
2330
+ type: "legacy";
2331
+ gasPrice: bigint;
2332
+ maxFeePerBlobGas?: undefined;
2333
+ maxFeePerGas?: undefined;
2334
+ maxPriorityFeePerGas?: undefined;
2335
+ feeCurrency: viem.Address | null;
2336
+ mint?: undefined;
2337
+ isSystemTx?: undefined;
2338
+ sourceHash?: undefined;
2339
+ gatewayFee?: undefined;
2340
+ gatewayFeeRecipient?: undefined;
2341
+ } | {
2342
+ blockHash: `0x${string}` | null;
2343
+ blockNumber: bigint | null;
2344
+ from: viem.Address;
2345
+ gas: bigint;
2346
+ hash: viem.Hash;
2347
+ input: viem.Hex;
2348
+ nonce: number;
2349
+ r: viem.Hex;
2350
+ s: viem.Hex;
2351
+ to: viem.Address | null;
2352
+ transactionIndex: number | null;
2353
+ typeHex: viem.Hex | null;
2354
+ v: bigint;
2355
+ value: bigint;
2356
+ yParity: number;
2357
+ accessList: viem.AccessList;
2358
+ authorizationList?: undefined;
2359
+ blobVersionedHashes?: undefined;
2360
+ chainId: number;
2361
+ type: "eip2930";
2362
+ gasPrice: bigint;
2363
+ maxFeePerBlobGas?: undefined;
2364
+ maxFeePerGas?: undefined;
2365
+ maxPriorityFeePerGas?: undefined;
2366
+ feeCurrency: viem.Address | null;
2367
+ mint?: undefined;
2368
+ isSystemTx?: undefined;
2369
+ sourceHash?: undefined;
2370
+ gatewayFee?: undefined;
2371
+ gatewayFeeRecipient?: undefined;
2372
+ } | {
2373
+ blockHash: `0x${string}` | null;
2374
+ blockNumber: bigint | null;
2375
+ from: viem.Address;
2376
+ gas: bigint;
2377
+ hash: viem.Hash;
2378
+ input: viem.Hex;
2379
+ nonce: number;
2380
+ r: viem.Hex;
2381
+ s: viem.Hex;
2382
+ to: viem.Address | null;
2383
+ transactionIndex: number | null;
2384
+ typeHex: viem.Hex | null;
2385
+ v: bigint;
2386
+ value: bigint;
2387
+ yParity: number;
2388
+ accessList: viem.AccessList;
2389
+ authorizationList?: undefined;
2390
+ blobVersionedHashes?: undefined;
2391
+ chainId: number;
2392
+ type: "eip1559";
2393
+ gasPrice?: undefined;
2394
+ maxFeePerBlobGas?: undefined;
2395
+ maxFeePerGas: bigint;
2396
+ maxPriorityFeePerGas: bigint;
2397
+ feeCurrency: viem.Address | null;
2398
+ mint?: undefined;
2399
+ isSystemTx?: undefined;
2400
+ sourceHash?: undefined;
2401
+ gatewayFee?: undefined;
2402
+ gatewayFeeRecipient?: undefined;
2403
+ } | {
2404
+ blockHash: `0x${string}` | null;
2405
+ blockNumber: bigint | null;
2406
+ from: viem.Address;
2407
+ gas: bigint;
2408
+ hash: viem.Hash;
2409
+ input: viem.Hex;
2410
+ nonce: number;
2411
+ r: viem.Hex;
2412
+ s: viem.Hex;
2413
+ to: viem.Address | null;
2414
+ transactionIndex: number | null;
2415
+ typeHex: viem.Hex | null;
2416
+ v: bigint;
2417
+ value: bigint;
2418
+ yParity: number;
2419
+ accessList: viem.AccessList;
2420
+ authorizationList?: undefined;
2421
+ blobVersionedHashes: readonly viem.Hex[];
2422
+ chainId: number;
2423
+ type: "eip4844";
2424
+ gasPrice?: undefined;
2425
+ maxFeePerBlobGas: bigint;
2426
+ maxFeePerGas: bigint;
2427
+ maxPriorityFeePerGas: bigint;
2428
+ feeCurrency: viem.Address | null;
2429
+ mint?: undefined;
2430
+ isSystemTx?: undefined;
2431
+ sourceHash?: undefined;
2432
+ gatewayFee?: undefined;
2433
+ gatewayFeeRecipient?: undefined;
2434
+ } | {
2435
+ blockHash: `0x${string}` | null;
2436
+ blockNumber: bigint | null;
2437
+ from: viem.Address;
2438
+ gas: bigint;
2439
+ hash: viem.Hash;
2440
+ input: viem.Hex;
2441
+ nonce: number;
2442
+ r: viem.Hex;
2443
+ s: viem.Hex;
2444
+ to: viem.Address | null;
2445
+ transactionIndex: number | null;
2446
+ typeHex: viem.Hex | null;
2447
+ v: bigint;
2448
+ value: bigint;
2449
+ yParity: number;
2450
+ accessList: viem.AccessList;
2451
+ authorizationList: viem_experimental.SignedAuthorizationList;
2452
+ blobVersionedHashes?: undefined;
2453
+ chainId: number;
2454
+ type: "eip7702";
2455
+ gasPrice?: undefined;
2456
+ maxFeePerBlobGas?: undefined;
2457
+ maxFeePerGas: bigint;
2458
+ maxPriorityFeePerGas: bigint;
2459
+ feeCurrency: viem.Address | null;
2460
+ mint?: undefined;
2461
+ isSystemTx?: undefined;
2462
+ sourceHash?: undefined;
2463
+ gatewayFee?: undefined;
2464
+ gatewayFeeRecipient?: undefined;
2465
+ } | {
2466
+ blockHash: `0x${string}` | null;
2467
+ blockNumber: bigint | null;
2468
+ from: viem.Address;
2469
+ gas: bigint;
2470
+ hash: viem.Hash;
2471
+ input: viem.Hex;
2472
+ nonce: number;
2473
+ r: viem.Hex;
2474
+ s: viem.Hex;
2475
+ to: viem.Address | null;
2476
+ transactionIndex: number | null;
2477
+ typeHex: viem.Hex | null;
2478
+ v: bigint;
2479
+ value: bigint;
2480
+ yParity: number;
2481
+ gasPrice?: undefined;
2482
+ maxFeePerBlobGas?: undefined;
2483
+ maxFeePerGas: bigint;
2484
+ maxPriorityFeePerGas: bigint;
2485
+ accessList: viem.AccessList;
2486
+ chainId: number;
2487
+ feeCurrency: viem.Address | null;
2488
+ gatewayFee: bigint | null;
2489
+ gatewayFeeRecipient: viem.Address | null;
2490
+ type: "cip42";
2491
+ authorizationList?: undefined;
2492
+ blobVersionedHashes?: undefined;
2493
+ mint?: undefined;
2494
+ isSystemTx?: undefined;
2495
+ sourceHash?: undefined;
2496
+ } | {
2497
+ blockHash: `0x${string}` | null;
2498
+ blockNumber: bigint | null;
2499
+ from: viem.Address;
2500
+ gas: bigint;
2501
+ hash: viem.Hash;
2502
+ input: viem.Hex;
2503
+ nonce: number;
2504
+ r: viem.Hex;
2505
+ s: viem.Hex;
2506
+ to: viem.Address | null;
2507
+ transactionIndex: number | null;
2508
+ typeHex: viem.Hex | null;
2509
+ v: bigint;
2510
+ value: bigint;
2511
+ yParity: number;
2512
+ gasPrice?: undefined;
2513
+ maxFeePerBlobGas?: undefined;
2514
+ maxFeePerGas: bigint;
2515
+ maxPriorityFeePerGas: bigint;
2516
+ accessList: viem.AccessList;
2517
+ chainId: number;
2518
+ feeCurrency: viem.Address | null;
2519
+ type: "cip64";
2520
+ authorizationList?: undefined;
2521
+ blobVersionedHashes?: undefined;
2522
+ mint?: undefined;
2523
+ isSystemTx?: undefined;
2524
+ sourceHash?: undefined;
2525
+ gatewayFee?: undefined;
2526
+ gatewayFeeRecipient?: undefined;
2527
+ } | {
2528
+ blockHash: `0x${string}` | null;
2529
+ blockNumber: bigint | null;
2530
+ from: viem.Address;
2531
+ gas: bigint;
2532
+ hash: viem.Hash;
2533
+ input: viem.Hex;
2534
+ nonce: number;
2535
+ r: viem.Hex;
2536
+ s: viem.Hex;
2537
+ to: viem.Address | null;
2538
+ transactionIndex: number | null;
2539
+ typeHex: viem.Hex | null;
2540
+ v: bigint;
2541
+ value: bigint;
2542
+ yParity: number;
2543
+ gasPrice?: undefined;
2544
+ maxFeePerBlobGas?: undefined;
2545
+ maxFeePerGas: bigint;
2546
+ maxPriorityFeePerGas: bigint;
2547
+ isSystemTx?: boolean;
2548
+ mint?: bigint | undefined;
2549
+ sourceHash: viem.Hex;
2550
+ type: "deposit";
2551
+ accessList?: undefined;
2552
+ authorizationList?: undefined;
2553
+ blobVersionedHashes?: undefined;
2554
+ chainId?: undefined;
2555
+ feeCurrency?: undefined;
2556
+ gatewayFee?: undefined;
2557
+ gatewayFeeRecipient?: undefined;
2558
+ }) & {};
2559
+ type: "transaction";
2560
+ };
2561
+ readonly transactionRequest: {
2562
+ exclude: [] | undefined;
2563
+ format: (args: viem_chains.CeloTransactionRequest) => ({
2564
+ data?: viem.Hex | undefined;
2565
+ from?: viem.Address | undefined;
2566
+ gas?: `0x${string}` | undefined;
2567
+ nonce?: `0x${string}` | undefined;
2568
+ to?: viem.Address | null | undefined;
2569
+ type?: "0x0" | undefined;
2570
+ value?: `0x${string}` | undefined;
2571
+ gasPrice?: `0x${string}` | undefined;
2572
+ maxFeePerBlobGas?: undefined;
2573
+ maxFeePerGas?: undefined;
2574
+ maxPriorityFeePerGas?: undefined;
2575
+ blobs?: undefined;
2576
+ accessList?: undefined;
2577
+ authorizationList?: undefined;
2578
+ blobVersionedHashes?: undefined;
2579
+ kzg?: undefined;
2580
+ sidecars?: undefined;
2581
+ feeCurrency?: viem.Address | undefined;
2582
+ } | {
2583
+ data?: viem.Hex | undefined;
2584
+ from?: viem.Address | undefined;
2585
+ gas?: `0x${string}` | undefined;
2586
+ nonce?: `0x${string}` | undefined;
2587
+ to?: viem.Address | null | undefined;
2588
+ type?: "0x1" | undefined;
2589
+ value?: `0x${string}` | undefined;
2590
+ gasPrice?: `0x${string}` | undefined;
2591
+ maxFeePerBlobGas?: undefined;
2592
+ maxFeePerGas?: undefined;
2593
+ maxPriorityFeePerGas?: undefined;
2594
+ accessList?: viem.AccessList | undefined;
2595
+ blobs?: undefined;
2596
+ authorizationList?: undefined;
2597
+ blobVersionedHashes?: undefined;
2598
+ kzg?: undefined;
2599
+ sidecars?: undefined;
2600
+ feeCurrency?: viem.Address | undefined;
2601
+ } | {
2602
+ data?: viem.Hex | undefined;
2603
+ from?: viem.Address | undefined;
2604
+ gas?: `0x${string}` | undefined;
2605
+ nonce?: `0x${string}` | undefined;
2606
+ to?: viem.Address | null | undefined;
2607
+ type?: "0x2" | undefined;
2608
+ value?: `0x${string}` | undefined;
2609
+ gasPrice?: undefined;
2610
+ maxFeePerBlobGas?: undefined;
2611
+ maxFeePerGas?: `0x${string}` | undefined;
2612
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2613
+ accessList?: viem.AccessList | undefined;
2614
+ blobs?: undefined;
2615
+ authorizationList?: undefined;
2616
+ blobVersionedHashes?: undefined;
2617
+ kzg?: undefined;
2618
+ sidecars?: undefined;
2619
+ feeCurrency?: viem.Address | undefined;
2620
+ } | {
2621
+ type?: "0x3" | undefined;
2622
+ data?: viem.Hex | undefined;
2623
+ from?: viem.Address | undefined;
2624
+ gas?: `0x${string}` | undefined;
2625
+ nonce?: `0x${string}` | undefined;
2626
+ value?: `0x${string}` | undefined;
2627
+ to: `0x${string}` | null;
2628
+ gasPrice?: undefined;
2629
+ maxFeePerGas?: `0x${string}` | undefined;
2630
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2631
+ maxFeePerBlobGas: `0x${string}`;
2632
+ accessList?: viem.AccessList | undefined;
2633
+ blobs: readonly viem.Hex[] | readonly viem.ByteArray[];
2634
+ blobVersionedHashes?: readonly viem.Hex[] | undefined;
2635
+ kzg?: viem.Kzg | undefined;
2636
+ sidecars?: readonly viem.BlobSidecar<viem.Hex>[] | undefined;
2637
+ authorizationList?: undefined;
2638
+ feeCurrency?: viem.Address | undefined;
2639
+ } | {
2640
+ type?: "0x4" | undefined;
2641
+ gasPrice?: undefined;
2642
+ maxFeePerBlobGas?: undefined;
2643
+ maxFeePerGas?: `0x${string}` | undefined;
2644
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2645
+ to?: viem.Address | null | undefined;
2646
+ data?: viem.Hex | undefined;
2647
+ from?: viem.Address | undefined;
2648
+ gas?: `0x${string}` | undefined;
2649
+ nonce?: `0x${string}` | undefined;
2650
+ value?: `0x${string}` | undefined;
2651
+ accessList?: viem.AccessList | undefined;
2652
+ authorizationList?: viem_experimental.RpcAuthorizationList | undefined;
2653
+ blobs?: undefined;
2654
+ blobVersionedHashes?: undefined;
2655
+ kzg?: undefined;
2656
+ sidecars?: undefined;
2657
+ feeCurrency?: viem.Address | undefined;
2658
+ } | {
2659
+ data?: viem.Hex | undefined;
2660
+ from?: viem.Address | undefined;
2661
+ gas?: `0x${string}` | undefined;
2662
+ nonce?: `0x${string}` | undefined;
2663
+ to?: viem.Address | null | undefined;
2664
+ type?: "0x7b" | undefined;
2665
+ value?: `0x${string}` | undefined;
2666
+ accessList?: viem.AccessList | undefined;
2667
+ feeCurrency?: viem.Address | undefined;
2668
+ gasPrice?: undefined;
2669
+ maxFeePerBlobGas?: undefined;
2670
+ maxFeePerGas?: `0x${string}` | undefined;
2671
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2672
+ blobs?: undefined;
2673
+ authorizationList?: undefined;
2674
+ blobVersionedHashes?: undefined;
2675
+ kzg?: undefined;
2676
+ sidecars?: undefined;
2677
+ }) & {};
2678
+ type: "transactionRequest";
2679
+ };
2680
+ }>;
2681
+ formatters: {
2682
+ readonly block: {
2683
+ exclude: [] | undefined;
2684
+ format: (args: viem_chains.CeloRpcBlock) => {
2685
+ baseFeePerGas: bigint | null;
2686
+ blobGasUsed: bigint;
2687
+ difficulty: bigint | undefined;
2688
+ excessBlobGas: bigint;
2689
+ extraData: viem.Hex;
2690
+ gasLimit: bigint | undefined;
2691
+ gasUsed: bigint;
2692
+ hash: `0x${string}` | null;
2693
+ logsBloom: `0x${string}` | null;
2694
+ miner: viem.Address;
2695
+ nonce: bigint | null | undefined;
2696
+ number: bigint | null;
2697
+ parentBeaconBlockRoot?: viem.Hex | undefined;
2698
+ parentHash: viem.Hash;
2699
+ receiptsRoot: viem.Hex;
2700
+ sealFields: viem.Hex[];
2701
+ sha3Uncles: viem.Hash;
2702
+ size: bigint;
2703
+ stateRoot: viem.Hash;
2704
+ timestamp: bigint;
2705
+ totalDifficulty: bigint | null;
2706
+ transactions: `0x${string}`[] | viem_chains.CeloTransaction<boolean>[];
2707
+ transactionsRoot: viem.Hash;
2708
+ withdrawals?: viem.Withdrawal[] | undefined;
2709
+ withdrawalsRoot?: viem.Hex | undefined;
2710
+ mixHash?: undefined;
2711
+ randomness?: {
2712
+ committed: viem.Hex;
2713
+ revealed: viem.Hex;
2714
+ } | undefined;
2715
+ uncles?: undefined;
2716
+ } & {};
2717
+ type: "block";
2718
+ };
2719
+ readonly transaction: {
2720
+ exclude: [] | undefined;
2721
+ format: (args: viem_chains.CeloRpcTransaction) => ({
2722
+ r: viem.Hex;
2723
+ s: viem.Hex;
2724
+ v: bigint;
2725
+ to: viem.Address | null;
2726
+ from: viem.Address;
2727
+ gas: bigint;
2728
+ nonce: number;
2729
+ value: bigint;
2730
+ blockHash: `0x${string}` | null;
2731
+ blockNumber: bigint | null;
2732
+ hash: viem.Hash;
2733
+ input: viem.Hex;
2734
+ transactionIndex: number | null;
2735
+ typeHex: viem.Hex | null;
2736
+ accessList?: undefined;
2737
+ authorizationList?: undefined;
2738
+ blobVersionedHashes?: undefined;
2739
+ chainId?: number | undefined;
2740
+ yParity?: undefined;
2741
+ type: "legacy";
2742
+ gasPrice: bigint;
2743
+ maxFeePerBlobGas?: undefined;
2744
+ maxFeePerGas?: undefined;
2745
+ maxPriorityFeePerGas?: undefined;
2746
+ feeCurrency: viem.Address | null;
2747
+ mint?: undefined;
2748
+ isSystemTx?: undefined;
2749
+ sourceHash?: undefined;
2750
+ gatewayFee?: undefined;
2751
+ gatewayFeeRecipient?: undefined;
2752
+ } | {
2753
+ blockHash: `0x${string}` | null;
2754
+ blockNumber: bigint | null;
2755
+ from: viem.Address;
2756
+ gas: bigint;
2757
+ hash: viem.Hash;
2758
+ input: viem.Hex;
2759
+ nonce: number;
2760
+ r: viem.Hex;
2761
+ s: viem.Hex;
2762
+ to: viem.Address | null;
2763
+ transactionIndex: number | null;
2764
+ typeHex: viem.Hex | null;
2765
+ v: bigint;
2766
+ value: bigint;
2767
+ yParity: number;
2768
+ accessList: viem.AccessList;
2769
+ authorizationList?: undefined;
2770
+ blobVersionedHashes?: undefined;
2771
+ chainId: number;
2772
+ type: "eip2930";
2773
+ gasPrice: bigint;
2774
+ maxFeePerBlobGas?: undefined;
2775
+ maxFeePerGas?: undefined;
2776
+ maxPriorityFeePerGas?: undefined;
2777
+ feeCurrency: viem.Address | null;
2778
+ mint?: undefined;
2779
+ isSystemTx?: undefined;
2780
+ sourceHash?: undefined;
2781
+ gatewayFee?: undefined;
2782
+ gatewayFeeRecipient?: undefined;
2783
+ } | {
2784
+ blockHash: `0x${string}` | null;
2785
+ blockNumber: bigint | null;
2786
+ from: viem.Address;
2787
+ gas: bigint;
2788
+ hash: viem.Hash;
2789
+ input: viem.Hex;
2790
+ nonce: number;
2791
+ r: viem.Hex;
2792
+ s: viem.Hex;
2793
+ to: viem.Address | null;
2794
+ transactionIndex: number | null;
2795
+ typeHex: viem.Hex | null;
2796
+ v: bigint;
2797
+ value: bigint;
2798
+ yParity: number;
2799
+ accessList: viem.AccessList;
2800
+ authorizationList?: undefined;
2801
+ blobVersionedHashes?: undefined;
2802
+ chainId: number;
2803
+ type: "eip1559";
2804
+ gasPrice?: undefined;
2805
+ maxFeePerBlobGas?: undefined;
2806
+ maxFeePerGas: bigint;
2807
+ maxPriorityFeePerGas: bigint;
2808
+ feeCurrency: viem.Address | null;
2809
+ mint?: undefined;
2810
+ isSystemTx?: undefined;
2811
+ sourceHash?: undefined;
2812
+ gatewayFee?: undefined;
2813
+ gatewayFeeRecipient?: undefined;
2814
+ } | {
2815
+ blockHash: `0x${string}` | null;
2816
+ blockNumber: bigint | null;
2817
+ from: viem.Address;
2818
+ gas: bigint;
2819
+ hash: viem.Hash;
2820
+ input: viem.Hex;
2821
+ nonce: number;
2822
+ r: viem.Hex;
2823
+ s: viem.Hex;
2824
+ to: viem.Address | null;
2825
+ transactionIndex: number | null;
2826
+ typeHex: viem.Hex | null;
2827
+ v: bigint;
2828
+ value: bigint;
2829
+ yParity: number;
2830
+ accessList: viem.AccessList;
2831
+ authorizationList?: undefined;
2832
+ blobVersionedHashes: readonly viem.Hex[];
2833
+ chainId: number;
2834
+ type: "eip4844";
2835
+ gasPrice?: undefined;
2836
+ maxFeePerBlobGas: bigint;
2837
+ maxFeePerGas: bigint;
2838
+ maxPriorityFeePerGas: bigint;
2839
+ feeCurrency: viem.Address | null;
2840
+ mint?: undefined;
2841
+ isSystemTx?: undefined;
2842
+ sourceHash?: undefined;
2843
+ gatewayFee?: undefined;
2844
+ gatewayFeeRecipient?: undefined;
2845
+ } | {
2846
+ blockHash: `0x${string}` | null;
2847
+ blockNumber: bigint | null;
2848
+ from: viem.Address;
2849
+ gas: bigint;
2850
+ hash: viem.Hash;
2851
+ input: viem.Hex;
2852
+ nonce: number;
2853
+ r: viem.Hex;
2854
+ s: viem.Hex;
2855
+ to: viem.Address | null;
2856
+ transactionIndex: number | null;
2857
+ typeHex: viem.Hex | null;
2858
+ v: bigint;
2859
+ value: bigint;
2860
+ yParity: number;
2861
+ accessList: viem.AccessList;
2862
+ authorizationList: viem_experimental.SignedAuthorizationList;
2863
+ blobVersionedHashes?: undefined;
2864
+ chainId: number;
2865
+ type: "eip7702";
2866
+ gasPrice?: undefined;
2867
+ maxFeePerBlobGas?: undefined;
2868
+ maxFeePerGas: bigint;
2869
+ maxPriorityFeePerGas: bigint;
2870
+ feeCurrency: viem.Address | null;
2871
+ mint?: undefined;
2872
+ isSystemTx?: undefined;
2873
+ sourceHash?: undefined;
2874
+ gatewayFee?: undefined;
2875
+ gatewayFeeRecipient?: undefined;
2876
+ } | {
2877
+ blockHash: `0x${string}` | null;
2878
+ blockNumber: bigint | null;
2879
+ from: viem.Address;
2880
+ gas: bigint;
2881
+ hash: viem.Hash;
2882
+ input: viem.Hex;
2883
+ nonce: number;
2884
+ r: viem.Hex;
2885
+ s: viem.Hex;
2886
+ to: viem.Address | null;
2887
+ transactionIndex: number | null;
2888
+ typeHex: viem.Hex | null;
2889
+ v: bigint;
2890
+ value: bigint;
2891
+ yParity: number;
2892
+ gasPrice?: undefined;
2893
+ maxFeePerBlobGas?: undefined;
2894
+ maxFeePerGas: bigint;
2895
+ maxPriorityFeePerGas: bigint;
2896
+ accessList: viem.AccessList;
2897
+ chainId: number;
2898
+ feeCurrency: viem.Address | null;
2899
+ gatewayFee: bigint | null;
2900
+ gatewayFeeRecipient: viem.Address | null;
2901
+ type: "cip42";
2902
+ authorizationList?: undefined;
2903
+ blobVersionedHashes?: undefined;
2904
+ mint?: undefined;
2905
+ isSystemTx?: undefined;
2906
+ sourceHash?: undefined;
2907
+ } | {
2908
+ blockHash: `0x${string}` | null;
2909
+ blockNumber: bigint | null;
2910
+ from: viem.Address;
2911
+ gas: bigint;
2912
+ hash: viem.Hash;
2913
+ input: viem.Hex;
2914
+ nonce: number;
2915
+ r: viem.Hex;
2916
+ s: viem.Hex;
2917
+ to: viem.Address | null;
2918
+ transactionIndex: number | null;
2919
+ typeHex: viem.Hex | null;
2920
+ v: bigint;
2921
+ value: bigint;
2922
+ yParity: number;
2923
+ gasPrice?: undefined;
2924
+ maxFeePerBlobGas?: undefined;
2925
+ maxFeePerGas: bigint;
2926
+ maxPriorityFeePerGas: bigint;
2927
+ accessList: viem.AccessList;
2928
+ chainId: number;
2929
+ feeCurrency: viem.Address | null;
2930
+ type: "cip64";
2931
+ authorizationList?: undefined;
2932
+ blobVersionedHashes?: undefined;
2933
+ mint?: undefined;
2934
+ isSystemTx?: undefined;
2935
+ sourceHash?: undefined;
2936
+ gatewayFee?: undefined;
2937
+ gatewayFeeRecipient?: undefined;
2938
+ } | {
2939
+ blockHash: `0x${string}` | null;
2940
+ blockNumber: bigint | null;
2941
+ from: viem.Address;
2942
+ gas: bigint;
2943
+ hash: viem.Hash;
2944
+ input: viem.Hex;
2945
+ nonce: number;
2946
+ r: viem.Hex;
2947
+ s: viem.Hex;
2948
+ to: viem.Address | null;
2949
+ transactionIndex: number | null;
2950
+ typeHex: viem.Hex | null;
2951
+ v: bigint;
2952
+ value: bigint;
2953
+ yParity: number;
2954
+ gasPrice?: undefined;
2955
+ maxFeePerBlobGas?: undefined;
2956
+ maxFeePerGas: bigint;
2957
+ maxPriorityFeePerGas: bigint;
2958
+ isSystemTx?: boolean;
2959
+ mint?: bigint | undefined;
2960
+ sourceHash: viem.Hex;
2961
+ type: "deposit";
2962
+ accessList?: undefined;
2963
+ authorizationList?: undefined;
2964
+ blobVersionedHashes?: undefined;
2965
+ chainId?: undefined;
2966
+ feeCurrency?: undefined;
2967
+ gatewayFee?: undefined;
2968
+ gatewayFeeRecipient?: undefined;
2969
+ }) & {};
2970
+ type: "transaction";
2971
+ };
2972
+ readonly transactionRequest: {
2973
+ exclude: [] | undefined;
2974
+ format: (args: viem_chains.CeloTransactionRequest) => ({
2975
+ data?: viem.Hex | undefined;
2976
+ from?: viem.Address | undefined;
2977
+ gas?: `0x${string}` | undefined;
2978
+ nonce?: `0x${string}` | undefined;
2979
+ to?: viem.Address | null | undefined;
2980
+ type?: "0x0" | undefined;
2981
+ value?: `0x${string}` | undefined;
2982
+ gasPrice?: `0x${string}` | undefined;
2983
+ maxFeePerBlobGas?: undefined;
2984
+ maxFeePerGas?: undefined;
2985
+ maxPriorityFeePerGas?: undefined;
2986
+ blobs?: undefined;
2987
+ accessList?: undefined;
2988
+ authorizationList?: undefined;
2989
+ blobVersionedHashes?: undefined;
2990
+ kzg?: undefined;
2991
+ sidecars?: undefined;
2992
+ feeCurrency?: viem.Address | undefined;
2993
+ } | {
2994
+ data?: viem.Hex | undefined;
2995
+ from?: viem.Address | undefined;
2996
+ gas?: `0x${string}` | undefined;
2997
+ nonce?: `0x${string}` | undefined;
2998
+ to?: viem.Address | null | undefined;
2999
+ type?: "0x1" | undefined;
3000
+ value?: `0x${string}` | undefined;
3001
+ gasPrice?: `0x${string}` | undefined;
3002
+ maxFeePerBlobGas?: undefined;
3003
+ maxFeePerGas?: undefined;
3004
+ maxPriorityFeePerGas?: undefined;
3005
+ accessList?: viem.AccessList | undefined;
3006
+ blobs?: undefined;
3007
+ authorizationList?: undefined;
3008
+ blobVersionedHashes?: undefined;
3009
+ kzg?: undefined;
3010
+ sidecars?: undefined;
3011
+ feeCurrency?: viem.Address | undefined;
3012
+ } | {
3013
+ data?: viem.Hex | undefined;
3014
+ from?: viem.Address | undefined;
3015
+ gas?: `0x${string}` | undefined;
3016
+ nonce?: `0x${string}` | undefined;
3017
+ to?: viem.Address | null | undefined;
3018
+ type?: "0x2" | undefined;
3019
+ value?: `0x${string}` | undefined;
3020
+ gasPrice?: undefined;
3021
+ maxFeePerBlobGas?: undefined;
3022
+ maxFeePerGas?: `0x${string}` | undefined;
3023
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
3024
+ accessList?: viem.AccessList | undefined;
3025
+ blobs?: undefined;
3026
+ authorizationList?: undefined;
3027
+ blobVersionedHashes?: undefined;
3028
+ kzg?: undefined;
3029
+ sidecars?: undefined;
3030
+ feeCurrency?: viem.Address | undefined;
3031
+ } | {
3032
+ type?: "0x3" | undefined;
3033
+ data?: viem.Hex | undefined;
3034
+ from?: viem.Address | undefined;
3035
+ gas?: `0x${string}` | undefined;
3036
+ nonce?: `0x${string}` | undefined;
3037
+ value?: `0x${string}` | undefined;
3038
+ to: `0x${string}` | null;
3039
+ gasPrice?: undefined;
3040
+ maxFeePerGas?: `0x${string}` | undefined;
3041
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
3042
+ maxFeePerBlobGas: `0x${string}`;
3043
+ accessList?: viem.AccessList | undefined;
3044
+ blobs: readonly viem.Hex[] | readonly viem.ByteArray[];
3045
+ blobVersionedHashes?: readonly viem.Hex[] | undefined;
3046
+ kzg?: viem.Kzg | undefined;
3047
+ sidecars?: readonly viem.BlobSidecar<viem.Hex>[] | undefined;
3048
+ authorizationList?: undefined;
3049
+ feeCurrency?: viem.Address | undefined;
3050
+ } | {
3051
+ type?: "0x4" | undefined;
3052
+ gasPrice?: undefined;
3053
+ maxFeePerBlobGas?: undefined;
3054
+ maxFeePerGas?: `0x${string}` | undefined;
3055
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
3056
+ to?: viem.Address | null | undefined;
3057
+ data?: viem.Hex | undefined;
3058
+ from?: viem.Address | undefined;
3059
+ gas?: `0x${string}` | undefined;
3060
+ nonce?: `0x${string}` | undefined;
3061
+ value?: `0x${string}` | undefined;
3062
+ accessList?: viem.AccessList | undefined;
3063
+ authorizationList?: viem_experimental.RpcAuthorizationList | undefined;
3064
+ blobs?: undefined;
3065
+ blobVersionedHashes?: undefined;
3066
+ kzg?: undefined;
3067
+ sidecars?: undefined;
3068
+ feeCurrency?: viem.Address | undefined;
3069
+ } | {
3070
+ data?: viem.Hex | undefined;
3071
+ from?: viem.Address | undefined;
3072
+ gas?: `0x${string}` | undefined;
3073
+ nonce?: `0x${string}` | undefined;
3074
+ to?: viem.Address | null | undefined;
3075
+ type?: "0x7b" | undefined;
3076
+ value?: `0x${string}` | undefined;
3077
+ accessList?: viem.AccessList | undefined;
3078
+ feeCurrency?: viem.Address | undefined;
3079
+ gasPrice?: undefined;
3080
+ maxFeePerBlobGas?: undefined;
3081
+ maxFeePerGas?: `0x${string}` | undefined;
3082
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
3083
+ blobs?: undefined;
3084
+ authorizationList?: undefined;
3085
+ blobVersionedHashes?: undefined;
3086
+ kzg?: undefined;
3087
+ sidecars?: undefined;
3088
+ }) & {};
3089
+ type: "transactionRequest";
3090
+ };
3091
+ };
3092
+ serializers: {
3093
+ readonly transaction: typeof viem_chains.serializeTransactionCelo;
3094
+ };
3095
+ };
3096
+ 324: {
3097
+ blockExplorers: {
3098
+ readonly default: {
3099
+ readonly name: "Etherscan";
3100
+ readonly url: "https://era.zksync.network/";
3101
+ readonly apiUrl: "https://api-era.zksync.network/api";
3102
+ };
3103
+ readonly native: {
3104
+ readonly name: "ZKsync Explorer";
3105
+ readonly url: "https://explorer.zksync.io/";
3106
+ readonly apiUrl: "https://block-explorer-api.mainnet.zksync.io/api";
3107
+ };
3108
+ };
3109
+ contracts: {
3110
+ readonly multicall3: {
3111
+ readonly address: "0xF9cda624FBC7e059355ce98a31693d299FACd963";
3112
+ };
3113
+ readonly universalSignatureVerifier: {
3114
+ readonly address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C";
3115
+ readonly blockCreated: 45659388;
3116
+ };
3117
+ };
3118
+ id: 324;
3119
+ name: "ZKsync Era";
3120
+ nativeCurrency: {
3121
+ readonly decimals: 18;
3122
+ readonly name: "Ether";
3123
+ readonly symbol: "ETH";
3124
+ };
3125
+ rpcUrls: {
3126
+ readonly default: {
3127
+ readonly http: readonly ["https://mainnet.era.zksync.io"];
3128
+ readonly webSocket: readonly ["wss://mainnet.era.zksync.io/ws"];
3129
+ };
3130
+ };
3131
+ sourceId?: number | undefined;
3132
+ testnet?: boolean | undefined;
3133
+ custom: {
3134
+ readonly getEip712Domain: viem_zksync.EIP712DomainFn<viem_chains.ZkSyncTransactionSerializable, viem_chains.ZkSyncEIP712TransactionSignable>;
3135
+ };
3136
+ fees?: viem.ChainFees<undefined> | undefined;
3137
+ formatters: {
3138
+ readonly block: {
3139
+ exclude: [] | undefined;
3140
+ format: (args: viem_chains.ZkSyncRpcBlock) => {
3141
+ baseFeePerGas: bigint | null;
3142
+ blobGasUsed: bigint;
3143
+ difficulty: bigint;
3144
+ excessBlobGas: bigint;
3145
+ extraData: viem.Hex;
3146
+ gasLimit: bigint;
3147
+ gasUsed: bigint;
3148
+ hash: `0x${string}` | null;
3149
+ logsBloom: `0x${string}` | null;
3150
+ miner: viem.Address;
3151
+ mixHash: viem.Hash;
3152
+ nonce: `0x${string}` | null;
3153
+ number: bigint | null;
3154
+ parentBeaconBlockRoot?: viem.Hex | undefined;
3155
+ parentHash: viem.Hash;
3156
+ receiptsRoot: viem.Hex;
3157
+ sealFields: viem.Hex[];
3158
+ sha3Uncles: viem.Hash;
3159
+ size: bigint;
3160
+ stateRoot: viem.Hash;
3161
+ timestamp: bigint;
3162
+ totalDifficulty: bigint | null;
3163
+ transactions: `0x${string}`[] | viem_chains.ZkSyncTransaction<boolean>[];
3164
+ transactionsRoot: viem.Hash;
3165
+ uncles: viem.Hash[];
3166
+ withdrawals?: viem.Withdrawal[] | undefined;
3167
+ withdrawalsRoot?: viem.Hex | undefined;
3168
+ l1BatchNumber: bigint | null;
3169
+ l1BatchTimestamp: bigint | null;
3170
+ } & {};
3171
+ type: "block";
3172
+ };
3173
+ readonly transaction: {
3174
+ exclude: [] | undefined;
3175
+ format: (args: viem_chains.ZkSyncRpcTransaction) => ({
3176
+ r: viem.Hex;
3177
+ s: viem.Hex;
3178
+ v: bigint;
3179
+ to: viem.Address | null;
3180
+ from: viem.Address;
3181
+ gas: bigint;
3182
+ nonce: number;
3183
+ value: bigint;
3184
+ blockHash: `0x${string}` | null;
3185
+ blockNumber: bigint | null;
3186
+ hash: viem.Hash;
3187
+ input: viem.Hex;
3188
+ transactionIndex: number | null;
3189
+ typeHex: viem.Hex | null;
3190
+ accessList?: undefined;
3191
+ authorizationList?: undefined;
3192
+ blobVersionedHashes?: undefined;
3193
+ chainId?: number | undefined;
3194
+ yParity?: undefined;
3195
+ type: "legacy";
3196
+ gasPrice: bigint;
3197
+ maxFeePerBlobGas?: undefined;
3198
+ maxFeePerGas?: undefined;
3199
+ maxPriorityFeePerGas?: undefined;
3200
+ l1BatchNumber: bigint | null;
3201
+ l1BatchTxIndex: bigint | null;
3202
+ } | {
3203
+ blockHash: `0x${string}` | null;
3204
+ blockNumber: bigint | null;
3205
+ from: viem.Address;
3206
+ gas: bigint;
3207
+ hash: viem.Hash;
3208
+ input: viem.Hex;
3209
+ nonce: number;
3210
+ r: viem.Hex;
3211
+ s: viem.Hex;
3212
+ to: viem.Address | null;
3213
+ transactionIndex: number | null;
3214
+ typeHex: viem.Hex | null;
3215
+ v: bigint;
3216
+ value: bigint;
3217
+ yParity: number;
3218
+ accessList: viem.AccessList;
3219
+ authorizationList?: undefined;
3220
+ blobVersionedHashes?: undefined;
3221
+ chainId: number;
3222
+ type: "eip2930";
3223
+ gasPrice: bigint;
3224
+ maxFeePerBlobGas?: undefined;
3225
+ maxFeePerGas?: undefined;
3226
+ maxPriorityFeePerGas?: undefined;
3227
+ l1BatchNumber: bigint | null;
3228
+ l1BatchTxIndex: bigint | null;
3229
+ } | {
3230
+ blockHash: `0x${string}` | null;
3231
+ blockNumber: bigint | null;
3232
+ from: viem.Address;
3233
+ gas: bigint;
3234
+ hash: viem.Hash;
3235
+ input: viem.Hex;
3236
+ nonce: number;
3237
+ r: viem.Hex;
3238
+ s: viem.Hex;
3239
+ to: viem.Address | null;
3240
+ transactionIndex: number | null;
3241
+ typeHex: viem.Hex | null;
3242
+ v: bigint;
3243
+ value: bigint;
3244
+ yParity: number;
3245
+ accessList: viem.AccessList;
3246
+ authorizationList?: undefined;
3247
+ blobVersionedHashes?: undefined;
3248
+ chainId: number;
3249
+ type: "eip1559";
3250
+ gasPrice?: undefined;
3251
+ maxFeePerBlobGas?: undefined;
3252
+ maxFeePerGas: bigint;
3253
+ maxPriorityFeePerGas: bigint;
3254
+ l1BatchNumber: bigint | null;
3255
+ l1BatchTxIndex: bigint | null;
3256
+ } | {
3257
+ blockHash: `0x${string}` | null;
3258
+ blockNumber: bigint | null;
3259
+ from: viem.Address;
3260
+ gas: bigint;
3261
+ hash: viem.Hash;
3262
+ input: viem.Hex;
3263
+ nonce: number;
3264
+ r: viem.Hex;
3265
+ s: viem.Hex;
3266
+ to: viem.Address | null;
3267
+ transactionIndex: number | null;
3268
+ typeHex: viem.Hex | null;
3269
+ v: bigint;
3270
+ value: bigint;
3271
+ yParity: number;
3272
+ accessList: viem.AccessList;
3273
+ authorizationList?: undefined;
3274
+ blobVersionedHashes: readonly viem.Hex[];
3275
+ chainId: number;
3276
+ type: "eip4844";
3277
+ gasPrice?: undefined;
3278
+ maxFeePerBlobGas: bigint;
3279
+ maxFeePerGas: bigint;
3280
+ maxPriorityFeePerGas: bigint;
3281
+ l1BatchNumber: bigint | null;
3282
+ l1BatchTxIndex: bigint | null;
3283
+ } | {
3284
+ blockHash: `0x${string}` | null;
3285
+ blockNumber: bigint | null;
3286
+ from: viem.Address;
3287
+ gas: bigint;
3288
+ hash: viem.Hash;
3289
+ input: viem.Hex;
3290
+ nonce: number;
3291
+ r: viem.Hex;
3292
+ s: viem.Hex;
3293
+ to: viem.Address | null;
3294
+ transactionIndex: number | null;
3295
+ typeHex: viem.Hex | null;
3296
+ v: bigint;
3297
+ value: bigint;
3298
+ yParity: number;
3299
+ accessList: viem.AccessList;
3300
+ authorizationList: viem_experimental.SignedAuthorizationList;
3301
+ blobVersionedHashes?: undefined;
3302
+ chainId: number;
3303
+ type: "eip7702";
3304
+ gasPrice?: undefined;
3305
+ maxFeePerBlobGas?: undefined;
3306
+ maxFeePerGas: bigint;
3307
+ maxPriorityFeePerGas: bigint;
3308
+ l1BatchNumber: bigint | null;
3309
+ l1BatchTxIndex: bigint | null;
3310
+ } | {
3311
+ blockHash: `0x${string}` | null;
3312
+ blockNumber: bigint | null;
3313
+ from: viem.Address;
3314
+ gas: bigint;
3315
+ hash: viem.Hash;
3316
+ input: viem.Hex;
3317
+ nonce: number;
3318
+ r: viem.Hex;
3319
+ s: viem.Hex;
3320
+ to: viem.Address | null;
3321
+ transactionIndex: number | null;
3322
+ typeHex: viem.Hex | null;
3323
+ v: bigint;
3324
+ value: bigint;
3325
+ yParity: number;
3326
+ l1BatchNumber: bigint | null;
3327
+ l1BatchTxIndex: bigint | null;
3328
+ gasPrice?: undefined;
3329
+ maxFeePerBlobGas?: undefined;
3330
+ maxFeePerGas: bigint;
3331
+ maxPriorityFeePerGas: bigint;
3332
+ type: "priority";
3333
+ } | {
3334
+ blockHash: `0x${string}` | null;
3335
+ blockNumber: bigint | null;
3336
+ from: viem.Address;
3337
+ gas: bigint;
3338
+ hash: viem.Hash;
3339
+ input: viem.Hex;
3340
+ nonce: number;
3341
+ r: viem.Hex;
3342
+ s: viem.Hex;
3343
+ to: viem.Address | null;
3344
+ transactionIndex: number | null;
3345
+ typeHex: viem.Hex | null;
3346
+ v: bigint;
3347
+ value: bigint;
3348
+ yParity: number;
3349
+ l1BatchNumber: bigint | null;
3350
+ l1BatchTxIndex: bigint | null;
3351
+ gasPrice?: undefined;
3352
+ maxFeePerBlobGas?: undefined;
3353
+ maxFeePerGas: bigint;
3354
+ maxPriorityFeePerGas: bigint;
3355
+ type: "eip712" | "priority";
3356
+ }) & {};
3357
+ type: "transaction";
3358
+ };
3359
+ readonly transactionReceipt: {
3360
+ exclude: [] | undefined;
3361
+ format: (args: viem_chains.ZkSyncRpcTransactionReceipt) => {
3362
+ type: viem_chains.ZkSyncTransactionType;
3363
+ to: viem.Address | null;
3364
+ from: viem.Address;
3365
+ blockHash: viem.Hash;
3366
+ blockNumber: bigint;
3367
+ transactionIndex: number;
3368
+ status: "success" | "reverted";
3369
+ contractAddress: viem.Address | null | undefined;
3370
+ logsBloom: viem.Hex;
3371
+ blobGasUsed?: bigint | undefined;
3372
+ gasUsed: bigint;
3373
+ transactionHash: viem.Hash;
3374
+ blobGasPrice?: bigint | undefined;
3375
+ cumulativeGasUsed: bigint;
3376
+ effectiveGasPrice: bigint;
3377
+ root?: viem.Hash | undefined;
3378
+ l1BatchNumber: bigint | null;
3379
+ l1BatchTxIndex: bigint | null;
3380
+ logs: viem_chains.ZkSyncLog[];
3381
+ l2ToL1Logs: viem_chains.ZkSyncL2ToL1Log[];
3382
+ } & {};
3383
+ type: "transactionReceipt";
3384
+ };
3385
+ readonly transactionRequest: {
3386
+ exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
3387
+ format: (args: viem_chains.ZkSyncTransactionRequest) => ({
3388
+ data?: viem.Hex | undefined;
3389
+ from?: viem.Address | undefined;
3390
+ gas?: `0x${string}` | undefined;
3391
+ nonce?: `0x${string}` | undefined;
3392
+ to?: viem.Address | null | undefined;
3393
+ type?: "0x0" | undefined;
3394
+ value?: `0x${string}` | undefined;
3395
+ gasPrice?: `0x${string}` | undefined;
3396
+ maxFeePerBlobGas?: undefined;
3397
+ maxFeePerGas?: undefined;
3398
+ maxPriorityFeePerGas?: undefined;
3399
+ blobs?: undefined;
3400
+ accessList?: undefined;
3401
+ authorizationList?: undefined;
3402
+ blobVersionedHashes?: undefined;
3403
+ kzg?: undefined;
3404
+ sidecars?: undefined;
3405
+ eip712Meta?: undefined;
3406
+ } | {
3407
+ data?: viem.Hex | undefined;
3408
+ from?: viem.Address | undefined;
3409
+ gas?: `0x${string}` | undefined;
3410
+ nonce?: `0x${string}` | undefined;
3411
+ to?: viem.Address | null | undefined;
3412
+ type?: "0x1" | undefined;
3413
+ value?: `0x${string}` | undefined;
3414
+ gasPrice?: `0x${string}` | undefined;
3415
+ maxFeePerBlobGas?: undefined;
3416
+ maxFeePerGas?: undefined;
3417
+ maxPriorityFeePerGas?: undefined;
3418
+ accessList?: viem.AccessList | undefined;
3419
+ blobs?: undefined;
3420
+ authorizationList?: undefined;
3421
+ blobVersionedHashes?: undefined;
3422
+ kzg?: undefined;
3423
+ sidecars?: undefined;
3424
+ eip712Meta?: undefined;
3425
+ } | {
3426
+ data?: viem.Hex | undefined;
3427
+ from?: viem.Address | undefined;
3428
+ gas?: `0x${string}` | undefined;
3429
+ nonce?: `0x${string}` | undefined;
3430
+ to?: viem.Address | null | undefined;
3431
+ type?: "0x2" | undefined;
3432
+ value?: `0x${string}` | undefined;
3433
+ gasPrice?: undefined;
3434
+ maxFeePerBlobGas?: undefined;
3435
+ maxFeePerGas?: `0x${string}` | undefined;
3436
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
3437
+ accessList?: viem.AccessList | undefined;
3438
+ blobs?: undefined;
3439
+ authorizationList?: undefined;
3440
+ blobVersionedHashes?: undefined;
3441
+ kzg?: undefined;
3442
+ sidecars?: undefined;
3443
+ eip712Meta?: undefined;
3444
+ } | {
3445
+ type?: "0x3" | undefined;
3446
+ data?: viem.Hex | undefined;
3447
+ from?: viem.Address | undefined;
3448
+ gas?: `0x${string}` | undefined;
3449
+ nonce?: `0x${string}` | undefined;
3450
+ value?: `0x${string}` | undefined;
3451
+ to: `0x${string}` | null;
3452
+ gasPrice?: undefined;
3453
+ maxFeePerGas?: `0x${string}` | undefined;
3454
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
3455
+ maxFeePerBlobGas: `0x${string}`;
3456
+ accessList?: viem.AccessList | undefined;
3457
+ blobs: readonly viem.Hex[] | readonly viem.ByteArray[];
3458
+ blobVersionedHashes?: readonly viem.Hex[] | undefined;
3459
+ kzg?: viem.Kzg | undefined;
3460
+ sidecars?: readonly viem.BlobSidecar<viem.Hex>[] | undefined;
3461
+ authorizationList?: undefined;
3462
+ eip712Meta?: undefined;
3463
+ } | {
3464
+ type?: "0x4" | undefined;
3465
+ gasPrice?: undefined;
3466
+ maxFeePerBlobGas?: undefined;
3467
+ maxFeePerGas?: `0x${string}` | undefined;
3468
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
3469
+ to?: viem.Address | null | undefined;
3470
+ data?: viem.Hex | undefined;
3471
+ from?: viem.Address | undefined;
3472
+ gas?: `0x${string}` | undefined;
3473
+ nonce?: `0x${string}` | undefined;
3474
+ value?: `0x${string}` | undefined;
3475
+ accessList?: viem.AccessList | undefined;
3476
+ authorizationList?: viem_experimental.RpcAuthorizationList | undefined;
3477
+ blobs?: undefined;
3478
+ blobVersionedHashes?: undefined;
3479
+ kzg?: undefined;
3480
+ sidecars?: undefined;
3481
+ eip712Meta?: undefined;
3482
+ } | {
3483
+ data?: viem.Hex | undefined;
3484
+ from?: viem.Address | undefined;
3485
+ gas?: `0x${string}` | undefined;
3486
+ nonce?: `0x${string}` | undefined;
3487
+ to?: viem.Address | null | undefined;
3488
+ type: "0xff" | "0x71";
3489
+ value?: `0x${string}` | undefined;
3490
+ gasPrice?: undefined;
3491
+ maxFeePerBlobGas?: undefined;
3492
+ maxFeePerGas?: `0x${string}` | undefined;
3493
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
3494
+ eip712Meta: viem_chains.ZkSyncEip712Meta;
3495
+ }) & {
3496
+ paymaster: never;
3497
+ gasPerPubdata: never;
3498
+ factoryDeps: never;
3499
+ paymasterInput: never;
3500
+ customSignature: never;
3501
+ };
3502
+ type: "transactionRequest";
3503
+ };
3504
+ };
3505
+ serializers: {
3506
+ readonly transaction: typeof viem_zksync.serializeTransaction;
3507
+ };
3508
+ readonly network: "zksync-era";
3509
+ };
3510
+ 59144: {
3511
+ blockExplorers: {
3512
+ readonly default: {
3513
+ readonly name: "Etherscan";
3514
+ readonly url: "https://lineascan.build";
3515
+ readonly apiUrl: "https://api.lineascan.build/api";
3516
+ };
3517
+ };
3518
+ contracts: {
3519
+ readonly multicall3: {
3520
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
3521
+ readonly blockCreated: 42;
3522
+ };
3523
+ };
3524
+ id: 59144;
3525
+ name: "Linea Mainnet";
3526
+ nativeCurrency: {
3527
+ readonly name: "Linea Ether";
3528
+ readonly symbol: "ETH";
3529
+ readonly decimals: 18;
3530
+ };
3531
+ rpcUrls: {
3532
+ readonly default: {
3533
+ readonly http: readonly ["https://rpc.linea.build"];
3534
+ readonly webSocket: readonly ["wss://rpc.linea.build"];
3535
+ };
3536
+ };
3537
+ sourceId?: number | undefined;
3538
+ testnet: false;
3539
+ custom?: Record<string, unknown> | undefined;
3540
+ fees: {
3541
+ readonly estimateFeesPerGas: ({ client, multiply, request, type, }: Parameters<viem.ChainEstimateFeesPerGasFn>[0]) => ReturnType<viem.ChainEstimateFeesPerGasFn>;
3542
+ readonly maxPriorityFeePerGas: ({ block, client, request }: viem.ChainFeesFnParameters<viem.ChainFormatters | undefined>) => Promise<bigint | null>;
3543
+ };
3544
+ formatters?: undefined;
3545
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
3546
+ };
3547
+ };
379
3548
 
380
3549
  type SupportedChainIds = (typeof ChainId)[keyof typeof ChainId];
381
3550
  /**
@@ -474,4 +3643,4 @@ declare function renderTenderlyReport({ client, sim, }: RenderTenderlyReportPara
474
3643
  emitter: viem.Address;
475
3644
  }[]>;
476
3645
 
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, getQuickNodeRpc, getRPCUrl, getSourceCode, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, parseEtherscanStyleSourceCode, parseLogs, publicRPCs, rayDiv, rayMul, rayToWad, renderTenderlyReport, setBits, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_simVnet, wadDiv, wadToRay };
3646
+ 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, 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, getQuickNodeRpc, getRPCUrl, getSourceCode, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, parseEtherscanStyleSourceCode, parseLogs, publicRPCs, rayDiv, rayMul, rayToWad, renderTenderlyReport, setBits, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_simVnet, wadDiv, wadToRay };