viem 0.0.0-main.20240130T224622 → 0.0.0-main.20240130T235251

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 (88) hide show
  1. package/_cjs/actions/public/getTransaction.js.map +1 -1
  2. package/_cjs/errors/version.js +1 -1
  3. package/_cjs/index.js.map +1 -1
  4. package/_cjs/utils/formatters/transaction.js +9 -0
  5. package/_cjs/utils/formatters/transaction.js.map +1 -1
  6. package/_cjs/utils/formatters/transactionReceipt.js +6 -1
  7. package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
  8. package/_cjs/utils/formatters/transactionRequest.js +1 -0
  9. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  10. package/_esm/actions/public/getTransaction.js.map +1 -1
  11. package/_esm/errors/version.js +1 -1
  12. package/_esm/index.js.map +1 -1
  13. package/_esm/utils/formatters/transaction.js +9 -0
  14. package/_esm/utils/formatters/transaction.js.map +1 -1
  15. package/_esm/utils/formatters/transactionReceipt.js +6 -1
  16. package/_esm/utils/formatters/transactionReceipt.js.map +1 -1
  17. package/_esm/utils/formatters/transactionRequest.js +1 -0
  18. package/_esm/utils/formatters/transactionRequest.js.map +1 -1
  19. package/_types/actions/public/getTransaction.d.ts +2 -1
  20. package/_types/actions/public/getTransaction.d.ts.map +1 -1
  21. package/_types/chains/celo/chainConfig.d.ts +373 -65
  22. package/_types/chains/celo/chainConfig.d.ts.map +1 -1
  23. package/_types/chains/celo/formatters.d.ts +373 -65
  24. package/_types/chains/celo/formatters.d.ts.map +1 -1
  25. package/_types/chains/definitions/base.d.ts +277 -49
  26. package/_types/chains/definitions/base.d.ts.map +1 -1
  27. package/_types/chains/definitions/baseGoerli.d.ts +277 -49
  28. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  29. package/_types/chains/definitions/baseSepolia.d.ts +277 -49
  30. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  31. package/_types/chains/definitions/celo.d.ts +373 -65
  32. package/_types/chains/definitions/celo.d.ts.map +1 -1
  33. package/_types/chains/definitions/celoAlfajores.d.ts +373 -65
  34. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  35. package/_types/chains/definitions/optimism.d.ts +277 -49
  36. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  37. package/_types/chains/definitions/optimismGoerli.d.ts +277 -49
  38. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  39. package/_types/chains/definitions/optimismSepolia.d.ts +277 -49
  40. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  41. package/_types/chains/definitions/pgn.d.ts +277 -49
  42. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  43. package/_types/chains/definitions/pgnTestnet.d.ts +277 -49
  44. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  45. package/_types/chains/definitions/zkSync.d.ts +120 -6
  46. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  47. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +120 -6
  48. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
  49. package/_types/chains/definitions/zkSyncTestnet.d.ts +120 -6
  50. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  51. package/_types/chains/definitions/zora.d.ts +277 -49
  52. package/_types/chains/definitions/zora.d.ts.map +1 -1
  53. package/_types/chains/definitions/zoraSepolia.d.ts +277 -49
  54. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  55. package/_types/chains/definitions/zoraTestnet.d.ts +277 -49
  56. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  57. package/_types/chains/opStack/chainConfig.d.ts +277 -49
  58. package/_types/chains/opStack/chainConfig.d.ts.map +1 -1
  59. package/_types/chains/opStack/formatters.d.ts +277 -49
  60. package/_types/chains/opStack/formatters.d.ts.map +1 -1
  61. package/_types/chains/zksync/chainConfig.d.ts +120 -6
  62. package/_types/chains/zksync/chainConfig.d.ts.map +1 -1
  63. package/_types/chains/zksync/formatters.d.ts +120 -6
  64. package/_types/chains/zksync/formatters.d.ts.map +1 -1
  65. package/_types/errors/version.d.ts +1 -1
  66. package/_types/index.d.ts +2 -2
  67. package/_types/index.d.ts.map +1 -1
  68. package/_types/types/fee.d.ts +9 -2
  69. package/_types/types/fee.d.ts.map +1 -1
  70. package/_types/types/rpc.d.ts +2 -2
  71. package/_types/types/rpc.d.ts.map +1 -1
  72. package/_types/types/transaction.d.ts +20 -5
  73. package/_types/types/transaction.d.ts.map +1 -1
  74. package/_types/utils/formatters/transaction.d.ts +387 -2
  75. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  76. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
  77. package/_types/utils/formatters/transactionRequest.d.ts +2 -1
  78. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  79. package/actions/public/getTransaction.ts +2 -1
  80. package/errors/version.ts +1 -1
  81. package/index.ts +2 -0
  82. package/package.json +1 -1
  83. package/types/fee.ts +14 -1
  84. package/types/rpc.ts +3 -1
  85. package/types/transaction.ts +37 -6
  86. package/utils/formatters/transaction.ts +9 -0
  87. package/utils/formatters/transactionReceipt.ts +8 -1
  88. package/utils/formatters/transactionRequest.ts +1 -0
@@ -55,11 +55,17 @@ export declare const chainConfig: {
55
55
  readonly transaction: {
56
56
  exclude: [] | undefined;
57
57
  format: (args: ({
58
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
59
+ gas?: `0x${string}` | undefined;
60
+ value?: `0x${string}` | undefined;
61
+ gasPrice?: `0x${string}` | undefined;
62
+ maxFeePerBlobGas?: `0x${string}` | undefined;
63
+ maxFeePerGas?: `0x${string}` | undefined;
64
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
58
65
  yParity?: `0x${string}` | undefined;
59
66
  blockHash?: `0x${string}` | null | undefined;
60
67
  blockNumber?: `0x${string}` | null | undefined;
61
68
  from?: `0x${string}` | undefined;
62
- gas?: `0x${string}` | undefined;
63
69
  hash?: `0x${string}` | undefined;
64
70
  input?: `0x${string}` | undefined;
65
71
  nonce?: `0x${string}` | undefined;
@@ -68,23 +74,25 @@ export declare const chainConfig: {
68
74
  to?: `0x${string}` | null | undefined;
69
75
  transactionIndex?: `0x${string}` | null | undefined;
70
76
  v?: `0x${string}` | undefined;
71
- value?: `0x${string}` | undefined;
72
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
73
- gasPrice?: `0x${string}` | undefined;
74
- maxFeePerGas?: `0x${string}` | undefined;
75
- maxPriorityFeePerGas?: `0x${string}` | undefined;
76
77
  accessList?: undefined;
78
+ blobVersionedHashes?: undefined;
77
79
  chainId?: `0x${string}` | undefined;
78
80
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
79
81
  isSystemTx?: undefined;
80
82
  mint?: undefined;
81
83
  sourceHash?: undefined;
82
84
  }) | ({
85
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
86
+ gas?: `0x${string}` | undefined;
87
+ value?: `0x${string}` | undefined;
88
+ gasPrice?: `0x${string}` | undefined;
89
+ maxFeePerBlobGas?: `0x${string}` | undefined;
90
+ maxFeePerGas?: `0x${string}` | undefined;
91
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
83
92
  yParity?: `0x${string}` | undefined;
84
93
  blockHash?: `0x${string}` | null | undefined;
85
94
  blockNumber?: `0x${string}` | null | undefined;
86
95
  from?: `0x${string}` | undefined;
87
- gas?: `0x${string}` | undefined;
88
96
  hash?: `0x${string}` | undefined;
89
97
  input?: `0x${string}` | undefined;
90
98
  nonce?: `0x${string}` | undefined;
@@ -93,12 +101,8 @@ export declare const chainConfig: {
93
101
  to?: `0x${string}` | null | undefined;
94
102
  transactionIndex?: `0x${string}` | null | undefined;
95
103
  v?: `0x${string}` | undefined;
96
- value?: `0x${string}` | undefined;
97
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
98
- gasPrice?: `0x${string}` | undefined;
99
- maxFeePerGas?: `0x${string}` | undefined;
100
- maxPriorityFeePerGas?: `0x${string}` | undefined;
101
104
  accessList?: undefined;
105
+ blobVersionedHashes?: undefined;
102
106
  chainId?: `0x${string}` | undefined;
103
107
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
104
108
  isSystemTx?: boolean | undefined;
@@ -106,11 +110,17 @@ export declare const chainConfig: {
106
110
  sourceHash: `0x${string}`;
107
111
  type: "0x7e";
108
112
  }) | ({
113
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
114
+ gas?: `0x${string}` | undefined;
115
+ value?: `0x${string}` | undefined;
116
+ gasPrice?: `0x${string}` | undefined;
117
+ maxFeePerBlobGas?: `0x${string}` | undefined;
118
+ maxFeePerGas?: `0x${string}` | undefined;
119
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
109
120
  yParity?: `0x${string}` | undefined;
110
121
  blockHash?: `0x${string}` | null | undefined;
111
122
  blockNumber?: `0x${string}` | null | undefined;
112
123
  from?: `0x${string}` | undefined;
113
- gas?: `0x${string}` | undefined;
114
124
  hash?: `0x${string}` | undefined;
115
125
  input?: `0x${string}` | undefined;
116
126
  nonce?: `0x${string}` | undefined;
@@ -119,23 +129,25 @@ export declare const chainConfig: {
119
129
  to?: `0x${string}` | null | undefined;
120
130
  transactionIndex?: `0x${string}` | null | undefined;
121
131
  v?: `0x${string}` | undefined;
122
- value?: `0x${string}` | undefined;
123
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
124
- gasPrice?: `0x${string}` | undefined;
125
- maxFeePerGas?: `0x${string}` | undefined;
126
- maxPriorityFeePerGas?: `0x${string}` | undefined;
127
132
  accessList?: import("../../index.js").AccessList | undefined;
133
+ blobVersionedHashes?: undefined;
128
134
  chainId?: `0x${string}` | undefined;
129
135
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
130
136
  isSystemTx?: undefined;
131
137
  mint?: undefined;
132
138
  sourceHash?: undefined;
133
139
  }) | ({
140
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
141
+ gas?: `0x${string}` | undefined;
142
+ value?: `0x${string}` | undefined;
143
+ gasPrice?: `0x${string}` | undefined;
144
+ maxFeePerBlobGas?: `0x${string}` | undefined;
145
+ maxFeePerGas?: `0x${string}` | undefined;
146
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
134
147
  yParity?: `0x${string}` | undefined;
135
148
  blockHash?: `0x${string}` | null | undefined;
136
149
  blockNumber?: `0x${string}` | null | undefined;
137
150
  from?: `0x${string}` | undefined;
138
- gas?: `0x${string}` | undefined;
139
151
  hash?: `0x${string}` | undefined;
140
152
  input?: `0x${string}` | undefined;
141
153
  nonce?: `0x${string}` | undefined;
@@ -144,23 +156,25 @@ export declare const chainConfig: {
144
156
  to?: `0x${string}` | null | undefined;
145
157
  transactionIndex?: `0x${string}` | null | undefined;
146
158
  v?: `0x${string}` | undefined;
147
- value?: `0x${string}` | undefined;
148
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
149
- gasPrice?: `0x${string}` | undefined;
150
- maxFeePerGas?: `0x${string}` | undefined;
151
- maxPriorityFeePerGas?: `0x${string}` | undefined;
152
159
  accessList?: import("../../index.js").AccessList | undefined;
160
+ blobVersionedHashes?: undefined;
153
161
  chainId?: `0x${string}` | undefined;
154
162
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
155
163
  isSystemTx?: undefined;
156
164
  mint?: undefined;
157
165
  sourceHash?: undefined;
158
166
  }) | ({
167
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
168
+ gas?: `0x${string}` | undefined;
169
+ value?: `0x${string}` | undefined;
170
+ gasPrice?: `0x${string}` | undefined;
171
+ maxFeePerBlobGas?: `0x${string}` | undefined;
172
+ maxFeePerGas?: `0x${string}` | undefined;
173
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
159
174
  yParity?: `0x${string}` | undefined;
160
175
  blockHash?: `0x${string}` | null | undefined;
161
176
  blockNumber?: `0x${string}` | null | undefined;
162
177
  from?: `0x${string}` | undefined;
163
- gas?: `0x${string}` | undefined;
164
178
  hash?: `0x${string}` | undefined;
165
179
  input?: `0x${string}` | undefined;
166
180
  nonce?: `0x${string}` | undefined;
@@ -169,23 +183,25 @@ export declare const chainConfig: {
169
183
  to?: `0x${string}` | null | undefined;
170
184
  transactionIndex?: `0x${string}` | null | undefined;
171
185
  v?: `0x${string}` | undefined;
172
- value?: `0x${string}` | undefined;
173
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
174
- gasPrice?: `0x${string}` | undefined;
175
- maxFeePerGas?: `0x${string}` | undefined;
176
- maxPriorityFeePerGas?: `0x${string}` | undefined;
177
186
  accessList?: import("../../index.js").AccessList | undefined;
187
+ blobVersionedHashes?: undefined;
178
188
  chainId?: `0x${string}` | undefined;
179
189
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
180
190
  isSystemTx?: undefined;
181
191
  mint?: undefined;
182
192
  sourceHash?: undefined;
183
193
  }) | ({
194
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
195
+ gas?: `0x${string}` | undefined;
196
+ value?: `0x${string}` | undefined;
197
+ gasPrice?: `0x${string}` | undefined;
198
+ maxFeePerBlobGas?: `0x${string}` | undefined;
199
+ maxFeePerGas?: `0x${string}` | undefined;
200
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
184
201
  yParity?: `0x${string}` | undefined;
185
202
  blockHash?: `0x${string}` | null | undefined;
186
203
  blockNumber?: `0x${string}` | null | undefined;
187
204
  from?: `0x${string}` | undefined;
188
- gas?: `0x${string}` | undefined;
189
205
  hash?: `0x${string}` | undefined;
190
206
  input?: `0x${string}` | undefined;
191
207
  nonce?: `0x${string}` | undefined;
@@ -194,12 +210,8 @@ export declare const chainConfig: {
194
210
  to?: `0x${string}` | null | undefined;
195
211
  transactionIndex?: `0x${string}` | null | undefined;
196
212
  v?: `0x${string}` | undefined;
197
- value?: `0x${string}` | undefined;
198
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
199
- gasPrice?: `0x${string}` | undefined;
200
- maxFeePerGas?: `0x${string}` | undefined;
201
- maxPriorityFeePerGas?: `0x${string}` | undefined;
202
213
  accessList?: import("../../index.js").AccessList | undefined;
214
+ blobVersionedHashes?: undefined;
203
215
  chainId?: `0x${string}` | undefined;
204
216
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
205
217
  isSystemTx?: boolean | undefined;
@@ -207,11 +219,17 @@ export declare const chainConfig: {
207
219
  sourceHash: `0x${string}`;
208
220
  type: "0x7e";
209
221
  }) | ({
222
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
223
+ gas?: `0x${string}` | undefined;
224
+ value?: `0x${string}` | undefined;
225
+ gasPrice?: `0x${string}` | undefined;
226
+ maxFeePerBlobGas?: `0x${string}` | undefined;
227
+ maxFeePerGas?: `0x${string}` | undefined;
228
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
210
229
  yParity?: `0x${string}` | undefined;
211
230
  blockHash?: `0x${string}` | null | undefined;
212
231
  blockNumber?: `0x${string}` | null | undefined;
213
232
  from?: `0x${string}` | undefined;
214
- gas?: `0x${string}` | undefined;
215
233
  hash?: `0x${string}` | undefined;
216
234
  input?: `0x${string}` | undefined;
217
235
  nonce?: `0x${string}` | undefined;
@@ -220,23 +238,79 @@ export declare const chainConfig: {
220
238
  to?: `0x${string}` | null | undefined;
221
239
  transactionIndex?: `0x${string}` | null | undefined;
222
240
  v?: `0x${string}` | undefined;
241
+ accessList?: import("../../index.js").AccessList | undefined;
242
+ blobVersionedHashes?: undefined;
243
+ chainId?: `0x${string}` | undefined;
244
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
245
+ isSystemTx?: undefined;
246
+ mint?: undefined;
247
+ sourceHash?: undefined;
248
+ }) | ({
249
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
250
+ gas?: `0x${string}` | undefined;
223
251
  value?: `0x${string}` | undefined;
224
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
225
252
  gasPrice?: `0x${string}` | undefined;
253
+ maxFeePerBlobGas?: `0x${string}` | undefined;
226
254
  maxFeePerGas?: `0x${string}` | undefined;
227
255
  maxPriorityFeePerGas?: `0x${string}` | undefined;
256
+ yParity?: `0x${string}` | undefined;
257
+ blockHash?: `0x${string}` | null | undefined;
258
+ blockNumber?: `0x${string}` | null | undefined;
259
+ from?: `0x${string}` | undefined;
260
+ hash?: `0x${string}` | undefined;
261
+ input?: `0x${string}` | undefined;
262
+ nonce?: `0x${string}` | undefined;
263
+ r?: `0x${string}` | undefined;
264
+ s?: `0x${string}` | undefined;
265
+ to?: `0x${string}` | null | undefined;
266
+ transactionIndex?: `0x${string}` | null | undefined;
267
+ v?: `0x${string}` | undefined;
228
268
  accessList?: import("../../index.js").AccessList | undefined;
269
+ blobVersionedHashes?: undefined;
229
270
  chainId?: `0x${string}` | undefined;
230
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
271
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
231
272
  isSystemTx?: undefined;
232
273
  mint?: undefined;
233
274
  sourceHash?: undefined;
234
275
  }) | ({
276
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
277
+ gas?: `0x${string}` | undefined;
278
+ value?: `0x${string}` | undefined;
279
+ gasPrice?: `0x${string}` | undefined;
280
+ maxFeePerBlobGas?: `0x${string}` | undefined;
281
+ maxFeePerGas?: `0x${string}` | undefined;
282
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
235
283
  yParity?: `0x${string}` | undefined;
236
284
  blockHash?: `0x${string}` | null | undefined;
237
285
  blockNumber?: `0x${string}` | null | undefined;
238
286
  from?: `0x${string}` | undefined;
287
+ hash?: `0x${string}` | undefined;
288
+ input?: `0x${string}` | undefined;
289
+ nonce?: `0x${string}` | undefined;
290
+ r?: `0x${string}` | undefined;
291
+ s?: `0x${string}` | undefined;
292
+ to?: `0x${string}` | null | undefined;
293
+ transactionIndex?: `0x${string}` | null | undefined;
294
+ v?: `0x${string}` | undefined;
295
+ accessList?: import("../../index.js").AccessList | undefined;
296
+ blobVersionedHashes?: undefined;
297
+ chainId?: `0x${string}` | undefined;
298
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
299
+ isSystemTx?: undefined;
300
+ mint?: undefined;
301
+ sourceHash?: undefined;
302
+ }) | ({
303
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
239
304
  gas?: `0x${string}` | undefined;
305
+ value?: `0x${string}` | undefined;
306
+ gasPrice?: `0x${string}` | undefined;
307
+ maxFeePerBlobGas?: `0x${string}` | undefined;
308
+ maxFeePerGas?: `0x${string}` | undefined;
309
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
310
+ yParity?: `0x${string}` | undefined;
311
+ blockHash?: `0x${string}` | null | undefined;
312
+ blockNumber?: `0x${string}` | null | undefined;
313
+ from?: `0x${string}` | undefined;
240
314
  hash?: `0x${string}` | undefined;
241
315
  input?: `0x${string}` | undefined;
242
316
  nonce?: `0x${string}` | undefined;
@@ -245,23 +319,53 @@ export declare const chainConfig: {
245
319
  to?: `0x${string}` | null | undefined;
246
320
  transactionIndex?: `0x${string}` | null | undefined;
247
321
  v?: `0x${string}` | undefined;
322
+ accessList?: import("../../index.js").AccessList | undefined;
323
+ blobVersionedHashes?: undefined;
324
+ chainId?: `0x${string}` | undefined;
325
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
326
+ isSystemTx?: boolean | undefined;
327
+ mint?: `0x${string}` | undefined;
328
+ sourceHash: `0x${string}`;
329
+ type: "0x7e";
330
+ }) | ({
331
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
332
+ gas?: `0x${string}` | undefined;
248
333
  value?: `0x${string}` | undefined;
249
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
250
334
  gasPrice?: `0x${string}` | undefined;
335
+ maxFeePerBlobGas?: `0x${string}` | undefined;
251
336
  maxFeePerGas?: `0x${string}` | undefined;
252
337
  maxPriorityFeePerGas?: `0x${string}` | undefined;
338
+ yParity?: `0x${string}` | undefined;
339
+ blockHash?: `0x${string}` | null | undefined;
340
+ blockNumber?: `0x${string}` | null | undefined;
341
+ from?: `0x${string}` | undefined;
342
+ hash?: `0x${string}` | undefined;
343
+ input?: `0x${string}` | undefined;
344
+ nonce?: `0x${string}` | undefined;
345
+ r?: `0x${string}` | undefined;
346
+ s?: `0x${string}` | undefined;
347
+ to?: `0x${string}` | null | undefined;
348
+ transactionIndex?: `0x${string}` | null | undefined;
349
+ v?: `0x${string}` | undefined;
253
350
  accessList?: import("../../index.js").AccessList | undefined;
351
+ blobVersionedHashes?: `0x${string}`[] | undefined;
254
352
  chainId?: `0x${string}` | undefined;
255
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
353
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
256
354
  isSystemTx?: undefined;
257
355
  mint?: undefined;
258
356
  sourceHash?: undefined;
259
357
  }) | ({
358
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
359
+ gas?: `0x${string}` | undefined;
360
+ value?: `0x${string}` | undefined;
361
+ gasPrice?: `0x${string}` | undefined;
362
+ maxFeePerBlobGas?: `0x${string}` | undefined;
363
+ maxFeePerGas?: `0x${string}` | undefined;
364
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
260
365
  yParity?: `0x${string}` | undefined;
261
366
  blockHash?: `0x${string}` | null | undefined;
262
367
  blockNumber?: `0x${string}` | null | undefined;
263
368
  from?: `0x${string}` | undefined;
264
- gas?: `0x${string}` | undefined;
265
369
  hash?: `0x${string}` | undefined;
266
370
  input?: `0x${string}` | undefined;
267
371
  nonce?: `0x${string}` | undefined;
@@ -270,23 +374,52 @@ export declare const chainConfig: {
270
374
  to?: `0x${string}` | null | undefined;
271
375
  transactionIndex?: `0x${string}` | null | undefined;
272
376
  v?: `0x${string}` | undefined;
377
+ accessList?: import("../../index.js").AccessList | undefined;
378
+ blobVersionedHashes?: `0x${string}`[] | undefined;
379
+ chainId?: `0x${string}` | undefined;
380
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
381
+ isSystemTx?: undefined;
382
+ mint?: undefined;
383
+ sourceHash?: undefined;
384
+ }) | ({
385
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
386
+ gas?: `0x${string}` | undefined;
273
387
  value?: `0x${string}` | undefined;
274
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
275
388
  gasPrice?: `0x${string}` | undefined;
389
+ maxFeePerBlobGas?: `0x${string}` | undefined;
276
390
  maxFeePerGas?: `0x${string}` | undefined;
277
391
  maxPriorityFeePerGas?: `0x${string}` | undefined;
392
+ yParity?: `0x${string}` | undefined;
393
+ blockHash?: `0x${string}` | null | undefined;
394
+ blockNumber?: `0x${string}` | null | undefined;
395
+ from?: `0x${string}` | undefined;
396
+ hash?: `0x${string}` | undefined;
397
+ input?: `0x${string}` | undefined;
398
+ nonce?: `0x${string}` | undefined;
399
+ r?: `0x${string}` | undefined;
400
+ s?: `0x${string}` | undefined;
401
+ to?: `0x${string}` | null | undefined;
402
+ transactionIndex?: `0x${string}` | null | undefined;
403
+ v?: `0x${string}` | undefined;
278
404
  accessList?: import("../../index.js").AccessList | undefined;
405
+ blobVersionedHashes?: `0x${string}`[] | undefined;
279
406
  chainId?: `0x${string}` | undefined;
280
407
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
281
408
  isSystemTx?: undefined;
282
409
  mint?: undefined;
283
410
  sourceHash?: undefined;
284
411
  }) | ({
412
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
413
+ gas?: `0x${string}` | undefined;
414
+ value?: `0x${string}` | undefined;
415
+ gasPrice?: `0x${string}` | undefined;
416
+ maxFeePerBlobGas?: `0x${string}` | undefined;
417
+ maxFeePerGas?: `0x${string}` | undefined;
418
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
285
419
  yParity?: `0x${string}` | undefined;
286
420
  blockHash?: `0x${string}` | null | undefined;
287
421
  blockNumber?: `0x${string}` | null | undefined;
288
422
  from?: `0x${string}` | undefined;
289
- gas?: `0x${string}` | undefined;
290
423
  hash?: `0x${string}` | undefined;
291
424
  input?: `0x${string}` | undefined;
292
425
  nonce?: `0x${string}` | undefined;
@@ -295,12 +428,35 @@ export declare const chainConfig: {
295
428
  to?: `0x${string}` | null | undefined;
296
429
  transactionIndex?: `0x${string}` | null | undefined;
297
430
  v?: `0x${string}` | undefined;
431
+ accessList?: import("../../index.js").AccessList | undefined;
432
+ blobVersionedHashes?: `0x${string}`[] | undefined;
433
+ chainId?: `0x${string}` | undefined;
434
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP4844<`0x${string}`, `0x${string}`, boolean, "0x3">, "yParity">, "typeHex"> & {
435
+ isSystemTx?: undefined;
436
+ mint?: undefined;
437
+ sourceHash?: undefined;
438
+ }) | ({
439
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
440
+ gas?: `0x${string}` | undefined;
298
441
  value?: `0x${string}` | undefined;
299
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
300
442
  gasPrice?: `0x${string}` | undefined;
443
+ maxFeePerBlobGas?: `0x${string}` | undefined;
301
444
  maxFeePerGas?: `0x${string}` | undefined;
302
445
  maxPriorityFeePerGas?: `0x${string}` | undefined;
446
+ yParity?: `0x${string}` | undefined;
447
+ blockHash?: `0x${string}` | null | undefined;
448
+ blockNumber?: `0x${string}` | null | undefined;
449
+ from?: `0x${string}` | undefined;
450
+ hash?: `0x${string}` | undefined;
451
+ input?: `0x${string}` | undefined;
452
+ nonce?: `0x${string}` | undefined;
453
+ r?: `0x${string}` | undefined;
454
+ s?: `0x${string}` | undefined;
455
+ to?: `0x${string}` | null | undefined;
456
+ transactionIndex?: `0x${string}` | null | undefined;
457
+ v?: `0x${string}` | undefined;
303
458
  accessList?: import("../../index.js").AccessList | undefined;
459
+ blobVersionedHashes?: `0x${string}`[] | undefined;
304
460
  chainId?: `0x${string}` | undefined;
305
461
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
306
462
  isSystemTx?: boolean | undefined;
@@ -308,10 +464,11 @@ export declare const chainConfig: {
308
464
  sourceHash: `0x${string}`;
309
465
  type: "0x7e";
310
466
  })) => ({
467
+ gas: bigint;
468
+ value: bigint;
311
469
  blockHash: `0x${string}` | null;
312
470
  blockNumber: bigint | null;
313
471
  from: `0x${string}`;
314
- gas: bigint;
315
472
  hash: `0x${string}`;
316
473
  input: `0x${string}`;
317
474
  nonce: number;
@@ -321,11 +478,12 @@ export declare const chainConfig: {
321
478
  transactionIndex: number | null;
322
479
  typeHex: `0x${string}` | null;
323
480
  v: bigint;
324
- value: bigint;
325
481
  gasPrice: bigint;
482
+ maxFeePerBlobGas?: undefined;
326
483
  maxFeePerGas?: undefined;
327
484
  maxPriorityFeePerGas?: undefined;
328
485
  accessList?: undefined;
486
+ blobVersionedHashes?: undefined;
329
487
  chainId?: number | undefined;
330
488
  yParity?: undefined;
331
489
  type: "legacy";
@@ -333,10 +491,11 @@ export declare const chainConfig: {
333
491
  mint?: undefined;
334
492
  sourceHash?: undefined;
335
493
  } | {
494
+ gas: bigint;
495
+ value: bigint;
336
496
  blockHash: `0x${string}` | null;
337
497
  blockNumber: bigint | null;
338
498
  from: `0x${string}`;
339
- gas: bigint;
340
499
  hash: `0x${string}`;
341
500
  input: `0x${string}`;
342
501
  nonce: number;
@@ -346,11 +505,12 @@ export declare const chainConfig: {
346
505
  transactionIndex: number | null;
347
506
  typeHex: `0x${string}` | null;
348
507
  v: bigint;
349
- value: bigint;
350
508
  gasPrice: undefined;
509
+ maxFeePerBlobGas?: undefined;
351
510
  maxFeePerGas: bigint;
352
511
  maxPriorityFeePerGas: bigint;
353
512
  accessList?: undefined;
513
+ blobVersionedHashes?: undefined;
354
514
  chainId?: number | undefined;
355
515
  yParity: number;
356
516
  type: "deposit";
@@ -374,9 +534,11 @@ export declare const chainConfig: {
374
534
  value: bigint;
375
535
  yParity: number;
376
536
  gasPrice: bigint;
537
+ maxFeePerBlobGas?: undefined;
377
538
  maxFeePerGas?: undefined;
378
539
  maxPriorityFeePerGas?: undefined;
379
540
  accessList: import("../../index.js").AccessList;
541
+ blobVersionedHashes?: undefined;
380
542
  chainId: number;
381
543
  type: "eip2930";
382
544
  isSystemTx?: undefined;
@@ -399,9 +561,11 @@ export declare const chainConfig: {
399
561
  value: bigint;
400
562
  yParity: number;
401
563
  gasPrice: undefined;
564
+ maxFeePerBlobGas?: undefined;
402
565
  maxFeePerGas: bigint;
403
566
  maxPriorityFeePerGas: bigint;
404
567
  accessList: import("../../index.js").AccessList;
568
+ blobVersionedHashes?: undefined;
405
569
  chainId: number;
406
570
  type: "eip1559";
407
571
  isSystemTx?: undefined;
@@ -424,9 +588,11 @@ export declare const chainConfig: {
424
588
  value: bigint;
425
589
  yParity: number;
426
590
  gasPrice: undefined;
591
+ maxFeePerBlobGas?: undefined;
427
592
  maxFeePerGas: bigint;
428
593
  maxPriorityFeePerGas: bigint;
429
594
  accessList: import("../../index.js").AccessList;
595
+ blobVersionedHashes?: undefined;
430
596
  chainId: number;
431
597
  type: "deposit";
432
598
  isSystemTx?: boolean | undefined;
@@ -449,9 +615,11 @@ export declare const chainConfig: {
449
615
  value: bigint;
450
616
  yParity: number;
451
617
  gasPrice: bigint;
618
+ maxFeePerBlobGas?: undefined;
452
619
  maxFeePerGas: undefined;
453
620
  maxPriorityFeePerGas: undefined;
454
621
  accessList: import("../../index.js").AccessList;
622
+ blobVersionedHashes?: undefined;
455
623
  chainId: number;
456
624
  type: "eip2930";
457
625
  isSystemTx?: undefined;
@@ -474,9 +642,11 @@ export declare const chainConfig: {
474
642
  value: bigint;
475
643
  yParity: number;
476
644
  gasPrice?: undefined;
645
+ maxFeePerBlobGas?: undefined;
477
646
  maxFeePerGas: bigint;
478
647
  maxPriorityFeePerGas: bigint;
479
648
  accessList: import("../../index.js").AccessList;
649
+ blobVersionedHashes?: undefined;
480
650
  chainId: number;
481
651
  type: "eip1559";
482
652
  isSystemTx?: undefined;
@@ -499,9 +669,65 @@ export declare const chainConfig: {
499
669
  value: bigint;
500
670
  yParity: number;
501
671
  gasPrice?: undefined;
672
+ maxFeePerBlobGas?: undefined;
673
+ maxFeePerGas: bigint;
674
+ maxPriorityFeePerGas: bigint;
675
+ accessList: import("../../index.js").AccessList;
676
+ blobVersionedHashes?: undefined;
677
+ chainId: number;
678
+ type: "deposit";
679
+ isSystemTx?: boolean | undefined;
680
+ mint?: bigint | undefined;
681
+ sourceHash: `0x${string}`;
682
+ } | {
683
+ blockHash: `0x${string}` | null;
684
+ blockNumber: bigint | null;
685
+ from: `0x${string}`;
686
+ gas: bigint;
687
+ hash: `0x${string}`;
688
+ input: `0x${string}`;
689
+ nonce: number;
690
+ r: `0x${string}`;
691
+ s: `0x${string}`;
692
+ to: `0x${string}` | null;
693
+ transactionIndex: number | null;
694
+ typeHex: `0x${string}` | null;
695
+ v: bigint;
696
+ value: bigint;
697
+ yParity: number;
698
+ gasPrice?: undefined;
699
+ maxFeePerBlobGas: bigint;
700
+ maxFeePerGas: bigint;
701
+ maxPriorityFeePerGas: bigint;
702
+ accessList: import("../../index.js").AccessList;
703
+ blobVersionedHashes: `0x${string}`[];
704
+ chainId: number;
705
+ type: "eip4844";
706
+ isSystemTx?: undefined;
707
+ mint?: undefined;
708
+ sourceHash?: undefined;
709
+ } | {
710
+ blockHash: `0x${string}` | null;
711
+ blockNumber: bigint | null;
712
+ from: `0x${string}`;
713
+ gas: bigint;
714
+ hash: `0x${string}`;
715
+ input: `0x${string}`;
716
+ nonce: number;
717
+ r: `0x${string}`;
718
+ s: `0x${string}`;
719
+ to: `0x${string}` | null;
720
+ transactionIndex: number | null;
721
+ typeHex: `0x${string}` | null;
722
+ v: bigint;
723
+ value: bigint;
724
+ yParity: number;
725
+ gasPrice?: undefined;
726
+ maxFeePerBlobGas: undefined;
502
727
  maxFeePerGas: bigint;
503
728
  maxPriorityFeePerGas: bigint;
504
729
  accessList: import("../../index.js").AccessList;
730
+ blobVersionedHashes: `0x${string}`[];
505
731
  chainId: number;
506
732
  type: "deposit";
507
733
  isSystemTx?: boolean | undefined;
@@ -513,6 +739,8 @@ export declare const chainConfig: {
513
739
  readonly transactionReceipt: {
514
740
  exclude: [] | undefined;
515
741
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("./index.js").OpStackRpcTransactionReceiptOverrides>) => {
742
+ blobGasPrice?: bigint | undefined;
743
+ blobGasUsed?: bigint | undefined;
516
744
  blockHash: `0x${string}`;
517
745
  blockNumber: bigint;
518
746
  contractAddress: `0x${string}` | null;
@@ -1 +1 @@
1
- {"version":3,"file":"chainConfig.d.ts","sourceRoot":"","sources":["../../../chains/opStack/chainConfig.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAId,CAAA"}
1
+ {"version":3,"file":"chainConfig.d.ts","sourceRoot":"","sources":["../../../chains/opStack/chainConfig.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAId,CAAA"}