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
@@ -44,7 +44,9 @@ export declare const pgnTestnet: {
44
44
  transactions: `0x${string}`[] | import("../index.js").OpStackRpcTransaction[];
45
45
  }>) => {
46
46
  baseFeePerGas: bigint | null;
47
+ blobGasUsed: bigint;
47
48
  difficulty: bigint;
49
+ excessBlobGas: bigint;
48
50
  extraData: `0x${string}`;
49
51
  gasLimit: bigint;
50
52
  gasUsed: bigint;
@@ -73,11 +75,17 @@ export declare const pgnTestnet: {
73
75
  readonly transaction: {
74
76
  exclude: [] | undefined;
75
77
  format: (args: ({
78
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
79
+ gas?: `0x${string}` | undefined;
80
+ value?: `0x${string}` | undefined;
81
+ gasPrice?: `0x${string}` | undefined;
82
+ maxFeePerBlobGas?: `0x${string}` | undefined;
83
+ maxFeePerGas?: `0x${string}` | undefined;
84
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
76
85
  yParity?: `0x${string}` | undefined;
77
86
  blockHash?: `0x${string}` | null | undefined;
78
87
  blockNumber?: `0x${string}` | null | undefined;
79
88
  from?: `0x${string}` | undefined;
80
- gas?: `0x${string}` | undefined;
81
89
  hash?: `0x${string}` | undefined;
82
90
  input?: `0x${string}` | undefined;
83
91
  nonce?: `0x${string}` | undefined;
@@ -86,23 +94,25 @@ export declare const pgnTestnet: {
86
94
  to?: `0x${string}` | null | undefined;
87
95
  transactionIndex?: `0x${string}` | null | undefined;
88
96
  v?: `0x${string}` | undefined;
89
- value?: `0x${string}` | undefined;
90
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
91
- gasPrice?: `0x${string}` | undefined;
92
- maxFeePerGas?: `0x${string}` | undefined;
93
- maxPriorityFeePerGas?: `0x${string}` | undefined;
94
97
  accessList?: undefined;
98
+ blobVersionedHashes?: undefined;
95
99
  chainId?: `0x${string}` | undefined;
96
100
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
97
101
  isSystemTx?: undefined;
98
102
  mint?: undefined;
99
103
  sourceHash?: undefined;
100
104
  }) | ({
105
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
106
+ gas?: `0x${string}` | undefined;
107
+ value?: `0x${string}` | undefined;
108
+ gasPrice?: `0x${string}` | undefined;
109
+ maxFeePerBlobGas?: `0x${string}` | undefined;
110
+ maxFeePerGas?: `0x${string}` | undefined;
111
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
101
112
  yParity?: `0x${string}` | undefined;
102
113
  blockHash?: `0x${string}` | null | undefined;
103
114
  blockNumber?: `0x${string}` | null | undefined;
104
115
  from?: `0x${string}` | undefined;
105
- gas?: `0x${string}` | undefined;
106
116
  hash?: `0x${string}` | undefined;
107
117
  input?: `0x${string}` | undefined;
108
118
  nonce?: `0x${string}` | undefined;
@@ -111,12 +121,8 @@ export declare const pgnTestnet: {
111
121
  to?: `0x${string}` | null | undefined;
112
122
  transactionIndex?: `0x${string}` | null | undefined;
113
123
  v?: `0x${string}` | undefined;
114
- value?: `0x${string}` | undefined;
115
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
116
- gasPrice?: `0x${string}` | undefined;
117
- maxFeePerGas?: `0x${string}` | undefined;
118
- maxPriorityFeePerGas?: `0x${string}` | undefined;
119
124
  accessList?: undefined;
125
+ blobVersionedHashes?: undefined;
120
126
  chainId?: `0x${string}` | undefined;
121
127
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
122
128
  isSystemTx?: boolean | undefined;
@@ -124,11 +130,17 @@ export declare const pgnTestnet: {
124
130
  sourceHash: `0x${string}`;
125
131
  type: "0x7e";
126
132
  }) | ({
133
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
134
+ gas?: `0x${string}` | undefined;
135
+ value?: `0x${string}` | undefined;
136
+ gasPrice?: `0x${string}` | undefined;
137
+ maxFeePerBlobGas?: `0x${string}` | undefined;
138
+ maxFeePerGas?: `0x${string}` | undefined;
139
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
127
140
  yParity?: `0x${string}` | undefined;
128
141
  blockHash?: `0x${string}` | null | undefined;
129
142
  blockNumber?: `0x${string}` | null | undefined;
130
143
  from?: `0x${string}` | undefined;
131
- gas?: `0x${string}` | undefined;
132
144
  hash?: `0x${string}` | undefined;
133
145
  input?: `0x${string}` | undefined;
134
146
  nonce?: `0x${string}` | undefined;
@@ -137,23 +149,25 @@ export declare const pgnTestnet: {
137
149
  to?: `0x${string}` | null | undefined;
138
150
  transactionIndex?: `0x${string}` | null | undefined;
139
151
  v?: `0x${string}` | undefined;
140
- value?: `0x${string}` | undefined;
141
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
142
- gasPrice?: `0x${string}` | undefined;
143
- maxFeePerGas?: `0x${string}` | undefined;
144
- maxPriorityFeePerGas?: `0x${string}` | undefined;
145
152
  accessList?: import("../../index.js").AccessList | undefined;
153
+ blobVersionedHashes?: undefined;
146
154
  chainId?: `0x${string}` | undefined;
147
155
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
148
156
  isSystemTx?: undefined;
149
157
  mint?: undefined;
150
158
  sourceHash?: undefined;
151
159
  }) | ({
160
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
161
+ gas?: `0x${string}` | undefined;
162
+ value?: `0x${string}` | undefined;
163
+ gasPrice?: `0x${string}` | undefined;
164
+ maxFeePerBlobGas?: `0x${string}` | undefined;
165
+ maxFeePerGas?: `0x${string}` | undefined;
166
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
152
167
  yParity?: `0x${string}` | undefined;
153
168
  blockHash?: `0x${string}` | null | undefined;
154
169
  blockNumber?: `0x${string}` | null | undefined;
155
170
  from?: `0x${string}` | undefined;
156
- gas?: `0x${string}` | undefined;
157
171
  hash?: `0x${string}` | undefined;
158
172
  input?: `0x${string}` | undefined;
159
173
  nonce?: `0x${string}` | undefined;
@@ -162,23 +176,25 @@ export declare const pgnTestnet: {
162
176
  to?: `0x${string}` | null | undefined;
163
177
  transactionIndex?: `0x${string}` | null | undefined;
164
178
  v?: `0x${string}` | undefined;
165
- value?: `0x${string}` | undefined;
166
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
167
- gasPrice?: `0x${string}` | undefined;
168
- maxFeePerGas?: `0x${string}` | undefined;
169
- maxPriorityFeePerGas?: `0x${string}` | undefined;
170
179
  accessList?: import("../../index.js").AccessList | undefined;
180
+ blobVersionedHashes?: undefined;
171
181
  chainId?: `0x${string}` | undefined;
172
182
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
173
183
  isSystemTx?: undefined;
174
184
  mint?: undefined;
175
185
  sourceHash?: undefined;
176
186
  }) | ({
187
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
188
+ gas?: `0x${string}` | undefined;
189
+ value?: `0x${string}` | undefined;
190
+ gasPrice?: `0x${string}` | undefined;
191
+ maxFeePerBlobGas?: `0x${string}` | undefined;
192
+ maxFeePerGas?: `0x${string}` | undefined;
193
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
177
194
  yParity?: `0x${string}` | undefined;
178
195
  blockHash?: `0x${string}` | null | undefined;
179
196
  blockNumber?: `0x${string}` | null | undefined;
180
197
  from?: `0x${string}` | undefined;
181
- gas?: `0x${string}` | undefined;
182
198
  hash?: `0x${string}` | undefined;
183
199
  input?: `0x${string}` | undefined;
184
200
  nonce?: `0x${string}` | undefined;
@@ -187,23 +203,25 @@ export declare const pgnTestnet: {
187
203
  to?: `0x${string}` | null | undefined;
188
204
  transactionIndex?: `0x${string}` | null | undefined;
189
205
  v?: `0x${string}` | undefined;
190
- value?: `0x${string}` | undefined;
191
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
192
- gasPrice?: `0x${string}` | undefined;
193
- maxFeePerGas?: `0x${string}` | undefined;
194
- maxPriorityFeePerGas?: `0x${string}` | undefined;
195
206
  accessList?: import("../../index.js").AccessList | undefined;
207
+ blobVersionedHashes?: undefined;
196
208
  chainId?: `0x${string}` | undefined;
197
209
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
198
210
  isSystemTx?: undefined;
199
211
  mint?: undefined;
200
212
  sourceHash?: undefined;
201
213
  }) | ({
214
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
215
+ gas?: `0x${string}` | undefined;
216
+ value?: `0x${string}` | undefined;
217
+ gasPrice?: `0x${string}` | undefined;
218
+ maxFeePerBlobGas?: `0x${string}` | undefined;
219
+ maxFeePerGas?: `0x${string}` | undefined;
220
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
202
221
  yParity?: `0x${string}` | undefined;
203
222
  blockHash?: `0x${string}` | null | undefined;
204
223
  blockNumber?: `0x${string}` | null | undefined;
205
224
  from?: `0x${string}` | undefined;
206
- gas?: `0x${string}` | undefined;
207
225
  hash?: `0x${string}` | undefined;
208
226
  input?: `0x${string}` | undefined;
209
227
  nonce?: `0x${string}` | undefined;
@@ -212,12 +230,8 @@ export declare const pgnTestnet: {
212
230
  to?: `0x${string}` | null | undefined;
213
231
  transactionIndex?: `0x${string}` | null | undefined;
214
232
  v?: `0x${string}` | undefined;
215
- value?: `0x${string}` | undefined;
216
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
217
- gasPrice?: `0x${string}` | undefined;
218
- maxFeePerGas?: `0x${string}` | undefined;
219
- maxPriorityFeePerGas?: `0x${string}` | undefined;
220
233
  accessList?: import("../../index.js").AccessList | undefined;
234
+ blobVersionedHashes?: undefined;
221
235
  chainId?: `0x${string}` | undefined;
222
236
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
223
237
  isSystemTx?: boolean | undefined;
@@ -225,11 +239,17 @@ export declare const pgnTestnet: {
225
239
  sourceHash: `0x${string}`;
226
240
  type: "0x7e";
227
241
  }) | ({
242
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
243
+ gas?: `0x${string}` | undefined;
244
+ value?: `0x${string}` | undefined;
245
+ gasPrice?: `0x${string}` | undefined;
246
+ maxFeePerBlobGas?: `0x${string}` | undefined;
247
+ maxFeePerGas?: `0x${string}` | undefined;
248
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
228
249
  yParity?: `0x${string}` | undefined;
229
250
  blockHash?: `0x${string}` | null | undefined;
230
251
  blockNumber?: `0x${string}` | null | undefined;
231
252
  from?: `0x${string}` | undefined;
232
- gas?: `0x${string}` | undefined;
233
253
  hash?: `0x${string}` | undefined;
234
254
  input?: `0x${string}` | undefined;
235
255
  nonce?: `0x${string}` | undefined;
@@ -238,23 +258,79 @@ export declare const pgnTestnet: {
238
258
  to?: `0x${string}` | null | undefined;
239
259
  transactionIndex?: `0x${string}` | null | undefined;
240
260
  v?: `0x${string}` | undefined;
261
+ accessList?: import("../../index.js").AccessList | undefined;
262
+ blobVersionedHashes?: undefined;
263
+ chainId?: `0x${string}` | undefined;
264
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
265
+ isSystemTx?: undefined;
266
+ mint?: undefined;
267
+ sourceHash?: undefined;
268
+ }) | ({
269
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
270
+ gas?: `0x${string}` | undefined;
241
271
  value?: `0x${string}` | undefined;
242
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
243
272
  gasPrice?: `0x${string}` | undefined;
273
+ maxFeePerBlobGas?: `0x${string}` | undefined;
244
274
  maxFeePerGas?: `0x${string}` | undefined;
245
275
  maxPriorityFeePerGas?: `0x${string}` | undefined;
276
+ yParity?: `0x${string}` | undefined;
277
+ blockHash?: `0x${string}` | null | undefined;
278
+ blockNumber?: `0x${string}` | null | undefined;
279
+ from?: `0x${string}` | undefined;
280
+ hash?: `0x${string}` | undefined;
281
+ input?: `0x${string}` | undefined;
282
+ nonce?: `0x${string}` | undefined;
283
+ r?: `0x${string}` | undefined;
284
+ s?: `0x${string}` | undefined;
285
+ to?: `0x${string}` | null | undefined;
286
+ transactionIndex?: `0x${string}` | null | undefined;
287
+ v?: `0x${string}` | undefined;
246
288
  accessList?: import("../../index.js").AccessList | undefined;
289
+ blobVersionedHashes?: undefined;
247
290
  chainId?: `0x${string}` | undefined;
248
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
291
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
249
292
  isSystemTx?: undefined;
250
293
  mint?: undefined;
251
294
  sourceHash?: undefined;
252
295
  }) | ({
296
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
297
+ gas?: `0x${string}` | undefined;
298
+ value?: `0x${string}` | undefined;
299
+ gasPrice?: `0x${string}` | undefined;
300
+ maxFeePerBlobGas?: `0x${string}` | undefined;
301
+ maxFeePerGas?: `0x${string}` | undefined;
302
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
253
303
  yParity?: `0x${string}` | undefined;
254
304
  blockHash?: `0x${string}` | null | undefined;
255
305
  blockNumber?: `0x${string}` | null | undefined;
256
306
  from?: `0x${string}` | undefined;
307
+ hash?: `0x${string}` | undefined;
308
+ input?: `0x${string}` | undefined;
309
+ nonce?: `0x${string}` | undefined;
310
+ r?: `0x${string}` | undefined;
311
+ s?: `0x${string}` | undefined;
312
+ to?: `0x${string}` | null | undefined;
313
+ transactionIndex?: `0x${string}` | null | undefined;
314
+ v?: `0x${string}` | undefined;
315
+ accessList?: import("../../index.js").AccessList | undefined;
316
+ blobVersionedHashes?: undefined;
317
+ chainId?: `0x${string}` | undefined;
318
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
319
+ isSystemTx?: undefined;
320
+ mint?: undefined;
321
+ sourceHash?: undefined;
322
+ }) | ({
323
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
257
324
  gas?: `0x${string}` | undefined;
325
+ value?: `0x${string}` | undefined;
326
+ gasPrice?: `0x${string}` | undefined;
327
+ maxFeePerBlobGas?: `0x${string}` | undefined;
328
+ maxFeePerGas?: `0x${string}` | undefined;
329
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
330
+ yParity?: `0x${string}` | undefined;
331
+ blockHash?: `0x${string}` | null | undefined;
332
+ blockNumber?: `0x${string}` | null | undefined;
333
+ from?: `0x${string}` | undefined;
258
334
  hash?: `0x${string}` | undefined;
259
335
  input?: `0x${string}` | undefined;
260
336
  nonce?: `0x${string}` | undefined;
@@ -263,23 +339,53 @@ export declare const pgnTestnet: {
263
339
  to?: `0x${string}` | null | undefined;
264
340
  transactionIndex?: `0x${string}` | null | undefined;
265
341
  v?: `0x${string}` | undefined;
342
+ accessList?: import("../../index.js").AccessList | undefined;
343
+ blobVersionedHashes?: undefined;
344
+ chainId?: `0x${string}` | undefined;
345
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
346
+ isSystemTx?: boolean | undefined;
347
+ mint?: `0x${string}` | undefined;
348
+ sourceHash: `0x${string}`;
349
+ type: "0x7e";
350
+ }) | ({
351
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
352
+ gas?: `0x${string}` | undefined;
266
353
  value?: `0x${string}` | undefined;
267
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
268
354
  gasPrice?: `0x${string}` | undefined;
355
+ maxFeePerBlobGas?: `0x${string}` | undefined;
269
356
  maxFeePerGas?: `0x${string}` | undefined;
270
357
  maxPriorityFeePerGas?: `0x${string}` | undefined;
358
+ yParity?: `0x${string}` | undefined;
359
+ blockHash?: `0x${string}` | null | undefined;
360
+ blockNumber?: `0x${string}` | null | undefined;
361
+ from?: `0x${string}` | undefined;
362
+ hash?: `0x${string}` | undefined;
363
+ input?: `0x${string}` | undefined;
364
+ nonce?: `0x${string}` | undefined;
365
+ r?: `0x${string}` | undefined;
366
+ s?: `0x${string}` | undefined;
367
+ to?: `0x${string}` | null | undefined;
368
+ transactionIndex?: `0x${string}` | null | undefined;
369
+ v?: `0x${string}` | undefined;
271
370
  accessList?: import("../../index.js").AccessList | undefined;
371
+ blobVersionedHashes?: `0x${string}`[] | undefined;
272
372
  chainId?: `0x${string}` | undefined;
273
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
373
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
274
374
  isSystemTx?: undefined;
275
375
  mint?: undefined;
276
376
  sourceHash?: undefined;
277
377
  }) | ({
378
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
379
+ gas?: `0x${string}` | undefined;
380
+ value?: `0x${string}` | undefined;
381
+ gasPrice?: `0x${string}` | undefined;
382
+ maxFeePerBlobGas?: `0x${string}` | undefined;
383
+ maxFeePerGas?: `0x${string}` | undefined;
384
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
278
385
  yParity?: `0x${string}` | undefined;
279
386
  blockHash?: `0x${string}` | null | undefined;
280
387
  blockNumber?: `0x${string}` | null | undefined;
281
388
  from?: `0x${string}` | undefined;
282
- gas?: `0x${string}` | undefined;
283
389
  hash?: `0x${string}` | undefined;
284
390
  input?: `0x${string}` | undefined;
285
391
  nonce?: `0x${string}` | undefined;
@@ -288,23 +394,52 @@ export declare const pgnTestnet: {
288
394
  to?: `0x${string}` | null | undefined;
289
395
  transactionIndex?: `0x${string}` | null | undefined;
290
396
  v?: `0x${string}` | undefined;
397
+ accessList?: import("../../index.js").AccessList | undefined;
398
+ blobVersionedHashes?: `0x${string}`[] | undefined;
399
+ chainId?: `0x${string}` | undefined;
400
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
401
+ isSystemTx?: undefined;
402
+ mint?: undefined;
403
+ sourceHash?: undefined;
404
+ }) | ({
405
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
406
+ gas?: `0x${string}` | undefined;
291
407
  value?: `0x${string}` | undefined;
292
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
293
408
  gasPrice?: `0x${string}` | undefined;
409
+ maxFeePerBlobGas?: `0x${string}` | undefined;
294
410
  maxFeePerGas?: `0x${string}` | undefined;
295
411
  maxPriorityFeePerGas?: `0x${string}` | undefined;
412
+ yParity?: `0x${string}` | undefined;
413
+ blockHash?: `0x${string}` | null | undefined;
414
+ blockNumber?: `0x${string}` | null | undefined;
415
+ from?: `0x${string}` | undefined;
416
+ hash?: `0x${string}` | undefined;
417
+ input?: `0x${string}` | undefined;
418
+ nonce?: `0x${string}` | undefined;
419
+ r?: `0x${string}` | undefined;
420
+ s?: `0x${string}` | undefined;
421
+ to?: `0x${string}` | null | undefined;
422
+ transactionIndex?: `0x${string}` | null | undefined;
423
+ v?: `0x${string}` | undefined;
296
424
  accessList?: import("../../index.js").AccessList | undefined;
425
+ blobVersionedHashes?: `0x${string}`[] | undefined;
297
426
  chainId?: `0x${string}` | undefined;
298
427
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
299
428
  isSystemTx?: undefined;
300
429
  mint?: undefined;
301
430
  sourceHash?: undefined;
302
431
  }) | ({
432
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
433
+ gas?: `0x${string}` | undefined;
434
+ value?: `0x${string}` | undefined;
435
+ gasPrice?: `0x${string}` | undefined;
436
+ maxFeePerBlobGas?: `0x${string}` | undefined;
437
+ maxFeePerGas?: `0x${string}` | undefined;
438
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
303
439
  yParity?: `0x${string}` | undefined;
304
440
  blockHash?: `0x${string}` | null | undefined;
305
441
  blockNumber?: `0x${string}` | null | undefined;
306
442
  from?: `0x${string}` | undefined;
307
- gas?: `0x${string}` | undefined;
308
443
  hash?: `0x${string}` | undefined;
309
444
  input?: `0x${string}` | undefined;
310
445
  nonce?: `0x${string}` | undefined;
@@ -313,12 +448,35 @@ export declare const pgnTestnet: {
313
448
  to?: `0x${string}` | null | undefined;
314
449
  transactionIndex?: `0x${string}` | null | undefined;
315
450
  v?: `0x${string}` | undefined;
451
+ accessList?: import("../../index.js").AccessList | undefined;
452
+ blobVersionedHashes?: `0x${string}`[] | undefined;
453
+ chainId?: `0x${string}` | undefined;
454
+ } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP4844<`0x${string}`, `0x${string}`, boolean, "0x3">, "yParity">, "typeHex"> & {
455
+ isSystemTx?: undefined;
456
+ mint?: undefined;
457
+ sourceHash?: undefined;
458
+ }) | ({
459
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
460
+ gas?: `0x${string}` | undefined;
316
461
  value?: `0x${string}` | undefined;
317
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
318
462
  gasPrice?: `0x${string}` | undefined;
463
+ maxFeePerBlobGas?: `0x${string}` | undefined;
319
464
  maxFeePerGas?: `0x${string}` | undefined;
320
465
  maxPriorityFeePerGas?: `0x${string}` | undefined;
466
+ yParity?: `0x${string}` | undefined;
467
+ blockHash?: `0x${string}` | null | undefined;
468
+ blockNumber?: `0x${string}` | null | undefined;
469
+ from?: `0x${string}` | undefined;
470
+ hash?: `0x${string}` | undefined;
471
+ input?: `0x${string}` | undefined;
472
+ nonce?: `0x${string}` | undefined;
473
+ r?: `0x${string}` | undefined;
474
+ s?: `0x${string}` | undefined;
475
+ to?: `0x${string}` | null | undefined;
476
+ transactionIndex?: `0x${string}` | null | undefined;
477
+ v?: `0x${string}` | undefined;
321
478
  accessList?: import("../../index.js").AccessList | undefined;
479
+ blobVersionedHashes?: `0x${string}`[] | undefined;
322
480
  chainId?: `0x${string}` | undefined;
323
481
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
324
482
  isSystemTx?: boolean | undefined;
@@ -326,10 +484,11 @@ export declare const pgnTestnet: {
326
484
  sourceHash: `0x${string}`;
327
485
  type: "0x7e";
328
486
  })) => ({
487
+ gas: bigint;
488
+ value: bigint;
329
489
  blockHash: `0x${string}` | null;
330
490
  blockNumber: bigint | null;
331
491
  from: `0x${string}`;
332
- gas: bigint;
333
492
  hash: `0x${string}`;
334
493
  input: `0x${string}`;
335
494
  nonce: number;
@@ -339,11 +498,12 @@ export declare const pgnTestnet: {
339
498
  transactionIndex: number | null;
340
499
  typeHex: `0x${string}` | null;
341
500
  v: bigint;
342
- value: bigint;
343
501
  gasPrice: bigint;
502
+ maxFeePerBlobGas?: undefined;
344
503
  maxFeePerGas?: undefined;
345
504
  maxPriorityFeePerGas?: undefined;
346
505
  accessList?: undefined;
506
+ blobVersionedHashes?: undefined;
347
507
  chainId?: number | undefined;
348
508
  yParity?: undefined;
349
509
  type: "legacy";
@@ -351,10 +511,11 @@ export declare const pgnTestnet: {
351
511
  mint?: undefined;
352
512
  sourceHash?: undefined;
353
513
  } | {
514
+ gas: bigint;
515
+ value: bigint;
354
516
  blockHash: `0x${string}` | null;
355
517
  blockNumber: bigint | null;
356
518
  from: `0x${string}`;
357
- gas: bigint;
358
519
  hash: `0x${string}`;
359
520
  input: `0x${string}`;
360
521
  nonce: number;
@@ -364,11 +525,12 @@ export declare const pgnTestnet: {
364
525
  transactionIndex: number | null;
365
526
  typeHex: `0x${string}` | null;
366
527
  v: bigint;
367
- value: bigint;
368
528
  gasPrice: undefined;
529
+ maxFeePerBlobGas?: undefined;
369
530
  maxFeePerGas: bigint;
370
531
  maxPriorityFeePerGas: bigint;
371
532
  accessList?: undefined;
533
+ blobVersionedHashes?: undefined;
372
534
  chainId?: number | undefined;
373
535
  yParity: number;
374
536
  type: "deposit";
@@ -392,9 +554,11 @@ export declare const pgnTestnet: {
392
554
  value: bigint;
393
555
  yParity: number;
394
556
  gasPrice: bigint;
557
+ maxFeePerBlobGas?: undefined;
395
558
  maxFeePerGas?: undefined;
396
559
  maxPriorityFeePerGas?: undefined;
397
560
  accessList: import("../../index.js").AccessList;
561
+ blobVersionedHashes?: undefined;
398
562
  chainId: number;
399
563
  type: "eip2930";
400
564
  isSystemTx?: undefined;
@@ -417,9 +581,11 @@ export declare const pgnTestnet: {
417
581
  value: bigint;
418
582
  yParity: number;
419
583
  gasPrice: undefined;
584
+ maxFeePerBlobGas?: undefined;
420
585
  maxFeePerGas: bigint;
421
586
  maxPriorityFeePerGas: bigint;
422
587
  accessList: import("../../index.js").AccessList;
588
+ blobVersionedHashes?: undefined;
423
589
  chainId: number;
424
590
  type: "eip1559";
425
591
  isSystemTx?: undefined;
@@ -442,9 +608,11 @@ export declare const pgnTestnet: {
442
608
  value: bigint;
443
609
  yParity: number;
444
610
  gasPrice: undefined;
611
+ maxFeePerBlobGas?: undefined;
445
612
  maxFeePerGas: bigint;
446
613
  maxPriorityFeePerGas: bigint;
447
614
  accessList: import("../../index.js").AccessList;
615
+ blobVersionedHashes?: undefined;
448
616
  chainId: number;
449
617
  type: "deposit";
450
618
  isSystemTx?: boolean | undefined;
@@ -467,9 +635,11 @@ export declare const pgnTestnet: {
467
635
  value: bigint;
468
636
  yParity: number;
469
637
  gasPrice: bigint;
638
+ maxFeePerBlobGas?: undefined;
470
639
  maxFeePerGas: undefined;
471
640
  maxPriorityFeePerGas: undefined;
472
641
  accessList: import("../../index.js").AccessList;
642
+ blobVersionedHashes?: undefined;
473
643
  chainId: number;
474
644
  type: "eip2930";
475
645
  isSystemTx?: undefined;
@@ -492,9 +662,11 @@ export declare const pgnTestnet: {
492
662
  value: bigint;
493
663
  yParity: number;
494
664
  gasPrice?: undefined;
665
+ maxFeePerBlobGas?: undefined;
495
666
  maxFeePerGas: bigint;
496
667
  maxPriorityFeePerGas: bigint;
497
668
  accessList: import("../../index.js").AccessList;
669
+ blobVersionedHashes?: undefined;
498
670
  chainId: number;
499
671
  type: "eip1559";
500
672
  isSystemTx?: undefined;
@@ -517,9 +689,65 @@ export declare const pgnTestnet: {
517
689
  value: bigint;
518
690
  yParity: number;
519
691
  gasPrice?: undefined;
692
+ maxFeePerBlobGas?: undefined;
693
+ maxFeePerGas: bigint;
694
+ maxPriorityFeePerGas: bigint;
695
+ accessList: import("../../index.js").AccessList;
696
+ blobVersionedHashes?: undefined;
697
+ chainId: number;
698
+ type: "deposit";
699
+ isSystemTx?: boolean | undefined;
700
+ mint?: bigint | undefined;
701
+ sourceHash: `0x${string}`;
702
+ } | {
703
+ blockHash: `0x${string}` | null;
704
+ blockNumber: bigint | null;
705
+ from: `0x${string}`;
706
+ gas: bigint;
707
+ hash: `0x${string}`;
708
+ input: `0x${string}`;
709
+ nonce: number;
710
+ r: `0x${string}`;
711
+ s: `0x${string}`;
712
+ to: `0x${string}` | null;
713
+ transactionIndex: number | null;
714
+ typeHex: `0x${string}` | null;
715
+ v: bigint;
716
+ value: bigint;
717
+ yParity: number;
718
+ gasPrice?: undefined;
719
+ maxFeePerBlobGas: bigint;
720
+ maxFeePerGas: bigint;
721
+ maxPriorityFeePerGas: bigint;
722
+ accessList: import("../../index.js").AccessList;
723
+ blobVersionedHashes: `0x${string}`[];
724
+ chainId: number;
725
+ type: "eip4844";
726
+ isSystemTx?: undefined;
727
+ mint?: undefined;
728
+ sourceHash?: undefined;
729
+ } | {
730
+ blockHash: `0x${string}` | null;
731
+ blockNumber: bigint | null;
732
+ from: `0x${string}`;
733
+ gas: bigint;
734
+ hash: `0x${string}`;
735
+ input: `0x${string}`;
736
+ nonce: number;
737
+ r: `0x${string}`;
738
+ s: `0x${string}`;
739
+ to: `0x${string}` | null;
740
+ transactionIndex: number | null;
741
+ typeHex: `0x${string}` | null;
742
+ v: bigint;
743
+ value: bigint;
744
+ yParity: number;
745
+ gasPrice?: undefined;
746
+ maxFeePerBlobGas: undefined;
520
747
  maxFeePerGas: bigint;
521
748
  maxPriorityFeePerGas: bigint;
522
749
  accessList: import("../../index.js").AccessList;
750
+ blobVersionedHashes: `0x${string}`[];
523
751
  chainId: number;
524
752
  type: "deposit";
525
753
  isSystemTx?: boolean | undefined;
@@ -531,6 +759,8 @@ export declare const pgnTestnet: {
531
759
  readonly transactionReceipt: {
532
760
  exclude: [] | undefined;
533
761
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../index.js").OpStackRpcTransactionReceiptOverrides>) => {
762
+ blobGasPrice?: bigint | undefined;
763
+ blobGasUsed?: bigint | undefined;
534
764
  blockHash: `0x${string}`;
535
765
  blockNumber: bigint;
536
766
  contractAddress: `0x${string}` | null;
@@ -1 +1 @@
1
- {"version":3,"file":"pgnTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/pgnTestnet.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCrB,CAAA"}
1
+ {"version":3,"file":"pgnTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/pgnTestnet.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCrB,CAAA"}