viem 2.0.0-rc.1 → 2.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/_cjs/errors/version.js +1 -1
  2. package/_esm/errors/version.js +1 -1
  3. package/_types/chains/celo/chainConfig.d.ts +65 -65
  4. package/_types/chains/celo/formatters.d.ts +65 -65
  5. package/_types/chains/definitions/base.d.ts +50 -50
  6. package/_types/chains/definitions/baseGoerli.d.ts +50 -50
  7. package/_types/chains/definitions/baseSepolia.d.ts +50 -50
  8. package/_types/chains/definitions/celo.d.ts +65 -65
  9. package/_types/chains/definitions/celoAlfajores.d.ts +65 -65
  10. package/_types/chains/definitions/celoCannoli.d.ts +65 -65
  11. package/_types/chains/definitions/optimism.d.ts +50 -50
  12. package/_types/chains/definitions/optimismGoerli.d.ts +50 -50
  13. package/_types/chains/definitions/optimismSepolia.d.ts +50 -50
  14. package/_types/chains/definitions/pgn.d.ts +50 -50
  15. package/_types/chains/definitions/pgnTestnet.d.ts +50 -50
  16. package/_types/chains/definitions/zkSync.d.ts +3 -3
  17. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +3 -3
  18. package/_types/chains/definitions/zkSyncTestnet.d.ts +3 -3
  19. package/_types/chains/definitions/zora.d.ts +50 -50
  20. package/_types/chains/definitions/zoraSepolia.d.ts +50 -50
  21. package/_types/chains/definitions/zoraTestnet.d.ts +50 -50
  22. package/_types/chains/index.d.ts +1 -1
  23. package/_types/chains/index.d.ts.map +1 -1
  24. package/_types/chains/opStack/chainConfig.d.ts +50 -50
  25. package/_types/chains/opStack/formatters.d.ts +50 -50
  26. package/_types/chains/zksync/chainConfig.d.ts +3 -3
  27. package/_types/chains/zksync/formatters.d.ts +3 -3
  28. package/_types/errors/version.d.ts +1 -1
  29. package/_types/utils/formatters/transaction.d.ts +1 -1
  30. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  31. package/chains/index.ts +8 -1
  32. package/errors/version.ts +1 -1
  33. package/package.json +34 -12
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '2.0.0-rc.1';
4
+ exports.version = '2.0.0-rc.2';
5
5
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export const version = '2.0.0-rc.1';
1
+ export const version = '2.0.0-rc.2';
2
2
  //# sourceMappingURL=version.js.map
@@ -45,12 +45,8 @@ export declare const chainConfig: {
45
45
  readonly transaction: {
46
46
  exclude: [] | undefined;
47
47
  format: (args: ({
48
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
49
- blockHash?: `0x${string}` | null | undefined;
50
- gasPrice?: `0x${string}` | undefined;
51
- maxFeePerGas?: `0x${string}` | undefined;
52
- maxPriorityFeePerGas?: `0x${string}` | undefined;
53
48
  yParity?: `0x${string}` | undefined;
49
+ blockHash?: `0x${string}` | null | undefined;
54
50
  blockNumber?: `0x${string}` | null | undefined;
55
51
  from?: `0x${string}` | undefined;
56
52
  gas?: `0x${string}` | undefined;
@@ -63,6 +59,10 @@ export declare const chainConfig: {
63
59
  transactionIndex?: `0x${string}` | null | undefined;
64
60
  v?: `0x${string}` | undefined;
65
61
  value?: `0x${string}` | undefined;
62
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
63
+ gasPrice?: `0x${string}` | undefined;
64
+ maxFeePerGas?: `0x${string}` | undefined;
65
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
66
66
  accessList?: undefined;
67
67
  chainId?: `0x${string}` | undefined;
68
68
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -70,12 +70,8 @@ export declare const chainConfig: {
70
70
  gatewayFee: `0x${string}` | null;
71
71
  gatewayFeeRecipient: `0x${string}` | null;
72
72
  }) | ({
73
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
74
- blockHash?: `0x${string}` | null | undefined;
75
- gasPrice?: `0x${string}` | undefined;
76
- maxFeePerGas?: `0x${string}` | undefined;
77
- maxPriorityFeePerGas?: `0x${string}` | undefined;
78
73
  yParity?: `0x${string}` | undefined;
74
+ blockHash?: `0x${string}` | null | undefined;
79
75
  blockNumber?: `0x${string}` | null | undefined;
80
76
  from?: `0x${string}` | undefined;
81
77
  gas?: `0x${string}` | undefined;
@@ -88,6 +84,10 @@ export declare const chainConfig: {
88
84
  transactionIndex?: `0x${string}` | null | undefined;
89
85
  v?: `0x${string}` | undefined;
90
86
  value?: `0x${string}` | undefined;
87
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
88
+ gasPrice?: `0x${string}` | undefined;
89
+ maxFeePerGas?: `0x${string}` | undefined;
90
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
91
91
  accessList?: undefined;
92
92
  chainId?: `0x${string}` | undefined;
93
93
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -96,12 +96,8 @@ export declare const chainConfig: {
96
96
  gatewayFeeRecipient: `0x${string}` | null;
97
97
  type: "0x7c";
98
98
  }) | ({
99
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
100
- blockHash?: `0x${string}` | null | undefined;
101
- gasPrice?: `0x${string}` | undefined;
102
- maxFeePerGas?: `0x${string}` | undefined;
103
- maxPriorityFeePerGas?: `0x${string}` | undefined;
104
99
  yParity?: `0x${string}` | undefined;
100
+ blockHash?: `0x${string}` | null | undefined;
105
101
  blockNumber?: `0x${string}` | null | undefined;
106
102
  from?: `0x${string}` | undefined;
107
103
  gas?: `0x${string}` | undefined;
@@ -114,6 +110,10 @@ export declare const chainConfig: {
114
110
  transactionIndex?: `0x${string}` | null | undefined;
115
111
  v?: `0x${string}` | undefined;
116
112
  value?: `0x${string}` | undefined;
113
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
114
+ gasPrice?: `0x${string}` | undefined;
115
+ maxFeePerGas?: `0x${string}` | undefined;
116
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
117
117
  accessList?: undefined;
118
118
  chainId?: `0x${string}` | undefined;
119
119
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -122,12 +122,8 @@ export declare const chainConfig: {
122
122
  gatewayFeeRecipient?: undefined;
123
123
  type: "0x7b";
124
124
  }) | ({
125
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
126
- blockHash?: `0x${string}` | null | undefined;
127
- gasPrice?: `0x${string}` | undefined;
128
- maxFeePerGas?: `0x${string}` | undefined;
129
- maxPriorityFeePerGas?: `0x${string}` | undefined;
130
125
  yParity?: `0x${string}` | undefined;
126
+ blockHash?: `0x${string}` | null | undefined;
131
127
  blockNumber?: `0x${string}` | null | undefined;
132
128
  from?: `0x${string}` | undefined;
133
129
  gas?: `0x${string}` | undefined;
@@ -140,6 +136,10 @@ export declare const chainConfig: {
140
136
  transactionIndex?: `0x${string}` | null | undefined;
141
137
  v?: `0x${string}` | undefined;
142
138
  value?: `0x${string}` | undefined;
139
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
140
+ gasPrice?: `0x${string}` | undefined;
141
+ maxFeePerGas?: `0x${string}` | undefined;
142
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
143
143
  accessList?: import("../../index.js").AccessList | undefined;
144
144
  chainId?: `0x${string}` | undefined;
145
145
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -147,12 +147,8 @@ export declare const chainConfig: {
147
147
  gatewayFee: `0x${string}` | null;
148
148
  gatewayFeeRecipient: `0x${string}` | null;
149
149
  }) | ({
150
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
151
- blockHash?: `0x${string}` | null | undefined;
152
- gasPrice?: `0x${string}` | undefined;
153
- maxFeePerGas?: `0x${string}` | undefined;
154
- maxPriorityFeePerGas?: `0x${string}` | undefined;
155
150
  yParity?: `0x${string}` | undefined;
151
+ blockHash?: `0x${string}` | null | undefined;
156
152
  blockNumber?: `0x${string}` | null | undefined;
157
153
  from?: `0x${string}` | undefined;
158
154
  gas?: `0x${string}` | undefined;
@@ -165,6 +161,10 @@ export declare const chainConfig: {
165
161
  transactionIndex?: `0x${string}` | null | undefined;
166
162
  v?: `0x${string}` | undefined;
167
163
  value?: `0x${string}` | undefined;
164
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
165
+ gasPrice?: `0x${string}` | undefined;
166
+ maxFeePerGas?: `0x${string}` | undefined;
167
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
168
168
  accessList?: import("../../index.js").AccessList | undefined;
169
169
  chainId?: `0x${string}` | undefined;
170
170
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
@@ -172,12 +172,8 @@ export declare const chainConfig: {
172
172
  gatewayFee: `0x${string}` | null;
173
173
  gatewayFeeRecipient: `0x${string}` | null;
174
174
  }) | ({
175
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
176
- blockHash?: `0x${string}` | null | undefined;
177
- gasPrice?: `0x${string}` | undefined;
178
- maxFeePerGas?: `0x${string}` | undefined;
179
- maxPriorityFeePerGas?: `0x${string}` | undefined;
180
175
  yParity?: `0x${string}` | undefined;
176
+ blockHash?: `0x${string}` | null | undefined;
181
177
  blockNumber?: `0x${string}` | null | undefined;
182
178
  from?: `0x${string}` | undefined;
183
179
  gas?: `0x${string}` | undefined;
@@ -190,6 +186,10 @@ export declare const chainConfig: {
190
186
  transactionIndex?: `0x${string}` | null | undefined;
191
187
  v?: `0x${string}` | undefined;
192
188
  value?: `0x${string}` | undefined;
189
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
190
+ gasPrice?: `0x${string}` | undefined;
191
+ maxFeePerGas?: `0x${string}` | undefined;
192
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
193
193
  accessList?: import("../../index.js").AccessList | undefined;
194
194
  chainId?: `0x${string}` | undefined;
195
195
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
@@ -197,12 +197,8 @@ export declare const chainConfig: {
197
197
  gatewayFee: `0x${string}` | null;
198
198
  gatewayFeeRecipient: `0x${string}` | null;
199
199
  }) | ({
200
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
201
- blockHash?: `0x${string}` | null | undefined;
202
- gasPrice?: `0x${string}` | undefined;
203
- maxFeePerGas?: `0x${string}` | undefined;
204
- maxPriorityFeePerGas?: `0x${string}` | undefined;
205
200
  yParity?: `0x${string}` | undefined;
201
+ blockHash?: `0x${string}` | null | undefined;
206
202
  blockNumber?: `0x${string}` | null | undefined;
207
203
  from?: `0x${string}` | undefined;
208
204
  gas?: `0x${string}` | undefined;
@@ -215,6 +211,10 @@ export declare const chainConfig: {
215
211
  transactionIndex?: `0x${string}` | null | undefined;
216
212
  v?: `0x${string}` | undefined;
217
213
  value?: `0x${string}` | undefined;
214
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
215
+ gasPrice?: `0x${string}` | undefined;
216
+ maxFeePerGas?: `0x${string}` | undefined;
217
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
218
218
  accessList?: import("../../index.js").AccessList | undefined;
219
219
  chainId?: `0x${string}` | undefined;
220
220
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -223,12 +223,8 @@ export declare const chainConfig: {
223
223
  gatewayFeeRecipient: `0x${string}` | null;
224
224
  type: "0x7c";
225
225
  }) | ({
226
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
227
- blockHash?: `0x${string}` | null | undefined;
228
- gasPrice?: `0x${string}` | undefined;
229
- maxFeePerGas?: `0x${string}` | undefined;
230
- maxPriorityFeePerGas?: `0x${string}` | undefined;
231
226
  yParity?: `0x${string}` | undefined;
227
+ blockHash?: `0x${string}` | null | undefined;
232
228
  blockNumber?: `0x${string}` | null | undefined;
233
229
  from?: `0x${string}` | undefined;
234
230
  gas?: `0x${string}` | undefined;
@@ -241,6 +237,10 @@ export declare const chainConfig: {
241
237
  transactionIndex?: `0x${string}` | null | undefined;
242
238
  v?: `0x${string}` | undefined;
243
239
  value?: `0x${string}` | undefined;
240
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
241
+ gasPrice?: `0x${string}` | undefined;
242
+ maxFeePerGas?: `0x${string}` | undefined;
243
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
244
244
  accessList?: import("../../index.js").AccessList | undefined;
245
245
  chainId?: `0x${string}` | undefined;
246
246
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -249,12 +249,8 @@ export declare const chainConfig: {
249
249
  gatewayFeeRecipient?: undefined;
250
250
  type: "0x7b";
251
251
  }) | ({
252
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
253
- blockHash?: `0x${string}` | null | undefined;
254
- gasPrice?: `0x${string}` | undefined;
255
- maxFeePerGas?: `0x${string}` | undefined;
256
- maxPriorityFeePerGas?: `0x${string}` | undefined;
257
252
  yParity?: `0x${string}` | undefined;
253
+ blockHash?: `0x${string}` | null | undefined;
258
254
  blockNumber?: `0x${string}` | null | undefined;
259
255
  from?: `0x${string}` | undefined;
260
256
  gas?: `0x${string}` | undefined;
@@ -267,6 +263,10 @@ export declare const chainConfig: {
267
263
  transactionIndex?: `0x${string}` | null | undefined;
268
264
  v?: `0x${string}` | undefined;
269
265
  value?: `0x${string}` | undefined;
266
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
267
+ gasPrice?: `0x${string}` | undefined;
268
+ maxFeePerGas?: `0x${string}` | undefined;
269
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
270
270
  accessList?: import("../../index.js").AccessList | undefined;
271
271
  chainId?: `0x${string}` | undefined;
272
272
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -274,12 +274,8 @@ export declare const chainConfig: {
274
274
  gatewayFee: `0x${string}` | null;
275
275
  gatewayFeeRecipient: `0x${string}` | null;
276
276
  }) | ({
277
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
278
- blockHash?: `0x${string}` | null | undefined;
279
- gasPrice?: `0x${string}` | undefined;
280
- maxFeePerGas?: `0x${string}` | undefined;
281
- maxPriorityFeePerGas?: `0x${string}` | undefined;
282
277
  yParity?: `0x${string}` | undefined;
278
+ blockHash?: `0x${string}` | null | undefined;
283
279
  blockNumber?: `0x${string}` | null | undefined;
284
280
  from?: `0x${string}` | undefined;
285
281
  gas?: `0x${string}` | undefined;
@@ -292,6 +288,10 @@ export declare const chainConfig: {
292
288
  transactionIndex?: `0x${string}` | null | undefined;
293
289
  v?: `0x${string}` | undefined;
294
290
  value?: `0x${string}` | undefined;
291
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
292
+ gasPrice?: `0x${string}` | undefined;
293
+ maxFeePerGas?: `0x${string}` | undefined;
294
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
295
295
  accessList?: import("../../index.js").AccessList | undefined;
296
296
  chainId?: `0x${string}` | undefined;
297
297
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
@@ -299,12 +299,8 @@ export declare const chainConfig: {
299
299
  gatewayFee: `0x${string}` | null;
300
300
  gatewayFeeRecipient: `0x${string}` | null;
301
301
  }) | ({
302
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
303
- blockHash?: `0x${string}` | null | undefined;
304
- gasPrice?: `0x${string}` | undefined;
305
- maxFeePerGas?: `0x${string}` | undefined;
306
- maxPriorityFeePerGas?: `0x${string}` | undefined;
307
302
  yParity?: `0x${string}` | undefined;
303
+ blockHash?: `0x${string}` | null | undefined;
308
304
  blockNumber?: `0x${string}` | null | undefined;
309
305
  from?: `0x${string}` | undefined;
310
306
  gas?: `0x${string}` | undefined;
@@ -317,6 +313,10 @@ export declare const chainConfig: {
317
313
  transactionIndex?: `0x${string}` | null | undefined;
318
314
  v?: `0x${string}` | undefined;
319
315
  value?: `0x${string}` | undefined;
316
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
317
+ gasPrice?: `0x${string}` | undefined;
318
+ maxFeePerGas?: `0x${string}` | undefined;
319
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
320
320
  accessList?: import("../../index.js").AccessList | undefined;
321
321
  chainId?: `0x${string}` | undefined;
322
322
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
@@ -324,12 +324,8 @@ export declare const chainConfig: {
324
324
  gatewayFee: `0x${string}` | null;
325
325
  gatewayFeeRecipient: `0x${string}` | null;
326
326
  }) | ({
327
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
328
- blockHash?: `0x${string}` | null | undefined;
329
- gasPrice?: `0x${string}` | undefined;
330
- maxFeePerGas?: `0x${string}` | undefined;
331
- maxPriorityFeePerGas?: `0x${string}` | undefined;
332
327
  yParity?: `0x${string}` | undefined;
328
+ blockHash?: `0x${string}` | null | undefined;
333
329
  blockNumber?: `0x${string}` | null | undefined;
334
330
  from?: `0x${string}` | undefined;
335
331
  gas?: `0x${string}` | undefined;
@@ -342,6 +338,10 @@ export declare const chainConfig: {
342
338
  transactionIndex?: `0x${string}` | null | undefined;
343
339
  v?: `0x${string}` | undefined;
344
340
  value?: `0x${string}` | undefined;
341
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
342
+ gasPrice?: `0x${string}` | undefined;
343
+ maxFeePerGas?: `0x${string}` | undefined;
344
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
345
345
  accessList?: import("../../index.js").AccessList | undefined;
346
346
  chainId?: `0x${string}` | undefined;
347
347
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -350,12 +350,8 @@ export declare const chainConfig: {
350
350
  gatewayFeeRecipient: `0x${string}` | null;
351
351
  type: "0x7c";
352
352
  }) | ({
353
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
354
- blockHash?: `0x${string}` | null | undefined;
355
- gasPrice?: `0x${string}` | undefined;
356
- maxFeePerGas?: `0x${string}` | undefined;
357
- maxPriorityFeePerGas?: `0x${string}` | undefined;
358
353
  yParity?: `0x${string}` | undefined;
354
+ blockHash?: `0x${string}` | null | undefined;
359
355
  blockNumber?: `0x${string}` | null | undefined;
360
356
  from?: `0x${string}` | undefined;
361
357
  gas?: `0x${string}` | undefined;
@@ -368,6 +364,10 @@ export declare const chainConfig: {
368
364
  transactionIndex?: `0x${string}` | null | undefined;
369
365
  v?: `0x${string}` | undefined;
370
366
  value?: `0x${string}` | undefined;
367
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
368
+ gasPrice?: `0x${string}` | undefined;
369
+ maxFeePerGas?: `0x${string}` | undefined;
370
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
371
371
  accessList?: import("../../index.js").AccessList | undefined;
372
372
  chainId?: `0x${string}` | undefined;
373
373
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -46,12 +46,8 @@ export declare const formatters: {
46
46
  readonly transaction: {
47
47
  exclude: [] | undefined;
48
48
  format: (args: ({
49
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
50
- blockHash?: `0x${string}` | null | undefined;
51
- gasPrice?: `0x${string}` | undefined;
52
- maxFeePerGas?: `0x${string}` | undefined;
53
- maxPriorityFeePerGas?: `0x${string}` | undefined;
54
49
  yParity?: `0x${string}` | undefined;
50
+ blockHash?: `0x${string}` | null | undefined;
55
51
  blockNumber?: `0x${string}` | null | undefined;
56
52
  from?: `0x${string}` | undefined;
57
53
  gas?: `0x${string}` | undefined;
@@ -64,6 +60,10 @@ export declare const formatters: {
64
60
  transactionIndex?: `0x${string}` | null | undefined;
65
61
  v?: `0x${string}` | undefined;
66
62
  value?: `0x${string}` | undefined;
63
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
64
+ gasPrice?: `0x${string}` | undefined;
65
+ maxFeePerGas?: `0x${string}` | undefined;
66
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
67
67
  accessList?: undefined;
68
68
  chainId?: `0x${string}` | undefined;
69
69
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -71,12 +71,8 @@ export declare const formatters: {
71
71
  gatewayFee: `0x${string}` | null;
72
72
  gatewayFeeRecipient: `0x${string}` | null;
73
73
  }) | ({
74
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
75
- blockHash?: `0x${string}` | null | undefined;
76
- gasPrice?: `0x${string}` | undefined;
77
- maxFeePerGas?: `0x${string}` | undefined;
78
- maxPriorityFeePerGas?: `0x${string}` | undefined;
79
74
  yParity?: `0x${string}` | undefined;
75
+ blockHash?: `0x${string}` | null | undefined;
80
76
  blockNumber?: `0x${string}` | null | undefined;
81
77
  from?: `0x${string}` | undefined;
82
78
  gas?: `0x${string}` | undefined;
@@ -89,6 +85,10 @@ export declare const formatters: {
89
85
  transactionIndex?: `0x${string}` | null | undefined;
90
86
  v?: `0x${string}` | undefined;
91
87
  value?: `0x${string}` | undefined;
88
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
89
+ gasPrice?: `0x${string}` | undefined;
90
+ maxFeePerGas?: `0x${string}` | undefined;
91
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
92
92
  accessList?: undefined;
93
93
  chainId?: `0x${string}` | undefined;
94
94
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -97,12 +97,8 @@ export declare const formatters: {
97
97
  gatewayFeeRecipient: `0x${string}` | null;
98
98
  type: "0x7c";
99
99
  }) | ({
100
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
101
- blockHash?: `0x${string}` | null | undefined;
102
- gasPrice?: `0x${string}` | undefined;
103
- maxFeePerGas?: `0x${string}` | undefined;
104
- maxPriorityFeePerGas?: `0x${string}` | undefined;
105
100
  yParity?: `0x${string}` | undefined;
101
+ blockHash?: `0x${string}` | null | undefined;
106
102
  blockNumber?: `0x${string}` | null | undefined;
107
103
  from?: `0x${string}` | undefined;
108
104
  gas?: `0x${string}` | undefined;
@@ -115,6 +111,10 @@ export declare const formatters: {
115
111
  transactionIndex?: `0x${string}` | null | undefined;
116
112
  v?: `0x${string}` | undefined;
117
113
  value?: `0x${string}` | undefined;
114
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
115
+ gasPrice?: `0x${string}` | undefined;
116
+ maxFeePerGas?: `0x${string}` | undefined;
117
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
118
118
  accessList?: undefined;
119
119
  chainId?: `0x${string}` | undefined;
120
120
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -123,12 +123,8 @@ export declare const formatters: {
123
123
  gatewayFeeRecipient?: undefined;
124
124
  type: "0x7b";
125
125
  }) | ({
126
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
127
- blockHash?: `0x${string}` | null | undefined;
128
- gasPrice?: `0x${string}` | undefined;
129
- maxFeePerGas?: `0x${string}` | undefined;
130
- maxPriorityFeePerGas?: `0x${string}` | undefined;
131
126
  yParity?: `0x${string}` | undefined;
127
+ blockHash?: `0x${string}` | null | undefined;
132
128
  blockNumber?: `0x${string}` | null | undefined;
133
129
  from?: `0x${string}` | undefined;
134
130
  gas?: `0x${string}` | undefined;
@@ -141,6 +137,10 @@ export declare const formatters: {
141
137
  transactionIndex?: `0x${string}` | null | undefined;
142
138
  v?: `0x${string}` | undefined;
143
139
  value?: `0x${string}` | undefined;
140
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
141
+ gasPrice?: `0x${string}` | undefined;
142
+ maxFeePerGas?: `0x${string}` | undefined;
143
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
144
144
  accessList?: import("../../index.js").AccessList | undefined;
145
145
  chainId?: `0x${string}` | undefined;
146
146
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -148,12 +148,8 @@ export declare const formatters: {
148
148
  gatewayFee: `0x${string}` | null;
149
149
  gatewayFeeRecipient: `0x${string}` | null;
150
150
  }) | ({
151
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
152
- blockHash?: `0x${string}` | null | undefined;
153
- gasPrice?: `0x${string}` | undefined;
154
- maxFeePerGas?: `0x${string}` | undefined;
155
- maxPriorityFeePerGas?: `0x${string}` | undefined;
156
151
  yParity?: `0x${string}` | undefined;
152
+ blockHash?: `0x${string}` | null | undefined;
157
153
  blockNumber?: `0x${string}` | null | undefined;
158
154
  from?: `0x${string}` | undefined;
159
155
  gas?: `0x${string}` | undefined;
@@ -166,6 +162,10 @@ export declare const formatters: {
166
162
  transactionIndex?: `0x${string}` | null | undefined;
167
163
  v?: `0x${string}` | undefined;
168
164
  value?: `0x${string}` | undefined;
165
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
166
+ gasPrice?: `0x${string}` | undefined;
167
+ maxFeePerGas?: `0x${string}` | undefined;
168
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
169
169
  accessList?: import("../../index.js").AccessList | undefined;
170
170
  chainId?: `0x${string}` | undefined;
171
171
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
@@ -173,12 +173,8 @@ export declare const formatters: {
173
173
  gatewayFee: `0x${string}` | null;
174
174
  gatewayFeeRecipient: `0x${string}` | null;
175
175
  }) | ({
176
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
177
- blockHash?: `0x${string}` | null | undefined;
178
- gasPrice?: `0x${string}` | undefined;
179
- maxFeePerGas?: `0x${string}` | undefined;
180
- maxPriorityFeePerGas?: `0x${string}` | undefined;
181
176
  yParity?: `0x${string}` | undefined;
177
+ blockHash?: `0x${string}` | null | undefined;
182
178
  blockNumber?: `0x${string}` | null | undefined;
183
179
  from?: `0x${string}` | undefined;
184
180
  gas?: `0x${string}` | undefined;
@@ -191,6 +187,10 @@ export declare const formatters: {
191
187
  transactionIndex?: `0x${string}` | null | undefined;
192
188
  v?: `0x${string}` | undefined;
193
189
  value?: `0x${string}` | undefined;
190
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
191
+ gasPrice?: `0x${string}` | undefined;
192
+ maxFeePerGas?: `0x${string}` | undefined;
193
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
194
194
  accessList?: import("../../index.js").AccessList | undefined;
195
195
  chainId?: `0x${string}` | undefined;
196
196
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
@@ -198,12 +198,8 @@ export declare const formatters: {
198
198
  gatewayFee: `0x${string}` | null;
199
199
  gatewayFeeRecipient: `0x${string}` | null;
200
200
  }) | ({
201
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
202
- blockHash?: `0x${string}` | null | undefined;
203
- gasPrice?: `0x${string}` | undefined;
204
- maxFeePerGas?: `0x${string}` | undefined;
205
- maxPriorityFeePerGas?: `0x${string}` | undefined;
206
201
  yParity?: `0x${string}` | undefined;
202
+ blockHash?: `0x${string}` | null | undefined;
207
203
  blockNumber?: `0x${string}` | null | undefined;
208
204
  from?: `0x${string}` | undefined;
209
205
  gas?: `0x${string}` | undefined;
@@ -216,6 +212,10 @@ export declare const formatters: {
216
212
  transactionIndex?: `0x${string}` | null | undefined;
217
213
  v?: `0x${string}` | undefined;
218
214
  value?: `0x${string}` | undefined;
215
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
216
+ gasPrice?: `0x${string}` | undefined;
217
+ maxFeePerGas?: `0x${string}` | undefined;
218
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
219
219
  accessList?: import("../../index.js").AccessList | undefined;
220
220
  chainId?: `0x${string}` | undefined;
221
221
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -224,12 +224,8 @@ export declare const formatters: {
224
224
  gatewayFeeRecipient: `0x${string}` | null;
225
225
  type: "0x7c";
226
226
  }) | ({
227
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
228
- blockHash?: `0x${string}` | null | undefined;
229
- gasPrice?: `0x${string}` | undefined;
230
- maxFeePerGas?: `0x${string}` | undefined;
231
- maxPriorityFeePerGas?: `0x${string}` | undefined;
232
227
  yParity?: `0x${string}` | undefined;
228
+ blockHash?: `0x${string}` | null | undefined;
233
229
  blockNumber?: `0x${string}` | null | undefined;
234
230
  from?: `0x${string}` | undefined;
235
231
  gas?: `0x${string}` | undefined;
@@ -242,6 +238,10 @@ export declare const formatters: {
242
238
  transactionIndex?: `0x${string}` | null | undefined;
243
239
  v?: `0x${string}` | undefined;
244
240
  value?: `0x${string}` | undefined;
241
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
242
+ gasPrice?: `0x${string}` | undefined;
243
+ maxFeePerGas?: `0x${string}` | undefined;
244
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
245
245
  accessList?: import("../../index.js").AccessList | undefined;
246
246
  chainId?: `0x${string}` | undefined;
247
247
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -250,12 +250,8 @@ export declare const formatters: {
250
250
  gatewayFeeRecipient?: undefined;
251
251
  type: "0x7b";
252
252
  }) | ({
253
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
254
- blockHash?: `0x${string}` | null | undefined;
255
- gasPrice?: `0x${string}` | undefined;
256
- maxFeePerGas?: `0x${string}` | undefined;
257
- maxPriorityFeePerGas?: `0x${string}` | undefined;
258
253
  yParity?: `0x${string}` | undefined;
254
+ blockHash?: `0x${string}` | null | undefined;
259
255
  blockNumber?: `0x${string}` | null | undefined;
260
256
  from?: `0x${string}` | undefined;
261
257
  gas?: `0x${string}` | undefined;
@@ -268,6 +264,10 @@ export declare const formatters: {
268
264
  transactionIndex?: `0x${string}` | null | undefined;
269
265
  v?: `0x${string}` | undefined;
270
266
  value?: `0x${string}` | undefined;
267
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
268
+ gasPrice?: `0x${string}` | undefined;
269
+ maxFeePerGas?: `0x${string}` | undefined;
270
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
271
271
  accessList?: import("../../index.js").AccessList | undefined;
272
272
  chainId?: `0x${string}` | undefined;
273
273
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -275,12 +275,8 @@ export declare const formatters: {
275
275
  gatewayFee: `0x${string}` | null;
276
276
  gatewayFeeRecipient: `0x${string}` | null;
277
277
  }) | ({
278
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
279
- blockHash?: `0x${string}` | null | undefined;
280
- gasPrice?: `0x${string}` | undefined;
281
- maxFeePerGas?: `0x${string}` | undefined;
282
- maxPriorityFeePerGas?: `0x${string}` | undefined;
283
278
  yParity?: `0x${string}` | undefined;
279
+ blockHash?: `0x${string}` | null | undefined;
284
280
  blockNumber?: `0x${string}` | null | undefined;
285
281
  from?: `0x${string}` | undefined;
286
282
  gas?: `0x${string}` | undefined;
@@ -293,6 +289,10 @@ export declare const formatters: {
293
289
  transactionIndex?: `0x${string}` | null | undefined;
294
290
  v?: `0x${string}` | undefined;
295
291
  value?: `0x${string}` | undefined;
292
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
293
+ gasPrice?: `0x${string}` | undefined;
294
+ maxFeePerGas?: `0x${string}` | undefined;
295
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
296
296
  accessList?: import("../../index.js").AccessList | undefined;
297
297
  chainId?: `0x${string}` | undefined;
298
298
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
@@ -300,12 +300,8 @@ export declare const formatters: {
300
300
  gatewayFee: `0x${string}` | null;
301
301
  gatewayFeeRecipient: `0x${string}` | null;
302
302
  }) | ({
303
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
304
- blockHash?: `0x${string}` | null | undefined;
305
- gasPrice?: `0x${string}` | undefined;
306
- maxFeePerGas?: `0x${string}` | undefined;
307
- maxPriorityFeePerGas?: `0x${string}` | undefined;
308
303
  yParity?: `0x${string}` | undefined;
304
+ blockHash?: `0x${string}` | null | undefined;
309
305
  blockNumber?: `0x${string}` | null | undefined;
310
306
  from?: `0x${string}` | undefined;
311
307
  gas?: `0x${string}` | undefined;
@@ -318,6 +314,10 @@ export declare const formatters: {
318
314
  transactionIndex?: `0x${string}` | null | undefined;
319
315
  v?: `0x${string}` | undefined;
320
316
  value?: `0x${string}` | undefined;
317
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
318
+ gasPrice?: `0x${string}` | undefined;
319
+ maxFeePerGas?: `0x${string}` | undefined;
320
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
321
321
  accessList?: import("../../index.js").AccessList | undefined;
322
322
  chainId?: `0x${string}` | undefined;
323
323
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
@@ -325,12 +325,8 @@ export declare const formatters: {
325
325
  gatewayFee: `0x${string}` | null;
326
326
  gatewayFeeRecipient: `0x${string}` | null;
327
327
  }) | ({
328
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
329
- blockHash?: `0x${string}` | null | undefined;
330
- gasPrice?: `0x${string}` | undefined;
331
- maxFeePerGas?: `0x${string}` | undefined;
332
- maxPriorityFeePerGas?: `0x${string}` | undefined;
333
328
  yParity?: `0x${string}` | undefined;
329
+ blockHash?: `0x${string}` | null | undefined;
334
330
  blockNumber?: `0x${string}` | null | undefined;
335
331
  from?: `0x${string}` | undefined;
336
332
  gas?: `0x${string}` | undefined;
@@ -343,6 +339,10 @@ export declare const formatters: {
343
339
  transactionIndex?: `0x${string}` | null | undefined;
344
340
  v?: `0x${string}` | undefined;
345
341
  value?: `0x${string}` | undefined;
342
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
343
+ gasPrice?: `0x${string}` | undefined;
344
+ maxFeePerGas?: `0x${string}` | undefined;
345
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
346
346
  accessList?: import("../../index.js").AccessList | undefined;
347
347
  chainId?: `0x${string}` | undefined;
348
348
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -351,12 +351,8 @@ export declare const formatters: {
351
351
  gatewayFeeRecipient: `0x${string}` | null;
352
352
  type: "0x7c";
353
353
  }) | ({
354
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
355
- blockHash?: `0x${string}` | null | undefined;
356
- gasPrice?: `0x${string}` | undefined;
357
- maxFeePerGas?: `0x${string}` | undefined;
358
- maxPriorityFeePerGas?: `0x${string}` | undefined;
359
354
  yParity?: `0x${string}` | undefined;
355
+ blockHash?: `0x${string}` | null | undefined;
360
356
  blockNumber?: `0x${string}` | null | undefined;
361
357
  from?: `0x${string}` | undefined;
362
358
  gas?: `0x${string}` | undefined;
@@ -369,6 +365,10 @@ export declare const formatters: {
369
365
  transactionIndex?: `0x${string}` | null | undefined;
370
366
  v?: `0x${string}` | undefined;
371
367
  value?: `0x${string}` | undefined;
368
+ type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
369
+ gasPrice?: `0x${string}` | undefined;
370
+ maxFeePerGas?: `0x${string}` | undefined;
371
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
372
372
  accessList?: import("../../index.js").AccessList | undefined;
373
373
  chainId?: `0x${string}` | undefined;
374
374
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {