viem 2.6.1 → 2.7.0

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 (98) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/_cjs/actions/public/getTransaction.js.map +1 -1
  3. package/_cjs/errors/version.js +1 -1
  4. package/_cjs/index.js.map +1 -1
  5. package/_cjs/utils/formatters/block.js +4 -0
  6. package/_cjs/utils/formatters/block.js.map +1 -1
  7. package/_cjs/utils/formatters/transaction.js +9 -0
  8. package/_cjs/utils/formatters/transaction.js.map +1 -1
  9. package/_cjs/utils/formatters/transactionReceipt.js +6 -1
  10. package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
  11. package/_cjs/utils/formatters/transactionRequest.js +1 -0
  12. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  13. package/_esm/actions/public/getTransaction.js.map +1 -1
  14. package/_esm/errors/version.js +1 -1
  15. package/_esm/index.js.map +1 -1
  16. package/_esm/utils/formatters/block.js +4 -0
  17. package/_esm/utils/formatters/block.js.map +1 -1
  18. package/_esm/utils/formatters/transaction.js +9 -0
  19. package/_esm/utils/formatters/transaction.js.map +1 -1
  20. package/_esm/utils/formatters/transactionReceipt.js +6 -1
  21. package/_esm/utils/formatters/transactionReceipt.js.map +1 -1
  22. package/_esm/utils/formatters/transactionRequest.js +1 -0
  23. package/_esm/utils/formatters/transactionRequest.js.map +1 -1
  24. package/_types/actions/public/getTransaction.d.ts +2 -1
  25. package/_types/actions/public/getTransaction.d.ts.map +1 -1
  26. package/_types/chains/celo/chainConfig.d.ts +375 -65
  27. package/_types/chains/celo/chainConfig.d.ts.map +1 -1
  28. package/_types/chains/celo/formatters.d.ts +375 -65
  29. package/_types/chains/celo/formatters.d.ts.map +1 -1
  30. package/_types/chains/definitions/base.d.ts +279 -49
  31. package/_types/chains/definitions/base.d.ts.map +1 -1
  32. package/_types/chains/definitions/baseGoerli.d.ts +279 -49
  33. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  34. package/_types/chains/definitions/baseSepolia.d.ts +279 -49
  35. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  36. package/_types/chains/definitions/celo.d.ts +375 -65
  37. package/_types/chains/definitions/celo.d.ts.map +1 -1
  38. package/_types/chains/definitions/celoAlfajores.d.ts +375 -65
  39. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  40. package/_types/chains/definitions/optimism.d.ts +279 -49
  41. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  42. package/_types/chains/definitions/optimismGoerli.d.ts +279 -49
  43. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  44. package/_types/chains/definitions/optimismSepolia.d.ts +279 -49
  45. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  46. package/_types/chains/definitions/pgn.d.ts +279 -49
  47. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  48. package/_types/chains/definitions/pgnTestnet.d.ts +279 -49
  49. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  50. package/_types/chains/definitions/zkSync.d.ts +122 -6
  51. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  52. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +122 -6
  53. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
  54. package/_types/chains/definitions/zkSyncTestnet.d.ts +122 -6
  55. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  56. package/_types/chains/definitions/zora.d.ts +279 -49
  57. package/_types/chains/definitions/zora.d.ts.map +1 -1
  58. package/_types/chains/definitions/zoraSepolia.d.ts +279 -49
  59. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  60. package/_types/chains/definitions/zoraTestnet.d.ts +279 -49
  61. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  62. package/_types/chains/opStack/chainConfig.d.ts +279 -49
  63. package/_types/chains/opStack/chainConfig.d.ts.map +1 -1
  64. package/_types/chains/opStack/formatters.d.ts +279 -49
  65. package/_types/chains/opStack/formatters.d.ts.map +1 -1
  66. package/_types/chains/zksync/chainConfig.d.ts +122 -6
  67. package/_types/chains/zksync/chainConfig.d.ts.map +1 -1
  68. package/_types/chains/zksync/formatters.d.ts +122 -6
  69. package/_types/chains/zksync/formatters.d.ts.map +1 -1
  70. package/_types/errors/version.d.ts +1 -1
  71. package/_types/index.d.ts +2 -2
  72. package/_types/index.d.ts.map +1 -1
  73. package/_types/types/block.d.ts +4 -0
  74. package/_types/types/block.d.ts.map +1 -1
  75. package/_types/types/fee.d.ts +9 -3
  76. package/_types/types/fee.d.ts.map +1 -1
  77. package/_types/types/rpc.d.ts +2 -2
  78. package/_types/types/rpc.d.ts.map +1 -1
  79. package/_types/types/transaction.d.ts +20 -5
  80. package/_types/types/transaction.d.ts.map +1 -1
  81. package/_types/utils/formatters/block.d.ts.map +1 -1
  82. package/_types/utils/formatters/transaction.d.ts +387 -2
  83. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  84. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
  85. package/_types/utils/formatters/transactionRequest.d.ts +2 -1
  86. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  87. package/actions/public/getTransaction.ts +2 -1
  88. package/errors/version.ts +1 -1
  89. package/index.ts +2 -0
  90. package/package.json +1 -1
  91. package/types/block.ts +4 -0
  92. package/types/fee.ts +14 -2
  93. package/types/rpc.ts +3 -1
  94. package/types/transaction.ts +37 -6
  95. package/utils/formatters/block.ts +4 -0
  96. package/utils/formatters/transaction.ts +9 -0
  97. package/utils/formatters/transactionReceipt.ts +8 -1
  98. package/utils/formatters/transactionRequest.ts +1 -0
@@ -62,7 +62,9 @@ export declare const baseGoerli: {
62
62
  transactions: `0x${string}`[] | import("../index.js").OpStackRpcTransaction[];
63
63
  }>) => {
64
64
  baseFeePerGas: bigint | null;
65
+ blobGasUsed: bigint;
65
66
  difficulty: bigint;
67
+ excessBlobGas: bigint;
66
68
  extraData: `0x${string}`;
67
69
  gasLimit: bigint;
68
70
  gasUsed: bigint;
@@ -91,11 +93,17 @@ export declare const baseGoerli: {
91
93
  readonly transaction: {
92
94
  exclude: [] | undefined;
93
95
  format: (args: ({
96
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
97
+ gas?: `0x${string}` | undefined;
98
+ value?: `0x${string}` | undefined;
99
+ gasPrice?: `0x${string}` | undefined;
100
+ maxFeePerBlobGas?: `0x${string}` | undefined;
101
+ maxFeePerGas?: `0x${string}` | undefined;
102
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
94
103
  yParity?: `0x${string}` | undefined;
95
104
  blockHash?: `0x${string}` | null | undefined;
96
105
  blockNumber?: `0x${string}` | null | undefined;
97
106
  from?: `0x${string}` | undefined;
98
- gas?: `0x${string}` | undefined;
99
107
  hash?: `0x${string}` | undefined;
100
108
  input?: `0x${string}` | undefined;
101
109
  nonce?: `0x${string}` | undefined;
@@ -104,23 +112,25 @@ export declare const baseGoerli: {
104
112
  to?: `0x${string}` | null | undefined;
105
113
  transactionIndex?: `0x${string}` | null | undefined;
106
114
  v?: `0x${string}` | undefined;
107
- value?: `0x${string}` | undefined;
108
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
109
- gasPrice?: `0x${string}` | undefined;
110
- maxFeePerGas?: `0x${string}` | undefined;
111
- maxPriorityFeePerGas?: `0x${string}` | undefined;
112
115
  accessList?: undefined;
116
+ blobVersionedHashes?: undefined;
113
117
  chainId?: `0x${string}` | undefined;
114
118
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
115
119
  isSystemTx?: undefined;
116
120
  mint?: undefined;
117
121
  sourceHash?: undefined;
118
122
  }) | ({
123
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
124
+ gas?: `0x${string}` | undefined;
125
+ value?: `0x${string}` | undefined;
126
+ gasPrice?: `0x${string}` | undefined;
127
+ maxFeePerBlobGas?: `0x${string}` | undefined;
128
+ maxFeePerGas?: `0x${string}` | undefined;
129
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
119
130
  yParity?: `0x${string}` | undefined;
120
131
  blockHash?: `0x${string}` | null | undefined;
121
132
  blockNumber?: `0x${string}` | null | undefined;
122
133
  from?: `0x${string}` | undefined;
123
- gas?: `0x${string}` | undefined;
124
134
  hash?: `0x${string}` | undefined;
125
135
  input?: `0x${string}` | undefined;
126
136
  nonce?: `0x${string}` | undefined;
@@ -129,12 +139,8 @@ export declare const baseGoerli: {
129
139
  to?: `0x${string}` | null | undefined;
130
140
  transactionIndex?: `0x${string}` | null | undefined;
131
141
  v?: `0x${string}` | undefined;
132
- value?: `0x${string}` | undefined;
133
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
134
- gasPrice?: `0x${string}` | undefined;
135
- maxFeePerGas?: `0x${string}` | undefined;
136
- maxPriorityFeePerGas?: `0x${string}` | undefined;
137
142
  accessList?: undefined;
143
+ blobVersionedHashes?: undefined;
138
144
  chainId?: `0x${string}` | undefined;
139
145
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
140
146
  isSystemTx?: boolean | undefined;
@@ -142,11 +148,17 @@ export declare const baseGoerli: {
142
148
  sourceHash: `0x${string}`;
143
149
  type: "0x7e";
144
150
  }) | ({
151
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
152
+ gas?: `0x${string}` | undefined;
153
+ value?: `0x${string}` | undefined;
154
+ gasPrice?: `0x${string}` | undefined;
155
+ maxFeePerBlobGas?: `0x${string}` | undefined;
156
+ maxFeePerGas?: `0x${string}` | undefined;
157
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
145
158
  yParity?: `0x${string}` | undefined;
146
159
  blockHash?: `0x${string}` | null | undefined;
147
160
  blockNumber?: `0x${string}` | null | undefined;
148
161
  from?: `0x${string}` | undefined;
149
- gas?: `0x${string}` | undefined;
150
162
  hash?: `0x${string}` | undefined;
151
163
  input?: `0x${string}` | undefined;
152
164
  nonce?: `0x${string}` | undefined;
@@ -155,23 +167,25 @@ export declare const baseGoerli: {
155
167
  to?: `0x${string}` | null | undefined;
156
168
  transactionIndex?: `0x${string}` | null | undefined;
157
169
  v?: `0x${string}` | undefined;
158
- value?: `0x${string}` | undefined;
159
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
160
- gasPrice?: `0x${string}` | undefined;
161
- maxFeePerGas?: `0x${string}` | undefined;
162
- maxPriorityFeePerGas?: `0x${string}` | undefined;
163
170
  accessList?: import("../../index.js").AccessList | undefined;
171
+ blobVersionedHashes?: undefined;
164
172
  chainId?: `0x${string}` | undefined;
165
173
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
166
174
  isSystemTx?: undefined;
167
175
  mint?: undefined;
168
176
  sourceHash?: undefined;
169
177
  }) | ({
178
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
179
+ gas?: `0x${string}` | undefined;
180
+ value?: `0x${string}` | undefined;
181
+ gasPrice?: `0x${string}` | undefined;
182
+ maxFeePerBlobGas?: `0x${string}` | undefined;
183
+ maxFeePerGas?: `0x${string}` | undefined;
184
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
170
185
  yParity?: `0x${string}` | undefined;
171
186
  blockHash?: `0x${string}` | null | undefined;
172
187
  blockNumber?: `0x${string}` | null | undefined;
173
188
  from?: `0x${string}` | undefined;
174
- gas?: `0x${string}` | undefined;
175
189
  hash?: `0x${string}` | undefined;
176
190
  input?: `0x${string}` | undefined;
177
191
  nonce?: `0x${string}` | undefined;
@@ -180,23 +194,25 @@ export declare const baseGoerli: {
180
194
  to?: `0x${string}` | null | undefined;
181
195
  transactionIndex?: `0x${string}` | null | undefined;
182
196
  v?: `0x${string}` | undefined;
183
- value?: `0x${string}` | undefined;
184
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
185
- gasPrice?: `0x${string}` | undefined;
186
- maxFeePerGas?: `0x${string}` | undefined;
187
- maxPriorityFeePerGas?: `0x${string}` | undefined;
188
197
  accessList?: import("../../index.js").AccessList | undefined;
198
+ blobVersionedHashes?: undefined;
189
199
  chainId?: `0x${string}` | undefined;
190
200
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
191
201
  isSystemTx?: undefined;
192
202
  mint?: undefined;
193
203
  sourceHash?: undefined;
194
204
  }) | ({
205
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
206
+ gas?: `0x${string}` | undefined;
207
+ value?: `0x${string}` | undefined;
208
+ gasPrice?: `0x${string}` | undefined;
209
+ maxFeePerBlobGas?: `0x${string}` | undefined;
210
+ maxFeePerGas?: `0x${string}` | undefined;
211
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
195
212
  yParity?: `0x${string}` | undefined;
196
213
  blockHash?: `0x${string}` | null | undefined;
197
214
  blockNumber?: `0x${string}` | null | undefined;
198
215
  from?: `0x${string}` | undefined;
199
- gas?: `0x${string}` | undefined;
200
216
  hash?: `0x${string}` | undefined;
201
217
  input?: `0x${string}` | undefined;
202
218
  nonce?: `0x${string}` | undefined;
@@ -205,23 +221,25 @@ export declare const baseGoerli: {
205
221
  to?: `0x${string}` | null | undefined;
206
222
  transactionIndex?: `0x${string}` | null | undefined;
207
223
  v?: `0x${string}` | undefined;
208
- value?: `0x${string}` | undefined;
209
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
210
- gasPrice?: `0x${string}` | undefined;
211
- maxFeePerGas?: `0x${string}` | undefined;
212
- maxPriorityFeePerGas?: `0x${string}` | undefined;
213
224
  accessList?: import("../../index.js").AccessList | undefined;
225
+ blobVersionedHashes?: undefined;
214
226
  chainId?: `0x${string}` | undefined;
215
227
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
216
228
  isSystemTx?: undefined;
217
229
  mint?: undefined;
218
230
  sourceHash?: undefined;
219
231
  }) | ({
232
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
233
+ gas?: `0x${string}` | undefined;
234
+ value?: `0x${string}` | undefined;
235
+ gasPrice?: `0x${string}` | undefined;
236
+ maxFeePerBlobGas?: `0x${string}` | undefined;
237
+ maxFeePerGas?: `0x${string}` | undefined;
238
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
220
239
  yParity?: `0x${string}` | undefined;
221
240
  blockHash?: `0x${string}` | null | undefined;
222
241
  blockNumber?: `0x${string}` | null | undefined;
223
242
  from?: `0x${string}` | undefined;
224
- gas?: `0x${string}` | undefined;
225
243
  hash?: `0x${string}` | undefined;
226
244
  input?: `0x${string}` | undefined;
227
245
  nonce?: `0x${string}` | undefined;
@@ -230,12 +248,8 @@ export declare const baseGoerli: {
230
248
  to?: `0x${string}` | null | undefined;
231
249
  transactionIndex?: `0x${string}` | null | undefined;
232
250
  v?: `0x${string}` | undefined;
233
- value?: `0x${string}` | undefined;
234
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
235
- gasPrice?: `0x${string}` | undefined;
236
- maxFeePerGas?: `0x${string}` | undefined;
237
- maxPriorityFeePerGas?: `0x${string}` | undefined;
238
251
  accessList?: import("../../index.js").AccessList | undefined;
252
+ blobVersionedHashes?: undefined;
239
253
  chainId?: `0x${string}` | undefined;
240
254
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
241
255
  isSystemTx?: boolean | undefined;
@@ -243,11 +257,17 @@ export declare const baseGoerli: {
243
257
  sourceHash: `0x${string}`;
244
258
  type: "0x7e";
245
259
  }) | ({
260
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
261
+ gas?: `0x${string}` | undefined;
262
+ value?: `0x${string}` | undefined;
263
+ gasPrice?: `0x${string}` | undefined;
264
+ maxFeePerBlobGas?: `0x${string}` | undefined;
265
+ maxFeePerGas?: `0x${string}` | undefined;
266
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
246
267
  yParity?: `0x${string}` | undefined;
247
268
  blockHash?: `0x${string}` | null | undefined;
248
269
  blockNumber?: `0x${string}` | null | undefined;
249
270
  from?: `0x${string}` | undefined;
250
- gas?: `0x${string}` | undefined;
251
271
  hash?: `0x${string}` | undefined;
252
272
  input?: `0x${string}` | undefined;
253
273
  nonce?: `0x${string}` | undefined;
@@ -256,23 +276,79 @@ export declare const baseGoerli: {
256
276
  to?: `0x${string}` | null | undefined;
257
277
  transactionIndex?: `0x${string}` | null | undefined;
258
278
  v?: `0x${string}` | undefined;
279
+ accessList?: import("../../index.js").AccessList | undefined;
280
+ blobVersionedHashes?: undefined;
281
+ chainId?: `0x${string}` | undefined;
282
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
283
+ isSystemTx?: undefined;
284
+ mint?: undefined;
285
+ sourceHash?: undefined;
286
+ }) | ({
287
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
288
+ gas?: `0x${string}` | undefined;
259
289
  value?: `0x${string}` | undefined;
260
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
261
290
  gasPrice?: `0x${string}` | undefined;
291
+ maxFeePerBlobGas?: `0x${string}` | undefined;
262
292
  maxFeePerGas?: `0x${string}` | undefined;
263
293
  maxPriorityFeePerGas?: `0x${string}` | undefined;
294
+ yParity?: `0x${string}` | undefined;
295
+ blockHash?: `0x${string}` | null | undefined;
296
+ blockNumber?: `0x${string}` | null | undefined;
297
+ from?: `0x${string}` | undefined;
298
+ hash?: `0x${string}` | undefined;
299
+ input?: `0x${string}` | undefined;
300
+ nonce?: `0x${string}` | undefined;
301
+ r?: `0x${string}` | undefined;
302
+ s?: `0x${string}` | undefined;
303
+ to?: `0x${string}` | null | undefined;
304
+ transactionIndex?: `0x${string}` | null | undefined;
305
+ v?: `0x${string}` | undefined;
264
306
  accessList?: import("../../index.js").AccessList | undefined;
307
+ blobVersionedHashes?: undefined;
265
308
  chainId?: `0x${string}` | undefined;
266
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
309
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
267
310
  isSystemTx?: undefined;
268
311
  mint?: undefined;
269
312
  sourceHash?: undefined;
270
313
  }) | ({
314
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
315
+ gas?: `0x${string}` | undefined;
316
+ value?: `0x${string}` | undefined;
317
+ gasPrice?: `0x${string}` | undefined;
318
+ maxFeePerBlobGas?: `0x${string}` | undefined;
319
+ maxFeePerGas?: `0x${string}` | undefined;
320
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
271
321
  yParity?: `0x${string}` | undefined;
272
322
  blockHash?: `0x${string}` | null | undefined;
273
323
  blockNumber?: `0x${string}` | null | undefined;
274
324
  from?: `0x${string}` | undefined;
325
+ hash?: `0x${string}` | undefined;
326
+ input?: `0x${string}` | undefined;
327
+ nonce?: `0x${string}` | undefined;
328
+ r?: `0x${string}` | undefined;
329
+ s?: `0x${string}` | undefined;
330
+ to?: `0x${string}` | null | undefined;
331
+ transactionIndex?: `0x${string}` | null | undefined;
332
+ v?: `0x${string}` | undefined;
333
+ accessList?: import("../../index.js").AccessList | undefined;
334
+ blobVersionedHashes?: undefined;
335
+ chainId?: `0x${string}` | undefined;
336
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
337
+ isSystemTx?: undefined;
338
+ mint?: undefined;
339
+ sourceHash?: undefined;
340
+ }) | ({
341
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
275
342
  gas?: `0x${string}` | undefined;
343
+ value?: `0x${string}` | undefined;
344
+ gasPrice?: `0x${string}` | undefined;
345
+ maxFeePerBlobGas?: `0x${string}` | undefined;
346
+ maxFeePerGas?: `0x${string}` | undefined;
347
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
348
+ yParity?: `0x${string}` | undefined;
349
+ blockHash?: `0x${string}` | null | undefined;
350
+ blockNumber?: `0x${string}` | null | undefined;
351
+ from?: `0x${string}` | undefined;
276
352
  hash?: `0x${string}` | undefined;
277
353
  input?: `0x${string}` | undefined;
278
354
  nonce?: `0x${string}` | undefined;
@@ -281,23 +357,53 @@ export declare const baseGoerli: {
281
357
  to?: `0x${string}` | null | undefined;
282
358
  transactionIndex?: `0x${string}` | null | undefined;
283
359
  v?: `0x${string}` | undefined;
360
+ accessList?: import("../../index.js").AccessList | undefined;
361
+ blobVersionedHashes?: undefined;
362
+ chainId?: `0x${string}` | undefined;
363
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
364
+ isSystemTx?: boolean | undefined;
365
+ mint?: `0x${string}` | undefined;
366
+ sourceHash: `0x${string}`;
367
+ type: "0x7e";
368
+ }) | ({
369
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
370
+ gas?: `0x${string}` | undefined;
284
371
  value?: `0x${string}` | undefined;
285
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
286
372
  gasPrice?: `0x${string}` | undefined;
373
+ maxFeePerBlobGas?: `0x${string}` | undefined;
287
374
  maxFeePerGas?: `0x${string}` | undefined;
288
375
  maxPriorityFeePerGas?: `0x${string}` | undefined;
376
+ yParity?: `0x${string}` | undefined;
377
+ blockHash?: `0x${string}` | null | undefined;
378
+ blockNumber?: `0x${string}` | null | undefined;
379
+ from?: `0x${string}` | undefined;
380
+ hash?: `0x${string}` | undefined;
381
+ input?: `0x${string}` | undefined;
382
+ nonce?: `0x${string}` | undefined;
383
+ r?: `0x${string}` | undefined;
384
+ s?: `0x${string}` | undefined;
385
+ to?: `0x${string}` | null | undefined;
386
+ transactionIndex?: `0x${string}` | null | undefined;
387
+ v?: `0x${string}` | undefined;
289
388
  accessList?: import("../../index.js").AccessList | undefined;
389
+ blobVersionedHashes?: `0x${string}`[] | undefined;
290
390
  chainId?: `0x${string}` | undefined;
291
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
391
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
292
392
  isSystemTx?: undefined;
293
393
  mint?: undefined;
294
394
  sourceHash?: undefined;
295
395
  }) | ({
396
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
397
+ gas?: `0x${string}` | undefined;
398
+ value?: `0x${string}` | undefined;
399
+ gasPrice?: `0x${string}` | undefined;
400
+ maxFeePerBlobGas?: `0x${string}` | undefined;
401
+ maxFeePerGas?: `0x${string}` | undefined;
402
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
296
403
  yParity?: `0x${string}` | undefined;
297
404
  blockHash?: `0x${string}` | null | undefined;
298
405
  blockNumber?: `0x${string}` | null | undefined;
299
406
  from?: `0x${string}` | undefined;
300
- gas?: `0x${string}` | undefined;
301
407
  hash?: `0x${string}` | undefined;
302
408
  input?: `0x${string}` | undefined;
303
409
  nonce?: `0x${string}` | undefined;
@@ -306,23 +412,52 @@ export declare const baseGoerli: {
306
412
  to?: `0x${string}` | null | undefined;
307
413
  transactionIndex?: `0x${string}` | null | undefined;
308
414
  v?: `0x${string}` | undefined;
415
+ accessList?: import("../../index.js").AccessList | undefined;
416
+ blobVersionedHashes?: `0x${string}`[] | undefined;
417
+ chainId?: `0x${string}` | undefined;
418
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
419
+ isSystemTx?: undefined;
420
+ mint?: undefined;
421
+ sourceHash?: undefined;
422
+ }) | ({
423
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
424
+ gas?: `0x${string}` | undefined;
309
425
  value?: `0x${string}` | undefined;
310
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
311
426
  gasPrice?: `0x${string}` | undefined;
427
+ maxFeePerBlobGas?: `0x${string}` | undefined;
312
428
  maxFeePerGas?: `0x${string}` | undefined;
313
429
  maxPriorityFeePerGas?: `0x${string}` | undefined;
430
+ yParity?: `0x${string}` | undefined;
431
+ blockHash?: `0x${string}` | null | undefined;
432
+ blockNumber?: `0x${string}` | null | undefined;
433
+ from?: `0x${string}` | undefined;
434
+ hash?: `0x${string}` | undefined;
435
+ input?: `0x${string}` | undefined;
436
+ nonce?: `0x${string}` | undefined;
437
+ r?: `0x${string}` | undefined;
438
+ s?: `0x${string}` | undefined;
439
+ to?: `0x${string}` | null | undefined;
440
+ transactionIndex?: `0x${string}` | null | undefined;
441
+ v?: `0x${string}` | undefined;
314
442
  accessList?: import("../../index.js").AccessList | undefined;
443
+ blobVersionedHashes?: `0x${string}`[] | undefined;
315
444
  chainId?: `0x${string}` | undefined;
316
445
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
317
446
  isSystemTx?: undefined;
318
447
  mint?: undefined;
319
448
  sourceHash?: undefined;
320
449
  }) | ({
450
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
451
+ gas?: `0x${string}` | undefined;
452
+ value?: `0x${string}` | undefined;
453
+ gasPrice?: `0x${string}` | undefined;
454
+ maxFeePerBlobGas?: `0x${string}` | undefined;
455
+ maxFeePerGas?: `0x${string}` | undefined;
456
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
321
457
  yParity?: `0x${string}` | undefined;
322
458
  blockHash?: `0x${string}` | null | undefined;
323
459
  blockNumber?: `0x${string}` | null | undefined;
324
460
  from?: `0x${string}` | undefined;
325
- gas?: `0x${string}` | undefined;
326
461
  hash?: `0x${string}` | undefined;
327
462
  input?: `0x${string}` | undefined;
328
463
  nonce?: `0x${string}` | undefined;
@@ -331,12 +466,35 @@ export declare const baseGoerli: {
331
466
  to?: `0x${string}` | null | undefined;
332
467
  transactionIndex?: `0x${string}` | null | undefined;
333
468
  v?: `0x${string}` | undefined;
469
+ accessList?: import("../../index.js").AccessList | undefined;
470
+ blobVersionedHashes?: `0x${string}`[] | undefined;
471
+ chainId?: `0x${string}` | undefined;
472
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP4844<`0x${string}`, `0x${string}`, boolean, "0x3">, "yParity">, "typeHex"> & {
473
+ isSystemTx?: undefined;
474
+ mint?: undefined;
475
+ sourceHash?: undefined;
476
+ }) | ({
477
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
478
+ gas?: `0x${string}` | undefined;
334
479
  value?: `0x${string}` | undefined;
335
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
336
480
  gasPrice?: `0x${string}` | undefined;
481
+ maxFeePerBlobGas?: `0x${string}` | undefined;
337
482
  maxFeePerGas?: `0x${string}` | undefined;
338
483
  maxPriorityFeePerGas?: `0x${string}` | undefined;
484
+ yParity?: `0x${string}` | undefined;
485
+ blockHash?: `0x${string}` | null | undefined;
486
+ blockNumber?: `0x${string}` | null | undefined;
487
+ from?: `0x${string}` | undefined;
488
+ hash?: `0x${string}` | undefined;
489
+ input?: `0x${string}` | undefined;
490
+ nonce?: `0x${string}` | undefined;
491
+ r?: `0x${string}` | undefined;
492
+ s?: `0x${string}` | undefined;
493
+ to?: `0x${string}` | null | undefined;
494
+ transactionIndex?: `0x${string}` | null | undefined;
495
+ v?: `0x${string}` | undefined;
339
496
  accessList?: import("../../index.js").AccessList | undefined;
497
+ blobVersionedHashes?: `0x${string}`[] | undefined;
340
498
  chainId?: `0x${string}` | undefined;
341
499
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
342
500
  isSystemTx?: boolean | undefined;
@@ -344,10 +502,11 @@ export declare const baseGoerli: {
344
502
  sourceHash: `0x${string}`;
345
503
  type: "0x7e";
346
504
  })) => ({
505
+ gas: bigint;
506
+ value: bigint;
347
507
  blockHash: `0x${string}` | null;
348
508
  blockNumber: bigint | null;
349
509
  from: `0x${string}`;
350
- gas: bigint;
351
510
  hash: `0x${string}`;
352
511
  input: `0x${string}`;
353
512
  nonce: number;
@@ -357,11 +516,12 @@ export declare const baseGoerli: {
357
516
  transactionIndex: number | null;
358
517
  typeHex: `0x${string}` | null;
359
518
  v: bigint;
360
- value: bigint;
361
519
  gasPrice: bigint;
520
+ maxFeePerBlobGas?: undefined;
362
521
  maxFeePerGas?: undefined;
363
522
  maxPriorityFeePerGas?: undefined;
364
523
  accessList?: undefined;
524
+ blobVersionedHashes?: undefined;
365
525
  chainId?: number | undefined;
366
526
  yParity?: undefined;
367
527
  type: "legacy";
@@ -369,10 +529,11 @@ export declare const baseGoerli: {
369
529
  mint?: undefined;
370
530
  sourceHash?: undefined;
371
531
  } | {
532
+ gas: bigint;
533
+ value: bigint;
372
534
  blockHash: `0x${string}` | null;
373
535
  blockNumber: bigint | null;
374
536
  from: `0x${string}`;
375
- gas: bigint;
376
537
  hash: `0x${string}`;
377
538
  input: `0x${string}`;
378
539
  nonce: number;
@@ -382,11 +543,12 @@ export declare const baseGoerli: {
382
543
  transactionIndex: number | null;
383
544
  typeHex: `0x${string}` | null;
384
545
  v: bigint;
385
- value: bigint;
386
546
  gasPrice: undefined;
547
+ maxFeePerBlobGas?: undefined;
387
548
  maxFeePerGas: bigint;
388
549
  maxPriorityFeePerGas: bigint;
389
550
  accessList?: undefined;
551
+ blobVersionedHashes?: undefined;
390
552
  chainId?: number | undefined;
391
553
  yParity: number;
392
554
  type: "deposit";
@@ -410,9 +572,11 @@ export declare const baseGoerli: {
410
572
  value: bigint;
411
573
  yParity: number;
412
574
  gasPrice: bigint;
575
+ maxFeePerBlobGas?: undefined;
413
576
  maxFeePerGas?: undefined;
414
577
  maxPriorityFeePerGas?: undefined;
415
578
  accessList: import("../../index.js").AccessList;
579
+ blobVersionedHashes?: undefined;
416
580
  chainId: number;
417
581
  type: "eip2930";
418
582
  isSystemTx?: undefined;
@@ -435,9 +599,11 @@ export declare const baseGoerli: {
435
599
  value: bigint;
436
600
  yParity: number;
437
601
  gasPrice: undefined;
602
+ maxFeePerBlobGas?: undefined;
438
603
  maxFeePerGas: bigint;
439
604
  maxPriorityFeePerGas: bigint;
440
605
  accessList: import("../../index.js").AccessList;
606
+ blobVersionedHashes?: undefined;
441
607
  chainId: number;
442
608
  type: "eip1559";
443
609
  isSystemTx?: undefined;
@@ -460,9 +626,11 @@ export declare const baseGoerli: {
460
626
  value: bigint;
461
627
  yParity: number;
462
628
  gasPrice: undefined;
629
+ maxFeePerBlobGas?: undefined;
463
630
  maxFeePerGas: bigint;
464
631
  maxPriorityFeePerGas: bigint;
465
632
  accessList: import("../../index.js").AccessList;
633
+ blobVersionedHashes?: undefined;
466
634
  chainId: number;
467
635
  type: "deposit";
468
636
  isSystemTx?: boolean | undefined;
@@ -485,9 +653,11 @@ export declare const baseGoerli: {
485
653
  value: bigint;
486
654
  yParity: number;
487
655
  gasPrice: bigint;
656
+ maxFeePerBlobGas?: undefined;
488
657
  maxFeePerGas: undefined;
489
658
  maxPriorityFeePerGas: undefined;
490
659
  accessList: import("../../index.js").AccessList;
660
+ blobVersionedHashes?: undefined;
491
661
  chainId: number;
492
662
  type: "eip2930";
493
663
  isSystemTx?: undefined;
@@ -510,9 +680,11 @@ export declare const baseGoerli: {
510
680
  value: bigint;
511
681
  yParity: number;
512
682
  gasPrice?: undefined;
683
+ maxFeePerBlobGas?: undefined;
513
684
  maxFeePerGas: bigint;
514
685
  maxPriorityFeePerGas: bigint;
515
686
  accessList: import("../../index.js").AccessList;
687
+ blobVersionedHashes?: undefined;
516
688
  chainId: number;
517
689
  type: "eip1559";
518
690
  isSystemTx?: undefined;
@@ -535,9 +707,65 @@ export declare const baseGoerli: {
535
707
  value: bigint;
536
708
  yParity: number;
537
709
  gasPrice?: undefined;
710
+ maxFeePerBlobGas?: undefined;
711
+ maxFeePerGas: bigint;
712
+ maxPriorityFeePerGas: bigint;
713
+ accessList: import("../../index.js").AccessList;
714
+ blobVersionedHashes?: undefined;
715
+ chainId: number;
716
+ type: "deposit";
717
+ isSystemTx?: boolean | undefined;
718
+ mint?: bigint | undefined;
719
+ sourceHash: `0x${string}`;
720
+ } | {
721
+ blockHash: `0x${string}` | null;
722
+ blockNumber: bigint | null;
723
+ from: `0x${string}`;
724
+ gas: bigint;
725
+ hash: `0x${string}`;
726
+ input: `0x${string}`;
727
+ nonce: number;
728
+ r: `0x${string}`;
729
+ s: `0x${string}`;
730
+ to: `0x${string}` | null;
731
+ transactionIndex: number | null;
732
+ typeHex: `0x${string}` | null;
733
+ v: bigint;
734
+ value: bigint;
735
+ yParity: number;
736
+ gasPrice?: undefined;
737
+ maxFeePerBlobGas: bigint;
738
+ maxFeePerGas: bigint;
739
+ maxPriorityFeePerGas: bigint;
740
+ accessList: import("../../index.js").AccessList;
741
+ blobVersionedHashes: `0x${string}`[];
742
+ chainId: number;
743
+ type: "eip4844";
744
+ isSystemTx?: undefined;
745
+ mint?: undefined;
746
+ sourceHash?: undefined;
747
+ } | {
748
+ blockHash: `0x${string}` | null;
749
+ blockNumber: bigint | null;
750
+ from: `0x${string}`;
751
+ gas: bigint;
752
+ hash: `0x${string}`;
753
+ input: `0x${string}`;
754
+ nonce: number;
755
+ r: `0x${string}`;
756
+ s: `0x${string}`;
757
+ to: `0x${string}` | null;
758
+ transactionIndex: number | null;
759
+ typeHex: `0x${string}` | null;
760
+ v: bigint;
761
+ value: bigint;
762
+ yParity: number;
763
+ gasPrice?: undefined;
764
+ maxFeePerBlobGas: undefined;
538
765
  maxFeePerGas: bigint;
539
766
  maxPriorityFeePerGas: bigint;
540
767
  accessList: import("../../index.js").AccessList;
768
+ blobVersionedHashes: `0x${string}`[];
541
769
  chainId: number;
542
770
  type: "deposit";
543
771
  isSystemTx?: boolean | undefined;
@@ -549,6 +777,8 @@ export declare const baseGoerli: {
549
777
  readonly transactionReceipt: {
550
778
  exclude: [] | undefined;
551
779
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../index.js").OpStackRpcTransactionReceiptOverrides>) => {
780
+ blobGasPrice?: bigint | undefined;
781
+ blobGasUsed?: bigint | undefined;
552
782
  blockHash: `0x${string}`;
553
783
  blockNumber: bigint;
554
784
  contractAddress: `0x${string}` | null;
@@ -1 +1 @@
1
- {"version":3,"file":"baseGoerli.d.ts","sourceRoot":"","sources":["../../../chains/definitions/baseGoerli.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCrB,CAAA"}
1
+ {"version":3,"file":"baseGoerli.d.ts","sourceRoot":"","sources":["../../../chains/definitions/baseGoerli.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCrB,CAAA"}