viem 0.0.0-main.20231112T014621 → 0.0.0-main.20231112T061346

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 (47) hide show
  1. package/_cjs/errors/node.js +11 -11
  2. package/_cjs/errors/node.js.map +1 -1
  3. package/_cjs/errors/rpc.js +18 -18
  4. package/_cjs/errors/rpc.js.map +1 -1
  5. package/_cjs/errors/version.js +1 -1
  6. package/_cjs/utils/formatters/transaction.js +5 -7
  7. package/_cjs/utils/formatters/transaction.js.map +1 -1
  8. package/_esm/errors/node.js +11 -22
  9. package/_esm/errors/node.js.map +1 -1
  10. package/_esm/errors/rpc.js +18 -36
  11. package/_esm/errors/rpc.js.map +1 -1
  12. package/_esm/errors/version.js +1 -1
  13. package/_esm/utils/formatters/transaction.js +6 -8
  14. package/_esm/utils/formatters/transaction.js.map +1 -1
  15. package/_types/chains/celo/formatters.d.ts +23 -23
  16. package/_types/chains/definitions/base.d.ts +17 -17
  17. package/_types/chains/definitions/baseGoerli.d.ts +17 -17
  18. package/_types/chains/definitions/baseSepolia.d.ts +17 -17
  19. package/_types/chains/definitions/celo.d.ts +23 -23
  20. package/_types/chains/definitions/celoAlfajores.d.ts +23 -23
  21. package/_types/chains/definitions/celoCannoli.d.ts +23 -23
  22. package/_types/chains/definitions/optimism.d.ts +17 -17
  23. package/_types/chains/definitions/optimismGoerli.d.ts +17 -17
  24. package/_types/chains/definitions/optimismSepolia.d.ts +17 -17
  25. package/_types/chains/definitions/zkSync.d.ts +10 -10
  26. package/_types/chains/definitions/zkSyncTestnet.d.ts +10 -10
  27. package/_types/chains/definitions/zora.d.ts +17 -17
  28. package/_types/chains/definitions/zoraSepolia.d.ts +17 -17
  29. package/_types/chains/definitions/zoraTestnet.d.ts +17 -17
  30. package/_types/chains/optimism/formatters.d.ts +17 -17
  31. package/_types/chains/zksync/formatters.d.ts +10 -10
  32. package/_types/errors/version.d.ts +1 -1
  33. package/_types/types/rpc.d.ts +2 -2
  34. package/_types/types/rpc.d.ts.map +1 -1
  35. package/_types/types/transaction.d.ts +3 -6
  36. package/_types/types/transaction.d.ts.map +1 -1
  37. package/_types/types/utils.d.ts +8 -0
  38. package/_types/types/utils.d.ts.map +1 -1
  39. package/_types/utils/formatters/transaction.d.ts +1 -1
  40. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  41. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  42. package/errors/version.ts +1 -1
  43. package/package.json +1 -1
  44. package/types/rpc.ts +15 -6
  45. package/types/transaction.ts +3 -6
  46. package/types/utils.ts +11 -0
  47. package/utils/formatters/transaction.ts +5 -8
@@ -75,45 +75,45 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
75
75
  };
76
76
  readonly transaction: {
77
77
  exclude: [] | undefined;
78
- 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"> & {
78
+ format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
79
79
  isSystemTx?: undefined;
80
80
  mint?: undefined;
81
81
  sourceHash?: undefined;
82
- }) | (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}`> & {
82
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
83
83
  isSystemTx?: boolean | undefined;
84
84
  mint?: `0x${string}` | undefined;
85
85
  sourceHash: `0x${string}`;
86
86
  type: "0x7e";
87
- }) | (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"> & {
87
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
88
88
  isSystemTx?: undefined;
89
89
  mint?: undefined;
90
90
  sourceHash?: undefined;
91
- }) | (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"> & {
91
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
92
92
  isSystemTx?: undefined;
93
93
  mint?: undefined;
94
94
  sourceHash?: undefined;
95
- }) | (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"> & {
95
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
96
96
  isSystemTx?: undefined;
97
97
  mint?: undefined;
98
98
  sourceHash?: undefined;
99
- }) | (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}`> & {
99
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
100
100
  isSystemTx?: boolean | undefined;
101
101
  mint?: `0x${string}` | undefined;
102
102
  sourceHash: `0x${string}`;
103
103
  type: "0x7e";
104
- }) | (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"> & {
104
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
105
105
  isSystemTx?: undefined;
106
106
  mint?: undefined;
107
107
  sourceHash?: undefined;
108
- }) | (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"> & {
108
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
109
109
  isSystemTx?: undefined;
110
110
  mint?: undefined;
111
111
  sourceHash?: undefined;
112
- }) | (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"> & {
112
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
113
113
  isSystemTx?: undefined;
114
114
  mint?: undefined;
115
115
  sourceHash?: undefined;
116
- }) | (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}`> & {
116
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
117
117
  isSystemTx?: boolean | undefined;
118
118
  mint?: `0x${string}` | undefined;
119
119
  sourceHash: `0x${string}`;
@@ -163,7 +163,7 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
163
163
  maxPriorityFeePerGas: bigint;
164
164
  accessList?: undefined;
165
165
  chainId?: number | undefined;
166
- yParity?: undefined;
166
+ yParity: number;
167
167
  type: "deposit";
168
168
  isSystemTx?: boolean | undefined;
169
169
  mint?: bigint | undefined;
@@ -183,12 +183,12 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
183
183
  typeHex: `0x${string}` | null;
184
184
  v: bigint;
185
185
  value: bigint;
186
+ yParity: number;
186
187
  gasPrice: bigint;
187
188
  maxFeePerGas?: undefined;
188
189
  maxPriorityFeePerGas?: undefined;
189
190
  accessList: import("../../index.js").AccessList;
190
191
  chainId: number;
191
- yParity?: number | undefined;
192
192
  type: "eip2930";
193
193
  isSystemTx?: undefined;
194
194
  mint?: undefined;
@@ -208,12 +208,12 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
208
208
  typeHex: `0x${string}` | null;
209
209
  v: bigint;
210
210
  value: bigint;
211
+ yParity: number;
211
212
  gasPrice: undefined;
212
213
  maxFeePerGas: bigint;
213
214
  maxPriorityFeePerGas: bigint;
214
215
  accessList: import("../../index.js").AccessList;
215
216
  chainId: number;
216
- yParity?: number | undefined;
217
217
  type: "eip1559";
218
218
  isSystemTx?: undefined;
219
219
  mint?: undefined;
@@ -233,12 +233,12 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
233
233
  typeHex: `0x${string}` | null;
234
234
  v: bigint;
235
235
  value: bigint;
236
+ yParity: number;
236
237
  gasPrice: undefined;
237
238
  maxFeePerGas: bigint;
238
239
  maxPriorityFeePerGas: bigint;
239
240
  accessList: import("../../index.js").AccessList;
240
241
  chainId: number;
241
- yParity?: number | undefined;
242
242
  type: "deposit";
243
243
  isSystemTx?: boolean | undefined;
244
244
  mint?: bigint | undefined;
@@ -258,12 +258,12 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
258
258
  typeHex: `0x${string}` | null;
259
259
  v: bigint;
260
260
  value: bigint;
261
+ yParity: number;
261
262
  gasPrice: bigint;
262
263
  maxFeePerGas: undefined;
263
264
  maxPriorityFeePerGas: undefined;
264
265
  accessList: import("../../index.js").AccessList;
265
266
  chainId: number;
266
- yParity?: number | undefined;
267
267
  type: "eip2930";
268
268
  isSystemTx?: undefined;
269
269
  mint?: undefined;
@@ -283,12 +283,12 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
283
283
  typeHex: `0x${string}` | null;
284
284
  v: bigint;
285
285
  value: bigint;
286
+ yParity: number;
286
287
  gasPrice?: undefined;
287
288
  maxFeePerGas: bigint;
288
289
  maxPriorityFeePerGas: bigint;
289
290
  accessList: import("../../index.js").AccessList;
290
291
  chainId: number;
291
- yParity?: number | undefined;
292
292
  type: "eip1559";
293
293
  isSystemTx?: undefined;
294
294
  mint?: undefined;
@@ -308,12 +308,12 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
308
308
  typeHex: `0x${string}` | null;
309
309
  v: bigint;
310
310
  value: bigint;
311
+ yParity: number;
311
312
  gasPrice?: undefined;
312
313
  maxFeePerGas: bigint;
313
314
  maxPriorityFeePerGas: bigint;
314
315
  accessList: import("../../index.js").AccessList;
315
316
  chainId: number;
316
- yParity?: number | undefined;
317
317
  type: "deposit";
318
318
  isSystemTx?: boolean | undefined;
319
319
  mint?: bigint | undefined;
@@ -67,45 +67,45 @@ export declare const optimismSepolia: import("../../types/utils.js").Assign<{
67
67
  };
68
68
  readonly transaction: {
69
69
  exclude: [] | undefined;
70
- 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"> & {
70
+ format: (args: (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
71
71
  isSystemTx?: undefined;
72
72
  mint?: undefined;
73
73
  sourceHash?: undefined;
74
- }) | (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}`> & {
74
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
75
75
  isSystemTx?: boolean | undefined;
76
76
  mint?: `0x${string}` | undefined;
77
77
  sourceHash: `0x${string}`;
78
78
  type: "0x7e";
79
- }) | (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"> & {
79
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
80
80
  isSystemTx?: undefined;
81
81
  mint?: undefined;
82
82
  sourceHash?: undefined;
83
- }) | (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"> & {
83
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
84
84
  isSystemTx?: undefined;
85
85
  mint?: undefined;
86
86
  sourceHash?: undefined;
87
- }) | (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"> & {
87
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
88
88
  isSystemTx?: undefined;
89
89
  mint?: undefined;
90
90
  sourceHash?: undefined;
91
- }) | (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}`> & {
91
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
92
92
  isSystemTx?: boolean | undefined;
93
93
  mint?: `0x${string}` | undefined;
94
94
  sourceHash: `0x${string}`;
95
95
  type: "0x7e";
96
- }) | (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"> & {
96
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
97
97
  isSystemTx?: undefined;
98
98
  mint?: undefined;
99
99
  sourceHash?: undefined;
100
- }) | (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"> & {
100
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
101
101
  isSystemTx?: undefined;
102
102
  mint?: undefined;
103
103
  sourceHash?: undefined;
104
- }) | (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"> & {
104
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
105
105
  isSystemTx?: undefined;
106
106
  mint?: undefined;
107
107
  sourceHash?: undefined;
108
- }) | (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}`> & {
108
+ }) | (import("../../types/utils.js").Assign_<Partial<Omit<import("../../types/utils.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex">>, import("../optimism/types.js").OptimismRpcTransaction> & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
109
109
  isSystemTx?: boolean | undefined;
110
110
  mint?: `0x${string}` | undefined;
111
111
  sourceHash: `0x${string}`;
@@ -155,7 +155,7 @@ export declare const optimismSepolia: import("../../types/utils.js").Assign<{
155
155
  maxPriorityFeePerGas: bigint;
156
156
  accessList?: undefined;
157
157
  chainId?: number | undefined;
158
- yParity?: undefined;
158
+ yParity: number;
159
159
  type: "deposit";
160
160
  isSystemTx?: boolean | undefined;
161
161
  mint?: bigint | undefined;
@@ -175,12 +175,12 @@ export declare const optimismSepolia: import("../../types/utils.js").Assign<{
175
175
  typeHex: `0x${string}` | null;
176
176
  v: bigint;
177
177
  value: bigint;
178
+ yParity: number;
178
179
  gasPrice: bigint;
179
180
  maxFeePerGas?: undefined;
180
181
  maxPriorityFeePerGas?: undefined;
181
182
  accessList: import("../../index.js").AccessList;
182
183
  chainId: number;
183
- yParity?: number | undefined;
184
184
  type: "eip2930";
185
185
  isSystemTx?: undefined;
186
186
  mint?: undefined;
@@ -200,12 +200,12 @@ export declare const optimismSepolia: import("../../types/utils.js").Assign<{
200
200
  typeHex: `0x${string}` | null;
201
201
  v: bigint;
202
202
  value: bigint;
203
+ yParity: number;
203
204
  gasPrice: undefined;
204
205
  maxFeePerGas: bigint;
205
206
  maxPriorityFeePerGas: bigint;
206
207
  accessList: import("../../index.js").AccessList;
207
208
  chainId: number;
208
- yParity?: number | undefined;
209
209
  type: "eip1559";
210
210
  isSystemTx?: undefined;
211
211
  mint?: undefined;
@@ -225,12 +225,12 @@ export declare const optimismSepolia: import("../../types/utils.js").Assign<{
225
225
  typeHex: `0x${string}` | null;
226
226
  v: bigint;
227
227
  value: bigint;
228
+ yParity: number;
228
229
  gasPrice: undefined;
229
230
  maxFeePerGas: bigint;
230
231
  maxPriorityFeePerGas: bigint;
231
232
  accessList: import("../../index.js").AccessList;
232
233
  chainId: number;
233
- yParity?: number | undefined;
234
234
  type: "deposit";
235
235
  isSystemTx?: boolean | undefined;
236
236
  mint?: bigint | undefined;
@@ -250,12 +250,12 @@ export declare const optimismSepolia: import("../../types/utils.js").Assign<{
250
250
  typeHex: `0x${string}` | null;
251
251
  v: bigint;
252
252
  value: bigint;
253
+ yParity: number;
253
254
  gasPrice: bigint;
254
255
  maxFeePerGas: undefined;
255
256
  maxPriorityFeePerGas: undefined;
256
257
  accessList: import("../../index.js").AccessList;
257
258
  chainId: number;
258
- yParity?: number | undefined;
259
259
  type: "eip2930";
260
260
  isSystemTx?: undefined;
261
261
  mint?: undefined;
@@ -275,12 +275,12 @@ export declare const optimismSepolia: import("../../types/utils.js").Assign<{
275
275
  typeHex: `0x${string}` | null;
276
276
  v: bigint;
277
277
  value: bigint;
278
+ yParity: number;
278
279
  gasPrice?: undefined;
279
280
  maxFeePerGas: bigint;
280
281
  maxPriorityFeePerGas: bigint;
281
282
  accessList: import("../../index.js").AccessList;
282
283
  chainId: number;
283
- yParity?: number | undefined;
284
284
  type: "eip1559";
285
285
  isSystemTx?: undefined;
286
286
  mint?: undefined;
@@ -300,12 +300,12 @@ export declare const optimismSepolia: import("../../types/utils.js").Assign<{
300
300
  typeHex: `0x${string}` | null;
301
301
  v: bigint;
302
302
  value: bigint;
303
+ yParity: number;
303
304
  gasPrice?: undefined;
304
305
  maxFeePerGas: bigint;
305
306
  maxPriorityFeePerGas: bigint;
306
307
  accessList: import("../../index.js").AccessList;
307
308
  chainId: number;
308
- yParity?: number | undefined;
309
309
  type: "deposit";
310
310
  isSystemTx?: boolean | undefined;
311
311
  mint?: bigint | undefined;
@@ -109,7 +109,7 @@ export declare const zkSync: import("../../types/utils.js").Assign<{
109
109
  maxPriorityFeePerGas: bigint;
110
110
  accessList?: undefined;
111
111
  chainId?: number | undefined;
112
- yParity?: undefined;
112
+ yParity: number;
113
113
  type: "priority";
114
114
  l1BatchNumber: bigint | null;
115
115
  l1BatchTxIndex: bigint | null;
@@ -133,7 +133,7 @@ export declare const zkSync: import("../../types/utils.js").Assign<{
133
133
  maxPriorityFeePerGas: bigint;
134
134
  accessList?: undefined;
135
135
  chainId?: number | undefined;
136
- yParity?: undefined;
136
+ yParity: number;
137
137
  type: "priority" | "eip712";
138
138
  l1BatchNumber: bigint | null;
139
139
  l1BatchTxIndex: bigint | null;
@@ -152,12 +152,12 @@ export declare const zkSync: import("../../types/utils.js").Assign<{
152
152
  typeHex: `0x${string}` | null;
153
153
  v: bigint;
154
154
  value: bigint;
155
+ yParity: number;
155
156
  gasPrice: bigint;
156
157
  maxFeePerGas?: undefined;
157
158
  maxPriorityFeePerGas?: undefined;
158
159
  accessList: import("../../index.js").AccessList;
159
160
  chainId: number;
160
- yParity?: number | undefined;
161
161
  type: "eip2930";
162
162
  l1BatchNumber: bigint | null;
163
163
  l1BatchTxIndex: bigint | null;
@@ -176,12 +176,12 @@ export declare const zkSync: import("../../types/utils.js").Assign<{
176
176
  typeHex: `0x${string}` | null;
177
177
  v: bigint;
178
178
  value: bigint;
179
+ yParity: number;
179
180
  gasPrice: undefined;
180
181
  maxFeePerGas: bigint;
181
182
  maxPriorityFeePerGas: bigint;
182
183
  accessList: import("../../index.js").AccessList;
183
184
  chainId: number;
184
- yParity?: number | undefined;
185
185
  type: "eip1559";
186
186
  l1BatchNumber: bigint | null;
187
187
  l1BatchTxIndex: bigint | null;
@@ -200,12 +200,12 @@ export declare const zkSync: import("../../types/utils.js").Assign<{
200
200
  typeHex: `0x${string}` | null;
201
201
  v: bigint;
202
202
  value: bigint;
203
+ yParity: number;
203
204
  gasPrice: undefined;
204
205
  maxFeePerGas: bigint;
205
206
  maxPriorityFeePerGas: bigint;
206
207
  accessList: import("../../index.js").AccessList;
207
208
  chainId: number;
208
- yParity?: number | undefined;
209
209
  type: "priority";
210
210
  l1BatchNumber: bigint | null;
211
211
  l1BatchTxIndex: bigint | null;
@@ -224,12 +224,12 @@ export declare const zkSync: import("../../types/utils.js").Assign<{
224
224
  typeHex: `0x${string}` | null;
225
225
  v: bigint;
226
226
  value: bigint;
227
+ yParity: number;
227
228
  gasPrice: undefined;
228
229
  maxFeePerGas: bigint;
229
230
  maxPriorityFeePerGas: bigint;
230
231
  accessList: import("../../index.js").AccessList;
231
232
  chainId: number;
232
- yParity?: number | undefined;
233
233
  type: "priority" | "eip712";
234
234
  l1BatchNumber: bigint | null;
235
235
  l1BatchTxIndex: bigint | null;
@@ -248,12 +248,12 @@ export declare const zkSync: import("../../types/utils.js").Assign<{
248
248
  typeHex: `0x${string}` | null;
249
249
  v: bigint;
250
250
  value: bigint;
251
+ yParity: number;
251
252
  gasPrice: bigint;
252
253
  maxFeePerGas: undefined;
253
254
  maxPriorityFeePerGas: undefined;
254
255
  accessList: import("../../index.js").AccessList;
255
256
  chainId: number;
256
- yParity?: number | undefined;
257
257
  type: "eip2930";
258
258
  l1BatchNumber: bigint | null;
259
259
  l1BatchTxIndex: bigint | null;
@@ -272,12 +272,12 @@ export declare const zkSync: import("../../types/utils.js").Assign<{
272
272
  typeHex: `0x${string}` | null;
273
273
  v: bigint;
274
274
  value: bigint;
275
+ yParity: number;
275
276
  gasPrice?: undefined;
276
277
  maxFeePerGas: bigint;
277
278
  maxPriorityFeePerGas: bigint;
278
279
  accessList: import("../../index.js").AccessList;
279
280
  chainId: number;
280
- yParity?: number | undefined;
281
281
  type: "eip1559";
282
282
  l1BatchNumber: bigint | null;
283
283
  l1BatchTxIndex: bigint | null;
@@ -296,12 +296,12 @@ export declare const zkSync: import("../../types/utils.js").Assign<{
296
296
  typeHex: `0x${string}` | null;
297
297
  v: bigint;
298
298
  value: bigint;
299
+ yParity: number;
299
300
  gasPrice?: undefined;
300
301
  maxFeePerGas: bigint;
301
302
  maxPriorityFeePerGas: bigint;
302
303
  accessList: import("../../index.js").AccessList;
303
304
  chainId: number;
304
- yParity?: number | undefined;
305
305
  type: "priority";
306
306
  l1BatchNumber: bigint | null;
307
307
  l1BatchTxIndex: bigint | null;
@@ -320,12 +320,12 @@ export declare const zkSync: import("../../types/utils.js").Assign<{
320
320
  typeHex: `0x${string}` | null;
321
321
  v: bigint;
322
322
  value: bigint;
323
+ yParity: number;
323
324
  gasPrice?: undefined;
324
325
  maxFeePerGas: bigint;
325
326
  maxPriorityFeePerGas: bigint;
326
327
  accessList: import("../../index.js").AccessList;
327
328
  chainId: number;
328
- yParity?: number | undefined;
329
329
  type: "priority" | "eip712";
330
330
  l1BatchNumber: bigint | null;
331
331
  l1BatchTxIndex: bigint | null;
@@ -110,7 +110,7 @@ export declare const zkSyncTestnet: import("../../types/utils.js").Assign<{
110
110
  maxPriorityFeePerGas: bigint;
111
111
  accessList?: undefined;
112
112
  chainId?: number | undefined;
113
- yParity?: undefined;
113
+ yParity: number;
114
114
  type: "priority";
115
115
  l1BatchNumber: bigint | null;
116
116
  l1BatchTxIndex: bigint | null;
@@ -134,7 +134,7 @@ export declare const zkSyncTestnet: import("../../types/utils.js").Assign<{
134
134
  maxPriorityFeePerGas: bigint;
135
135
  accessList?: undefined;
136
136
  chainId?: number | undefined;
137
- yParity?: undefined;
137
+ yParity: number;
138
138
  type: "priority" | "eip712";
139
139
  l1BatchNumber: bigint | null;
140
140
  l1BatchTxIndex: bigint | null;
@@ -153,12 +153,12 @@ export declare const zkSyncTestnet: import("../../types/utils.js").Assign<{
153
153
  typeHex: `0x${string}` | null;
154
154
  v: bigint;
155
155
  value: bigint;
156
+ yParity: number;
156
157
  gasPrice: bigint;
157
158
  maxFeePerGas?: undefined;
158
159
  maxPriorityFeePerGas?: undefined;
159
160
  accessList: import("../../index.js").AccessList;
160
161
  chainId: number;
161
- yParity?: number | undefined;
162
162
  type: "eip2930";
163
163
  l1BatchNumber: bigint | null;
164
164
  l1BatchTxIndex: bigint | null;
@@ -177,12 +177,12 @@ export declare const zkSyncTestnet: import("../../types/utils.js").Assign<{
177
177
  typeHex: `0x${string}` | null;
178
178
  v: bigint;
179
179
  value: bigint;
180
+ yParity: number;
180
181
  gasPrice: undefined;
181
182
  maxFeePerGas: bigint;
182
183
  maxPriorityFeePerGas: bigint;
183
184
  accessList: import("../../index.js").AccessList;
184
185
  chainId: number;
185
- yParity?: number | undefined;
186
186
  type: "eip1559";
187
187
  l1BatchNumber: bigint | null;
188
188
  l1BatchTxIndex: bigint | null;
@@ -201,12 +201,12 @@ export declare const zkSyncTestnet: import("../../types/utils.js").Assign<{
201
201
  typeHex: `0x${string}` | null;
202
202
  v: bigint;
203
203
  value: bigint;
204
+ yParity: number;
204
205
  gasPrice: undefined;
205
206
  maxFeePerGas: bigint;
206
207
  maxPriorityFeePerGas: bigint;
207
208
  accessList: import("../../index.js").AccessList;
208
209
  chainId: number;
209
- yParity?: number | undefined;
210
210
  type: "priority";
211
211
  l1BatchNumber: bigint | null;
212
212
  l1BatchTxIndex: bigint | null;
@@ -225,12 +225,12 @@ export declare const zkSyncTestnet: import("../../types/utils.js").Assign<{
225
225
  typeHex: `0x${string}` | null;
226
226
  v: bigint;
227
227
  value: bigint;
228
+ yParity: number;
228
229
  gasPrice: undefined;
229
230
  maxFeePerGas: bigint;
230
231
  maxPriorityFeePerGas: bigint;
231
232
  accessList: import("../../index.js").AccessList;
232
233
  chainId: number;
233
- yParity?: number | undefined;
234
234
  type: "priority" | "eip712";
235
235
  l1BatchNumber: bigint | null;
236
236
  l1BatchTxIndex: bigint | null;
@@ -249,12 +249,12 @@ export declare const zkSyncTestnet: import("../../types/utils.js").Assign<{
249
249
  typeHex: `0x${string}` | null;
250
250
  v: bigint;
251
251
  value: bigint;
252
+ yParity: number;
252
253
  gasPrice: bigint;
253
254
  maxFeePerGas: undefined;
254
255
  maxPriorityFeePerGas: undefined;
255
256
  accessList: import("../../index.js").AccessList;
256
257
  chainId: number;
257
- yParity?: number | undefined;
258
258
  type: "eip2930";
259
259
  l1BatchNumber: bigint | null;
260
260
  l1BatchTxIndex: bigint | null;
@@ -273,12 +273,12 @@ export declare const zkSyncTestnet: import("../../types/utils.js").Assign<{
273
273
  typeHex: `0x${string}` | null;
274
274
  v: bigint;
275
275
  value: bigint;
276
+ yParity: number;
276
277
  gasPrice?: undefined;
277
278
  maxFeePerGas: bigint;
278
279
  maxPriorityFeePerGas: bigint;
279
280
  accessList: import("../../index.js").AccessList;
280
281
  chainId: number;
281
- yParity?: number | undefined;
282
282
  type: "eip1559";
283
283
  l1BatchNumber: bigint | null;
284
284
  l1BatchTxIndex: bigint | null;
@@ -297,12 +297,12 @@ export declare const zkSyncTestnet: import("../../types/utils.js").Assign<{
297
297
  typeHex: `0x${string}` | null;
298
298
  v: bigint;
299
299
  value: bigint;
300
+ yParity: number;
300
301
  gasPrice?: undefined;
301
302
  maxFeePerGas: bigint;
302
303
  maxPriorityFeePerGas: bigint;
303
304
  accessList: import("../../index.js").AccessList;
304
305
  chainId: number;
305
- yParity?: number | undefined;
306
306
  type: "priority";
307
307
  l1BatchNumber: bigint | null;
308
308
  l1BatchTxIndex: bigint | null;
@@ -321,12 +321,12 @@ export declare const zkSyncTestnet: import("../../types/utils.js").Assign<{
321
321
  typeHex: `0x${string}` | null;
322
322
  v: bigint;
323
323
  value: bigint;
324
+ yParity: number;
324
325
  gasPrice?: undefined;
325
326
  maxFeePerGas: bigint;
326
327
  maxPriorityFeePerGas: bigint;
327
328
  accessList: import("../../index.js").AccessList;
328
329
  chainId: number;
329
- yParity?: number | undefined;
330
330
  type: "priority" | "eip712";
331
331
  l1BatchNumber: bigint | null;
332
332
  l1BatchTxIndex: bigint | null;