viem 0.0.0-main.20230808T131959 → 0.0.0-main.20230809T050211
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chains/celo/package.json +5 -0
- package/chains/optimism/package.json +5 -0
- package/dist/cjs/chains/{formatters/celo.js → celo/formatters.js} +1 -1
- package/dist/cjs/chains/celo/formatters.js.map +1 -0
- package/dist/cjs/chains/celo/index.js +13 -0
- package/dist/cjs/chains/celo/index.js.map +1 -0
- package/dist/cjs/chains/{serializers/celo.js → celo/serializers.js} +1 -1
- package/dist/cjs/chains/celo/serializers.js.map +1 -0
- package/dist/cjs/chains/celo/types.js +3 -0
- package/dist/cjs/chains/celo/types.js.map +1 -0
- package/dist/cjs/chains/index.js +11 -11
- package/dist/cjs/chains/index.js.map +1 -1
- package/dist/cjs/chains/{formatters/optimism.js → optimism/formatters.js} +13 -1
- package/dist/cjs/chains/optimism/formatters.js.map +1 -0
- package/dist/cjs/chains/optimism/index.js +9 -0
- package/dist/cjs/chains/optimism/index.js.map +1 -0
- package/dist/cjs/chains/optimism/types.js +3 -0
- package/dist/cjs/chains/optimism/types.js.map +1 -0
- package/dist/cjs/errors/version.js +1 -1
- package/dist/cjs/utils/formatters/formatter.js.map +1 -1
- package/dist/esm/chains/{formatters/celo.js → celo/formatters.js} +1 -1
- package/dist/esm/chains/celo/formatters.js.map +1 -0
- package/dist/esm/chains/celo/index.js +4 -0
- package/dist/esm/chains/celo/index.js.map +1 -0
- package/dist/esm/chains/{serializers/celo.js → celo/serializers.js} +1 -1
- package/dist/esm/chains/celo/serializers.js.map +1 -0
- package/dist/esm/chains/celo/types.js +2 -0
- package/dist/esm/chains/celo/types.js.map +1 -0
- package/dist/esm/chains/index.js +3 -3
- package/dist/esm/chains/index.js.map +1 -1
- package/dist/esm/chains/{formatters/optimism.js → optimism/formatters.js} +14 -1
- package/dist/esm/chains/optimism/formatters.js.map +1 -0
- package/dist/esm/chains/optimism/index.js +3 -0
- package/dist/esm/chains/optimism/index.js.map +1 -0
- package/dist/esm/chains/optimism/types.js +2 -0
- package/dist/esm/chains/optimism/types.js.map +1 -0
- package/dist/esm/errors/version.js +1 -1
- package/dist/esm/utils/formatters/formatter.js.map +1 -1
- package/dist/types/chains/{formatters/celo.d.ts → celo/formatters.d.ts} +26 -85
- package/dist/types/chains/celo/formatters.d.ts.map +1 -0
- package/dist/types/chains/celo/index.d.ts +5 -0
- package/dist/types/chains/celo/index.d.ts.map +1 -0
- package/dist/types/chains/{serializers/celo.d.ts → celo/serializers.d.ts} +4 -4
- package/dist/types/chains/celo/serializers.d.ts.map +1 -0
- package/dist/types/chains/celo/types.d.ts +60 -0
- package/dist/types/chains/celo/types.d.ts.map +1 -0
- package/dist/types/chains/index.d.ts +344 -300
- package/dist/types/chains/index.d.ts.map +1 -1
- package/dist/types/chains/{formatters/optimism.d.ts → optimism/formatters.d.ts} +77 -54
- package/dist/types/chains/optimism/formatters.d.ts.map +1 -0
- package/dist/types/chains/optimism/index.d.ts +4 -0
- package/dist/types/chains/optimism/index.d.ts.map +1 -0
- package/dist/types/chains/optimism/types.d.ts +53 -0
- package/dist/types/chains/optimism/types.d.ts.map +1 -0
- package/dist/types/errors/version.d.ts +1 -1
- package/dist/types/types/rpc.d.ts +1 -1
- package/dist/types/types/rpc.d.ts.map +1 -1
- package/dist/types/types/utils.d.ts +10 -0
- package/dist/types/types/utils.d.ts.map +1 -1
- package/dist/types/utils/formatters/block.d.ts +1 -1
- package/dist/types/utils/formatters/formatter.d.ts +1 -1
- package/dist/types/utils/formatters/transaction.d.ts +1 -1
- package/dist/types/utils/formatters/transactionReceipt.d.ts +1 -1
- package/dist/types/utils/formatters/transactionRequest.d.ts +1 -1
- package/package.json +13 -1
- package/src/chains/{formatters/celo.ts → celo/formatters.ts} +27 -46
- package/src/chains/celo/index.ts +29 -0
- package/src/chains/{serializers/celo.ts → celo/serializers.ts} +3 -3
- package/src/chains/celo/types.ts +111 -0
- package/src/chains/index.ts +3 -3
- package/src/chains/optimism/formatters.ts +74 -0
- package/src/chains/optimism/index.ts +18 -0
- package/src/chains/optimism/types.ts +102 -0
- package/src/errors/version.ts +1 -1
- package/src/types/rpc.ts +2 -6
- package/src/types/utils.ts +11 -0
- package/src/utils/formatters/formatter.ts +2 -2
- package/dist/cjs/chains/formatters/celo.js.map +0 -1
- package/dist/cjs/chains/formatters/optimism.js.map +0 -1
- package/dist/cjs/chains/serializers/celo.js.map +0 -1
- package/dist/esm/chains/formatters/celo.js.map +0 -1
- package/dist/esm/chains/formatters/optimism.js.map +0 -1
- package/dist/esm/chains/serializers/celo.js.map +0 -1
- package/dist/types/chains/formatters/celo.d.ts.map +0 -1
- package/dist/types/chains/formatters/optimism.d.ts.map +0 -1
- package/dist/types/chains/serializers/celo.d.ts.map +0 -1
- package/src/chains/formatters/optimism.ts +0 -91
@@ -554,17 +554,9 @@ export declare const celo: {
|
|
554
554
|
formatters: {
|
555
555
|
readonly block: {
|
556
556
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
557
|
-
format: (args: Partial<import("../index.js").RpcBlock
|
558
|
-
|
559
|
-
|
560
|
-
revealed: `0x${string}`;
|
561
|
-
};
|
562
|
-
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
563
|
-
feeCurrency: `0x${string}` | null;
|
564
|
-
gatewayFee: `0x${string}` | null;
|
565
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
566
|
-
})[];
|
567
|
-
}) => {
|
557
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./celo/types.js").CeloBlockOverrides & {
|
558
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloRpcTransaction[];
|
559
|
+
}>) => {
|
568
560
|
baseFeePerGas: bigint | null;
|
569
561
|
difficulty: bigint;
|
570
562
|
extraData: `0x${string}`;
|
@@ -584,11 +576,7 @@ export declare const celo: {
|
|
584
576
|
stateRoot: `0x${string}`;
|
585
577
|
timestamp: bigint;
|
586
578
|
totalDifficulty: bigint | null;
|
587
|
-
transactions: `0x${string}`[] |
|
588
|
-
feeCurrency: `0x${string}` | null;
|
589
|
-
gatewayFee: bigint | null;
|
590
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
591
|
-
})[];
|
579
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloTransaction[];
|
592
580
|
transactionsRoot: `0x${string}`;
|
593
581
|
uncles: `0x${string}`[];
|
594
582
|
randomness: {
|
@@ -606,11 +594,7 @@ export declare const celo: {
|
|
606
594
|
};
|
607
595
|
readonly transaction: {
|
608
596
|
exclude: [] | undefined;
|
609
|
-
format: (args: Partial<import("../index.js").RpcTransaction>
|
610
|
-
feeCurrency: `0x${string}` | null;
|
611
|
-
gatewayFee: `0x${string}` | null;
|
612
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
613
|
-
}) => ({
|
597
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./celo/types.js").CeloRpcTransactionOverrides>) => ({
|
614
598
|
blockHash: `0x${string}` | null;
|
615
599
|
blockNumber: bigint | null;
|
616
600
|
from: `0x${string}`;
|
@@ -687,11 +671,7 @@ export declare const celo: {
|
|
687
671
|
};
|
688
672
|
readonly transactionReceipt: {
|
689
673
|
exclude: [] | undefined;
|
690
|
-
format: (args: Partial<import("../index.js").RpcTransactionReceipt>
|
691
|
-
feeCurrency: `0x${string}` | null;
|
692
|
-
gatewayFee: `0x${string}` | null;
|
693
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
694
|
-
}) => {
|
674
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
|
695
675
|
blockHash: `0x${string}`;
|
696
676
|
blockNumber: bigint;
|
697
677
|
contractAddress: `0x${string}` | null;
|
@@ -714,11 +694,7 @@ export declare const celo: {
|
|
714
694
|
};
|
715
695
|
readonly transactionRequest: {
|
716
696
|
exclude: [] | undefined;
|
717
|
-
format: (args: Partial<import("../index.js").TransactionRequest>
|
718
|
-
feeCurrency?: `0x${string}` | undefined;
|
719
|
-
gatewayFee?: bigint | undefined;
|
720
|
-
gatewayFeeRecipient?: `0x${string}` | undefined;
|
721
|
-
}) => ({
|
697
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./celo/types.js").CeloTransactionRequestOverrides>) => ({
|
722
698
|
data?: `0x${string}` | undefined;
|
723
699
|
from: `0x${string}`;
|
724
700
|
gas?: `0x${string}` | undefined;
|
@@ -730,9 +706,9 @@ export declare const celo: {
|
|
730
706
|
maxPriorityFeePerGas?: undefined;
|
731
707
|
accessList?: undefined;
|
732
708
|
type?: "0x0" | undefined;
|
733
|
-
feeCurrency
|
734
|
-
gatewayFee
|
735
|
-
gatewayFeeRecipient
|
709
|
+
feeCurrency?: `0x${string}` | undefined;
|
710
|
+
gatewayFee?: `0x${string}` | undefined;
|
711
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
736
712
|
} | {
|
737
713
|
data?: `0x${string}` | undefined;
|
738
714
|
from: `0x${string}`;
|
@@ -745,9 +721,9 @@ export declare const celo: {
|
|
745
721
|
maxPriorityFeePerGas?: undefined;
|
746
722
|
accessList?: import("../index.js").AccessList | undefined;
|
747
723
|
type?: "0x1" | undefined;
|
748
|
-
feeCurrency
|
749
|
-
gatewayFee
|
750
|
-
gatewayFeeRecipient
|
724
|
+
feeCurrency?: `0x${string}` | undefined;
|
725
|
+
gatewayFee?: `0x${string}` | undefined;
|
726
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
751
727
|
} | {
|
752
728
|
data?: `0x${string}` | undefined;
|
753
729
|
from: `0x${string}`;
|
@@ -760,9 +736,9 @@ export declare const celo: {
|
|
760
736
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
761
737
|
accessList?: import("../index.js").AccessList | undefined;
|
762
738
|
type?: "0x2" | undefined;
|
763
|
-
feeCurrency
|
764
|
-
gatewayFee
|
765
|
-
gatewayFeeRecipient
|
739
|
+
feeCurrency?: `0x${string}` | undefined;
|
740
|
+
gatewayFee?: `0x${string}` | undefined;
|
741
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
766
742
|
}) & {};
|
767
743
|
type: "transactionRequest";
|
768
744
|
};
|
@@ -770,17 +746,9 @@ export declare const celo: {
|
|
770
746
|
serializers: import("../index.js").Serializers<{
|
771
747
|
readonly block: {
|
772
748
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
773
|
-
format: (args: Partial<import("../index.js").RpcBlock
|
774
|
-
|
775
|
-
|
776
|
-
revealed: `0x${string}`;
|
777
|
-
};
|
778
|
-
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
779
|
-
feeCurrency: `0x${string}` | null;
|
780
|
-
gatewayFee: `0x${string}` | null;
|
781
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
782
|
-
})[];
|
783
|
-
}) => {
|
749
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./celo/types.js").CeloBlockOverrides & {
|
750
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloRpcTransaction[];
|
751
|
+
}>) => {
|
784
752
|
baseFeePerGas: bigint | null;
|
785
753
|
difficulty: bigint;
|
786
754
|
extraData: `0x${string}`;
|
@@ -800,11 +768,7 @@ export declare const celo: {
|
|
800
768
|
stateRoot: `0x${string}`;
|
801
769
|
timestamp: bigint;
|
802
770
|
totalDifficulty: bigint | null;
|
803
|
-
transactions: `0x${string}`[] |
|
804
|
-
feeCurrency: `0x${string}` | null;
|
805
|
-
gatewayFee: bigint | null;
|
806
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
807
|
-
})[];
|
771
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloTransaction[];
|
808
772
|
transactionsRoot: `0x${string}`;
|
809
773
|
uncles: `0x${string}`[];
|
810
774
|
randomness: {
|
@@ -822,11 +786,7 @@ export declare const celo: {
|
|
822
786
|
};
|
823
787
|
readonly transaction: {
|
824
788
|
exclude: [] | undefined;
|
825
|
-
format: (args: Partial<import("../index.js").RpcTransaction>
|
826
|
-
feeCurrency: `0x${string}` | null;
|
827
|
-
gatewayFee: `0x${string}` | null;
|
828
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
829
|
-
}) => ({
|
789
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./celo/types.js").CeloRpcTransactionOverrides>) => ({
|
830
790
|
blockHash: `0x${string}` | null;
|
831
791
|
blockNumber: bigint | null;
|
832
792
|
from: `0x${string}`;
|
@@ -903,11 +863,7 @@ export declare const celo: {
|
|
903
863
|
};
|
904
864
|
readonly transactionReceipt: {
|
905
865
|
exclude: [] | undefined;
|
906
|
-
format: (args: Partial<import("../index.js").RpcTransactionReceipt>
|
907
|
-
feeCurrency: `0x${string}` | null;
|
908
|
-
gatewayFee: `0x${string}` | null;
|
909
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
910
|
-
}) => {
|
866
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
|
911
867
|
blockHash: `0x${string}`;
|
912
868
|
blockNumber: bigint;
|
913
869
|
contractAddress: `0x${string}` | null;
|
@@ -930,11 +886,7 @@ export declare const celo: {
|
|
930
886
|
};
|
931
887
|
readonly transactionRequest: {
|
932
888
|
exclude: [] | undefined;
|
933
|
-
format: (args: Partial<import("../index.js").TransactionRequest>
|
934
|
-
feeCurrency?: `0x${string}` | undefined;
|
935
|
-
gatewayFee?: bigint | undefined;
|
936
|
-
gatewayFeeRecipient?: `0x${string}` | undefined;
|
937
|
-
}) => ({
|
889
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./celo/types.js").CeloTransactionRequestOverrides>) => ({
|
938
890
|
data?: `0x${string}` | undefined;
|
939
891
|
from: `0x${string}`;
|
940
892
|
gas?: `0x${string}` | undefined;
|
@@ -946,9 +898,9 @@ export declare const celo: {
|
|
946
898
|
maxPriorityFeePerGas?: undefined;
|
947
899
|
accessList?: undefined;
|
948
900
|
type?: "0x0" | undefined;
|
949
|
-
feeCurrency
|
950
|
-
gatewayFee
|
951
|
-
gatewayFeeRecipient
|
901
|
+
feeCurrency?: `0x${string}` | undefined;
|
902
|
+
gatewayFee?: `0x${string}` | undefined;
|
903
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
952
904
|
} | {
|
953
905
|
data?: `0x${string}` | undefined;
|
954
906
|
from: `0x${string}`;
|
@@ -961,9 +913,9 @@ export declare const celo: {
|
|
961
913
|
maxPriorityFeePerGas?: undefined;
|
962
914
|
accessList?: import("../index.js").AccessList | undefined;
|
963
915
|
type?: "0x1" | undefined;
|
964
|
-
feeCurrency
|
965
|
-
gatewayFee
|
966
|
-
gatewayFeeRecipient
|
916
|
+
feeCurrency?: `0x${string}` | undefined;
|
917
|
+
gatewayFee?: `0x${string}` | undefined;
|
918
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
967
919
|
} | {
|
968
920
|
data?: `0x${string}` | undefined;
|
969
921
|
from: `0x${string}`;
|
@@ -976,9 +928,9 @@ export declare const celo: {
|
|
976
928
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
977
929
|
accessList?: import("../index.js").AccessList | undefined;
|
978
930
|
type?: "0x2" | undefined;
|
979
|
-
feeCurrency
|
980
|
-
gatewayFee
|
981
|
-
gatewayFeeRecipient
|
931
|
+
feeCurrency?: `0x${string}` | undefined;
|
932
|
+
gatewayFee?: `0x${string}` | undefined;
|
933
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
982
934
|
}) & {};
|
983
935
|
type: "transactionRequest";
|
984
936
|
};
|
@@ -1025,17 +977,9 @@ export declare const celoAlfajores: {
|
|
1025
977
|
formatters: {
|
1026
978
|
readonly block: {
|
1027
979
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
1028
|
-
format: (args: Partial<import("../index.js").RpcBlock
|
1029
|
-
|
1030
|
-
|
1031
|
-
revealed: `0x${string}`;
|
1032
|
-
};
|
1033
|
-
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
1034
|
-
feeCurrency: `0x${string}` | null;
|
1035
|
-
gatewayFee: `0x${string}` | null;
|
1036
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1037
|
-
})[];
|
1038
|
-
}) => {
|
980
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./celo/types.js").CeloBlockOverrides & {
|
981
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloRpcTransaction[];
|
982
|
+
}>) => {
|
1039
983
|
baseFeePerGas: bigint | null;
|
1040
984
|
difficulty: bigint;
|
1041
985
|
extraData: `0x${string}`;
|
@@ -1055,11 +999,7 @@ export declare const celoAlfajores: {
|
|
1055
999
|
stateRoot: `0x${string}`;
|
1056
1000
|
timestamp: bigint;
|
1057
1001
|
totalDifficulty: bigint | null;
|
1058
|
-
transactions: `0x${string}`[] |
|
1059
|
-
feeCurrency: `0x${string}` | null;
|
1060
|
-
gatewayFee: bigint | null;
|
1061
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1062
|
-
})[];
|
1002
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloTransaction[];
|
1063
1003
|
transactionsRoot: `0x${string}`;
|
1064
1004
|
uncles: `0x${string}`[];
|
1065
1005
|
randomness: {
|
@@ -1077,11 +1017,7 @@ export declare const celoAlfajores: {
|
|
1077
1017
|
};
|
1078
1018
|
readonly transaction: {
|
1079
1019
|
exclude: [] | undefined;
|
1080
|
-
format: (args: Partial<import("../index.js").RpcTransaction>
|
1081
|
-
feeCurrency: `0x${string}` | null;
|
1082
|
-
gatewayFee: `0x${string}` | null;
|
1083
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1084
|
-
}) => ({
|
1020
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./celo/types.js").CeloRpcTransactionOverrides>) => ({
|
1085
1021
|
blockHash: `0x${string}` | null;
|
1086
1022
|
blockNumber: bigint | null;
|
1087
1023
|
from: `0x${string}`;
|
@@ -1158,11 +1094,7 @@ export declare const celoAlfajores: {
|
|
1158
1094
|
};
|
1159
1095
|
readonly transactionReceipt: {
|
1160
1096
|
exclude: [] | undefined;
|
1161
|
-
format: (args: Partial<import("../index.js").RpcTransactionReceipt>
|
1162
|
-
feeCurrency: `0x${string}` | null;
|
1163
|
-
gatewayFee: `0x${string}` | null;
|
1164
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1165
|
-
}) => {
|
1097
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
|
1166
1098
|
blockHash: `0x${string}`;
|
1167
1099
|
blockNumber: bigint;
|
1168
1100
|
contractAddress: `0x${string}` | null;
|
@@ -1185,11 +1117,7 @@ export declare const celoAlfajores: {
|
|
1185
1117
|
};
|
1186
1118
|
readonly transactionRequest: {
|
1187
1119
|
exclude: [] | undefined;
|
1188
|
-
format: (args: Partial<import("../index.js").TransactionRequest>
|
1189
|
-
feeCurrency?: `0x${string}` | undefined;
|
1190
|
-
gatewayFee?: bigint | undefined;
|
1191
|
-
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1192
|
-
}) => ({
|
1120
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./celo/types.js").CeloTransactionRequestOverrides>) => ({
|
1193
1121
|
data?: `0x${string}` | undefined;
|
1194
1122
|
from: `0x${string}`;
|
1195
1123
|
gas?: `0x${string}` | undefined;
|
@@ -1201,9 +1129,9 @@ export declare const celoAlfajores: {
|
|
1201
1129
|
maxPriorityFeePerGas?: undefined;
|
1202
1130
|
accessList?: undefined;
|
1203
1131
|
type?: "0x0" | undefined;
|
1204
|
-
feeCurrency
|
1205
|
-
gatewayFee
|
1206
|
-
gatewayFeeRecipient
|
1132
|
+
feeCurrency?: `0x${string}` | undefined;
|
1133
|
+
gatewayFee?: `0x${string}` | undefined;
|
1134
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1207
1135
|
} | {
|
1208
1136
|
data?: `0x${string}` | undefined;
|
1209
1137
|
from: `0x${string}`;
|
@@ -1216,9 +1144,9 @@ export declare const celoAlfajores: {
|
|
1216
1144
|
maxPriorityFeePerGas?: undefined;
|
1217
1145
|
accessList?: import("../index.js").AccessList | undefined;
|
1218
1146
|
type?: "0x1" | undefined;
|
1219
|
-
feeCurrency
|
1220
|
-
gatewayFee
|
1221
|
-
gatewayFeeRecipient
|
1147
|
+
feeCurrency?: `0x${string}` | undefined;
|
1148
|
+
gatewayFee?: `0x${string}` | undefined;
|
1149
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1222
1150
|
} | {
|
1223
1151
|
data?: `0x${string}` | undefined;
|
1224
1152
|
from: `0x${string}`;
|
@@ -1231,9 +1159,9 @@ export declare const celoAlfajores: {
|
|
1231
1159
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1232
1160
|
accessList?: import("../index.js").AccessList | undefined;
|
1233
1161
|
type?: "0x2" | undefined;
|
1234
|
-
feeCurrency
|
1235
|
-
gatewayFee
|
1236
|
-
gatewayFeeRecipient
|
1162
|
+
feeCurrency?: `0x${string}` | undefined;
|
1163
|
+
gatewayFee?: `0x${string}` | undefined;
|
1164
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1237
1165
|
}) & {};
|
1238
1166
|
type: "transactionRequest";
|
1239
1167
|
};
|
@@ -1241,17 +1169,9 @@ export declare const celoAlfajores: {
|
|
1241
1169
|
serializers: import("../index.js").Serializers<{
|
1242
1170
|
readonly block: {
|
1243
1171
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
1244
|
-
format: (args: Partial<import("../index.js").RpcBlock
|
1245
|
-
|
1246
|
-
|
1247
|
-
revealed: `0x${string}`;
|
1248
|
-
};
|
1249
|
-
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
1250
|
-
feeCurrency: `0x${string}` | null;
|
1251
|
-
gatewayFee: `0x${string}` | null;
|
1252
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1253
|
-
})[];
|
1254
|
-
}) => {
|
1172
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./celo/types.js").CeloBlockOverrides & {
|
1173
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloRpcTransaction[];
|
1174
|
+
}>) => {
|
1255
1175
|
baseFeePerGas: bigint | null;
|
1256
1176
|
difficulty: bigint;
|
1257
1177
|
extraData: `0x${string}`;
|
@@ -1271,11 +1191,7 @@ export declare const celoAlfajores: {
|
|
1271
1191
|
stateRoot: `0x${string}`;
|
1272
1192
|
timestamp: bigint;
|
1273
1193
|
totalDifficulty: bigint | null;
|
1274
|
-
transactions: `0x${string}`[] |
|
1275
|
-
feeCurrency: `0x${string}` | null;
|
1276
|
-
gatewayFee: bigint | null;
|
1277
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1278
|
-
})[];
|
1194
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloTransaction[];
|
1279
1195
|
transactionsRoot: `0x${string}`;
|
1280
1196
|
uncles: `0x${string}`[];
|
1281
1197
|
randomness: {
|
@@ -1293,11 +1209,7 @@ export declare const celoAlfajores: {
|
|
1293
1209
|
};
|
1294
1210
|
readonly transaction: {
|
1295
1211
|
exclude: [] | undefined;
|
1296
|
-
format: (args: Partial<import("../index.js").RpcTransaction>
|
1297
|
-
feeCurrency: `0x${string}` | null;
|
1298
|
-
gatewayFee: `0x${string}` | null;
|
1299
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1300
|
-
}) => ({
|
1212
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./celo/types.js").CeloRpcTransactionOverrides>) => ({
|
1301
1213
|
blockHash: `0x${string}` | null;
|
1302
1214
|
blockNumber: bigint | null;
|
1303
1215
|
from: `0x${string}`;
|
@@ -1374,11 +1286,7 @@ export declare const celoAlfajores: {
|
|
1374
1286
|
};
|
1375
1287
|
readonly transactionReceipt: {
|
1376
1288
|
exclude: [] | undefined;
|
1377
|
-
format: (args: Partial<import("../index.js").RpcTransactionReceipt>
|
1378
|
-
feeCurrency: `0x${string}` | null;
|
1379
|
-
gatewayFee: `0x${string}` | null;
|
1380
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1381
|
-
}) => {
|
1289
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
|
1382
1290
|
blockHash: `0x${string}`;
|
1383
1291
|
blockNumber: bigint;
|
1384
1292
|
contractAddress: `0x${string}` | null;
|
@@ -1401,11 +1309,7 @@ export declare const celoAlfajores: {
|
|
1401
1309
|
};
|
1402
1310
|
readonly transactionRequest: {
|
1403
1311
|
exclude: [] | undefined;
|
1404
|
-
format: (args: Partial<import("../index.js").TransactionRequest>
|
1405
|
-
feeCurrency?: `0x${string}` | undefined;
|
1406
|
-
gatewayFee?: bigint | undefined;
|
1407
|
-
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1408
|
-
}) => ({
|
1312
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./celo/types.js").CeloTransactionRequestOverrides>) => ({
|
1409
1313
|
data?: `0x${string}` | undefined;
|
1410
1314
|
from: `0x${string}`;
|
1411
1315
|
gas?: `0x${string}` | undefined;
|
@@ -1417,9 +1321,9 @@ export declare const celoAlfajores: {
|
|
1417
1321
|
maxPriorityFeePerGas?: undefined;
|
1418
1322
|
accessList?: undefined;
|
1419
1323
|
type?: "0x0" | undefined;
|
1420
|
-
feeCurrency
|
1421
|
-
gatewayFee
|
1422
|
-
gatewayFeeRecipient
|
1324
|
+
feeCurrency?: `0x${string}` | undefined;
|
1325
|
+
gatewayFee?: `0x${string}` | undefined;
|
1326
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1423
1327
|
} | {
|
1424
1328
|
data?: `0x${string}` | undefined;
|
1425
1329
|
from: `0x${string}`;
|
@@ -1432,9 +1336,9 @@ export declare const celoAlfajores: {
|
|
1432
1336
|
maxPriorityFeePerGas?: undefined;
|
1433
1337
|
accessList?: import("../index.js").AccessList | undefined;
|
1434
1338
|
type?: "0x1" | undefined;
|
1435
|
-
feeCurrency
|
1436
|
-
gatewayFee
|
1437
|
-
gatewayFeeRecipient
|
1339
|
+
feeCurrency?: `0x${string}` | undefined;
|
1340
|
+
gatewayFee?: `0x${string}` | undefined;
|
1341
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1438
1342
|
} | {
|
1439
1343
|
data?: `0x${string}` | undefined;
|
1440
1344
|
from: `0x${string}`;
|
@@ -1447,9 +1351,9 @@ export declare const celoAlfajores: {
|
|
1447
1351
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1448
1352
|
accessList?: import("../index.js").AccessList | undefined;
|
1449
1353
|
type?: "0x2" | undefined;
|
1450
|
-
feeCurrency
|
1451
|
-
gatewayFee
|
1452
|
-
gatewayFeeRecipient
|
1354
|
+
feeCurrency?: `0x${string}` | undefined;
|
1355
|
+
gatewayFee?: `0x${string}` | undefined;
|
1356
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1453
1357
|
}) & {};
|
1454
1358
|
type: "transactionRequest";
|
1455
1359
|
};
|
@@ -1489,17 +1393,9 @@ export declare const celoCannoli: {
|
|
1489
1393
|
formatters: {
|
1490
1394
|
readonly block: {
|
1491
1395
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
1492
|
-
format: (args: Partial<import("../index.js").RpcBlock
|
1493
|
-
|
1494
|
-
|
1495
|
-
revealed: `0x${string}`;
|
1496
|
-
};
|
1497
|
-
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
1498
|
-
feeCurrency: `0x${string}` | null;
|
1499
|
-
gatewayFee: `0x${string}` | null;
|
1500
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1501
|
-
})[];
|
1502
|
-
}) => {
|
1396
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./celo/types.js").CeloBlockOverrides & {
|
1397
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloRpcTransaction[];
|
1398
|
+
}>) => {
|
1503
1399
|
baseFeePerGas: bigint | null;
|
1504
1400
|
difficulty: bigint;
|
1505
1401
|
extraData: `0x${string}`;
|
@@ -1519,11 +1415,7 @@ export declare const celoCannoli: {
|
|
1519
1415
|
stateRoot: `0x${string}`;
|
1520
1416
|
timestamp: bigint;
|
1521
1417
|
totalDifficulty: bigint | null;
|
1522
|
-
transactions: `0x${string}`[] |
|
1523
|
-
feeCurrency: `0x${string}` | null;
|
1524
|
-
gatewayFee: bigint | null;
|
1525
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1526
|
-
})[];
|
1418
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloTransaction[];
|
1527
1419
|
transactionsRoot: `0x${string}`;
|
1528
1420
|
uncles: `0x${string}`[];
|
1529
1421
|
randomness: {
|
@@ -1541,11 +1433,7 @@ export declare const celoCannoli: {
|
|
1541
1433
|
};
|
1542
1434
|
readonly transaction: {
|
1543
1435
|
exclude: [] | undefined;
|
1544
|
-
format: (args: Partial<import("../index.js").RpcTransaction>
|
1545
|
-
feeCurrency: `0x${string}` | null;
|
1546
|
-
gatewayFee: `0x${string}` | null;
|
1547
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1548
|
-
}) => ({
|
1436
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./celo/types.js").CeloRpcTransactionOverrides>) => ({
|
1549
1437
|
blockHash: `0x${string}` | null;
|
1550
1438
|
blockNumber: bigint | null;
|
1551
1439
|
from: `0x${string}`;
|
@@ -1622,11 +1510,7 @@ export declare const celoCannoli: {
|
|
1622
1510
|
};
|
1623
1511
|
readonly transactionReceipt: {
|
1624
1512
|
exclude: [] | undefined;
|
1625
|
-
format: (args: Partial<import("../index.js").RpcTransactionReceipt>
|
1626
|
-
feeCurrency: `0x${string}` | null;
|
1627
|
-
gatewayFee: `0x${string}` | null;
|
1628
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1629
|
-
}) => {
|
1513
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
|
1630
1514
|
blockHash: `0x${string}`;
|
1631
1515
|
blockNumber: bigint;
|
1632
1516
|
contractAddress: `0x${string}` | null;
|
@@ -1649,11 +1533,7 @@ export declare const celoCannoli: {
|
|
1649
1533
|
};
|
1650
1534
|
readonly transactionRequest: {
|
1651
1535
|
exclude: [] | undefined;
|
1652
|
-
format: (args: Partial<import("../index.js").TransactionRequest>
|
1653
|
-
feeCurrency?: `0x${string}` | undefined;
|
1654
|
-
gatewayFee?: bigint | undefined;
|
1655
|
-
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1656
|
-
}) => ({
|
1536
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./celo/types.js").CeloTransactionRequestOverrides>) => ({
|
1657
1537
|
data?: `0x${string}` | undefined;
|
1658
1538
|
from: `0x${string}`;
|
1659
1539
|
gas?: `0x${string}` | undefined;
|
@@ -1665,9 +1545,9 @@ export declare const celoCannoli: {
|
|
1665
1545
|
maxPriorityFeePerGas?: undefined;
|
1666
1546
|
accessList?: undefined;
|
1667
1547
|
type?: "0x0" | undefined;
|
1668
|
-
feeCurrency
|
1669
|
-
gatewayFee
|
1670
|
-
gatewayFeeRecipient
|
1548
|
+
feeCurrency?: `0x${string}` | undefined;
|
1549
|
+
gatewayFee?: `0x${string}` | undefined;
|
1550
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1671
1551
|
} | {
|
1672
1552
|
data?: `0x${string}` | undefined;
|
1673
1553
|
from: `0x${string}`;
|
@@ -1680,9 +1560,9 @@ export declare const celoCannoli: {
|
|
1680
1560
|
maxPriorityFeePerGas?: undefined;
|
1681
1561
|
accessList?: import("../index.js").AccessList | undefined;
|
1682
1562
|
type?: "0x1" | undefined;
|
1683
|
-
feeCurrency
|
1684
|
-
gatewayFee
|
1685
|
-
gatewayFeeRecipient
|
1563
|
+
feeCurrency?: `0x${string}` | undefined;
|
1564
|
+
gatewayFee?: `0x${string}` | undefined;
|
1565
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1686
1566
|
} | {
|
1687
1567
|
data?: `0x${string}` | undefined;
|
1688
1568
|
from: `0x${string}`;
|
@@ -1695,9 +1575,9 @@ export declare const celoCannoli: {
|
|
1695
1575
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1696
1576
|
accessList?: import("../index.js").AccessList | undefined;
|
1697
1577
|
type?: "0x2" | undefined;
|
1698
|
-
feeCurrency
|
1699
|
-
gatewayFee
|
1700
|
-
gatewayFeeRecipient
|
1578
|
+
feeCurrency?: `0x${string}` | undefined;
|
1579
|
+
gatewayFee?: `0x${string}` | undefined;
|
1580
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1701
1581
|
}) & {};
|
1702
1582
|
type: "transactionRequest";
|
1703
1583
|
};
|
@@ -1705,17 +1585,9 @@ export declare const celoCannoli: {
|
|
1705
1585
|
serializers: import("../index.js").Serializers<{
|
1706
1586
|
readonly block: {
|
1707
1587
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
1708
|
-
format: (args: Partial<import("../index.js").RpcBlock
|
1709
|
-
|
1710
|
-
|
1711
|
-
revealed: `0x${string}`;
|
1712
|
-
};
|
1713
|
-
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
1714
|
-
feeCurrency: `0x${string}` | null;
|
1715
|
-
gatewayFee: `0x${string}` | null;
|
1716
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1717
|
-
})[];
|
1718
|
-
}) => {
|
1588
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./celo/types.js").CeloBlockOverrides & {
|
1589
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloRpcTransaction[];
|
1590
|
+
}>) => {
|
1719
1591
|
baseFeePerGas: bigint | null;
|
1720
1592
|
difficulty: bigint;
|
1721
1593
|
extraData: `0x${string}`;
|
@@ -1735,11 +1607,7 @@ export declare const celoCannoli: {
|
|
1735
1607
|
stateRoot: `0x${string}`;
|
1736
1608
|
timestamp: bigint;
|
1737
1609
|
totalDifficulty: bigint | null;
|
1738
|
-
transactions: `0x${string}`[] |
|
1739
|
-
feeCurrency: `0x${string}` | null;
|
1740
|
-
gatewayFee: bigint | null;
|
1741
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1742
|
-
})[];
|
1610
|
+
transactions: `0x${string}`[] | import("./celo/types.js").CeloTransaction[];
|
1743
1611
|
transactionsRoot: `0x${string}`;
|
1744
1612
|
uncles: `0x${string}`[];
|
1745
1613
|
randomness: {
|
@@ -1757,11 +1625,7 @@ export declare const celoCannoli: {
|
|
1757
1625
|
};
|
1758
1626
|
readonly transaction: {
|
1759
1627
|
exclude: [] | undefined;
|
1760
|
-
format: (args: Partial<import("../index.js").RpcTransaction>
|
1761
|
-
feeCurrency: `0x${string}` | null;
|
1762
|
-
gatewayFee: `0x${string}` | null;
|
1763
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1764
|
-
}) => ({
|
1628
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./celo/types.js").CeloRpcTransactionOverrides>) => ({
|
1765
1629
|
blockHash: `0x${string}` | null;
|
1766
1630
|
blockNumber: bigint | null;
|
1767
1631
|
from: `0x${string}`;
|
@@ -1838,11 +1702,7 @@ export declare const celoCannoli: {
|
|
1838
1702
|
};
|
1839
1703
|
readonly transactionReceipt: {
|
1840
1704
|
exclude: [] | undefined;
|
1841
|
-
format: (args: Partial<import("../index.js").RpcTransactionReceipt>
|
1842
|
-
feeCurrency: `0x${string}` | null;
|
1843
|
-
gatewayFee: `0x${string}` | null;
|
1844
|
-
gatewayFeeRecipient: `0x${string}` | null;
|
1845
|
-
}) => {
|
1705
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./celo/types.js").CeloRpcTransactionReceiptOverrides>) => {
|
1846
1706
|
blockHash: `0x${string}`;
|
1847
1707
|
blockNumber: bigint;
|
1848
1708
|
contractAddress: `0x${string}` | null;
|
@@ -1865,11 +1725,7 @@ export declare const celoCannoli: {
|
|
1865
1725
|
};
|
1866
1726
|
readonly transactionRequest: {
|
1867
1727
|
exclude: [] | undefined;
|
1868
|
-
format: (args: Partial<import("../index.js").TransactionRequest>
|
1869
|
-
feeCurrency?: `0x${string}` | undefined;
|
1870
|
-
gatewayFee?: bigint | undefined;
|
1871
|
-
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1872
|
-
}) => ({
|
1728
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./celo/types.js").CeloTransactionRequestOverrides>) => ({
|
1873
1729
|
data?: `0x${string}` | undefined;
|
1874
1730
|
from: `0x${string}`;
|
1875
1731
|
gas?: `0x${string}` | undefined;
|
@@ -1881,9 +1737,9 @@ export declare const celoCannoli: {
|
|
1881
1737
|
maxPriorityFeePerGas?: undefined;
|
1882
1738
|
accessList?: undefined;
|
1883
1739
|
type?: "0x0" | undefined;
|
1884
|
-
feeCurrency
|
1885
|
-
gatewayFee
|
1886
|
-
gatewayFeeRecipient
|
1740
|
+
feeCurrency?: `0x${string}` | undefined;
|
1741
|
+
gatewayFee?: `0x${string}` | undefined;
|
1742
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1887
1743
|
} | {
|
1888
1744
|
data?: `0x${string}` | undefined;
|
1889
1745
|
from: `0x${string}`;
|
@@ -1896,9 +1752,9 @@ export declare const celoCannoli: {
|
|
1896
1752
|
maxPriorityFeePerGas?: undefined;
|
1897
1753
|
accessList?: import("../index.js").AccessList | undefined;
|
1898
1754
|
type?: "0x1" | undefined;
|
1899
|
-
feeCurrency
|
1900
|
-
gatewayFee
|
1901
|
-
gatewayFeeRecipient
|
1755
|
+
feeCurrency?: `0x${string}` | undefined;
|
1756
|
+
gatewayFee?: `0x${string}` | undefined;
|
1757
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1902
1758
|
} | {
|
1903
1759
|
data?: `0x${string}` | undefined;
|
1904
1760
|
from: `0x${string}`;
|
@@ -1911,9 +1767,9 @@ export declare const celoCannoli: {
|
|
1911
1767
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1912
1768
|
accessList?: import("../index.js").AccessList | undefined;
|
1913
1769
|
type?: "0x2" | undefined;
|
1914
|
-
feeCurrency
|
1915
|
-
gatewayFee
|
1916
|
-
gatewayFeeRecipient
|
1770
|
+
feeCurrency?: `0x${string}` | undefined;
|
1771
|
+
gatewayFee?: `0x${string}` | undefined;
|
1772
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1917
1773
|
}) & {};
|
1918
1774
|
type: "transactionRequest";
|
1919
1775
|
};
|
@@ -3069,13 +2925,9 @@ export declare const optimism: {
|
|
3069
2925
|
formatters: {
|
3070
2926
|
readonly block: {
|
3071
2927
|
exclude: [] | undefined;
|
3072
|
-
format: (args: Partial<import("../index.js").RpcBlock
|
3073
|
-
transactions: `0x${string}`[] |
|
3074
|
-
|
3075
|
-
mint?: undefined;
|
3076
|
-
sourceHash?: undefined;
|
3077
|
-
}) | import("./formatters/optimism.js").RpcDepositTransaction)[];
|
3078
|
-
}) => {
|
2928
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./optimism/types.js").OptimismRpcBlockOverrides & {
|
2929
|
+
transactions: `0x${string}`[] | import("./optimism/types.js").OptimismRpcTransaction[];
|
2930
|
+
}>) => {
|
3079
2931
|
baseFeePerGas: bigint | null;
|
3080
2932
|
difficulty: bigint;
|
3081
2933
|
extraData: `0x${string}`;
|
@@ -3095,11 +2947,7 @@ export declare const optimism: {
|
|
3095
2947
|
stateRoot: `0x${string}`;
|
3096
2948
|
timestamp: bigint;
|
3097
2949
|
totalDifficulty: bigint | null;
|
3098
|
-
transactions: `0x${string}`[] |
|
3099
|
-
isSystemTx?: undefined;
|
3100
|
-
mint?: undefined;
|
3101
|
-
sourceHash?: undefined;
|
3102
|
-
}) | import("./formatters/optimism.js").DepositTransaction)[];
|
2950
|
+
transactions: `0x${string}`[] | import("./optimism/types.js").OptimismTransaction[];
|
3103
2951
|
transactionsRoot: `0x${string}`;
|
3104
2952
|
uncles: `0x${string}`[];
|
3105
2953
|
} & {};
|
@@ -3107,18 +2955,49 @@ export declare const optimism: {
|
|
3107
2955
|
};
|
3108
2956
|
readonly transaction: {
|
3109
2957
|
exclude: [] | undefined;
|
3110
|
-
format: (args: (Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"
|
2958
|
+
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
2959
|
+
isSystemTx?: undefined;
|
2960
|
+
mint?: undefined;
|
2961
|
+
sourceHash?: undefined;
|
2962
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
2963
|
+
isSystemTx?: boolean | undefined;
|
2964
|
+
mint?: `0x${string}` | undefined;
|
2965
|
+
sourceHash: `0x${string}`;
|
2966
|
+
type: "0x7e";
|
2967
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
2968
|
+
isSystemTx?: undefined;
|
2969
|
+
mint?: undefined;
|
2970
|
+
sourceHash?: undefined;
|
2971
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
2972
|
+
isSystemTx?: undefined;
|
2973
|
+
mint?: undefined;
|
2974
|
+
sourceHash?: undefined;
|
2975
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3111
2976
|
isSystemTx?: undefined;
|
3112
2977
|
mint?: undefined;
|
3113
2978
|
sourceHash?: undefined;
|
3114
|
-
}) | (Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"
|
2979
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
2980
|
+
isSystemTx?: boolean | undefined;
|
2981
|
+
mint?: `0x${string}` | undefined;
|
2982
|
+
sourceHash: `0x${string}`;
|
2983
|
+
type: "0x7e";
|
2984
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
2985
|
+
isSystemTx?: undefined;
|
2986
|
+
mint?: undefined;
|
2987
|
+
sourceHash?: undefined;
|
2988
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3115
2989
|
isSystemTx?: undefined;
|
3116
2990
|
mint?: undefined;
|
3117
2991
|
sourceHash?: undefined;
|
3118
|
-
}) | (Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"
|
2992
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3119
2993
|
isSystemTx?: undefined;
|
3120
2994
|
mint?: undefined;
|
3121
2995
|
sourceHash?: undefined;
|
2996
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
2997
|
+
isSystemTx?: boolean | undefined;
|
2998
|
+
mint?: `0x${string}` | undefined;
|
2999
|
+
sourceHash: `0x${string}`;
|
3000
|
+
type: "0x7e";
|
3122
3001
|
})) => ({
|
3123
3002
|
blockHash: `0x${string}` | null;
|
3124
3003
|
blockNumber: bigint | null;
|
@@ -3314,17 +3193,37 @@ export declare const optimism: {
|
|
3314
3193
|
}) & {};
|
3315
3194
|
type: "transaction";
|
3316
3195
|
};
|
3196
|
+
readonly transactionReceipt: {
|
3197
|
+
exclude: [] | undefined;
|
3198
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./optimism/types.js").OptimismRpcTransactionReceiptOverrides>) => {
|
3199
|
+
blockHash: `0x${string}`;
|
3200
|
+
blockNumber: bigint;
|
3201
|
+
contractAddress: `0x${string}` | null;
|
3202
|
+
cumulativeGasUsed: bigint;
|
3203
|
+
effectiveGasPrice: bigint;
|
3204
|
+
from: `0x${string}`;
|
3205
|
+
gasUsed: bigint;
|
3206
|
+
logs: import("../index.js").Log<bigint, number>[];
|
3207
|
+
logsBloom: `0x${string}`;
|
3208
|
+
status: "success" | "reverted";
|
3209
|
+
to: `0x${string}` | null;
|
3210
|
+
transactionHash: `0x${string}`;
|
3211
|
+
transactionIndex: number;
|
3212
|
+
type: import("../index.js").TransactionType;
|
3213
|
+
l1GasPrice: bigint | null;
|
3214
|
+
l1GasUsed: bigint | null;
|
3215
|
+
l1Fee: bigint | null;
|
3216
|
+
l1FeeScalar: number | null;
|
3217
|
+
} & {};
|
3218
|
+
type: "transactionReceipt";
|
3219
|
+
};
|
3317
3220
|
} | undefined;
|
3318
3221
|
serializers: import("../index.js").Serializers<{
|
3319
3222
|
readonly block: {
|
3320
3223
|
exclude: [] | undefined;
|
3321
|
-
format: (args: Partial<import("../index.js").RpcBlock
|
3322
|
-
transactions: `0x${string}`[] |
|
3323
|
-
|
3324
|
-
mint?: undefined;
|
3325
|
-
sourceHash?: undefined;
|
3326
|
-
}) | import("./formatters/optimism.js").RpcDepositTransaction)[];
|
3327
|
-
}) => {
|
3224
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./optimism/types.js").OptimismRpcBlockOverrides & {
|
3225
|
+
transactions: `0x${string}`[] | import("./optimism/types.js").OptimismRpcTransaction[];
|
3226
|
+
}>) => {
|
3328
3227
|
baseFeePerGas: bigint | null;
|
3329
3228
|
difficulty: bigint;
|
3330
3229
|
extraData: `0x${string}`;
|
@@ -3344,11 +3243,7 @@ export declare const optimism: {
|
|
3344
3243
|
stateRoot: `0x${string}`;
|
3345
3244
|
timestamp: bigint;
|
3346
3245
|
totalDifficulty: bigint | null;
|
3347
|
-
transactions: `0x${string}`[] |
|
3348
|
-
isSystemTx?: undefined;
|
3349
|
-
mint?: undefined;
|
3350
|
-
sourceHash?: undefined;
|
3351
|
-
}) | import("./formatters/optimism.js").DepositTransaction)[];
|
3246
|
+
transactions: `0x${string}`[] | import("./optimism/types.js").OptimismTransaction[];
|
3352
3247
|
transactionsRoot: `0x${string}`;
|
3353
3248
|
uncles: `0x${string}`[];
|
3354
3249
|
} & {};
|
@@ -3356,18 +3251,49 @@ export declare const optimism: {
|
|
3356
3251
|
};
|
3357
3252
|
readonly transaction: {
|
3358
3253
|
exclude: [] | undefined;
|
3359
|
-
format: (args: (Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"
|
3254
|
+
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3255
|
+
isSystemTx?: undefined;
|
3256
|
+
mint?: undefined;
|
3257
|
+
sourceHash?: undefined;
|
3258
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3259
|
+
isSystemTx?: boolean | undefined;
|
3260
|
+
mint?: `0x${string}` | undefined;
|
3261
|
+
sourceHash: `0x${string}`;
|
3262
|
+
type: "0x7e";
|
3263
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3360
3264
|
isSystemTx?: undefined;
|
3361
3265
|
mint?: undefined;
|
3362
3266
|
sourceHash?: undefined;
|
3363
|
-
}) | (Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"
|
3267
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3364
3268
|
isSystemTx?: undefined;
|
3365
3269
|
mint?: undefined;
|
3366
3270
|
sourceHash?: undefined;
|
3367
|
-
}) | (Partial<Omit<import("../index.js").
|
3271
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3368
3272
|
isSystemTx?: undefined;
|
3369
3273
|
mint?: undefined;
|
3370
3274
|
sourceHash?: undefined;
|
3275
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3276
|
+
isSystemTx?: boolean | undefined;
|
3277
|
+
mint?: `0x${string}` | undefined;
|
3278
|
+
sourceHash: `0x${string}`;
|
3279
|
+
type: "0x7e";
|
3280
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3281
|
+
isSystemTx?: undefined;
|
3282
|
+
mint?: undefined;
|
3283
|
+
sourceHash?: undefined;
|
3284
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3285
|
+
isSystemTx?: undefined;
|
3286
|
+
mint?: undefined;
|
3287
|
+
sourceHash?: undefined;
|
3288
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3289
|
+
isSystemTx?: undefined;
|
3290
|
+
mint?: undefined;
|
3291
|
+
sourceHash?: undefined;
|
3292
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3293
|
+
isSystemTx?: boolean | undefined;
|
3294
|
+
mint?: `0x${string}` | undefined;
|
3295
|
+
sourceHash: `0x${string}`;
|
3296
|
+
type: "0x7e";
|
3371
3297
|
})) => ({
|
3372
3298
|
blockHash: `0x${string}` | null;
|
3373
3299
|
blockNumber: bigint | null;
|
@@ -3563,6 +3489,30 @@ export declare const optimism: {
|
|
3563
3489
|
}) & {};
|
3564
3490
|
type: "transaction";
|
3565
3491
|
};
|
3492
|
+
readonly transactionReceipt: {
|
3493
|
+
exclude: [] | undefined;
|
3494
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./optimism/types.js").OptimismRpcTransactionReceiptOverrides>) => {
|
3495
|
+
blockHash: `0x${string}`;
|
3496
|
+
blockNumber: bigint;
|
3497
|
+
contractAddress: `0x${string}` | null;
|
3498
|
+
cumulativeGasUsed: bigint;
|
3499
|
+
effectiveGasPrice: bigint;
|
3500
|
+
from: `0x${string}`;
|
3501
|
+
gasUsed: bigint;
|
3502
|
+
logs: import("../index.js").Log<bigint, number>[];
|
3503
|
+
logsBloom: `0x${string}`;
|
3504
|
+
status: "success" | "reverted";
|
3505
|
+
to: `0x${string}` | null;
|
3506
|
+
transactionHash: `0x${string}`;
|
3507
|
+
transactionIndex: number;
|
3508
|
+
type: import("../index.js").TransactionType;
|
3509
|
+
l1GasPrice: bigint | null;
|
3510
|
+
l1GasUsed: bigint | null;
|
3511
|
+
l1Fee: bigint | null;
|
3512
|
+
l1FeeScalar: number | null;
|
3513
|
+
} & {};
|
3514
|
+
type: "transactionReceipt";
|
3515
|
+
};
|
3566
3516
|
}> | undefined;
|
3567
3517
|
};
|
3568
3518
|
export declare const optimismGoerli: {
|
@@ -3611,13 +3561,9 @@ export declare const optimismGoerli: {
|
|
3611
3561
|
formatters: {
|
3612
3562
|
readonly block: {
|
3613
3563
|
exclude: [] | undefined;
|
3614
|
-
format: (args: Partial<import("../index.js").RpcBlock
|
3615
|
-
transactions: `0x${string}`[] |
|
3616
|
-
|
3617
|
-
mint?: undefined;
|
3618
|
-
sourceHash?: undefined;
|
3619
|
-
}) | import("./formatters/optimism.js").RpcDepositTransaction)[];
|
3620
|
-
}) => {
|
3564
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./optimism/types.js").OptimismRpcBlockOverrides & {
|
3565
|
+
transactions: `0x${string}`[] | import("./optimism/types.js").OptimismRpcTransaction[];
|
3566
|
+
}>) => {
|
3621
3567
|
baseFeePerGas: bigint | null;
|
3622
3568
|
difficulty: bigint;
|
3623
3569
|
extraData: `0x${string}`;
|
@@ -3637,11 +3583,7 @@ export declare const optimismGoerli: {
|
|
3637
3583
|
stateRoot: `0x${string}`;
|
3638
3584
|
timestamp: bigint;
|
3639
3585
|
totalDifficulty: bigint | null;
|
3640
|
-
transactions: `0x${string}`[] |
|
3641
|
-
isSystemTx?: undefined;
|
3642
|
-
mint?: undefined;
|
3643
|
-
sourceHash?: undefined;
|
3644
|
-
}) | import("./formatters/optimism.js").DepositTransaction)[];
|
3586
|
+
transactions: `0x${string}`[] | import("./optimism/types.js").OptimismTransaction[];
|
3645
3587
|
transactionsRoot: `0x${string}`;
|
3646
3588
|
uncles: `0x${string}`[];
|
3647
3589
|
} & {};
|
@@ -3649,18 +3591,49 @@ export declare const optimismGoerli: {
|
|
3649
3591
|
};
|
3650
3592
|
readonly transaction: {
|
3651
3593
|
exclude: [] | undefined;
|
3652
|
-
format: (args: (Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"
|
3594
|
+
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3595
|
+
isSystemTx?: undefined;
|
3596
|
+
mint?: undefined;
|
3597
|
+
sourceHash?: undefined;
|
3598
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3599
|
+
isSystemTx?: boolean | undefined;
|
3600
|
+
mint?: `0x${string}` | undefined;
|
3601
|
+
sourceHash: `0x${string}`;
|
3602
|
+
type: "0x7e";
|
3603
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3604
|
+
isSystemTx?: undefined;
|
3605
|
+
mint?: undefined;
|
3606
|
+
sourceHash?: undefined;
|
3607
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3608
|
+
isSystemTx?: undefined;
|
3609
|
+
mint?: undefined;
|
3610
|
+
sourceHash?: undefined;
|
3611
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3612
|
+
isSystemTx?: undefined;
|
3613
|
+
mint?: undefined;
|
3614
|
+
sourceHash?: undefined;
|
3615
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3616
|
+
isSystemTx?: boolean | undefined;
|
3617
|
+
mint?: `0x${string}` | undefined;
|
3618
|
+
sourceHash: `0x${string}`;
|
3619
|
+
type: "0x7e";
|
3620
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3653
3621
|
isSystemTx?: undefined;
|
3654
3622
|
mint?: undefined;
|
3655
3623
|
sourceHash?: undefined;
|
3656
|
-
}) | (Partial<Omit<import("../index.js").
|
3624
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3657
3625
|
isSystemTx?: undefined;
|
3658
3626
|
mint?: undefined;
|
3659
3627
|
sourceHash?: undefined;
|
3660
|
-
}) | (Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"
|
3628
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3661
3629
|
isSystemTx?: undefined;
|
3662
3630
|
mint?: undefined;
|
3663
3631
|
sourceHash?: undefined;
|
3632
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3633
|
+
isSystemTx?: boolean | undefined;
|
3634
|
+
mint?: `0x${string}` | undefined;
|
3635
|
+
sourceHash: `0x${string}`;
|
3636
|
+
type: "0x7e";
|
3664
3637
|
})) => ({
|
3665
3638
|
blockHash: `0x${string}` | null;
|
3666
3639
|
blockNumber: bigint | null;
|
@@ -3856,17 +3829,37 @@ export declare const optimismGoerli: {
|
|
3856
3829
|
}) & {};
|
3857
3830
|
type: "transaction";
|
3858
3831
|
};
|
3832
|
+
readonly transactionReceipt: {
|
3833
|
+
exclude: [] | undefined;
|
3834
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./optimism/types.js").OptimismRpcTransactionReceiptOverrides>) => {
|
3835
|
+
blockHash: `0x${string}`;
|
3836
|
+
blockNumber: bigint;
|
3837
|
+
contractAddress: `0x${string}` | null;
|
3838
|
+
cumulativeGasUsed: bigint;
|
3839
|
+
effectiveGasPrice: bigint;
|
3840
|
+
from: `0x${string}`;
|
3841
|
+
gasUsed: bigint;
|
3842
|
+
logs: import("../index.js").Log<bigint, number>[];
|
3843
|
+
logsBloom: `0x${string}`;
|
3844
|
+
status: "success" | "reverted";
|
3845
|
+
to: `0x${string}` | null;
|
3846
|
+
transactionHash: `0x${string}`;
|
3847
|
+
transactionIndex: number;
|
3848
|
+
type: import("../index.js").TransactionType;
|
3849
|
+
l1GasPrice: bigint | null;
|
3850
|
+
l1GasUsed: bigint | null;
|
3851
|
+
l1Fee: bigint | null;
|
3852
|
+
l1FeeScalar: number | null;
|
3853
|
+
} & {};
|
3854
|
+
type: "transactionReceipt";
|
3855
|
+
};
|
3859
3856
|
} | undefined;
|
3860
3857
|
serializers: import("../index.js").Serializers<{
|
3861
3858
|
readonly block: {
|
3862
3859
|
exclude: [] | undefined;
|
3863
|
-
format: (args: Partial<import("../index.js").RpcBlock
|
3864
|
-
transactions: `0x${string}`[] |
|
3865
|
-
|
3866
|
-
mint?: undefined;
|
3867
|
-
sourceHash?: undefined;
|
3868
|
-
}) | import("./formatters/optimism.js").RpcDepositTransaction)[];
|
3869
|
-
}) => {
|
3860
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./optimism/types.js").OptimismRpcBlockOverrides & {
|
3861
|
+
transactions: `0x${string}`[] | import("./optimism/types.js").OptimismRpcTransaction[];
|
3862
|
+
}>) => {
|
3870
3863
|
baseFeePerGas: bigint | null;
|
3871
3864
|
difficulty: bigint;
|
3872
3865
|
extraData: `0x${string}`;
|
@@ -3886,11 +3879,7 @@ export declare const optimismGoerli: {
|
|
3886
3879
|
stateRoot: `0x${string}`;
|
3887
3880
|
timestamp: bigint;
|
3888
3881
|
totalDifficulty: bigint | null;
|
3889
|
-
transactions: `0x${string}`[] |
|
3890
|
-
isSystemTx?: undefined;
|
3891
|
-
mint?: undefined;
|
3892
|
-
sourceHash?: undefined;
|
3893
|
-
}) | import("./formatters/optimism.js").DepositTransaction)[];
|
3882
|
+
transactions: `0x${string}`[] | import("./optimism/types.js").OptimismTransaction[];
|
3894
3883
|
transactionsRoot: `0x${string}`;
|
3895
3884
|
uncles: `0x${string}`[];
|
3896
3885
|
} & {};
|
@@ -3898,18 +3887,49 @@ export declare const optimismGoerli: {
|
|
3898
3887
|
};
|
3899
3888
|
readonly transaction: {
|
3900
3889
|
exclude: [] | undefined;
|
3901
|
-
format: (args: (Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"
|
3890
|
+
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3902
3891
|
isSystemTx?: undefined;
|
3903
3892
|
mint?: undefined;
|
3904
3893
|
sourceHash?: undefined;
|
3905
|
-
}) | (Partial<Omit<import("../index.js").
|
3894
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3895
|
+
isSystemTx?: boolean | undefined;
|
3896
|
+
mint?: `0x${string}` | undefined;
|
3897
|
+
sourceHash: `0x${string}`;
|
3898
|
+
type: "0x7e";
|
3899
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3906
3900
|
isSystemTx?: undefined;
|
3907
3901
|
mint?: undefined;
|
3908
3902
|
sourceHash?: undefined;
|
3909
|
-
}) | (Partial<Omit<import("../index.js").
|
3903
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3910
3904
|
isSystemTx?: undefined;
|
3911
3905
|
mint?: undefined;
|
3912
3906
|
sourceHash?: undefined;
|
3907
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3908
|
+
isSystemTx?: undefined;
|
3909
|
+
mint?: undefined;
|
3910
|
+
sourceHash?: undefined;
|
3911
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3912
|
+
isSystemTx?: boolean | undefined;
|
3913
|
+
mint?: `0x${string}` | undefined;
|
3914
|
+
sourceHash: `0x${string}`;
|
3915
|
+
type: "0x7e";
|
3916
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3917
|
+
isSystemTx?: undefined;
|
3918
|
+
mint?: undefined;
|
3919
|
+
sourceHash?: undefined;
|
3920
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3921
|
+
isSystemTx?: undefined;
|
3922
|
+
mint?: undefined;
|
3923
|
+
sourceHash?: undefined;
|
3924
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3925
|
+
isSystemTx?: undefined;
|
3926
|
+
mint?: undefined;
|
3927
|
+
sourceHash?: undefined;
|
3928
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./optimism/types.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3929
|
+
isSystemTx?: boolean | undefined;
|
3930
|
+
mint?: `0x${string}` | undefined;
|
3931
|
+
sourceHash: `0x${string}`;
|
3932
|
+
type: "0x7e";
|
3913
3933
|
})) => ({
|
3914
3934
|
blockHash: `0x${string}` | null;
|
3915
3935
|
blockNumber: bigint | null;
|
@@ -4105,6 +4125,30 @@ export declare const optimismGoerli: {
|
|
4105
4125
|
}) & {};
|
4106
4126
|
type: "transaction";
|
4107
4127
|
};
|
4128
|
+
readonly transactionReceipt: {
|
4129
|
+
exclude: [] | undefined;
|
4130
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./optimism/types.js").OptimismRpcTransactionReceiptOverrides>) => {
|
4131
|
+
blockHash: `0x${string}`;
|
4132
|
+
blockNumber: bigint;
|
4133
|
+
contractAddress: `0x${string}` | null;
|
4134
|
+
cumulativeGasUsed: bigint;
|
4135
|
+
effectiveGasPrice: bigint;
|
4136
|
+
from: `0x${string}`;
|
4137
|
+
gasUsed: bigint;
|
4138
|
+
logs: import("../index.js").Log<bigint, number>[];
|
4139
|
+
logsBloom: `0x${string}`;
|
4140
|
+
status: "success" | "reverted";
|
4141
|
+
to: `0x${string}` | null;
|
4142
|
+
transactionHash: `0x${string}`;
|
4143
|
+
transactionIndex: number;
|
4144
|
+
type: import("../index.js").TransactionType;
|
4145
|
+
l1GasPrice: bigint | null;
|
4146
|
+
l1GasUsed: bigint | null;
|
4147
|
+
l1Fee: bigint | null;
|
4148
|
+
l1FeeScalar: number | null;
|
4149
|
+
} & {};
|
4150
|
+
type: "transactionReceipt";
|
4151
|
+
};
|
4108
4152
|
}> | undefined;
|
4109
4153
|
};
|
4110
4154
|
export declare const polygon: {
|