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