viem 0.0.0-main.20240130T224622 → 0.0.0-main.20240131T000757

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