viem 0.0.0-main.20240130T224622 → 0.0.0-main.20240130T235251

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