viem 2.0.0-rc.0 → 2.0.0-rc.1
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/CHANGELOG.md +10 -0
- package/_cjs/actions/public/getFilterChanges.js +3 -2
- package/_cjs/actions/public/getFilterChanges.js.map +1 -1
- package/_cjs/actions/public/getFilterLogs.js +3 -2
- package/_cjs/actions/public/getFilterLogs.js.map +1 -1
- package/_cjs/actions/public/getLogs.js +3 -2
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/verifyTypedData.js +2 -1
- package/_cjs/actions/public/verifyTypedData.js.map +1 -1
- package/_cjs/chains/celo/formatters.js +0 -10
- package/_cjs/chains/celo/formatters.js.map +1 -1
- package/_cjs/chains/definitions/astar.js +0 -1
- package/_cjs/chains/definitions/astar.js.map +1 -1
- package/_cjs/chains/definitions/astarZkatana.js +0 -6
- package/_cjs/chains/definitions/astarZkatana.js.map +1 -1
- package/_cjs/chains/definitions/baseSepolia.js +0 -3
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
- package/_cjs/chains/definitions/bscTestnet.js +0 -1
- package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpaceTestnet.js +0 -4
- package/_cjs/chains/definitions/confluxESpaceTestnet.js.map +1 -1
- package/_cjs/chains/definitions/fantomSonicTestnet.js +0 -1
- package/_cjs/chains/definitions/fantomSonicTestnet.js.map +1 -1
- package/_cjs/chains/definitions/kava.js +0 -1
- package/_cjs/chains/definitions/kava.js.map +1 -1
- package/_cjs/chains/definitions/kavaTestnet.js +0 -1
- package/_cjs/chains/definitions/kavaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/klaytnBaobab.js +0 -1
- package/_cjs/chains/definitions/klaytnBaobab.js.map +1 -1
- package/_cjs/chains/definitions/lukso.js +0 -4
- package/_cjs/chains/definitions/lukso.js.map +1 -1
- package/_cjs/chains/definitions/manta.js +0 -1
- package/_cjs/chains/definitions/manta.js.map +1 -1
- package/_cjs/chains/definitions/mantaTestnet.js +0 -1
- package/_cjs/chains/definitions/mantaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/neonMainnet.js +0 -3
- package/_cjs/chains/definitions/neonMainnet.js.map +1 -1
- package/_cjs/chains/definitions/pgn.js +0 -3
- package/_cjs/chains/definitions/pgn.js.map +1 -1
- package/_cjs/chains/definitions/pgnTestnet.js +0 -3
- package/_cjs/chains/definitions/pgnTestnet.js.map +1 -1
- package/_cjs/chains/definitions/rootstock.js +0 -1
- package/_cjs/chains/definitions/rootstock.js.map +1 -1
- package/_cjs/chains/definitions/sapphire.js +0 -4
- package/_cjs/chains/definitions/sapphire.js.map +1 -1
- package/_cjs/chains/definitions/sapphireTestnet.js +0 -4
- package/_cjs/chains/definitions/sapphireTestnet.js.map +1 -1
- package/_cjs/chains/definitions/shibarium.js +0 -3
- package/_cjs/chains/definitions/shibarium.js.map +1 -1
- package/_cjs/chains/definitions/shimmer.js +0 -3
- package/_cjs/chains/definitions/shimmer.js.map +1 -1
- package/_cjs/chains/definitions/shimmerTestnet.js +0 -3
- package/_cjs/chains/definitions/shimmerTestnet.js.map +1 -1
- package/_cjs/chains/definitions/taikoJolnir.js +2 -2
- package/_cjs/chains/definitions/taikoJolnir.js.map +1 -1
- package/_cjs/chains/definitions/tenet.js +0 -1
- package/_cjs/chains/definitions/tenet.js.map +1 -1
- package/_cjs/chains/definitions/zilliqa.js +0 -3
- package/_cjs/chains/definitions/zilliqa.js.map +1 -1
- package/_cjs/chains/definitions/zilliqaTestnet.js +0 -3
- package/_cjs/chains/definitions/zilliqaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js +0 -4
- package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zkSyncTestnet.js +0 -4
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zoraSepolia.js +0 -4
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/actions/public/getFilterChanges.js +3 -2
- package/_esm/actions/public/getFilterChanges.js.map +1 -1
- package/_esm/actions/public/getFilterLogs.js +3 -2
- package/_esm/actions/public/getFilterLogs.js.map +1 -1
- package/_esm/actions/public/getLogs.js +3 -2
- package/_esm/actions/public/getLogs.js.map +1 -1
- package/_esm/actions/public/verifyTypedData.js +2 -1
- package/_esm/actions/public/verifyTypedData.js.map +1 -1
- package/_esm/chains/celo/formatters.js +0 -10
- package/_esm/chains/celo/formatters.js.map +1 -1
- package/_esm/chains/definitions/astar.js +0 -1
- package/_esm/chains/definitions/astar.js.map +1 -1
- package/_esm/chains/definitions/astarZkatana.js +0 -6
- package/_esm/chains/definitions/astarZkatana.js.map +1 -1
- package/_esm/chains/definitions/baseSepolia.js +0 -3
- package/_esm/chains/definitions/baseSepolia.js.map +1 -1
- package/_esm/chains/definitions/bscTestnet.js +0 -1
- package/_esm/chains/definitions/bscTestnet.js.map +1 -1
- package/_esm/chains/definitions/confluxESpaceTestnet.js +0 -4
- package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -1
- package/_esm/chains/definitions/fantomSonicTestnet.js +0 -1
- package/_esm/chains/definitions/fantomSonicTestnet.js.map +1 -1
- package/_esm/chains/definitions/kava.js +0 -1
- package/_esm/chains/definitions/kava.js.map +1 -1
- package/_esm/chains/definitions/kavaTestnet.js +0 -1
- package/_esm/chains/definitions/kavaTestnet.js.map +1 -1
- package/_esm/chains/definitions/klaytnBaobab.js +0 -1
- package/_esm/chains/definitions/klaytnBaobab.js.map +1 -1
- package/_esm/chains/definitions/lukso.js +0 -4
- package/_esm/chains/definitions/lukso.js.map +1 -1
- package/_esm/chains/definitions/manta.js +0 -1
- package/_esm/chains/definitions/manta.js.map +1 -1
- package/_esm/chains/definitions/mantaTestnet.js +0 -1
- package/_esm/chains/definitions/mantaTestnet.js.map +1 -1
- package/_esm/chains/definitions/neonMainnet.js +0 -3
- package/_esm/chains/definitions/neonMainnet.js.map +1 -1
- package/_esm/chains/definitions/pgn.js +0 -3
- package/_esm/chains/definitions/pgn.js.map +1 -1
- package/_esm/chains/definitions/pgnTestnet.js +0 -3
- package/_esm/chains/definitions/pgnTestnet.js.map +1 -1
- package/_esm/chains/definitions/rootstock.js +0 -1
- package/_esm/chains/definitions/rootstock.js.map +1 -1
- package/_esm/chains/definitions/sapphire.js +0 -4
- package/_esm/chains/definitions/sapphire.js.map +1 -1
- package/_esm/chains/definitions/sapphireTestnet.js +0 -4
- package/_esm/chains/definitions/sapphireTestnet.js.map +1 -1
- package/_esm/chains/definitions/shibarium.js +0 -3
- package/_esm/chains/definitions/shibarium.js.map +1 -1
- package/_esm/chains/definitions/shimmer.js +0 -3
- package/_esm/chains/definitions/shimmer.js.map +1 -1
- package/_esm/chains/definitions/shimmerTestnet.js +0 -3
- package/_esm/chains/definitions/shimmerTestnet.js.map +1 -1
- package/_esm/chains/definitions/taikoJolnir.js +2 -2
- package/_esm/chains/definitions/taikoJolnir.js.map +1 -1
- package/_esm/chains/definitions/tenet.js +0 -1
- package/_esm/chains/definitions/tenet.js.map +1 -1
- package/_esm/chains/definitions/zilliqa.js +0 -3
- package/_esm/chains/definitions/zilliqa.js.map +1 -1
- package/_esm/chains/definitions/zilliqaTestnet.js +0 -3
- package/_esm/chains/definitions/zilliqaTestnet.js.map +1 -1
- package/_esm/chains/definitions/zkSyncSepoliaTestnet.js +0 -4
- package/_esm/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -1
- package/_esm/chains/definitions/zkSyncTestnet.js +0 -4
- package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_esm/chains/definitions/zoraSepolia.js +0 -4
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
- package/_types/actions/public/verifyTypedData.d.ts +2 -4
- package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
- package/_types/chains/celo/chainConfig.d.ts +154 -177
- package/_types/chains/celo/chainConfig.d.ts.map +1 -1
- package/_types/chains/celo/formatters.d.ts +155 -178
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/celo/index.d.ts +1 -1
- package/_types/chains/celo/index.d.ts.map +1 -1
- package/_types/chains/celo/types.d.ts +2 -14
- package/_types/chains/celo/types.d.ts.map +1 -1
- package/_types/chains/definitions/astar.d.ts +0 -3
- package/_types/chains/definitions/astar.d.ts.map +1 -1
- package/_types/chains/definitions/astarZkatana.d.ts +0 -3
- package/_types/chains/definitions/astarZkatana.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +116 -116
- package/_types/chains/definitions/baseGoerli.d.ts +116 -116
- package/_types/chains/definitions/baseSepolia.d.ts +116 -119
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/bscTestnet.d.ts +0 -3
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +154 -177
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +154 -177
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +154 -177
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +0 -4
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fantomSonicTestnet.d.ts +0 -3
- package/_types/chains/definitions/fantomSonicTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/kava.d.ts +0 -3
- package/_types/chains/definitions/kava.d.ts.map +1 -1
- package/_types/chains/definitions/kavaTestnet.d.ts +0 -3
- package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/klaytnBaobab.d.ts +0 -3
- package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -1
- package/_types/chains/definitions/lukso.d.ts +0 -4
- package/_types/chains/definitions/lukso.d.ts.map +1 -1
- package/_types/chains/definitions/manta.d.ts +0 -3
- package/_types/chains/definitions/manta.d.ts.map +1 -1
- package/_types/chains/definitions/mantaTestnet.d.ts +0 -3
- package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/neonMainnet.d.ts +0 -3
- package/_types/chains/definitions/neonMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +116 -116
- package/_types/chains/definitions/optimismGoerli.d.ts +116 -116
- package/_types/chains/definitions/optimismSepolia.d.ts +116 -116
- package/_types/chains/definitions/pgn.d.ts +116 -119
- package/_types/chains/definitions/pgn.d.ts.map +1 -1
- package/_types/chains/definitions/pgnTestnet.d.ts +116 -119
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/rootstock.d.ts +0 -3
- package/_types/chains/definitions/rootstock.d.ts.map +1 -1
- package/_types/chains/definitions/sapphire.d.ts +0 -4
- package/_types/chains/definitions/sapphire.d.ts.map +1 -1
- package/_types/chains/definitions/sapphireTestnet.d.ts +0 -4
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/shibarium.d.ts +0 -3
- package/_types/chains/definitions/shibarium.d.ts.map +1 -1
- package/_types/chains/definitions/shimmer.d.ts +0 -3
- package/_types/chains/definitions/shimmer.d.ts.map +1 -1
- package/_types/chains/definitions/shimmerTestnet.d.ts +0 -3
- package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +2 -2
- package/_types/chains/definitions/tenet.d.ts +0 -3
- package/_types/chains/definitions/tenet.d.ts.map +1 -1
- package/_types/chains/definitions/zilliqa.d.ts +0 -3
- package/_types/chains/definitions/zilliqa.d.ts.map +1 -1
- package/_types/chains/definitions/zilliqaTestnet.d.ts +0 -3
- package/_types/chains/definitions/zilliqaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zkSync.d.ts +27 -27
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +27 -31
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +27 -31
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +116 -116
- package/_types/chains/definitions/zoraSepolia.d.ts +116 -120
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +116 -116
- package/_types/chains/opStack/chainConfig.d.ts +116 -116
- package/_types/chains/opStack/formatters.d.ts +116 -116
- package/_types/chains/zksync/chainConfig.d.ts +27 -27
- package/_types/chains/zksync/formatters.d.ts +27 -27
- package/_types/errors/version.d.ts +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/actions/public/getFilterChanges.ts +3 -5
- package/actions/public/getFilterLogs.ts +3 -3
- package/actions/public/getLogs.ts +3 -3
- package/actions/public/verifyTypedData.ts +13 -8
- package/chains/celo/formatters.ts +0 -14
- package/chains/celo/index.ts +0 -4
- package/chains/celo/types.ts +0 -18
- package/chains/definitions/astar.ts +0 -1
- package/chains/definitions/astarZkatana.ts +0 -6
- package/chains/definitions/baseSepolia.ts +0 -3
- package/chains/definitions/bscTestnet.ts +0 -1
- package/chains/definitions/confluxESpaceTestnet.ts +0 -4
- package/chains/definitions/fantomSonicTestnet.ts +0 -1
- package/chains/definitions/kava.ts +0 -1
- package/chains/definitions/kavaTestnet.ts +0 -1
- package/chains/definitions/klaytnBaobab.ts +0 -1
- package/chains/definitions/lukso.ts +0 -4
- package/chains/definitions/manta.ts +0 -1
- package/chains/definitions/mantaTestnet.ts +0 -1
- package/chains/definitions/neonMainnet.ts +0 -3
- package/chains/definitions/pgn.ts +0 -3
- package/chains/definitions/pgnTestnet.ts +0 -3
- package/chains/definitions/rootstock.ts +0 -1
- package/chains/definitions/sapphire.ts +0 -4
- package/chains/definitions/sapphireTestnet.ts +0 -4
- package/chains/definitions/shibarium.ts +0 -3
- package/chains/definitions/shimmer.ts +0 -3
- package/chains/definitions/shimmerTestnet.ts +0 -3
- package/chains/definitions/taikoJolnir.ts +2 -2
- package/chains/definitions/tenet.ts +0 -1
- package/chains/definitions/zilliqa.ts +0 -3
- package/chains/definitions/zilliqaTestnet.ts +0 -3
- package/chains/definitions/zkSyncSepoliaTestnet.ts +0 -4
- package/chains/definitions/zkSyncTestnet.ts +0 -4
- package/chains/definitions/zoraSepolia.ts +0 -4
- package/errors/version.ts +1 -1
- package/package.json +1 -1
@@ -37,24 +37,24 @@ export declare const formatters: {
|
|
37
37
|
readonly transaction: {
|
38
38
|
exclude: [] | undefined;
|
39
39
|
format: (args: ({
|
40
|
-
gas?: `0x${string}` | undefined;
|
41
|
-
nonce?: `0x${string}` | undefined;
|
42
40
|
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
41
|
+
blockHash?: `0x${string}` | null | undefined;
|
42
|
+
gasPrice?: `0x${string}` | undefined;
|
43
43
|
maxFeePerGas?: `0x${string}` | undefined;
|
44
44
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
45
|
-
gasPrice?: `0x${string}` | undefined;
|
46
|
-
from?: `0x${string}` | undefined;
|
47
|
-
to?: `0x${string}` | null | undefined;
|
48
|
-
value?: `0x${string}` | undefined;
|
49
|
-
r?: `0x${string}` | undefined;
|
50
|
-
s?: `0x${string}` | undefined;
|
51
|
-
v?: `0x${string}` | undefined;
|
52
45
|
yParity?: `0x${string}` | undefined;
|
53
|
-
blockHash?: `0x${string}` | null | undefined;
|
54
46
|
blockNumber?: `0x${string}` | null | undefined;
|
47
|
+
from?: `0x${string}` | undefined;
|
48
|
+
gas?: `0x${string}` | undefined;
|
55
49
|
hash?: `0x${string}` | undefined;
|
56
50
|
input?: `0x${string}` | undefined;
|
51
|
+
nonce?: `0x${string}` | undefined;
|
52
|
+
r?: `0x${string}` | undefined;
|
53
|
+
s?: `0x${string}` | undefined;
|
54
|
+
to?: `0x${string}` | null | undefined;
|
57
55
|
transactionIndex?: `0x${string}` | null | undefined;
|
56
|
+
v?: `0x${string}` | undefined;
|
57
|
+
value?: `0x${string}` | undefined;
|
58
58
|
accessList?: undefined;
|
59
59
|
chainId?: `0x${string}` | undefined;
|
60
60
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -62,24 +62,24 @@ export declare const formatters: {
|
|
62
62
|
mint?: undefined;
|
63
63
|
sourceHash?: undefined;
|
64
64
|
}) | ({
|
65
|
-
gas?: `0x${string}` | undefined;
|
66
|
-
nonce?: `0x${string}` | undefined;
|
67
65
|
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
66
|
+
blockHash?: `0x${string}` | null | undefined;
|
67
|
+
gasPrice?: `0x${string}` | undefined;
|
68
68
|
maxFeePerGas?: `0x${string}` | undefined;
|
69
69
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
70
|
-
gasPrice?: `0x${string}` | undefined;
|
71
|
-
from?: `0x${string}` | undefined;
|
72
|
-
to?: `0x${string}` | null | undefined;
|
73
|
-
value?: `0x${string}` | undefined;
|
74
|
-
r?: `0x${string}` | undefined;
|
75
|
-
s?: `0x${string}` | undefined;
|
76
|
-
v?: `0x${string}` | undefined;
|
77
70
|
yParity?: `0x${string}` | undefined;
|
78
|
-
blockHash?: `0x${string}` | null | undefined;
|
79
71
|
blockNumber?: `0x${string}` | null | undefined;
|
72
|
+
from?: `0x${string}` | undefined;
|
73
|
+
gas?: `0x${string}` | undefined;
|
80
74
|
hash?: `0x${string}` | undefined;
|
81
75
|
input?: `0x${string}` | undefined;
|
76
|
+
nonce?: `0x${string}` | undefined;
|
77
|
+
r?: `0x${string}` | undefined;
|
78
|
+
s?: `0x${string}` | undefined;
|
79
|
+
to?: `0x${string}` | null | undefined;
|
82
80
|
transactionIndex?: `0x${string}` | null | undefined;
|
81
|
+
v?: `0x${string}` | undefined;
|
82
|
+
value?: `0x${string}` | undefined;
|
83
83
|
accessList?: undefined;
|
84
84
|
chainId?: `0x${string}` | undefined;
|
85
85
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -88,24 +88,24 @@ export declare const formatters: {
|
|
88
88
|
sourceHash: `0x${string}`;
|
89
89
|
type: "0x7e";
|
90
90
|
}) | ({
|
91
|
-
gas?: `0x${string}` | undefined;
|
92
|
-
nonce?: `0x${string}` | undefined;
|
93
91
|
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
92
|
+
blockHash?: `0x${string}` | null | undefined;
|
93
|
+
gasPrice?: `0x${string}` | undefined;
|
94
94
|
maxFeePerGas?: `0x${string}` | undefined;
|
95
95
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
96
|
-
gasPrice?: `0x${string}` | undefined;
|
97
|
-
from?: `0x${string}` | undefined;
|
98
|
-
to?: `0x${string}` | null | undefined;
|
99
|
-
value?: `0x${string}` | undefined;
|
100
|
-
r?: `0x${string}` | undefined;
|
101
|
-
s?: `0x${string}` | undefined;
|
102
|
-
v?: `0x${string}` | undefined;
|
103
96
|
yParity?: `0x${string}` | undefined;
|
104
|
-
blockHash?: `0x${string}` | null | undefined;
|
105
97
|
blockNumber?: `0x${string}` | null | undefined;
|
98
|
+
from?: `0x${string}` | undefined;
|
99
|
+
gas?: `0x${string}` | undefined;
|
106
100
|
hash?: `0x${string}` | undefined;
|
107
101
|
input?: `0x${string}` | undefined;
|
102
|
+
nonce?: `0x${string}` | undefined;
|
103
|
+
r?: `0x${string}` | undefined;
|
104
|
+
s?: `0x${string}` | undefined;
|
105
|
+
to?: `0x${string}` | null | undefined;
|
108
106
|
transactionIndex?: `0x${string}` | null | undefined;
|
107
|
+
v?: `0x${string}` | undefined;
|
108
|
+
value?: `0x${string}` | undefined;
|
109
109
|
accessList?: import("../../index.js").AccessList | undefined;
|
110
110
|
chainId?: `0x${string}` | undefined;
|
111
111
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -113,24 +113,24 @@ export declare const formatters: {
|
|
113
113
|
mint?: undefined;
|
114
114
|
sourceHash?: undefined;
|
115
115
|
}) | ({
|
116
|
-
gas?: `0x${string}` | undefined;
|
117
|
-
nonce?: `0x${string}` | undefined;
|
118
116
|
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
117
|
+
blockHash?: `0x${string}` | null | undefined;
|
118
|
+
gasPrice?: `0x${string}` | undefined;
|
119
119
|
maxFeePerGas?: `0x${string}` | undefined;
|
120
120
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
121
|
-
gasPrice?: `0x${string}` | undefined;
|
122
|
-
from?: `0x${string}` | undefined;
|
123
|
-
to?: `0x${string}` | null | undefined;
|
124
|
-
value?: `0x${string}` | undefined;
|
125
|
-
r?: `0x${string}` | undefined;
|
126
|
-
s?: `0x${string}` | undefined;
|
127
|
-
v?: `0x${string}` | undefined;
|
128
121
|
yParity?: `0x${string}` | undefined;
|
129
|
-
blockHash?: `0x${string}` | null | undefined;
|
130
122
|
blockNumber?: `0x${string}` | null | undefined;
|
123
|
+
from?: `0x${string}` | undefined;
|
124
|
+
gas?: `0x${string}` | undefined;
|
131
125
|
hash?: `0x${string}` | undefined;
|
132
126
|
input?: `0x${string}` | undefined;
|
127
|
+
nonce?: `0x${string}` | undefined;
|
128
|
+
r?: `0x${string}` | undefined;
|
129
|
+
s?: `0x${string}` | undefined;
|
130
|
+
to?: `0x${string}` | null | undefined;
|
133
131
|
transactionIndex?: `0x${string}` | null | undefined;
|
132
|
+
v?: `0x${string}` | undefined;
|
133
|
+
value?: `0x${string}` | undefined;
|
134
134
|
accessList?: import("../../index.js").AccessList | undefined;
|
135
135
|
chainId?: `0x${string}` | undefined;
|
136
136
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
@@ -138,24 +138,24 @@ export declare const formatters: {
|
|
138
138
|
mint?: undefined;
|
139
139
|
sourceHash?: undefined;
|
140
140
|
}) | ({
|
141
|
-
gas?: `0x${string}` | undefined;
|
142
|
-
nonce?: `0x${string}` | undefined;
|
143
141
|
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
142
|
+
blockHash?: `0x${string}` | null | undefined;
|
143
|
+
gasPrice?: `0x${string}` | undefined;
|
144
144
|
maxFeePerGas?: `0x${string}` | undefined;
|
145
145
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
146
|
-
gasPrice?: `0x${string}` | undefined;
|
147
|
-
from?: `0x${string}` | undefined;
|
148
|
-
to?: `0x${string}` | null | undefined;
|
149
|
-
value?: `0x${string}` | undefined;
|
150
|
-
r?: `0x${string}` | undefined;
|
151
|
-
s?: `0x${string}` | undefined;
|
152
|
-
v?: `0x${string}` | undefined;
|
153
146
|
yParity?: `0x${string}` | undefined;
|
154
|
-
blockHash?: `0x${string}` | null | undefined;
|
155
147
|
blockNumber?: `0x${string}` | null | undefined;
|
148
|
+
from?: `0x${string}` | undefined;
|
149
|
+
gas?: `0x${string}` | undefined;
|
156
150
|
hash?: `0x${string}` | undefined;
|
157
151
|
input?: `0x${string}` | undefined;
|
152
|
+
nonce?: `0x${string}` | undefined;
|
153
|
+
r?: `0x${string}` | undefined;
|
154
|
+
s?: `0x${string}` | undefined;
|
155
|
+
to?: `0x${string}` | null | undefined;
|
158
156
|
transactionIndex?: `0x${string}` | null | undefined;
|
157
|
+
v?: `0x${string}` | undefined;
|
158
|
+
value?: `0x${string}` | undefined;
|
159
159
|
accessList?: import("../../index.js").AccessList | undefined;
|
160
160
|
chainId?: `0x${string}` | undefined;
|
161
161
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
@@ -163,24 +163,24 @@ export declare const formatters: {
|
|
163
163
|
mint?: undefined;
|
164
164
|
sourceHash?: undefined;
|
165
165
|
}) | ({
|
166
|
-
gas?: `0x${string}` | undefined;
|
167
|
-
nonce?: `0x${string}` | undefined;
|
168
166
|
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
167
|
+
blockHash?: `0x${string}` | null | undefined;
|
168
|
+
gasPrice?: `0x${string}` | undefined;
|
169
169
|
maxFeePerGas?: `0x${string}` | undefined;
|
170
170
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
171
|
-
gasPrice?: `0x${string}` | undefined;
|
172
|
-
from?: `0x${string}` | undefined;
|
173
|
-
to?: `0x${string}` | null | undefined;
|
174
|
-
value?: `0x${string}` | undefined;
|
175
|
-
r?: `0x${string}` | undefined;
|
176
|
-
s?: `0x${string}` | undefined;
|
177
|
-
v?: `0x${string}` | undefined;
|
178
171
|
yParity?: `0x${string}` | undefined;
|
179
|
-
blockHash?: `0x${string}` | null | undefined;
|
180
172
|
blockNumber?: `0x${string}` | null | undefined;
|
173
|
+
from?: `0x${string}` | undefined;
|
174
|
+
gas?: `0x${string}` | undefined;
|
181
175
|
hash?: `0x${string}` | undefined;
|
182
176
|
input?: `0x${string}` | undefined;
|
177
|
+
nonce?: `0x${string}` | undefined;
|
178
|
+
r?: `0x${string}` | undefined;
|
179
|
+
s?: `0x${string}` | undefined;
|
180
|
+
to?: `0x${string}` | null | undefined;
|
183
181
|
transactionIndex?: `0x${string}` | null | undefined;
|
182
|
+
v?: `0x${string}` | undefined;
|
183
|
+
value?: `0x${string}` | undefined;
|
184
184
|
accessList?: import("../../index.js").AccessList | undefined;
|
185
185
|
chainId?: `0x${string}` | undefined;
|
186
186
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -189,24 +189,24 @@ export declare const formatters: {
|
|
189
189
|
sourceHash: `0x${string}`;
|
190
190
|
type: "0x7e";
|
191
191
|
}) | ({
|
192
|
-
gas?: `0x${string}` | undefined;
|
193
|
-
nonce?: `0x${string}` | undefined;
|
194
192
|
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
193
|
+
blockHash?: `0x${string}` | null | undefined;
|
194
|
+
gasPrice?: `0x${string}` | undefined;
|
195
195
|
maxFeePerGas?: `0x${string}` | undefined;
|
196
196
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
197
|
-
gasPrice?: `0x${string}` | undefined;
|
198
|
-
from?: `0x${string}` | undefined;
|
199
|
-
to?: `0x${string}` | null | undefined;
|
200
|
-
value?: `0x${string}` | undefined;
|
201
|
-
r?: `0x${string}` | undefined;
|
202
|
-
s?: `0x${string}` | undefined;
|
203
|
-
v?: `0x${string}` | undefined;
|
204
197
|
yParity?: `0x${string}` | undefined;
|
205
|
-
blockHash?: `0x${string}` | null | undefined;
|
206
198
|
blockNumber?: `0x${string}` | null | undefined;
|
199
|
+
from?: `0x${string}` | undefined;
|
200
|
+
gas?: `0x${string}` | undefined;
|
207
201
|
hash?: `0x${string}` | undefined;
|
208
202
|
input?: `0x${string}` | undefined;
|
203
|
+
nonce?: `0x${string}` | undefined;
|
204
|
+
r?: `0x${string}` | undefined;
|
205
|
+
s?: `0x${string}` | undefined;
|
206
|
+
to?: `0x${string}` | null | undefined;
|
209
207
|
transactionIndex?: `0x${string}` | null | undefined;
|
208
|
+
v?: `0x${string}` | undefined;
|
209
|
+
value?: `0x${string}` | undefined;
|
210
210
|
accessList?: import("../../index.js").AccessList | undefined;
|
211
211
|
chainId?: `0x${string}` | undefined;
|
212
212
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
@@ -214,24 +214,24 @@ export declare const formatters: {
|
|
214
214
|
mint?: undefined;
|
215
215
|
sourceHash?: undefined;
|
216
216
|
}) | ({
|
217
|
-
gas?: `0x${string}` | undefined;
|
218
|
-
nonce?: `0x${string}` | undefined;
|
219
217
|
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
218
|
+
blockHash?: `0x${string}` | null | undefined;
|
219
|
+
gasPrice?: `0x${string}` | undefined;
|
220
220
|
maxFeePerGas?: `0x${string}` | undefined;
|
221
221
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
222
|
-
gasPrice?: `0x${string}` | undefined;
|
223
|
-
from?: `0x${string}` | undefined;
|
224
|
-
to?: `0x${string}` | null | undefined;
|
225
|
-
value?: `0x${string}` | undefined;
|
226
|
-
r?: `0x${string}` | undefined;
|
227
|
-
s?: `0x${string}` | undefined;
|
228
|
-
v?: `0x${string}` | undefined;
|
229
222
|
yParity?: `0x${string}` | undefined;
|
230
|
-
blockHash?: `0x${string}` | null | undefined;
|
231
223
|
blockNumber?: `0x${string}` | null | undefined;
|
224
|
+
from?: `0x${string}` | undefined;
|
225
|
+
gas?: `0x${string}` | undefined;
|
232
226
|
hash?: `0x${string}` | undefined;
|
233
227
|
input?: `0x${string}` | undefined;
|
228
|
+
nonce?: `0x${string}` | undefined;
|
229
|
+
r?: `0x${string}` | undefined;
|
230
|
+
s?: `0x${string}` | undefined;
|
231
|
+
to?: `0x${string}` | null | undefined;
|
234
232
|
transactionIndex?: `0x${string}` | null | undefined;
|
233
|
+
v?: `0x${string}` | undefined;
|
234
|
+
value?: `0x${string}` | undefined;
|
235
235
|
accessList?: import("../../index.js").AccessList | undefined;
|
236
236
|
chainId?: `0x${string}` | undefined;
|
237
237
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
@@ -239,24 +239,24 @@ export declare const formatters: {
|
|
239
239
|
mint?: undefined;
|
240
240
|
sourceHash?: undefined;
|
241
241
|
}) | ({
|
242
|
-
gas?: `0x${string}` | undefined;
|
243
|
-
nonce?: `0x${string}` | undefined;
|
244
242
|
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
243
|
+
blockHash?: `0x${string}` | null | undefined;
|
244
|
+
gasPrice?: `0x${string}` | undefined;
|
245
245
|
maxFeePerGas?: `0x${string}` | undefined;
|
246
246
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
247
|
-
gasPrice?: `0x${string}` | undefined;
|
248
|
-
from?: `0x${string}` | undefined;
|
249
|
-
to?: `0x${string}` | null | undefined;
|
250
|
-
value?: `0x${string}` | undefined;
|
251
|
-
r?: `0x${string}` | undefined;
|
252
|
-
s?: `0x${string}` | undefined;
|
253
|
-
v?: `0x${string}` | undefined;
|
254
247
|
yParity?: `0x${string}` | undefined;
|
255
|
-
blockHash?: `0x${string}` | null | undefined;
|
256
248
|
blockNumber?: `0x${string}` | null | undefined;
|
249
|
+
from?: `0x${string}` | undefined;
|
250
|
+
gas?: `0x${string}` | undefined;
|
257
251
|
hash?: `0x${string}` | undefined;
|
258
252
|
input?: `0x${string}` | undefined;
|
253
|
+
nonce?: `0x${string}` | undefined;
|
254
|
+
r?: `0x${string}` | undefined;
|
255
|
+
s?: `0x${string}` | undefined;
|
256
|
+
to?: `0x${string}` | null | undefined;
|
259
257
|
transactionIndex?: `0x${string}` | null | undefined;
|
258
|
+
v?: `0x${string}` | undefined;
|
259
|
+
value?: `0x${string}` | undefined;
|
260
260
|
accessList?: import("../../index.js").AccessList | undefined;
|
261
261
|
chainId?: `0x${string}` | undefined;
|
262
262
|
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
@@ -264,24 +264,24 @@ export declare const formatters: {
|
|
264
264
|
mint?: undefined;
|
265
265
|
sourceHash?: undefined;
|
266
266
|
}) | ({
|
267
|
-
gas?: `0x${string}` | undefined;
|
268
|
-
nonce?: `0x${string}` | undefined;
|
269
267
|
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
268
|
+
blockHash?: `0x${string}` | null | undefined;
|
269
|
+
gasPrice?: `0x${string}` | undefined;
|
270
270
|
maxFeePerGas?: `0x${string}` | undefined;
|
271
271
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
272
|
-
gasPrice?: `0x${string}` | undefined;
|
273
|
-
from?: `0x${string}` | undefined;
|
274
|
-
to?: `0x${string}` | null | undefined;
|
275
|
-
value?: `0x${string}` | undefined;
|
276
|
-
r?: `0x${string}` | undefined;
|
277
|
-
s?: `0x${string}` | undefined;
|
278
|
-
v?: `0x${string}` | undefined;
|
279
272
|
yParity?: `0x${string}` | undefined;
|
280
|
-
blockHash?: `0x${string}` | null | undefined;
|
281
273
|
blockNumber?: `0x${string}` | null | undefined;
|
274
|
+
from?: `0x${string}` | undefined;
|
275
|
+
gas?: `0x${string}` | undefined;
|
282
276
|
hash?: `0x${string}` | undefined;
|
283
277
|
input?: `0x${string}` | undefined;
|
278
|
+
nonce?: `0x${string}` | undefined;
|
279
|
+
r?: `0x${string}` | undefined;
|
280
|
+
s?: `0x${string}` | undefined;
|
281
|
+
to?: `0x${string}` | null | undefined;
|
284
282
|
transactionIndex?: `0x${string}` | null | undefined;
|
283
|
+
v?: `0x${string}` | undefined;
|
284
|
+
value?: `0x${string}` | undefined;
|
285
285
|
accessList?: import("../../index.js").AccessList | undefined;
|
286
286
|
chainId?: `0x${string}` | undefined;
|
287
287
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -290,20 +290,20 @@ export declare const formatters: {
|
|
290
290
|
sourceHash: `0x${string}`;
|
291
291
|
type: "0x7e";
|
292
292
|
})) => ({
|
293
|
-
gas: bigint;
|
294
|
-
nonce: number;
|
295
|
-
from: `0x${string}`;
|
296
|
-
to: `0x${string}` | null;
|
297
|
-
value: bigint;
|
298
|
-
r: `0x${string}`;
|
299
|
-
s: `0x${string}`;
|
300
|
-
v: bigint;
|
301
293
|
blockHash: `0x${string}` | null;
|
302
294
|
blockNumber: bigint | null;
|
295
|
+
from: `0x${string}`;
|
296
|
+
gas: bigint;
|
303
297
|
hash: `0x${string}`;
|
304
298
|
input: `0x${string}`;
|
299
|
+
nonce: number;
|
300
|
+
r: `0x${string}`;
|
301
|
+
s: `0x${string}`;
|
302
|
+
to: `0x${string}` | null;
|
305
303
|
transactionIndex: number | null;
|
306
304
|
typeHex: `0x${string}` | null;
|
305
|
+
v: bigint;
|
306
|
+
value: bigint;
|
307
307
|
gasPrice: bigint;
|
308
308
|
maxFeePerGas?: undefined;
|
309
309
|
maxPriorityFeePerGas?: undefined;
|
@@ -315,20 +315,20 @@ export declare const formatters: {
|
|
315
315
|
mint?: undefined;
|
316
316
|
sourceHash?: undefined;
|
317
317
|
} | {
|
318
|
-
gas: bigint;
|
319
|
-
nonce: number;
|
320
|
-
from: `0x${string}`;
|
321
|
-
to: `0x${string}` | null;
|
322
|
-
value: bigint;
|
323
|
-
r: `0x${string}`;
|
324
|
-
s: `0x${string}`;
|
325
|
-
v: bigint;
|
326
318
|
blockHash: `0x${string}` | null;
|
327
319
|
blockNumber: bigint | null;
|
320
|
+
from: `0x${string}`;
|
321
|
+
gas: bigint;
|
328
322
|
hash: `0x${string}`;
|
329
323
|
input: `0x${string}`;
|
324
|
+
nonce: number;
|
325
|
+
r: `0x${string}`;
|
326
|
+
s: `0x${string}`;
|
327
|
+
to: `0x${string}` | null;
|
330
328
|
transactionIndex: number | null;
|
331
329
|
typeHex: `0x${string}` | null;
|
330
|
+
v: bigint;
|
331
|
+
value: bigint;
|
332
332
|
gasPrice: undefined;
|
333
333
|
maxFeePerGas: bigint;
|
334
334
|
maxPriorityFeePerGas: bigint;
|
@@ -37,20 +37,20 @@ export declare const chainConfig: {
|
|
37
37
|
readonly transaction: {
|
38
38
|
exclude: [] | undefined;
|
39
39
|
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("./types.js").ZkSyncRpcTransaction>) => ({
|
40
|
-
gas: bigint;
|
41
|
-
nonce: number;
|
42
|
-
from: `0x${string}`;
|
43
|
-
to: `0x${string}` | null;
|
44
|
-
value: bigint;
|
45
|
-
r: `0x${string}`;
|
46
|
-
s: `0x${string}`;
|
47
|
-
v: bigint;
|
48
40
|
blockHash: `0x${string}` | null;
|
49
41
|
blockNumber: bigint | null;
|
42
|
+
from: `0x${string}`;
|
43
|
+
gas: bigint;
|
50
44
|
hash: `0x${string}`;
|
51
45
|
input: `0x${string}`;
|
46
|
+
nonce: number;
|
47
|
+
r: `0x${string}`;
|
48
|
+
s: `0x${string}`;
|
49
|
+
to: `0x${string}` | null;
|
52
50
|
transactionIndex: number | null;
|
53
51
|
typeHex: `0x${string}` | null;
|
52
|
+
v: bigint;
|
53
|
+
value: bigint;
|
54
54
|
gasPrice: bigint;
|
55
55
|
maxFeePerGas?: undefined;
|
56
56
|
maxPriorityFeePerGas?: undefined;
|
@@ -61,20 +61,20 @@ export declare const chainConfig: {
|
|
61
61
|
l1BatchNumber: bigint | null;
|
62
62
|
l1BatchTxIndex: bigint | null;
|
63
63
|
} | {
|
64
|
-
gas: bigint;
|
65
|
-
nonce: number;
|
66
|
-
from: `0x${string}`;
|
67
|
-
to: `0x${string}` | null;
|
68
|
-
value: bigint;
|
69
|
-
r: `0x${string}`;
|
70
|
-
s: `0x${string}`;
|
71
|
-
v: bigint;
|
72
64
|
blockHash: `0x${string}` | null;
|
73
65
|
blockNumber: bigint | null;
|
66
|
+
from: `0x${string}`;
|
67
|
+
gas: bigint;
|
74
68
|
hash: `0x${string}`;
|
75
69
|
input: `0x${string}`;
|
70
|
+
nonce: number;
|
71
|
+
r: `0x${string}`;
|
72
|
+
s: `0x${string}`;
|
73
|
+
to: `0x${string}` | null;
|
76
74
|
transactionIndex: number | null;
|
77
75
|
typeHex: `0x${string}` | null;
|
76
|
+
v: bigint;
|
77
|
+
value: bigint;
|
78
78
|
gasPrice: undefined;
|
79
79
|
maxFeePerGas: bigint;
|
80
80
|
maxPriorityFeePerGas: bigint;
|
@@ -85,27 +85,27 @@ export declare const chainConfig: {
|
|
85
85
|
l1BatchNumber: bigint | null;
|
86
86
|
l1BatchTxIndex: bigint | null;
|
87
87
|
} | {
|
88
|
-
gas: bigint;
|
89
|
-
nonce: number;
|
90
|
-
from: `0x${string}`;
|
91
|
-
to: `0x${string}` | null;
|
92
|
-
value: bigint;
|
93
|
-
r: `0x${string}`;
|
94
|
-
s: `0x${string}`;
|
95
|
-
v: bigint;
|
96
88
|
blockHash: `0x${string}` | null;
|
97
89
|
blockNumber: bigint | null;
|
90
|
+
from: `0x${string}`;
|
91
|
+
gas: bigint;
|
98
92
|
hash: `0x${string}`;
|
99
93
|
input: `0x${string}`;
|
94
|
+
nonce: number;
|
95
|
+
r: `0x${string}`;
|
96
|
+
s: `0x${string}`;
|
97
|
+
to: `0x${string}` | null;
|
100
98
|
transactionIndex: number | null;
|
101
99
|
typeHex: `0x${string}` | null;
|
100
|
+
v: bigint;
|
101
|
+
value: bigint;
|
102
102
|
gasPrice: undefined;
|
103
103
|
maxFeePerGas: bigint;
|
104
104
|
maxPriorityFeePerGas: bigint;
|
105
105
|
accessList?: undefined;
|
106
106
|
chainId?: number | undefined;
|
107
107
|
yParity: number;
|
108
|
-
type: "
|
108
|
+
type: "eip712" | "priority";
|
109
109
|
l1BatchNumber: bigint | null;
|
110
110
|
l1BatchTxIndex: bigint | null;
|
111
111
|
} | {
|
@@ -201,7 +201,7 @@ export declare const chainConfig: {
|
|
201
201
|
maxPriorityFeePerGas: bigint;
|
202
202
|
accessList: import("../../index.js").AccessList;
|
203
203
|
chainId: number;
|
204
|
-
type: "
|
204
|
+
type: "eip712" | "priority";
|
205
205
|
l1BatchNumber: bigint | null;
|
206
206
|
l1BatchTxIndex: bigint | null;
|
207
207
|
} | {
|
@@ -297,7 +297,7 @@ export declare const chainConfig: {
|
|
297
297
|
maxPriorityFeePerGas: bigint;
|
298
298
|
accessList: import("../../index.js").AccessList;
|
299
299
|
chainId: number;
|
300
|
-
type: "
|
300
|
+
type: "eip712" | "priority";
|
301
301
|
l1BatchNumber: bigint | null;
|
302
302
|
l1BatchTxIndex: bigint | null;
|
303
303
|
}) & {};
|
@@ -38,20 +38,20 @@ export declare const formatters: {
|
|
38
38
|
readonly transaction: {
|
39
39
|
exclude: [] | undefined;
|
40
40
|
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, ZkSyncRpcTransaction>) => ({
|
41
|
-
gas: bigint;
|
42
|
-
nonce: number;
|
43
|
-
from: `0x${string}`;
|
44
|
-
to: `0x${string}` | null;
|
45
|
-
value: bigint;
|
46
|
-
r: `0x${string}`;
|
47
|
-
s: `0x${string}`;
|
48
|
-
v: bigint;
|
49
41
|
blockHash: `0x${string}` | null;
|
50
42
|
blockNumber: bigint | null;
|
43
|
+
from: `0x${string}`;
|
44
|
+
gas: bigint;
|
51
45
|
hash: `0x${string}`;
|
52
46
|
input: `0x${string}`;
|
47
|
+
nonce: number;
|
48
|
+
r: `0x${string}`;
|
49
|
+
s: `0x${string}`;
|
50
|
+
to: `0x${string}` | null;
|
53
51
|
transactionIndex: number | null;
|
54
52
|
typeHex: `0x${string}` | null;
|
53
|
+
v: bigint;
|
54
|
+
value: bigint;
|
55
55
|
gasPrice: bigint;
|
56
56
|
maxFeePerGas?: undefined;
|
57
57
|
maxPriorityFeePerGas?: undefined;
|
@@ -62,20 +62,20 @@ export declare const formatters: {
|
|
62
62
|
l1BatchNumber: bigint | null;
|
63
63
|
l1BatchTxIndex: bigint | null;
|
64
64
|
} | {
|
65
|
-
gas: bigint;
|
66
|
-
nonce: number;
|
67
|
-
from: `0x${string}`;
|
68
|
-
to: `0x${string}` | null;
|
69
|
-
value: bigint;
|
70
|
-
r: `0x${string}`;
|
71
|
-
s: `0x${string}`;
|
72
|
-
v: bigint;
|
73
65
|
blockHash: `0x${string}` | null;
|
74
66
|
blockNumber: bigint | null;
|
67
|
+
from: `0x${string}`;
|
68
|
+
gas: bigint;
|
75
69
|
hash: `0x${string}`;
|
76
70
|
input: `0x${string}`;
|
71
|
+
nonce: number;
|
72
|
+
r: `0x${string}`;
|
73
|
+
s: `0x${string}`;
|
74
|
+
to: `0x${string}` | null;
|
77
75
|
transactionIndex: number | null;
|
78
76
|
typeHex: `0x${string}` | null;
|
77
|
+
v: bigint;
|
78
|
+
value: bigint;
|
79
79
|
gasPrice: undefined;
|
80
80
|
maxFeePerGas: bigint;
|
81
81
|
maxPriorityFeePerGas: bigint;
|
@@ -86,27 +86,27 @@ export declare const formatters: {
|
|
86
86
|
l1BatchNumber: bigint | null;
|
87
87
|
l1BatchTxIndex: bigint | null;
|
88
88
|
} | {
|
89
|
-
gas: bigint;
|
90
|
-
nonce: number;
|
91
|
-
from: `0x${string}`;
|
92
|
-
to: `0x${string}` | null;
|
93
|
-
value: bigint;
|
94
|
-
r: `0x${string}`;
|
95
|
-
s: `0x${string}`;
|
96
|
-
v: bigint;
|
97
89
|
blockHash: `0x${string}` | null;
|
98
90
|
blockNumber: bigint | null;
|
91
|
+
from: `0x${string}`;
|
92
|
+
gas: bigint;
|
99
93
|
hash: `0x${string}`;
|
100
94
|
input: `0x${string}`;
|
95
|
+
nonce: number;
|
96
|
+
r: `0x${string}`;
|
97
|
+
s: `0x${string}`;
|
98
|
+
to: `0x${string}` | null;
|
101
99
|
transactionIndex: number | null;
|
102
100
|
typeHex: `0x${string}` | null;
|
101
|
+
v: bigint;
|
102
|
+
value: bigint;
|
103
103
|
gasPrice: undefined;
|
104
104
|
maxFeePerGas: bigint;
|
105
105
|
maxPriorityFeePerGas: bigint;
|
106
106
|
accessList?: undefined;
|
107
107
|
chainId?: number | undefined;
|
108
108
|
yParity: number;
|
109
|
-
type: "
|
109
|
+
type: "eip712" | "priority";
|
110
110
|
l1BatchNumber: bigint | null;
|
111
111
|
l1BatchTxIndex: bigint | null;
|
112
112
|
} | {
|
@@ -202,7 +202,7 @@ export declare const formatters: {
|
|
202
202
|
maxPriorityFeePerGas: bigint;
|
203
203
|
accessList: import("../../index.js").AccessList;
|
204
204
|
chainId: number;
|
205
|
-
type: "
|
205
|
+
type: "eip712" | "priority";
|
206
206
|
l1BatchNumber: bigint | null;
|
207
207
|
l1BatchTxIndex: bigint | null;
|
208
208
|
} | {
|
@@ -298,7 +298,7 @@ export declare const formatters: {
|
|
298
298
|
maxPriorityFeePerGas: bigint;
|
299
299
|
accessList: import("../../index.js").AccessList;
|
300
300
|
chainId: number;
|
301
|
-
type: "
|
301
|
+
type: "eip712" | "priority";
|
302
302
|
l1BatchNumber: bigint | null;
|
303
303
|
l1BatchTxIndex: bigint | null;
|
304
304
|
}) & {};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "2.0.0-rc.
|
1
|
+
export declare const version = "2.0.0-rc.1";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -18,7 +18,7 @@ export declare const transactionType: {
|
|
18
18
|
export type FormatTransactionErrorType = ErrorType;
|
19
19
|
export declare function formatTransaction(transaction: Partial<RpcTransaction>): Transaction;
|
20
20
|
export type DefineTransactionErrorType = DefineFormatterErrorType | ErrorType;
|
21
|
-
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("
|
21
|
+
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("type" | "blockHash" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "yParity" | "blockNumber" | "from" | "gas" | "hash" | "input" | "nonce" | "r" | "s" | "to" | "transactionIndex" | "v" | "value" | "accessList" | "chainId" | keyof TOverrideParameters)[] = []>({ exclude, format: overrides, }: {
|
22
22
|
exclude?: TExclude | undefined;
|
23
23
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
24
24
|
}) => {
|
@@ -12,7 +12,7 @@ export declare const rpcTransactionType: {
|
|
12
12
|
export type FormatTransactionRequestErrorType = ErrorType;
|
13
13
|
export declare function formatTransactionRequest(transactionRequest: Partial<TransactionRequest>): RpcTransactionRequest;
|
14
14
|
export type DefineTransactionRequestErrorType = DefineFormatterErrorType | ErrorType;
|
15
|
-
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("
|
15
|
+
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("type" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "from" | "gas" | "nonce" | "to" | "value" | "accessList" | "data" | keyof TOverrideParameters)[] = []>({ exclude, format: overrides, }: {
|
16
16
|
exclude?: TExclude | undefined;
|
17
17
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
18
18
|
}) => {
|