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

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