viem 0.0.0-main.20240408T061242 → 0.0.0-main.20240408T070011

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/_cjs/actions/index.js +1 -2
  2. package/_cjs/actions/index.js.map +1 -1
  3. package/_cjs/actions/public/estimateGas.js +3 -5
  4. package/_cjs/actions/public/estimateGas.js.map +1 -1
  5. package/_cjs/actions/wallet/prepareTransactionRequest.js +7 -47
  6. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  7. package/_cjs/actions/wallet/sendTransaction.js +0 -1
  8. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  9. package/_cjs/errors/version.js +1 -1
  10. package/_cjs/utils/blob/blobsToCommitments.js.map +1 -1
  11. package/_cjs/utils/blob/commitmentsToVersionedHashes.js.map +1 -1
  12. package/_cjs/utils/blob/sidecarsToVersionedHashes.js.map +1 -1
  13. package/_cjs/utils/blob/toBlobSidecars.js.map +1 -1
  14. package/_cjs/utils/blob/toBlobs.js.map +1 -1
  15. package/_cjs/utils/formatters/transactionRequest.js +0 -2
  16. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  17. package/_cjs/utils/transaction/serializeTransaction.js +6 -10
  18. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  19. package/_esm/actions/index.js +1 -1
  20. package/_esm/actions/index.js.map +1 -1
  21. package/_esm/actions/public/estimateGas.js +3 -8
  22. package/_esm/actions/public/estimateGas.js.map +1 -1
  23. package/_esm/actions/wallet/prepareTransactionRequest.js +9 -49
  24. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  25. package/_esm/actions/wallet/sendTransaction.js +1 -2
  26. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  27. package/_esm/errors/version.js +1 -1
  28. package/_esm/utils/blob/blobsToCommitments.js.map +1 -1
  29. package/_esm/utils/blob/commitmentsToVersionedHashes.js.map +1 -1
  30. package/_esm/utils/blob/sidecarsToVersionedHashes.js.map +1 -1
  31. package/_esm/utils/blob/toBlobSidecars.js.map +1 -1
  32. package/_esm/utils/blob/toBlobs.js.map +1 -1
  33. package/_esm/utils/formatters/transactionRequest.js +0 -2
  34. package/_esm/utils/formatters/transactionRequest.js.map +1 -1
  35. package/_esm/utils/transaction/serializeTransaction.js +6 -10
  36. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  37. package/_types/actions/index.d.ts +1 -1
  38. package/_types/actions/index.d.ts.map +1 -1
  39. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  40. package/_types/actions/wallet/prepareTransactionRequest.d.ts +6 -7
  41. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  42. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  43. package/_types/celo/chainConfig.d.ts +341 -1837
  44. package/_types/celo/chainConfig.d.ts.map +1 -1
  45. package/_types/celo/formatters.d.ts +97 -845
  46. package/_types/celo/formatters.d.ts.map +1 -1
  47. package/_types/chains/definitions/ancient8.d.ts +15 -15
  48. package/_types/chains/definitions/ancient8Sepolia.d.ts +15 -15
  49. package/_types/chains/definitions/base.d.ts +15 -15
  50. package/_types/chains/definitions/baseGoerli.d.ts +15 -15
  51. package/_types/chains/definitions/baseSepolia.d.ts +15 -15
  52. package/_types/chains/definitions/celo.d.ts +341 -1837
  53. package/_types/chains/definitions/celo.d.ts.map +1 -1
  54. package/_types/chains/definitions/celoAlfajores.d.ts +341 -1837
  55. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  56. package/_types/chains/definitions/fraxtal.d.ts +15 -15
  57. package/_types/chains/definitions/fraxtalTestnet.d.ts +15 -15
  58. package/_types/chains/definitions/liskSepolia.d.ts +15 -15
  59. package/_types/chains/definitions/optimism.d.ts +15 -15
  60. package/_types/chains/definitions/optimismGoerli.d.ts +15 -15
  61. package/_types/chains/definitions/optimismSepolia.d.ts +15 -15
  62. package/_types/chains/definitions/pgn.d.ts +15 -15
  63. package/_types/chains/definitions/pgnTestnet.d.ts +15 -15
  64. package/_types/chains/definitions/rss3.d.ts +15 -15
  65. package/_types/chains/definitions/rss3Sepolia.d.ts +15 -15
  66. package/_types/chains/definitions/zkSync.d.ts +101 -817
  67. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  68. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +101 -817
  69. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts.map +1 -1
  70. package/_types/chains/definitions/zkSyncLocalNode.d.ts +101 -817
  71. package/_types/chains/definitions/zkSyncLocalNode.d.ts.map +1 -1
  72. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +101 -817
  73. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
  74. package/_types/chains/definitions/zkSyncTestnet.d.ts +101 -817
  75. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  76. package/_types/chains/definitions/zora.d.ts +15 -15
  77. package/_types/chains/definitions/zoraSepolia.d.ts +15 -15
  78. package/_types/chains/definitions/zoraTestnet.d.ts +15 -15
  79. package/_types/errors/version.d.ts +1 -1
  80. package/_types/op-stack/chainConfig.d.ts +15 -15
  81. package/_types/op-stack/formatters.d.ts +15 -15
  82. package/_types/types/transaction.d.ts +3 -22
  83. package/_types/types/transaction.d.ts.map +1 -1
  84. package/_types/utils/blob/blobsToCommitments.d.ts +4 -4
  85. package/_types/utils/blob/blobsToCommitments.d.ts.map +1 -1
  86. package/_types/utils/blob/blobsToProofs.d.ts +2 -2
  87. package/_types/utils/blob/blobsToProofs.d.ts.map +1 -1
  88. package/_types/utils/blob/commitmentsToVersionedHashes.d.ts +4 -4
  89. package/_types/utils/blob/commitmentsToVersionedHashes.d.ts.map +1 -1
  90. package/_types/utils/blob/sidecarsToVersionedHashes.d.ts +1 -1
  91. package/_types/utils/blob/sidecarsToVersionedHashes.d.ts.map +1 -1
  92. package/_types/utils/blob/toBlobSidecars.d.ts +5 -5
  93. package/_types/utils/blob/toBlobSidecars.d.ts.map +1 -1
  94. package/_types/utils/blob/toBlobs.d.ts +1 -1
  95. package/_types/utils/blob/toBlobs.d.ts.map +1 -1
  96. package/_types/utils/formatters/transaction.d.ts +1 -1
  97. package/_types/utils/formatters/transactionRequest.d.ts +2 -186
  98. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  99. package/_types/utils/transaction/getTransactionType.d.ts +3 -3
  100. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
  101. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  102. package/_types/zksync/chainConfig.d.ts +101 -817
  103. package/_types/zksync/chainConfig.d.ts.map +1 -1
  104. package/_types/zksync/formatters.d.ts +101 -817
  105. package/_types/zksync/formatters.d.ts.map +1 -1
  106. package/actions/index.ts +0 -1
  107. package/actions/public/estimateGas.ts +7 -9
  108. package/actions/wallet/prepareTransactionRequest.ts +17 -73
  109. package/actions/wallet/sendTransaction.ts +0 -2
  110. package/errors/version.ts +1 -1
  111. package/package.json +1 -1
  112. package/types/transaction.ts +3 -28
  113. package/utils/blob/blobsToCommitments.ts +7 -9
  114. package/utils/blob/blobsToProofs.ts +10 -10
  115. package/utils/blob/commitmentsToVersionedHashes.ts +8 -10
  116. package/utils/blob/sidecarsToVersionedHashes.ts +3 -3
  117. package/utils/blob/toBlobSidecars.ts +11 -14
  118. package/utils/blob/toBlobs.ts +3 -3
  119. package/utils/formatters/transactionRequest.ts +0 -2
  120. package/utils/transaction/getTransactionType.ts +3 -3
  121. package/utils/transaction/serializeTransaction.ts +6 -12
@@ -447,9 +447,6 @@ export declare const chainConfig: {
447
447
  accessList?: undefined;
448
448
  blobs?: undefined;
449
449
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
450
- kzg?: undefined;
451
- blobVersionedHashes?: undefined;
452
- sidecars?: undefined;
453
450
  } & {
454
451
  data?: `0x${string}` | undefined;
455
452
  from: `0x${string}`;
@@ -464,9 +461,6 @@ export declare const chainConfig: {
464
461
  accessList?: undefined;
465
462
  blobs?: undefined;
466
463
  type?: "legacy" | undefined;
467
- kzg?: undefined;
468
- blobVersionedHashes?: undefined;
469
- sidecars?: undefined;
470
464
  } & {
471
465
  gasPerPubdata?: undefined;
472
466
  customSignature?: undefined;
@@ -487,9 +481,6 @@ export declare const chainConfig: {
487
481
  accessList?: undefined;
488
482
  blobs?: undefined;
489
483
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
490
- kzg?: undefined;
491
- blobVersionedHashes?: undefined;
492
- sidecars?: undefined;
493
484
  } & {
494
485
  data?: `0x${string}` | undefined;
495
486
  from: `0x${string}`;
@@ -504,9 +495,6 @@ export declare const chainConfig: {
504
495
  accessList?: import("../index.js").AccessList | undefined;
505
496
  blobs?: undefined;
506
497
  type?: "eip2930" | undefined;
507
- kzg?: undefined;
508
- blobVersionedHashes?: undefined;
509
- sidecars?: undefined;
510
498
  } & {
511
499
  gasPerPubdata?: undefined;
512
500
  customSignature?: undefined;
@@ -527,9 +515,6 @@ export declare const chainConfig: {
527
515
  accessList?: undefined;
528
516
  blobs?: undefined;
529
517
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
530
- kzg?: undefined;
531
- blobVersionedHashes?: undefined;
532
- sidecars?: undefined;
533
518
  } & {
534
519
  data?: `0x${string}` | undefined;
535
520
  from: `0x${string}`;
@@ -544,9 +529,6 @@ export declare const chainConfig: {
544
529
  accessList?: import("../index.js").AccessList | undefined;
545
530
  blobs?: undefined;
546
531
  type?: "eip1559" | undefined;
547
- kzg?: undefined;
548
- blobVersionedHashes?: undefined;
549
- sidecars?: undefined;
550
532
  } & {
551
533
  gasPerPubdata?: undefined;
552
534
  customSignature?: undefined;
@@ -567,9 +549,6 @@ export declare const chainConfig: {
567
549
  accessList?: undefined;
568
550
  blobs?: undefined;
569
551
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
570
- kzg?: undefined;
571
- blobVersionedHashes?: undefined;
572
- sidecars?: undefined;
573
552
  } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
574
553
  gasPerPubdata?: bigint | undefined;
575
554
  customSignature?: `0x${string}` | undefined;
@@ -592,9 +571,6 @@ export declare const chainConfig: {
592
571
  accessList?: undefined;
593
572
  blobs?: undefined;
594
573
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
595
- kzg?: undefined;
596
- blobVersionedHashes?: undefined;
597
- sidecars?: undefined;
598
574
  } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
599
575
  gasPerPubdata?: bigint | undefined;
600
576
  customSignature?: `0x${string}` | undefined;
@@ -617,9 +593,6 @@ export declare const chainConfig: {
617
593
  accessList?: import("../index.js").AccessList | undefined;
618
594
  blobs?: undefined;
619
595
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
620
- kzg?: undefined;
621
- blobVersionedHashes?: undefined;
622
- sidecars?: undefined;
623
596
  } & {
624
597
  data?: `0x${string}` | undefined;
625
598
  from: `0x${string}`;
@@ -634,9 +607,6 @@ export declare const chainConfig: {
634
607
  accessList?: undefined;
635
608
  blobs?: undefined;
636
609
  type?: "legacy" | undefined;
637
- kzg?: undefined;
638
- blobVersionedHashes?: undefined;
639
- sidecars?: undefined;
640
610
  } & {
641
611
  gasPerPubdata?: undefined;
642
612
  customSignature?: undefined;
@@ -657,9 +627,6 @@ export declare const chainConfig: {
657
627
  accessList?: import("../index.js").AccessList | undefined;
658
628
  blobs?: undefined;
659
629
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
660
- kzg?: undefined;
661
- blobVersionedHashes?: undefined;
662
- sidecars?: undefined;
663
630
  } & {
664
631
  data?: `0x${string}` | undefined;
665
632
  from: `0x${string}`;
@@ -674,9 +641,6 @@ export declare const chainConfig: {
674
641
  accessList?: import("../index.js").AccessList | undefined;
675
642
  blobs?: undefined;
676
643
  type?: "eip2930" | undefined;
677
- kzg?: undefined;
678
- blobVersionedHashes?: undefined;
679
- sidecars?: undefined;
680
644
  } & {
681
645
  gasPerPubdata?: undefined;
682
646
  customSignature?: undefined;
@@ -697,9 +661,6 @@ export declare const chainConfig: {
697
661
  accessList?: import("../index.js").AccessList | undefined;
698
662
  blobs?: undefined;
699
663
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
700
- kzg?: undefined;
701
- blobVersionedHashes?: undefined;
702
- sidecars?: undefined;
703
664
  } & {
704
665
  data?: `0x${string}` | undefined;
705
666
  from: `0x${string}`;
@@ -714,9 +675,6 @@ export declare const chainConfig: {
714
675
  accessList?: import("../index.js").AccessList | undefined;
715
676
  blobs?: undefined;
716
677
  type?: "eip1559" | undefined;
717
- kzg?: undefined;
718
- blobVersionedHashes?: undefined;
719
- sidecars?: undefined;
720
678
  } & {
721
679
  gasPerPubdata?: undefined;
722
680
  customSignature?: undefined;
@@ -737,9 +695,6 @@ export declare const chainConfig: {
737
695
  accessList?: import("../index.js").AccessList | undefined;
738
696
  blobs?: undefined;
739
697
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
740
- kzg?: undefined;
741
- blobVersionedHashes?: undefined;
742
- sidecars?: undefined;
743
698
  } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
744
699
  gasPerPubdata?: bigint | undefined;
745
700
  customSignature?: `0x${string}` | undefined;
@@ -762,9 +717,6 @@ export declare const chainConfig: {
762
717
  accessList?: import("../index.js").AccessList | undefined;
763
718
  blobs?: undefined;
764
719
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
765
- kzg?: undefined;
766
- blobVersionedHashes?: undefined;
767
- sidecars?: undefined;
768
720
  } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
769
721
  gasPerPubdata?: bigint | undefined;
770
722
  customSignature?: `0x${string}` | undefined;
@@ -787,9 +739,6 @@ export declare const chainConfig: {
787
739
  accessList?: import("../index.js").AccessList | undefined;
788
740
  blobs?: undefined;
789
741
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
790
- kzg?: undefined;
791
- blobVersionedHashes?: undefined;
792
- sidecars?: undefined;
793
742
  } & {
794
743
  data?: `0x${string}` | undefined;
795
744
  from: `0x${string}`;
@@ -804,9 +753,6 @@ export declare const chainConfig: {
804
753
  accessList?: undefined;
805
754
  blobs?: undefined;
806
755
  type?: "legacy" | undefined;
807
- kzg?: undefined;
808
- blobVersionedHashes?: undefined;
809
- sidecars?: undefined;
810
756
  } & {
811
757
  gasPerPubdata?: undefined;
812
758
  customSignature?: undefined;
@@ -827,9 +773,6 @@ export declare const chainConfig: {
827
773
  accessList?: import("../index.js").AccessList | undefined;
828
774
  blobs?: undefined;
829
775
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
830
- kzg?: undefined;
831
- blobVersionedHashes?: undefined;
832
- sidecars?: undefined;
833
776
  } & {
834
777
  data?: `0x${string}` | undefined;
835
778
  from: `0x${string}`;
@@ -844,9 +787,6 @@ export declare const chainConfig: {
844
787
  accessList?: import("../index.js").AccessList | undefined;
845
788
  blobs?: undefined;
846
789
  type?: "eip2930" | undefined;
847
- kzg?: undefined;
848
- blobVersionedHashes?: undefined;
849
- sidecars?: undefined;
850
790
  } & {
851
791
  gasPerPubdata?: undefined;
852
792
  customSignature?: undefined;
@@ -867,9 +807,6 @@ export declare const chainConfig: {
867
807
  accessList?: import("../index.js").AccessList | undefined;
868
808
  blobs?: undefined;
869
809
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
870
- kzg?: undefined;
871
- blobVersionedHashes?: undefined;
872
- sidecars?: undefined;
873
810
  } & {
874
811
  data?: `0x${string}` | undefined;
875
812
  from: `0x${string}`;
@@ -884,9 +821,6 @@ export declare const chainConfig: {
884
821
  accessList?: import("../index.js").AccessList | undefined;
885
822
  blobs?: undefined;
886
823
  type?: "eip1559" | undefined;
887
- kzg?: undefined;
888
- blobVersionedHashes?: undefined;
889
- sidecars?: undefined;
890
824
  } & {
891
825
  gasPerPubdata?: undefined;
892
826
  customSignature?: undefined;
@@ -907,9 +841,6 @@ export declare const chainConfig: {
907
841
  accessList?: import("../index.js").AccessList | undefined;
908
842
  blobs?: undefined;
909
843
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
910
- kzg?: undefined;
911
- blobVersionedHashes?: undefined;
912
- sidecars?: undefined;
913
844
  } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
914
845
  gasPerPubdata?: bigint | undefined;
915
846
  customSignature?: `0x${string}` | undefined;
@@ -932,9 +863,6 @@ export declare const chainConfig: {
932
863
  accessList?: import("../index.js").AccessList | undefined;
933
864
  blobs?: undefined;
934
865
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
935
- kzg?: undefined;
936
- blobVersionedHashes?: undefined;
937
- sidecars?: undefined;
938
866
  } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
939
867
  gasPerPubdata?: bigint | undefined;
940
868
  customSignature?: `0x${string}` | undefined;
@@ -957,9 +885,6 @@ export declare const chainConfig: {
957
885
  accessList?: import("../index.js").AccessList | undefined;
958
886
  blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
959
887
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
960
- kzg?: import("../types/kzg.js").Kzg | undefined;
961
- blobVersionedHashes?: undefined;
962
- sidecars?: undefined;
963
888
  } & {
964
889
  data?: `0x${string}` | undefined;
965
890
  from: `0x${string}`;
@@ -974,9 +899,6 @@ export declare const chainConfig: {
974
899
  accessList?: undefined;
975
900
  blobs?: undefined;
976
901
  type?: "legacy" | undefined;
977
- kzg?: undefined;
978
- blobVersionedHashes?: undefined;
979
- sidecars?: undefined;
980
902
  } & {
981
903
  gasPerPubdata?: undefined;
982
904
  customSignature?: undefined;
@@ -997,9 +919,6 @@ export declare const chainConfig: {
997
919
  accessList?: import("../index.js").AccessList | undefined;
998
920
  blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
999
921
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1000
- kzg?: import("../types/kzg.js").Kzg | undefined;
1001
- blobVersionedHashes?: undefined;
1002
- sidecars?: undefined;
1003
922
  } & {
1004
923
  data?: `0x${string}` | undefined;
1005
924
  from: `0x${string}`;
@@ -1014,9 +933,6 @@ export declare const chainConfig: {
1014
933
  accessList?: import("../index.js").AccessList | undefined;
1015
934
  blobs?: undefined;
1016
935
  type?: "eip2930" | undefined;
1017
- kzg?: undefined;
1018
- blobVersionedHashes?: undefined;
1019
- sidecars?: undefined;
1020
936
  } & {
1021
937
  gasPerPubdata?: undefined;
1022
938
  customSignature?: undefined;
@@ -1037,9 +953,6 @@ export declare const chainConfig: {
1037
953
  accessList?: import("../index.js").AccessList | undefined;
1038
954
  blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1039
955
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1040
- kzg?: import("../types/kzg.js").Kzg | undefined;
1041
- blobVersionedHashes?: undefined;
1042
- sidecars?: undefined;
1043
956
  } & {
1044
957
  data?: `0x${string}` | undefined;
1045
958
  from: `0x${string}`;
@@ -1054,9 +967,6 @@ export declare const chainConfig: {
1054
967
  accessList?: import("../index.js").AccessList | undefined;
1055
968
  blobs?: undefined;
1056
969
  type?: "eip1559" | undefined;
1057
- kzg?: undefined;
1058
- blobVersionedHashes?: undefined;
1059
- sidecars?: undefined;
1060
970
  } & {
1061
971
  gasPerPubdata?: undefined;
1062
972
  customSignature?: undefined;
@@ -1077,9 +987,6 @@ export declare const chainConfig: {
1077
987
  accessList?: import("../index.js").AccessList | undefined;
1078
988
  blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1079
989
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1080
- kzg?: import("../types/kzg.js").Kzg | undefined;
1081
- blobVersionedHashes?: undefined;
1082
- sidecars?: undefined;
1083
990
  } & {
1084
991
  data?: `0x${string}` | undefined;
1085
992
  from: `0x${string}`;
@@ -1094,9 +1001,6 @@ export declare const chainConfig: {
1094
1001
  accessList?: import("../index.js").AccessList | undefined;
1095
1002
  blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1096
1003
  type?: "eip4844" | undefined;
1097
- kzg: import("../types/kzg.js").Kzg | undefined;
1098
- blobVersionedHashes?: undefined;
1099
- sidecars?: undefined;
1100
1004
  } & {
1101
1005
  gasPerPubdata?: undefined;
1102
1006
  customSignature?: undefined;
@@ -1117,9 +1021,6 @@ export declare const chainConfig: {
1117
1021
  accessList?: import("../index.js").AccessList | undefined;
1118
1022
  blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1119
1023
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1120
- kzg?: import("../types/kzg.js").Kzg | undefined;
1121
- blobVersionedHashes?: undefined;
1122
- sidecars?: undefined;
1123
1024
  } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
1124
1025
  gasPerPubdata?: bigint | undefined;
1125
1026
  customSignature?: `0x${string}` | undefined;
@@ -1142,9 +1043,6 @@ export declare const chainConfig: {
1142
1043
  accessList?: import("../index.js").AccessList | undefined;
1143
1044
  blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1144
1045
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1145
- kzg?: import("../types/kzg.js").Kzg | undefined;
1146
- blobVersionedHashes?: undefined;
1147
- sidecars?: undefined;
1148
1046
  } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
1149
1047
  gasPerPubdata?: bigint | undefined;
1150
1048
  customSignature?: `0x${string}` | undefined;
@@ -1153,669 +1051,142 @@ export declare const chainConfig: {
1153
1051
  } & {
1154
1052
  paymaster?: undefined;
1155
1053
  paymasterInput?: undefined;
1156
- }) | ({
1054
+ })) => ({
1157
1055
  data?: `0x${string}` | undefined;
1158
- from?: `0x${string}`;
1159
- gas?: bigint | undefined;
1160
- nonce?: number | undefined;
1161
- value?: bigint | undefined;
1056
+ from: `0x${string}`;
1057
+ gas?: `0x${string}` | undefined;
1058
+ nonce?: `0x${string}` | undefined;
1162
1059
  to?: `0x${string}` | null | undefined;
1163
- gasPrice?: bigint | undefined;
1164
- maxFeePerGas?: bigint | undefined;
1165
- maxPriorityFeePerGas?: bigint | undefined;
1166
- maxFeePerBlobGas?: bigint | undefined;
1167
- accessList?: import("../index.js").AccessList | undefined;
1168
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1169
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1170
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1171
- kzg?: import("../types/kzg.js").Kzg | undefined;
1172
- sidecars?: undefined;
1173
- } & {
1060
+ value?: `0x${string}` | undefined;
1061
+ gasPrice?: `0x${string}` | undefined;
1062
+ maxFeePerBlobGas?: undefined;
1063
+ maxFeePerGas?: undefined;
1064
+ maxPriorityFeePerGas?: undefined;
1065
+ accessList?: undefined;
1066
+ blobs?: undefined;
1067
+ type?: "0x0" | undefined;
1068
+ eip712Meta?: undefined;
1069
+ } | {
1174
1070
  data?: `0x${string}` | undefined;
1175
1071
  from: `0x${string}`;
1176
- gas?: bigint | undefined;
1177
- nonce?: number | undefined;
1072
+ gas?: `0x${string}` | undefined;
1073
+ nonce?: `0x${string}` | undefined;
1178
1074
  to?: `0x${string}` | null | undefined;
1179
- value?: bigint | undefined;
1180
- gasPrice?: bigint | undefined;
1075
+ value?: `0x${string}` | undefined;
1076
+ gasPrice?: `0x${string}` | undefined;
1181
1077
  maxFeePerBlobGas?: undefined;
1182
1078
  maxFeePerGas?: undefined;
1183
1079
  maxPriorityFeePerGas?: undefined;
1184
1080
  accessList?: undefined;
1185
1081
  blobs?: undefined;
1186
- type?: "legacy" | undefined;
1187
- kzg?: undefined;
1188
- blobVersionedHashes?: undefined;
1189
- sidecars?: undefined;
1190
- } & {
1191
- gasPerPubdata?: undefined;
1192
- customSignature?: undefined;
1193
- paymaster?: undefined;
1194
- paymasterInput?: undefined;
1195
- factoryDeps?: undefined;
1196
- }) | ({
1082
+ type?: "0x1" | undefined;
1083
+ eip712Meta?: undefined;
1084
+ } | {
1197
1085
  data?: `0x${string}` | undefined;
1198
- from?: `0x${string}`;
1199
- gas?: bigint | undefined;
1200
- nonce?: number | undefined;
1201
- value?: bigint | undefined;
1086
+ from: `0x${string}`;
1087
+ gas?: `0x${string}` | undefined;
1088
+ nonce?: `0x${string}` | undefined;
1202
1089
  to?: `0x${string}` | null | undefined;
1203
- gasPrice?: bigint | undefined;
1204
- maxFeePerGas?: bigint | undefined;
1205
- maxPriorityFeePerGas?: bigint | undefined;
1206
- maxFeePerBlobGas?: bigint | undefined;
1207
- accessList?: import("../index.js").AccessList | undefined;
1208
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1209
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1210
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1211
- kzg?: import("../types/kzg.js").Kzg | undefined;
1212
- sidecars?: undefined;
1213
- } & {
1090
+ value?: `0x${string}` | undefined;
1091
+ gasPrice?: undefined;
1092
+ maxFeePerBlobGas?: undefined;
1093
+ maxFeePerGas?: `0x${string}` | undefined;
1094
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1095
+ accessList?: undefined;
1096
+ blobs?: undefined;
1097
+ type?: "0x2" | undefined;
1098
+ eip712Meta?: undefined;
1099
+ } | {
1214
1100
  data?: `0x${string}` | undefined;
1215
1101
  from: `0x${string}`;
1216
- gas?: bigint | undefined;
1217
- nonce?: number | undefined;
1102
+ gas?: `0x${string}` | undefined;
1103
+ nonce?: `0x${string}` | undefined;
1218
1104
  to?: `0x${string}` | null | undefined;
1219
- value?: bigint | undefined;
1220
- gasPrice?: bigint | undefined;
1105
+ value?: `0x${string}` | undefined;
1106
+ gasPrice?: undefined;
1107
+ maxFeePerBlobGas?: undefined;
1108
+ maxFeePerGas?: `0x${string}` | undefined;
1109
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1110
+ accessList?: undefined;
1111
+ blobs?: undefined;
1112
+ type: "0xff" | "0x71";
1113
+ eip712Meta: import("./index.js").ZkSyncEip712Meta;
1114
+ } | {
1115
+ data?: `0x${string}` | undefined;
1116
+ from: `0x${string}`;
1117
+ gas?: `0x${string}` | undefined;
1118
+ nonce?: `0x${string}` | undefined;
1119
+ to?: `0x${string}` | null | undefined;
1120
+ value?: `0x${string}` | undefined;
1121
+ gasPrice?: `0x${string}` | undefined;
1221
1122
  maxFeePerBlobGas?: undefined;
1222
1123
  maxFeePerGas?: undefined;
1223
1124
  maxPriorityFeePerGas?: undefined;
1224
- accessList?: import("../index.js").AccessList | undefined;
1125
+ accessList?: undefined;
1225
1126
  blobs?: undefined;
1226
- type?: "eip2930" | undefined;
1227
- kzg?: undefined;
1228
- blobVersionedHashes?: undefined;
1229
- sidecars?: undefined;
1230
- } & {
1231
- gasPerPubdata?: undefined;
1232
- customSignature?: undefined;
1233
- paymaster?: undefined;
1234
- paymasterInput?: undefined;
1235
- factoryDeps?: undefined;
1236
- }) | ({
1127
+ type?: "0x0" | undefined;
1128
+ eip712Meta?: undefined;
1129
+ } | {
1237
1130
  data?: `0x${string}` | undefined;
1238
- from?: `0x${string}`;
1239
- gas?: bigint | undefined;
1240
- nonce?: number | undefined;
1241
- value?: bigint | undefined;
1131
+ from: `0x${string}`;
1132
+ gas?: `0x${string}` | undefined;
1133
+ nonce?: `0x${string}` | undefined;
1242
1134
  to?: `0x${string}` | null | undefined;
1243
- gasPrice?: bigint | undefined;
1244
- maxFeePerGas?: bigint | undefined;
1245
- maxPriorityFeePerGas?: bigint | undefined;
1246
- maxFeePerBlobGas?: bigint | undefined;
1135
+ value?: `0x${string}` | undefined;
1136
+ gasPrice?: `0x${string}` | undefined;
1137
+ maxFeePerBlobGas?: undefined;
1138
+ maxFeePerGas?: undefined;
1139
+ maxPriorityFeePerGas?: undefined;
1247
1140
  accessList?: import("../index.js").AccessList | undefined;
1248
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1249
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1250
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1251
- kzg?: import("../types/kzg.js").Kzg | undefined;
1252
- sidecars?: undefined;
1253
- } & {
1141
+ blobs?: undefined;
1142
+ type?: "0x1" | undefined;
1143
+ eip712Meta?: undefined;
1144
+ } | {
1254
1145
  data?: `0x${string}` | undefined;
1255
1146
  from: `0x${string}`;
1256
- gas?: bigint | undefined;
1257
- nonce?: number | undefined;
1147
+ gas?: `0x${string}` | undefined;
1148
+ nonce?: `0x${string}` | undefined;
1258
1149
  to?: `0x${string}` | null | undefined;
1259
- value?: bigint | undefined;
1150
+ value?: `0x${string}` | undefined;
1260
1151
  gasPrice?: undefined;
1261
1152
  maxFeePerBlobGas?: undefined;
1262
- maxFeePerGas?: bigint | undefined;
1263
- maxPriorityFeePerGas?: bigint | undefined;
1153
+ maxFeePerGas?: `0x${string}` | undefined;
1154
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1264
1155
  accessList?: import("../index.js").AccessList | undefined;
1265
1156
  blobs?: undefined;
1266
- type?: "eip1559" | undefined;
1267
- kzg?: undefined;
1268
- blobVersionedHashes?: undefined;
1269
- sidecars?: undefined;
1270
- } & {
1271
- gasPerPubdata?: undefined;
1272
- customSignature?: undefined;
1273
- paymaster?: undefined;
1274
- paymasterInput?: undefined;
1275
- factoryDeps?: undefined;
1276
- }) | ({
1277
- data?: `0x${string}` | undefined;
1278
- from?: `0x${string}`;
1279
- gas?: bigint | undefined;
1280
- nonce?: number | undefined;
1281
- value?: bigint | undefined;
1282
- to?: `0x${string}` | null | undefined;
1283
- gasPrice?: bigint | undefined;
1284
- maxFeePerGas?: bigint | undefined;
1285
- maxPriorityFeePerGas?: bigint | undefined;
1286
- maxFeePerBlobGas?: bigint | undefined;
1287
- accessList?: import("../index.js").AccessList | undefined;
1288
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1289
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1290
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1291
- kzg?: import("../types/kzg.js").Kzg | undefined;
1292
- sidecars?: undefined;
1293
- } & {
1157
+ type?: "0x2" | undefined;
1158
+ eip712Meta?: undefined;
1159
+ } | {
1294
1160
  data?: `0x${string}` | undefined;
1295
1161
  from: `0x${string}`;
1296
- gas?: bigint | undefined;
1297
- nonce?: number | undefined;
1298
- value?: bigint | undefined;
1299
- to: `0x${string}` | null;
1162
+ gas?: `0x${string}` | undefined;
1163
+ nonce?: `0x${string}` | undefined;
1164
+ to?: `0x${string}` | null | undefined;
1165
+ value?: `0x${string}` | undefined;
1300
1166
  gasPrice?: undefined;
1301
- maxFeePerGas?: bigint | undefined;
1302
- maxPriorityFeePerGas?: bigint | undefined;
1303
- maxFeePerBlobGas: bigint;
1167
+ maxFeePerBlobGas?: undefined;
1168
+ maxFeePerGas?: `0x${string}` | undefined;
1169
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1304
1170
  accessList?: import("../index.js").AccessList | undefined;
1305
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1306
- type?: "eip4844" | undefined;
1307
- kzg: import("../types/kzg.js").Kzg | undefined;
1308
- blobVersionedHashes?: undefined;
1309
- sidecars?: undefined;
1310
- } & {
1311
- gasPerPubdata?: undefined;
1312
- customSignature?: undefined;
1313
- paymaster?: undefined;
1314
- paymasterInput?: undefined;
1315
- factoryDeps?: undefined;
1316
- }) | ({
1171
+ blobs?: undefined;
1172
+ type: "0xff" | "0x71";
1173
+ eip712Meta: import("./index.js").ZkSyncEip712Meta;
1174
+ } | {
1317
1175
  data?: `0x${string}` | undefined;
1318
- from?: `0x${string}`;
1319
- gas?: bigint | undefined;
1320
- nonce?: number | undefined;
1321
- value?: bigint | undefined;
1176
+ from: `0x${string}`;
1177
+ gas?: `0x${string}` | undefined;
1178
+ nonce?: `0x${string}` | undefined;
1322
1179
  to?: `0x${string}` | null | undefined;
1323
- gasPrice?: bigint | undefined;
1324
- maxFeePerGas?: bigint | undefined;
1325
- maxPriorityFeePerGas?: bigint | undefined;
1326
- maxFeePerBlobGas?: bigint | undefined;
1327
- accessList?: import("../index.js").AccessList | undefined;
1328
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1329
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1330
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1331
- kzg?: import("../types/kzg.js").Kzg | undefined;
1332
- sidecars?: undefined;
1333
- } & {
1334
- data?: `0x${string}` | undefined;
1335
- from: `0x${string}`;
1336
- gas?: bigint | undefined;
1337
- nonce?: number | undefined;
1338
- value?: bigint | undefined;
1339
- to: `0x${string}` | null;
1340
- gasPrice?: undefined;
1341
- maxFeePerGas?: bigint | undefined;
1342
- maxPriorityFeePerGas?: bigint | undefined;
1343
- maxFeePerBlobGas: bigint;
1344
- accessList?: import("../index.js").AccessList | undefined;
1345
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1346
- type?: "eip4844" | undefined;
1347
- blobVersionedHashes: readonly `0x${string}`[];
1348
- kzg?: import("../types/kzg.js").Kzg | undefined;
1349
- sidecars?: undefined;
1350
- } & {
1351
- gasPerPubdata?: undefined;
1352
- customSignature?: undefined;
1353
- paymaster?: undefined;
1354
- paymasterInput?: undefined;
1355
- factoryDeps?: undefined;
1356
- }) | ({
1357
- data?: `0x${string}` | undefined;
1358
- from?: `0x${string}`;
1359
- gas?: bigint | undefined;
1360
- nonce?: number | undefined;
1361
- value?: bigint | undefined;
1362
- to?: `0x${string}` | null | undefined;
1363
- gasPrice?: bigint | undefined;
1364
- maxFeePerGas?: bigint | undefined;
1365
- maxPriorityFeePerGas?: bigint | undefined;
1366
- maxFeePerBlobGas?: bigint | undefined;
1367
- accessList?: import("../index.js").AccessList | undefined;
1368
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1369
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1370
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1371
- kzg?: import("../types/kzg.js").Kzg | undefined;
1372
- sidecars?: undefined;
1373
- } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
1374
- gasPerPubdata?: bigint | undefined;
1375
- customSignature?: `0x${string}` | undefined;
1376
- factoryDeps?: `0x${string}`[] | undefined;
1377
- type?: "priority" | "eip712" | undefined;
1378
- } & {
1379
- paymaster: `0x${string}`;
1380
- paymasterInput: `0x${string}`;
1381
- }) | ({
1382
- data?: `0x${string}` | undefined;
1383
- from?: `0x${string}`;
1384
- gas?: bigint | undefined;
1385
- nonce?: number | undefined;
1386
- value?: bigint | undefined;
1387
- to?: `0x${string}` | null | undefined;
1388
- gasPrice?: bigint | undefined;
1389
- maxFeePerGas?: bigint | undefined;
1390
- maxPriorityFeePerGas?: bigint | undefined;
1391
- maxFeePerBlobGas?: bigint | undefined;
1392
- accessList?: import("../index.js").AccessList | undefined;
1393
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1394
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1395
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1396
- kzg?: import("../types/kzg.js").Kzg | undefined;
1397
- sidecars?: undefined;
1398
- } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
1399
- gasPerPubdata?: bigint | undefined;
1400
- customSignature?: `0x${string}` | undefined;
1401
- factoryDeps?: `0x${string}`[] | undefined;
1402
- type?: "priority" | "eip712" | undefined;
1403
- } & {
1404
- paymaster?: undefined;
1405
- paymasterInput?: undefined;
1406
- }) | ({
1407
- data?: `0x${string}` | undefined;
1408
- from?: `0x${string}`;
1409
- gas?: bigint | undefined;
1410
- nonce?: number | undefined;
1411
- value?: bigint | undefined;
1412
- to?: `0x${string}` | null | undefined;
1413
- gasPrice?: bigint | undefined;
1414
- maxFeePerGas?: bigint | undefined;
1415
- maxPriorityFeePerGas?: bigint | undefined;
1416
- maxFeePerBlobGas?: bigint | undefined;
1417
- accessList?: import("../index.js").AccessList | undefined;
1418
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1419
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1420
- kzg?: import("../types/kzg.js").Kzg | undefined;
1421
- sidecars?: readonly import("../index.js").BlobSidecar<`0x${string}`>[] | undefined;
1422
- blobVersionedHashes?: undefined;
1423
- } & {
1424
- data?: `0x${string}` | undefined;
1425
- from: `0x${string}`;
1426
- gas?: bigint | undefined;
1427
- nonce?: number | undefined;
1428
- to?: `0x${string}` | null | undefined;
1429
- value?: bigint | undefined;
1430
- gasPrice?: bigint | undefined;
1431
- maxFeePerBlobGas?: undefined;
1432
- maxFeePerGas?: undefined;
1433
- maxPriorityFeePerGas?: undefined;
1434
- accessList?: undefined;
1435
- blobs?: undefined;
1436
- type?: "legacy" | undefined;
1437
- kzg?: undefined;
1438
- blobVersionedHashes?: undefined;
1439
- sidecars?: undefined;
1440
- } & {
1441
- gasPerPubdata?: undefined;
1442
- customSignature?: undefined;
1443
- paymaster?: undefined;
1444
- paymasterInput?: undefined;
1445
- factoryDeps?: undefined;
1446
- }) | ({
1447
- data?: `0x${string}` | undefined;
1448
- from?: `0x${string}`;
1449
- gas?: bigint | undefined;
1450
- nonce?: number | undefined;
1451
- value?: bigint | undefined;
1452
- to?: `0x${string}` | null | undefined;
1453
- gasPrice?: bigint | undefined;
1454
- maxFeePerGas?: bigint | undefined;
1455
- maxPriorityFeePerGas?: bigint | undefined;
1456
- maxFeePerBlobGas?: bigint | undefined;
1457
- accessList?: import("../index.js").AccessList | undefined;
1458
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1459
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1460
- kzg?: import("../types/kzg.js").Kzg | undefined;
1461
- sidecars?: readonly import("../index.js").BlobSidecar<`0x${string}`>[] | undefined;
1462
- blobVersionedHashes?: undefined;
1463
- } & {
1464
- data?: `0x${string}` | undefined;
1465
- from: `0x${string}`;
1466
- gas?: bigint | undefined;
1467
- nonce?: number | undefined;
1468
- to?: `0x${string}` | null | undefined;
1469
- value?: bigint | undefined;
1470
- gasPrice?: bigint | undefined;
1471
- maxFeePerBlobGas?: undefined;
1472
- maxFeePerGas?: undefined;
1473
- maxPriorityFeePerGas?: undefined;
1474
- accessList?: import("../index.js").AccessList | undefined;
1475
- blobs?: undefined;
1476
- type?: "eip2930" | undefined;
1477
- kzg?: undefined;
1478
- blobVersionedHashes?: undefined;
1479
- sidecars?: undefined;
1480
- } & {
1481
- gasPerPubdata?: undefined;
1482
- customSignature?: undefined;
1483
- paymaster?: undefined;
1484
- paymasterInput?: undefined;
1485
- factoryDeps?: undefined;
1486
- }) | ({
1487
- data?: `0x${string}` | undefined;
1488
- from?: `0x${string}`;
1489
- gas?: bigint | undefined;
1490
- nonce?: number | undefined;
1491
- value?: bigint | undefined;
1492
- to?: `0x${string}` | null | undefined;
1493
- gasPrice?: bigint | undefined;
1494
- maxFeePerGas?: bigint | undefined;
1495
- maxPriorityFeePerGas?: bigint | undefined;
1496
- maxFeePerBlobGas?: bigint | undefined;
1497
- accessList?: import("../index.js").AccessList | undefined;
1498
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1499
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1500
- kzg?: import("../types/kzg.js").Kzg | undefined;
1501
- sidecars?: readonly import("../index.js").BlobSidecar<`0x${string}`>[] | undefined;
1502
- blobVersionedHashes?: undefined;
1503
- } & {
1504
- data?: `0x${string}` | undefined;
1505
- from: `0x${string}`;
1506
- gas?: bigint | undefined;
1507
- nonce?: number | undefined;
1508
- to?: `0x${string}` | null | undefined;
1509
- value?: bigint | undefined;
1510
- gasPrice?: undefined;
1511
- maxFeePerBlobGas?: undefined;
1512
- maxFeePerGas?: bigint | undefined;
1513
- maxPriorityFeePerGas?: bigint | undefined;
1514
- accessList?: import("../index.js").AccessList | undefined;
1515
- blobs?: undefined;
1516
- type?: "eip1559" | undefined;
1517
- kzg?: undefined;
1518
- blobVersionedHashes?: undefined;
1519
- sidecars?: undefined;
1520
- } & {
1521
- gasPerPubdata?: undefined;
1522
- customSignature?: undefined;
1523
- paymaster?: undefined;
1524
- paymasterInput?: undefined;
1525
- factoryDeps?: undefined;
1526
- }) | ({
1527
- data?: `0x${string}` | undefined;
1528
- from?: `0x${string}`;
1529
- gas?: bigint | undefined;
1530
- nonce?: number | undefined;
1531
- value?: bigint | undefined;
1532
- to?: `0x${string}` | null | undefined;
1533
- gasPrice?: bigint | undefined;
1534
- maxFeePerGas?: bigint | undefined;
1535
- maxPriorityFeePerGas?: bigint | undefined;
1536
- maxFeePerBlobGas?: bigint | undefined;
1537
- accessList?: import("../index.js").AccessList | undefined;
1538
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1539
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1540
- kzg?: import("../types/kzg.js").Kzg | undefined;
1541
- sidecars?: readonly import("../index.js").BlobSidecar<`0x${string}`>[] | undefined;
1542
- blobVersionedHashes?: undefined;
1543
- } & {
1544
- data?: `0x${string}` | undefined;
1545
- from: `0x${string}`;
1546
- gas?: bigint | undefined;
1547
- nonce?: number | undefined;
1548
- value?: bigint | undefined;
1549
- to: `0x${string}` | null;
1550
- gasPrice?: undefined;
1551
- maxFeePerGas?: bigint | undefined;
1552
- maxPriorityFeePerGas?: bigint | undefined;
1553
- maxFeePerBlobGas: bigint;
1554
- accessList?: import("../index.js").AccessList | undefined;
1555
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1556
- type?: "eip4844" | undefined;
1557
- kzg: import("../types/kzg.js").Kzg | undefined;
1558
- blobVersionedHashes?: undefined;
1559
- sidecars?: undefined;
1560
- } & {
1561
- gasPerPubdata?: undefined;
1562
- customSignature?: undefined;
1563
- paymaster?: undefined;
1564
- paymasterInput?: undefined;
1565
- factoryDeps?: undefined;
1566
- }) | ({
1567
- data?: `0x${string}` | undefined;
1568
- from?: `0x${string}`;
1569
- gas?: bigint | undefined;
1570
- nonce?: number | undefined;
1571
- value?: bigint | undefined;
1572
- to?: `0x${string}` | null | undefined;
1573
- gasPrice?: bigint | undefined;
1574
- maxFeePerGas?: bigint | undefined;
1575
- maxPriorityFeePerGas?: bigint | undefined;
1576
- maxFeePerBlobGas?: bigint | undefined;
1577
- accessList?: import("../index.js").AccessList | undefined;
1578
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1579
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1580
- kzg?: import("../types/kzg.js").Kzg | undefined;
1581
- sidecars?: readonly import("../index.js").BlobSidecar<`0x${string}`>[] | undefined;
1582
- blobVersionedHashes?: undefined;
1583
- } & {
1584
- data?: `0x${string}` | undefined;
1585
- from: `0x${string}`;
1586
- gas?: bigint | undefined;
1587
- nonce?: number | undefined;
1588
- value?: bigint | undefined;
1589
- to: `0x${string}` | null;
1590
- gasPrice?: undefined;
1591
- maxFeePerGas?: bigint | undefined;
1592
- maxPriorityFeePerGas?: bigint | undefined;
1593
- maxFeePerBlobGas: bigint;
1594
- accessList?: import("../index.js").AccessList | undefined;
1595
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1596
- type?: "eip4844" | undefined;
1597
- kzg?: import("../types/kzg.js").Kzg | undefined;
1598
- sidecars: readonly import("../index.js").BlobSidecar<`0x${string}`>[];
1599
- blobVersionedHashes?: undefined;
1600
- } & {
1601
- gasPerPubdata?: undefined;
1602
- customSignature?: undefined;
1603
- paymaster?: undefined;
1604
- paymasterInput?: undefined;
1605
- factoryDeps?: undefined;
1606
- }) | ({
1607
- data?: `0x${string}` | undefined;
1608
- from?: `0x${string}`;
1609
- gas?: bigint | undefined;
1610
- nonce?: number | undefined;
1611
- value?: bigint | undefined;
1612
- to?: `0x${string}` | null | undefined;
1613
- gasPrice?: bigint | undefined;
1614
- maxFeePerGas?: bigint | undefined;
1615
- maxPriorityFeePerGas?: bigint | undefined;
1616
- maxFeePerBlobGas?: bigint | undefined;
1617
- accessList?: import("../index.js").AccessList | undefined;
1618
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1619
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1620
- kzg?: import("../types/kzg.js").Kzg | undefined;
1621
- sidecars?: readonly import("../index.js").BlobSidecar<`0x${string}`>[] | undefined;
1622
- blobVersionedHashes?: undefined;
1623
- } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
1624
- gasPerPubdata?: bigint | undefined;
1625
- customSignature?: `0x${string}` | undefined;
1626
- factoryDeps?: `0x${string}`[] | undefined;
1627
- type?: "priority" | "eip712" | undefined;
1628
- } & {
1629
- paymaster: `0x${string}`;
1630
- paymasterInput: `0x${string}`;
1631
- }) | ({
1632
- data?: `0x${string}` | undefined;
1633
- from?: `0x${string}`;
1634
- gas?: bigint | undefined;
1635
- nonce?: number | undefined;
1636
- value?: bigint | undefined;
1637
- to?: `0x${string}` | null | undefined;
1638
- gasPrice?: bigint | undefined;
1639
- maxFeePerGas?: bigint | undefined;
1640
- maxPriorityFeePerGas?: bigint | undefined;
1641
- maxFeePerBlobGas?: bigint | undefined;
1642
- accessList?: import("../index.js").AccessList | undefined;
1643
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1644
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1645
- kzg?: import("../types/kzg.js").Kzg | undefined;
1646
- sidecars?: readonly import("../index.js").BlobSidecar<`0x${string}`>[] | undefined;
1647
- blobVersionedHashes?: undefined;
1648
- } & Omit<import("../index.js").TransactionRequestBase, "type"> & import("../index.js").ExactPartial<import("../index.js").FeeValuesEIP1559> & {
1649
- gasPerPubdata?: bigint | undefined;
1650
- customSignature?: `0x${string}` | undefined;
1651
- factoryDeps?: `0x${string}`[] | undefined;
1652
- type?: "priority" | "eip712" | undefined;
1653
- } & {
1654
- paymaster?: undefined;
1655
- paymasterInput?: undefined;
1656
- })) => ({
1657
- data?: `0x${string}` | undefined;
1658
- from: `0x${string}`;
1659
- gas?: `0x${string}` | undefined;
1660
- nonce?: `0x${string}` | undefined;
1661
- to?: `0x${string}` | null | undefined;
1662
- value?: `0x${string}` | undefined;
1663
- gasPrice?: `0x${string}` | undefined;
1664
- maxFeePerBlobGas?: undefined;
1665
- maxFeePerGas?: undefined;
1666
- maxPriorityFeePerGas?: undefined;
1667
- accessList?: undefined;
1668
- blobs?: undefined;
1669
- type?: "0x0" | undefined;
1670
- kzg?: undefined;
1671
- blobVersionedHashes?: undefined;
1672
- sidecars?: undefined;
1673
- eip712Meta?: undefined;
1674
- } | {
1675
- data?: `0x${string}` | undefined;
1676
- from: `0x${string}`;
1677
- gas?: `0x${string}` | undefined;
1678
- nonce?: `0x${string}` | undefined;
1679
- to?: `0x${string}` | null | undefined;
1680
- value?: `0x${string}` | undefined;
1681
- gasPrice?: `0x${string}` | undefined;
1682
- maxFeePerBlobGas?: undefined;
1683
- maxFeePerGas?: undefined;
1684
- maxPriorityFeePerGas?: undefined;
1685
- accessList?: undefined;
1686
- blobs?: undefined;
1687
- type?: "0x1" | undefined;
1688
- kzg?: undefined;
1689
- blobVersionedHashes?: undefined;
1690
- sidecars?: undefined;
1691
- eip712Meta?: undefined;
1692
- } | {
1693
- data?: `0x${string}` | undefined;
1694
- from: `0x${string}`;
1695
- gas?: `0x${string}` | undefined;
1696
- nonce?: `0x${string}` | undefined;
1697
- to?: `0x${string}` | null | undefined;
1698
- value?: `0x${string}` | undefined;
1699
- gasPrice?: undefined;
1700
- maxFeePerBlobGas?: undefined;
1701
- maxFeePerGas?: `0x${string}` | undefined;
1702
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1703
- accessList?: undefined;
1704
- blobs?: undefined;
1705
- type?: "0x2" | undefined;
1706
- kzg?: undefined;
1707
- blobVersionedHashes?: undefined;
1708
- sidecars?: undefined;
1709
- eip712Meta?: undefined;
1710
- } | {
1711
- data?: `0x${string}` | undefined;
1712
- from: `0x${string}`;
1713
- gas?: `0x${string}` | undefined;
1714
- nonce?: `0x${string}` | undefined;
1715
- to?: `0x${string}` | null | undefined;
1716
- value?: `0x${string}` | undefined;
1717
- gasPrice?: undefined;
1718
- maxFeePerBlobGas?: undefined;
1719
- maxFeePerGas?: `0x${string}` | undefined;
1720
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1721
- accessList?: undefined;
1722
- blobs?: undefined;
1723
- type: "0xff" | "0x71";
1724
- kzg?: undefined;
1725
- blobVersionedHashes?: undefined;
1726
- sidecars?: undefined;
1727
- eip712Meta: import("./index.js").ZkSyncEip712Meta;
1728
- } | {
1729
- data?: `0x${string}` | undefined;
1730
- from: `0x${string}`;
1731
- gas?: `0x${string}` | undefined;
1732
- nonce?: `0x${string}` | undefined;
1733
- to?: `0x${string}` | null | undefined;
1734
- value?: `0x${string}` | undefined;
1735
- gasPrice?: `0x${string}` | undefined;
1736
- maxFeePerBlobGas?: undefined;
1737
- maxFeePerGas?: undefined;
1738
- maxPriorityFeePerGas?: undefined;
1739
- accessList?: undefined;
1740
- blobs?: undefined;
1741
- type?: "0x0" | undefined;
1742
- kzg?: undefined;
1743
- blobVersionedHashes?: undefined;
1744
- sidecars?: undefined;
1745
- eip712Meta?: undefined;
1746
- } | {
1747
- data?: `0x${string}` | undefined;
1748
- from: `0x${string}`;
1749
- gas?: `0x${string}` | undefined;
1750
- nonce?: `0x${string}` | undefined;
1751
- to?: `0x${string}` | null | undefined;
1752
- value?: `0x${string}` | undefined;
1753
- gasPrice?: `0x${string}` | undefined;
1754
- maxFeePerBlobGas?: undefined;
1755
- maxFeePerGas?: undefined;
1756
- maxPriorityFeePerGas?: undefined;
1757
- accessList?: import("../index.js").AccessList | undefined;
1758
- blobs?: undefined;
1759
- type?: "0x1" | undefined;
1760
- kzg?: undefined;
1761
- blobVersionedHashes?: undefined;
1762
- sidecars?: undefined;
1763
- eip712Meta?: undefined;
1764
- } | {
1765
- data?: `0x${string}` | undefined;
1766
- from: `0x${string}`;
1767
- gas?: `0x${string}` | undefined;
1768
- nonce?: `0x${string}` | undefined;
1769
- to?: `0x${string}` | null | undefined;
1770
- value?: `0x${string}` | undefined;
1771
- gasPrice?: undefined;
1772
- maxFeePerBlobGas?: undefined;
1773
- maxFeePerGas?: `0x${string}` | undefined;
1774
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1775
- accessList?: import("../index.js").AccessList | undefined;
1776
- blobs?: undefined;
1777
- type?: "0x2" | undefined;
1778
- kzg?: undefined;
1779
- blobVersionedHashes?: undefined;
1780
- sidecars?: undefined;
1781
- eip712Meta?: undefined;
1782
- } | {
1783
- data?: `0x${string}` | undefined;
1784
- from: `0x${string}`;
1785
- gas?: `0x${string}` | undefined;
1786
- nonce?: `0x${string}` | undefined;
1787
- to?: `0x${string}` | null | undefined;
1788
- value?: `0x${string}` | undefined;
1789
- gasPrice?: undefined;
1790
- maxFeePerBlobGas?: undefined;
1791
- maxFeePerGas?: `0x${string}` | undefined;
1792
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1793
- accessList?: import("../index.js").AccessList | undefined;
1794
- blobs?: undefined;
1795
- type: "0xff" | "0x71";
1796
- kzg?: undefined;
1797
- blobVersionedHashes?: undefined;
1798
- sidecars?: undefined;
1799
- eip712Meta: import("./index.js").ZkSyncEip712Meta;
1800
- } | {
1801
- data?: `0x${string}` | undefined;
1802
- from: `0x${string}`;
1803
- gas?: `0x${string}` | undefined;
1804
- nonce?: `0x${string}` | undefined;
1805
- to?: `0x${string}` | null | undefined;
1806
- value?: `0x${string}` | undefined;
1807
- gasPrice?: `0x${string}` | undefined;
1808
- maxFeePerBlobGas?: undefined;
1809
- maxFeePerGas?: undefined;
1810
- maxPriorityFeePerGas?: undefined;
1811
- accessList?: undefined;
1812
- blobs?: undefined;
1813
- type?: "0x0" | undefined;
1814
- kzg?: undefined;
1815
- blobVersionedHashes?: undefined;
1816
- sidecars?: undefined;
1817
- eip712Meta?: undefined;
1818
- } | {
1180
+ value?: `0x${string}` | undefined;
1181
+ gasPrice?: `0x${string}` | undefined;
1182
+ maxFeePerBlobGas?: undefined;
1183
+ maxFeePerGas?: undefined;
1184
+ maxPriorityFeePerGas?: undefined;
1185
+ accessList?: undefined;
1186
+ blobs?: undefined;
1187
+ type?: "0x0" | undefined;
1188
+ eip712Meta?: undefined;
1189
+ } | {
1819
1190
  data?: `0x${string}` | undefined;
1820
1191
  from: `0x${string}`;
1821
1192
  gas?: `0x${string}` | undefined;
@@ -1829,9 +1200,6 @@ export declare const chainConfig: {
1829
1200
  accessList?: import("../index.js").AccessList | undefined;
1830
1201
  blobs?: undefined;
1831
1202
  type?: "0x1" | undefined;
1832
- kzg?: undefined;
1833
- blobVersionedHashes?: undefined;
1834
- sidecars?: undefined;
1835
1203
  eip712Meta?: undefined;
1836
1204
  } | {
1837
1205
  data?: `0x${string}` | undefined;
@@ -1847,9 +1215,6 @@ export declare const chainConfig: {
1847
1215
  accessList?: import("../index.js").AccessList | undefined;
1848
1216
  blobs?: undefined;
1849
1217
  type?: "0x2" | undefined;
1850
- kzg?: undefined;
1851
- blobVersionedHashes?: undefined;
1852
- sidecars?: undefined;
1853
1218
  eip712Meta?: undefined;
1854
1219
  } | {
1855
1220
  data?: `0x${string}` | undefined;
@@ -1865,9 +1230,6 @@ export declare const chainConfig: {
1865
1230
  accessList?: import("../index.js").AccessList | undefined;
1866
1231
  blobs?: undefined;
1867
1232
  type: "0xff" | "0x71";
1868
- kzg?: undefined;
1869
- blobVersionedHashes?: undefined;
1870
- sidecars?: undefined;
1871
1233
  eip712Meta: import("./index.js").ZkSyncEip712Meta;
1872
1234
  } | {
1873
1235
  data?: `0x${string}` | undefined;
@@ -1883,9 +1245,6 @@ export declare const chainConfig: {
1883
1245
  accessList?: import("../index.js").AccessList | undefined;
1884
1246
  blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1885
1247
  type?: "0x3" | undefined;
1886
- kzg: import("../types/kzg.js").Kzg | undefined;
1887
- blobVersionedHashes?: undefined;
1888
- sidecars?: undefined;
1889
1248
  eip712Meta?: undefined;
1890
1249
  } | {
1891
1250
  data?: `0x${string}` | undefined;
@@ -1901,81 +1260,6 @@ export declare const chainConfig: {
1901
1260
  accessList?: import("../index.js").AccessList | undefined;
1902
1261
  blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1903
1262
  type: "0xff" | "0x71";
1904
- kzg: import("../types/kzg.js").Kzg | undefined;
1905
- blobVersionedHashes?: undefined;
1906
- sidecars?: undefined;
1907
- eip712Meta: import("./index.js").ZkSyncEip712Meta;
1908
- } | {
1909
- data?: `0x${string}` | undefined;
1910
- from: `0x${string}`;
1911
- gas?: `0x${string}` | undefined;
1912
- nonce?: `0x${string}` | undefined;
1913
- value?: `0x${string}` | undefined;
1914
- to: `0x${string}` | null;
1915
- gasPrice?: undefined;
1916
- maxFeePerGas?: `0x${string}` | undefined;
1917
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1918
- maxFeePerBlobGas: `0x${string}`;
1919
- accessList?: import("../index.js").AccessList | undefined;
1920
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1921
- type?: "0x3" | undefined;
1922
- blobVersionedHashes: readonly `0x${string}`[];
1923
- kzg?: import("../types/kzg.js").Kzg | undefined;
1924
- sidecars?: undefined;
1925
- eip712Meta?: undefined;
1926
- } | {
1927
- data?: `0x${string}` | undefined;
1928
- from: `0x${string}`;
1929
- gas?: `0x${string}` | undefined;
1930
- nonce?: `0x${string}` | undefined;
1931
- value?: `0x${string}` | undefined;
1932
- to: `0x${string}` | null | undefined;
1933
- gasPrice?: undefined;
1934
- maxFeePerGas?: `0x${string}` | undefined;
1935
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1936
- maxFeePerBlobGas: undefined;
1937
- accessList?: import("../index.js").AccessList | undefined;
1938
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1939
- type: "0xff" | "0x71";
1940
- blobVersionedHashes: readonly `0x${string}`[];
1941
- kzg?: import("../types/kzg.js").Kzg | undefined;
1942
- sidecars?: undefined;
1943
- eip712Meta: import("./index.js").ZkSyncEip712Meta;
1944
- } | {
1945
- data?: `0x${string}` | undefined;
1946
- from: `0x${string}`;
1947
- gas?: `0x${string}` | undefined;
1948
- nonce?: `0x${string}` | undefined;
1949
- value?: `0x${string}` | undefined;
1950
- to: `0x${string}` | null;
1951
- gasPrice?: undefined;
1952
- maxFeePerGas?: `0x${string}` | undefined;
1953
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1954
- maxFeePerBlobGas: `0x${string}`;
1955
- accessList?: import("../index.js").AccessList | undefined;
1956
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1957
- type?: "0x3" | undefined;
1958
- kzg?: import("../types/kzg.js").Kzg | undefined;
1959
- sidecars: readonly import("../index.js").BlobSidecar<`0x${string}`>[];
1960
- blobVersionedHashes?: undefined;
1961
- eip712Meta?: undefined;
1962
- } | {
1963
- data?: `0x${string}` | undefined;
1964
- from: `0x${string}`;
1965
- gas?: `0x${string}` | undefined;
1966
- nonce?: `0x${string}` | undefined;
1967
- value?: `0x${string}` | undefined;
1968
- to: `0x${string}` | null | undefined;
1969
- gasPrice?: undefined;
1970
- maxFeePerGas?: `0x${string}` | undefined;
1971
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1972
- maxFeePerBlobGas: undefined;
1973
- accessList?: import("../index.js").AccessList | undefined;
1974
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1975
- type: "0xff" | "0x71";
1976
- kzg?: import("../types/kzg.js").Kzg | undefined;
1977
- sidecars: readonly import("../index.js").BlobSidecar<`0x${string}`>[];
1978
- blobVersionedHashes?: undefined;
1979
1263
  eip712Meta: import("./index.js").ZkSyncEip712Meta;
1980
1264
  }) & {
1981
1265
  gasPerPubdata: never;