viem 2.6.1 → 2.7.1

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