viem 2.9.6 → 2.9.8

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/CHANGELOG.md +16 -0
  2. package/_cjs/chains/definitions/degen.js +1 -0
  3. package/_cjs/chains/definitions/degen.js.map +1 -1
  4. package/_cjs/chains/definitions/zkSyncInMemoryNode.js +2 -0
  5. package/_cjs/chains/definitions/zkSyncInMemoryNode.js.map +1 -1
  6. package/_cjs/chains/definitions/zkSyncLocalNode.js +2 -0
  7. package/_cjs/chains/definitions/zkSyncLocalNode.js.map +1 -1
  8. package/_cjs/errors/version.js +1 -1
  9. package/_cjs/experimental/actions/getCallsStatus.js +23 -0
  10. package/_cjs/experimental/actions/getCallsStatus.js.map +1 -0
  11. package/_cjs/experimental/actions/getCapabilities.js +14 -0
  12. package/_cjs/experimental/actions/getCapabilities.js.map +1 -0
  13. package/_cjs/experimental/actions/sendCalls.js +42 -0
  14. package/_cjs/experimental/actions/sendCalls.js.map +1 -0
  15. package/_cjs/experimental/actions/writeContracts.js +23 -0
  16. package/_cjs/experimental/actions/writeContracts.js.map +1 -0
  17. package/_cjs/experimental/decorators/eip5792.js +19 -0
  18. package/_cjs/experimental/decorators/eip5792.js.map +1 -0
  19. package/_cjs/experimental/index.js +14 -0
  20. package/_cjs/experimental/index.js.map +1 -0
  21. package/_cjs/index.js.map +1 -1
  22. package/_cjs/utils/formatters/transactionReceipt.js +3 -3
  23. package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
  24. package/_esm/chains/definitions/degen.js +1 -0
  25. package/_esm/chains/definitions/degen.js.map +1 -1
  26. package/_esm/chains/definitions/zkSyncInMemoryNode.js +2 -0
  27. package/_esm/chains/definitions/zkSyncInMemoryNode.js.map +1 -1
  28. package/_esm/chains/definitions/zkSyncLocalNode.js +2 -0
  29. package/_esm/chains/definitions/zkSyncLocalNode.js.map +1 -1
  30. package/_esm/errors/version.js +1 -1
  31. package/_esm/experimental/actions/getCallsStatus.js +39 -0
  32. package/_esm/experimental/actions/getCallsStatus.js.map +1 -0
  33. package/_esm/experimental/actions/getCapabilities.js +30 -0
  34. package/_esm/experimental/actions/getCapabilities.js.map +1 -0
  35. package/_esm/experimental/actions/sendCalls.js +70 -0
  36. package/_esm/experimental/actions/sendCalls.js.map +1 -0
  37. package/_esm/experimental/actions/writeContracts.js +62 -0
  38. package/_esm/experimental/actions/writeContracts.js.map +1 -0
  39. package/_esm/experimental/decorators/eip5792.js +32 -0
  40. package/_esm/experimental/decorators/eip5792.js.map +1 -0
  41. package/_esm/experimental/index.js +6 -0
  42. package/_esm/experimental/index.js.map +1 -0
  43. package/_esm/index.js.map +1 -1
  44. package/_esm/utils/formatters/transactionReceipt.js +2 -2
  45. package/_esm/utils/formatters/transactionReceipt.js.map +1 -1
  46. package/_types/chains/definitions/degen.d.ts +1 -0
  47. package/_types/chains/definitions/degen.d.ts.map +1 -1
  48. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +1278 -3
  49. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts.map +1 -1
  50. package/_types/chains/definitions/zkSyncLocalNode.d.ts +1278 -3
  51. package/_types/chains/definitions/zkSyncLocalNode.d.ts.map +1 -1
  52. package/_types/errors/version.d.ts +1 -1
  53. package/_types/experimental/actions/getCallsStatus.d.ts +35 -0
  54. package/_types/experimental/actions/getCallsStatus.d.ts.map +1 -0
  55. package/_types/experimental/actions/getCapabilities.d.ts +32 -0
  56. package/_types/experimental/actions/getCapabilities.d.ts.map +1 -0
  57. package/_types/experimental/actions/sendCalls.d.ts +56 -0
  58. package/_types/experimental/actions/sendCalls.d.ts.map +1 -0
  59. package/_types/experimental/actions/writeContracts.d.ts +62 -0
  60. package/_types/experimental/actions/writeContracts.d.ts.map +1 -0
  61. package/_types/experimental/decorators/eip5792.d.ts +152 -0
  62. package/_types/experimental/decorators/eip5792.d.ts.map +1 -0
  63. package/_types/experimental/index.d.ts +6 -0
  64. package/_types/experimental/index.d.ts.map +1 -0
  65. package/_types/index.d.ts +1 -1
  66. package/_types/index.d.ts.map +1 -1
  67. package/_types/types/contract.d.ts +1 -1
  68. package/_types/types/contract.d.ts.map +1 -1
  69. package/_types/types/eip1193.d.ts +69 -0
  70. package/_types/types/eip1193.d.ts.map +1 -1
  71. package/_types/utils/formatters/transactionReceipt.d.ts +4 -0
  72. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
  73. package/chains/definitions/degen.ts +1 -0
  74. package/chains/definitions/zkSyncInMemoryNode.ts +2 -0
  75. package/chains/definitions/zkSyncLocalNode.ts +2 -0
  76. package/errors/version.ts +1 -1
  77. package/experimental/actions/getCallsStatus.ts +62 -0
  78. package/experimental/actions/getCapabilities.ts +56 -0
  79. package/experimental/actions/sendCalls.ts +126 -0
  80. package/experimental/actions/writeContracts.ts +115 -0
  81. package/experimental/decorators/eip5792.ts +200 -0
  82. package/experimental/index.ts +28 -0
  83. package/experimental/package.json +6 -0
  84. package/index.ts +6 -1
  85. package/package.json +9 -1
  86. package/types/contract.ts +2 -1
  87. package/types/eip1193.ts +81 -0
  88. package/utils/formatters/transactionReceipt.ts +2 -2
@@ -33,9 +33,1284 @@ export declare const zkSyncLocalNode: {
33
33
  };
34
34
  sourceId?: number | undefined;
35
35
  testnet: true;
36
- custom?: Record<string, unknown> | undefined;
37
- formatters?: undefined;
38
- serializers?: import("../../index.js").ChainSerializers<undefined> | undefined;
36
+ custom: {
37
+ readonly getEip712Domain: import("../../zksync/index.js").EIP712DomainFn<import("../index.js").ZkSyncTransactionSerializable, import("../index.js").ZkSyncEIP712TransactionSignable>;
38
+ };
39
+ formatters: {
40
+ readonly block: {
41
+ exclude: [] | undefined;
42
+ format: (args: import("../index.js").Assign<import("../../index.js").ExactPartial<import("../../index.js").RpcBlock>, import("../index.js").ZkSyncRpcBlockOverrides & {
43
+ transactions: `0x${string}`[] | import("../index.js").ZkSyncRpcTransaction[];
44
+ }>) => {
45
+ baseFeePerGas: bigint | null;
46
+ blobGasUsed: bigint;
47
+ difficulty: bigint;
48
+ excessBlobGas: bigint;
49
+ extraData: `0x${string}`;
50
+ gasLimit: bigint;
51
+ gasUsed: bigint;
52
+ hash: `0x${string}` | null;
53
+ logsBloom: `0x${string}` | null;
54
+ miner: `0x${string}`;
55
+ mixHash: `0x${string}`;
56
+ nonce: `0x${string}` | null;
57
+ number: bigint | null;
58
+ parentHash: `0x${string}`;
59
+ receiptsRoot: `0x${string}`;
60
+ sealFields: `0x${string}`[];
61
+ sha3Uncles: `0x${string}`;
62
+ size: bigint;
63
+ stateRoot: `0x${string}`;
64
+ timestamp: bigint;
65
+ totalDifficulty: bigint | null;
66
+ transactions: `0x${string}`[] | import("../index.js").ZkSyncTransaction[];
67
+ transactionsRoot: `0x${string}`;
68
+ uncles: `0x${string}`[];
69
+ withdrawals?: import("../../index.js").Withdrawal[] | undefined;
70
+ withdrawalsRoot?: `0x${string}` | undefined;
71
+ l1BatchNumber: bigint | null;
72
+ l1BatchTimestamp: bigint | null;
73
+ } & {};
74
+ type: "block";
75
+ };
76
+ readonly transaction: {
77
+ exclude: [] | undefined;
78
+ format: (args: import("../index.js").Assign<import("../../index.js").ExactPartial<import("../../index.js").RpcTransaction>, import("../index.js").ZkSyncRpcTransaction>) => ({
79
+ r: `0x${string}`;
80
+ s: `0x${string}`;
81
+ v: bigint;
82
+ to: `0x${string}` | null;
83
+ from: `0x${string}`;
84
+ gas: bigint;
85
+ nonce: number;
86
+ value: bigint;
87
+ blockHash: `0x${string}` | null;
88
+ blockNumber: bigint | null;
89
+ hash: `0x${string}`;
90
+ input: `0x${string}`;
91
+ transactionIndex: number | null;
92
+ typeHex: `0x${string}` | null;
93
+ gasPrice: bigint;
94
+ maxFeePerBlobGas?: undefined;
95
+ maxFeePerGas?: undefined;
96
+ maxPriorityFeePerGas?: undefined;
97
+ accessList?: undefined;
98
+ blobVersionedHashes?: undefined;
99
+ chainId?: number | undefined;
100
+ yParity?: undefined;
101
+ type: "legacy";
102
+ l1BatchNumber: bigint | null;
103
+ l1BatchTxIndex: bigint | null;
104
+ } | {
105
+ r: `0x${string}`;
106
+ s: `0x${string}`;
107
+ v: bigint;
108
+ to: `0x${string}` | null;
109
+ from: `0x${string}`;
110
+ gas: bigint;
111
+ nonce: number;
112
+ value: bigint;
113
+ blockHash: `0x${string}` | null;
114
+ blockNumber: bigint | null;
115
+ hash: `0x${string}`;
116
+ input: `0x${string}`;
117
+ transactionIndex: number | null;
118
+ typeHex: `0x${string}` | null;
119
+ gasPrice: undefined;
120
+ maxFeePerBlobGas?: undefined;
121
+ maxFeePerGas: bigint;
122
+ maxPriorityFeePerGas: bigint;
123
+ accessList?: undefined;
124
+ blobVersionedHashes?: undefined;
125
+ chainId?: number | undefined;
126
+ yParity: number;
127
+ type: "priority";
128
+ l1BatchNumber: bigint | null;
129
+ l1BatchTxIndex: bigint | null;
130
+ } | {
131
+ r: `0x${string}`;
132
+ s: `0x${string}`;
133
+ v: bigint;
134
+ to: `0x${string}` | null;
135
+ from: `0x${string}`;
136
+ gas: bigint;
137
+ nonce: number;
138
+ value: bigint;
139
+ blockHash: `0x${string}` | null;
140
+ blockNumber: bigint | null;
141
+ hash: `0x${string}`;
142
+ input: `0x${string}`;
143
+ transactionIndex: number | null;
144
+ typeHex: `0x${string}` | null;
145
+ gasPrice: undefined;
146
+ maxFeePerBlobGas?: undefined;
147
+ maxFeePerGas: bigint;
148
+ maxPriorityFeePerGas: bigint;
149
+ accessList?: undefined;
150
+ blobVersionedHashes?: undefined;
151
+ chainId?: number | undefined;
152
+ yParity: number;
153
+ type: "priority" | "eip712";
154
+ l1BatchNumber: bigint | null;
155
+ l1BatchTxIndex: bigint | null;
156
+ } | {
157
+ blockHash: `0x${string}` | null;
158
+ blockNumber: bigint | null;
159
+ from: `0x${string}`;
160
+ gas: bigint;
161
+ hash: `0x${string}`;
162
+ input: `0x${string}`;
163
+ nonce: number;
164
+ r: `0x${string}`;
165
+ s: `0x${string}`;
166
+ to: `0x${string}` | null;
167
+ transactionIndex: number | null;
168
+ typeHex: `0x${string}` | null;
169
+ v: bigint;
170
+ value: bigint;
171
+ yParity: number;
172
+ gasPrice: bigint;
173
+ maxFeePerBlobGas?: undefined;
174
+ maxFeePerGas?: undefined;
175
+ maxPriorityFeePerGas?: undefined;
176
+ accessList: import("../../index.js").AccessList;
177
+ blobVersionedHashes?: undefined;
178
+ chainId: number;
179
+ type: "eip2930";
180
+ l1BatchNumber: bigint | null;
181
+ l1BatchTxIndex: bigint | null;
182
+ } | {
183
+ blockHash: `0x${string}` | null;
184
+ blockNumber: bigint | null;
185
+ from: `0x${string}`;
186
+ gas: bigint;
187
+ hash: `0x${string}`;
188
+ input: `0x${string}`;
189
+ nonce: number;
190
+ r: `0x${string}`;
191
+ s: `0x${string}`;
192
+ to: `0x${string}` | null;
193
+ transactionIndex: number | null;
194
+ typeHex: `0x${string}` | null;
195
+ v: bigint;
196
+ value: bigint;
197
+ yParity: number;
198
+ gasPrice: undefined;
199
+ maxFeePerBlobGas?: undefined;
200
+ maxFeePerGas: bigint;
201
+ maxPriorityFeePerGas: bigint;
202
+ accessList: import("../../index.js").AccessList;
203
+ blobVersionedHashes?: undefined;
204
+ chainId: number;
205
+ type: "eip1559";
206
+ l1BatchNumber: bigint | null;
207
+ l1BatchTxIndex: bigint | null;
208
+ } | {
209
+ blockHash: `0x${string}` | null;
210
+ blockNumber: bigint | null;
211
+ from: `0x${string}`;
212
+ gas: bigint;
213
+ hash: `0x${string}`;
214
+ input: `0x${string}`;
215
+ nonce: number;
216
+ r: `0x${string}`;
217
+ s: `0x${string}`;
218
+ to: `0x${string}` | null;
219
+ transactionIndex: number | null;
220
+ typeHex: `0x${string}` | null;
221
+ v: bigint;
222
+ value: bigint;
223
+ yParity: number;
224
+ gasPrice: undefined;
225
+ maxFeePerBlobGas?: undefined;
226
+ maxFeePerGas: bigint;
227
+ maxPriorityFeePerGas: bigint;
228
+ accessList: import("../../index.js").AccessList;
229
+ blobVersionedHashes?: undefined;
230
+ chainId: number;
231
+ type: "priority";
232
+ l1BatchNumber: bigint | null;
233
+ l1BatchTxIndex: bigint | null;
234
+ } | {
235
+ blockHash: `0x${string}` | null;
236
+ blockNumber: bigint | null;
237
+ from: `0x${string}`;
238
+ gas: bigint;
239
+ hash: `0x${string}`;
240
+ input: `0x${string}`;
241
+ nonce: number;
242
+ r: `0x${string}`;
243
+ s: `0x${string}`;
244
+ to: `0x${string}` | null;
245
+ transactionIndex: number | null;
246
+ typeHex: `0x${string}` | null;
247
+ v: bigint;
248
+ value: bigint;
249
+ yParity: number;
250
+ gasPrice: undefined;
251
+ maxFeePerBlobGas?: undefined;
252
+ maxFeePerGas: bigint;
253
+ maxPriorityFeePerGas: bigint;
254
+ accessList: import("../../index.js").AccessList;
255
+ blobVersionedHashes?: undefined;
256
+ chainId: number;
257
+ type: "priority" | "eip712";
258
+ l1BatchNumber: bigint | null;
259
+ l1BatchTxIndex: bigint | null;
260
+ } | {
261
+ blockHash: `0x${string}` | null;
262
+ blockNumber: bigint | null;
263
+ from: `0x${string}`;
264
+ gas: bigint;
265
+ hash: `0x${string}`;
266
+ input: `0x${string}`;
267
+ nonce: number;
268
+ r: `0x${string}`;
269
+ s: `0x${string}`;
270
+ to: `0x${string}` | null;
271
+ transactionIndex: number | null;
272
+ typeHex: `0x${string}` | null;
273
+ v: bigint;
274
+ value: bigint;
275
+ yParity: number;
276
+ gasPrice: bigint;
277
+ maxFeePerBlobGas?: undefined;
278
+ maxFeePerGas: undefined;
279
+ maxPriorityFeePerGas: undefined;
280
+ accessList: import("../../index.js").AccessList;
281
+ blobVersionedHashes?: undefined;
282
+ chainId: number;
283
+ type: "eip2930";
284
+ l1BatchNumber: bigint | null;
285
+ l1BatchTxIndex: bigint | null;
286
+ } | {
287
+ blockHash: `0x${string}` | null;
288
+ blockNumber: bigint | null;
289
+ from: `0x${string}`;
290
+ gas: bigint;
291
+ hash: `0x${string}`;
292
+ input: `0x${string}`;
293
+ nonce: number;
294
+ r: `0x${string}`;
295
+ s: `0x${string}`;
296
+ to: `0x${string}` | null;
297
+ transactionIndex: number | null;
298
+ typeHex: `0x${string}` | null;
299
+ v: bigint;
300
+ value: bigint;
301
+ yParity: number;
302
+ gasPrice?: undefined;
303
+ maxFeePerBlobGas?: undefined;
304
+ maxFeePerGas: bigint;
305
+ maxPriorityFeePerGas: bigint;
306
+ accessList: import("../../index.js").AccessList;
307
+ blobVersionedHashes?: undefined;
308
+ chainId: number;
309
+ type: "eip1559";
310
+ l1BatchNumber: bigint | null;
311
+ l1BatchTxIndex: bigint | null;
312
+ } | {
313
+ blockHash: `0x${string}` | null;
314
+ blockNumber: bigint | null;
315
+ from: `0x${string}`;
316
+ gas: bigint;
317
+ hash: `0x${string}`;
318
+ input: `0x${string}`;
319
+ nonce: number;
320
+ r: `0x${string}`;
321
+ s: `0x${string}`;
322
+ to: `0x${string}` | null;
323
+ transactionIndex: number | null;
324
+ typeHex: `0x${string}` | null;
325
+ v: bigint;
326
+ value: bigint;
327
+ yParity: number;
328
+ gasPrice?: undefined;
329
+ maxFeePerBlobGas?: undefined;
330
+ maxFeePerGas: bigint;
331
+ maxPriorityFeePerGas: bigint;
332
+ accessList: import("../../index.js").AccessList;
333
+ blobVersionedHashes?: undefined;
334
+ chainId: number;
335
+ type: "priority";
336
+ l1BatchNumber: bigint | null;
337
+ l1BatchTxIndex: bigint | null;
338
+ } | {
339
+ blockHash: `0x${string}` | null;
340
+ blockNumber: bigint | null;
341
+ from: `0x${string}`;
342
+ gas: bigint;
343
+ hash: `0x${string}`;
344
+ input: `0x${string}`;
345
+ nonce: number;
346
+ r: `0x${string}`;
347
+ s: `0x${string}`;
348
+ to: `0x${string}` | null;
349
+ transactionIndex: number | null;
350
+ typeHex: `0x${string}` | null;
351
+ v: bigint;
352
+ value: bigint;
353
+ yParity: number;
354
+ gasPrice?: undefined;
355
+ maxFeePerBlobGas?: undefined;
356
+ maxFeePerGas: bigint;
357
+ maxPriorityFeePerGas: bigint;
358
+ accessList: import("../../index.js").AccessList;
359
+ blobVersionedHashes?: undefined;
360
+ chainId: number;
361
+ type: "priority" | "eip712";
362
+ l1BatchNumber: bigint | null;
363
+ l1BatchTxIndex: bigint | null;
364
+ } | {
365
+ blockHash: `0x${string}` | null;
366
+ blockNumber: bigint | null;
367
+ from: `0x${string}`;
368
+ gas: bigint;
369
+ hash: `0x${string}`;
370
+ input: `0x${string}`;
371
+ nonce: number;
372
+ r: `0x${string}`;
373
+ s: `0x${string}`;
374
+ to: `0x${string}` | null;
375
+ transactionIndex: number | null;
376
+ typeHex: `0x${string}` | null;
377
+ v: bigint;
378
+ value: bigint;
379
+ yParity: number;
380
+ gasPrice?: undefined;
381
+ maxFeePerBlobGas: bigint;
382
+ maxFeePerGas: bigint;
383
+ maxPriorityFeePerGas: bigint;
384
+ accessList: import("../../index.js").AccessList;
385
+ blobVersionedHashes: `0x${string}`[];
386
+ chainId: number;
387
+ type: "eip4844";
388
+ l1BatchNumber: bigint | null;
389
+ l1BatchTxIndex: bigint | null;
390
+ } | {
391
+ blockHash: `0x${string}` | null;
392
+ blockNumber: bigint | null;
393
+ from: `0x${string}`;
394
+ gas: bigint;
395
+ hash: `0x${string}`;
396
+ input: `0x${string}`;
397
+ nonce: number;
398
+ r: `0x${string}`;
399
+ s: `0x${string}`;
400
+ to: `0x${string}` | null;
401
+ transactionIndex: number | null;
402
+ typeHex: `0x${string}` | null;
403
+ v: bigint;
404
+ value: bigint;
405
+ yParity: number;
406
+ gasPrice?: undefined;
407
+ maxFeePerBlobGas: undefined;
408
+ maxFeePerGas: bigint;
409
+ maxPriorityFeePerGas: bigint;
410
+ accessList: import("../../index.js").AccessList;
411
+ blobVersionedHashes: `0x${string}`[];
412
+ chainId: number;
413
+ type: "priority";
414
+ l1BatchNumber: bigint | null;
415
+ l1BatchTxIndex: bigint | null;
416
+ } | {
417
+ blockHash: `0x${string}` | null;
418
+ blockNumber: bigint | null;
419
+ from: `0x${string}`;
420
+ gas: bigint;
421
+ hash: `0x${string}`;
422
+ input: `0x${string}`;
423
+ nonce: number;
424
+ r: `0x${string}`;
425
+ s: `0x${string}`;
426
+ to: `0x${string}` | null;
427
+ transactionIndex: number | null;
428
+ typeHex: `0x${string}` | null;
429
+ v: bigint;
430
+ value: bigint;
431
+ yParity: number;
432
+ gasPrice?: undefined;
433
+ maxFeePerBlobGas: undefined;
434
+ maxFeePerGas: bigint;
435
+ maxPriorityFeePerGas: bigint;
436
+ accessList: import("../../index.js").AccessList;
437
+ blobVersionedHashes: `0x${string}`[];
438
+ chainId: number;
439
+ type: "priority" | "eip712";
440
+ l1BatchNumber: bigint | null;
441
+ l1BatchTxIndex: bigint | null;
442
+ }) & {};
443
+ type: "transaction";
444
+ };
445
+ readonly transactionReceipt: {
446
+ exclude: [] | undefined;
447
+ format: (args: import("../index.js").Assign<import("../../index.js").ExactPartial<import("../../index.js").RpcTransactionReceipt>, import("../index.js").ZkSyncRpcTransactionReceiptOverrides>) => {
448
+ blobGasPrice?: bigint | undefined;
449
+ blobGasUsed?: bigint | undefined;
450
+ blockHash: `0x${string}`;
451
+ blockNumber: bigint;
452
+ contractAddress: `0x${string}` | null | undefined;
453
+ cumulativeGasUsed: bigint;
454
+ effectiveGasPrice: bigint;
455
+ from: `0x${string}`;
456
+ gasUsed: bigint;
457
+ logs: import("../index.js").ZkSyncLog[];
458
+ logsBloom: `0x${string}`;
459
+ root?: `0x${string}` | undefined;
460
+ status: "success" | "reverted";
461
+ to: `0x${string}` | null;
462
+ transactionHash: `0x${string}`;
463
+ transactionIndex: number;
464
+ type: import("../index.js").ZkSyncTransactionType;
465
+ l1BatchNumber: bigint | null;
466
+ l1BatchTxIndex: bigint | null;
467
+ l2ToL1Logs: import("../index.js").ZkSyncL2ToL1Log[];
468
+ } & {};
469
+ type: "transactionReceipt";
470
+ };
471
+ readonly transactionRequest: {
472
+ exclude: ("gasPerPubdata" | "paymaster" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
473
+ format: (args: ({
474
+ data?: `0x${string}` | undefined;
475
+ from?: `0x${string}`;
476
+ gas?: bigint | undefined;
477
+ nonce?: number | undefined;
478
+ to?: `0x${string}` | null | undefined;
479
+ value?: bigint | undefined;
480
+ gasPrice?: bigint | undefined;
481
+ maxFeePerBlobGas?: bigint | undefined;
482
+ maxFeePerGas?: bigint | undefined;
483
+ maxPriorityFeePerGas?: bigint | undefined;
484
+ accessList?: undefined;
485
+ blobs?: undefined;
486
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
487
+ } & {
488
+ data?: `0x${string}` | undefined;
489
+ from: `0x${string}`;
490
+ gas?: bigint | undefined;
491
+ nonce?: number | undefined;
492
+ to?: `0x${string}` | null | undefined;
493
+ value?: bigint | undefined;
494
+ gasPrice?: bigint | undefined;
495
+ maxFeePerBlobGas?: undefined;
496
+ maxFeePerGas?: undefined;
497
+ maxPriorityFeePerGas?: undefined;
498
+ accessList?: undefined;
499
+ blobs?: undefined;
500
+ type?: "legacy" | undefined;
501
+ } & {
502
+ gasPerPubdata?: undefined;
503
+ customSignature?: undefined;
504
+ paymaster?: undefined;
505
+ paymasterInput?: undefined;
506
+ factoryDeps?: undefined;
507
+ }) | ({
508
+ data?: `0x${string}` | undefined;
509
+ from?: `0x${string}`;
510
+ gas?: bigint | undefined;
511
+ nonce?: number | undefined;
512
+ to?: `0x${string}` | null | undefined;
513
+ value?: bigint | undefined;
514
+ gasPrice?: bigint | undefined;
515
+ maxFeePerBlobGas?: bigint | undefined;
516
+ maxFeePerGas?: bigint | undefined;
517
+ maxPriorityFeePerGas?: bigint | undefined;
518
+ accessList?: undefined;
519
+ blobs?: undefined;
520
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
521
+ } & {
522
+ data?: `0x${string}` | undefined;
523
+ from: `0x${string}`;
524
+ gas?: bigint | undefined;
525
+ nonce?: number | undefined;
526
+ to?: `0x${string}` | null | undefined;
527
+ value?: bigint | undefined;
528
+ gasPrice?: bigint | undefined;
529
+ maxFeePerBlobGas?: undefined;
530
+ maxFeePerGas?: undefined;
531
+ maxPriorityFeePerGas?: undefined;
532
+ accessList?: import("../../index.js").AccessList | undefined;
533
+ blobs?: undefined;
534
+ type?: "eip2930" | undefined;
535
+ } & {
536
+ gasPerPubdata?: undefined;
537
+ customSignature?: undefined;
538
+ paymaster?: undefined;
539
+ paymasterInput?: undefined;
540
+ factoryDeps?: undefined;
541
+ }) | ({
542
+ data?: `0x${string}` | undefined;
543
+ from?: `0x${string}`;
544
+ gas?: bigint | undefined;
545
+ nonce?: number | undefined;
546
+ to?: `0x${string}` | null | undefined;
547
+ value?: bigint | undefined;
548
+ gasPrice?: bigint | undefined;
549
+ maxFeePerBlobGas?: bigint | undefined;
550
+ maxFeePerGas?: bigint | undefined;
551
+ maxPriorityFeePerGas?: bigint | undefined;
552
+ accessList?: undefined;
553
+ blobs?: undefined;
554
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
555
+ } & {
556
+ data?: `0x${string}` | undefined;
557
+ from: `0x${string}`;
558
+ gas?: bigint | undefined;
559
+ nonce?: number | undefined;
560
+ to?: `0x${string}` | null | undefined;
561
+ value?: bigint | undefined;
562
+ gasPrice?: undefined;
563
+ maxFeePerBlobGas?: undefined;
564
+ maxFeePerGas?: bigint | undefined;
565
+ maxPriorityFeePerGas?: bigint | undefined;
566
+ accessList?: import("../../index.js").AccessList | undefined;
567
+ blobs?: undefined;
568
+ type?: "eip1559" | undefined;
569
+ } & {
570
+ gasPerPubdata?: undefined;
571
+ customSignature?: undefined;
572
+ paymaster?: undefined;
573
+ paymasterInput?: undefined;
574
+ factoryDeps?: undefined;
575
+ }) | ({
576
+ data?: `0x${string}` | undefined;
577
+ from?: `0x${string}`;
578
+ gas?: bigint | undefined;
579
+ nonce?: number | undefined;
580
+ to?: `0x${string}` | null | undefined;
581
+ value?: bigint | undefined;
582
+ gasPrice?: bigint | undefined;
583
+ maxFeePerBlobGas?: bigint | undefined;
584
+ maxFeePerGas?: bigint | undefined;
585
+ maxPriorityFeePerGas?: bigint | undefined;
586
+ accessList?: undefined;
587
+ blobs?: undefined;
588
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
589
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
590
+ gasPerPubdata?: bigint | undefined;
591
+ customSignature?: `0x${string}` | undefined;
592
+ factoryDeps?: `0x${string}`[] | undefined;
593
+ type?: "priority" | "eip712" | undefined;
594
+ } & {
595
+ paymaster: `0x${string}`;
596
+ paymasterInput: `0x${string}`;
597
+ }) | ({
598
+ data?: `0x${string}` | undefined;
599
+ from?: `0x${string}`;
600
+ gas?: bigint | undefined;
601
+ nonce?: number | undefined;
602
+ to?: `0x${string}` | null | undefined;
603
+ value?: bigint | undefined;
604
+ gasPrice?: bigint | undefined;
605
+ maxFeePerBlobGas?: bigint | undefined;
606
+ maxFeePerGas?: bigint | undefined;
607
+ maxPriorityFeePerGas?: bigint | undefined;
608
+ accessList?: undefined;
609
+ blobs?: undefined;
610
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
611
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
612
+ gasPerPubdata?: bigint | undefined;
613
+ customSignature?: `0x${string}` | undefined;
614
+ factoryDeps?: `0x${string}`[] | undefined;
615
+ type?: "priority" | "eip712" | undefined;
616
+ } & {
617
+ paymaster?: undefined;
618
+ paymasterInput?: undefined;
619
+ }) | ({
620
+ data?: `0x${string}` | undefined;
621
+ from?: `0x${string}`;
622
+ gas?: bigint | undefined;
623
+ nonce?: number | undefined;
624
+ to?: `0x${string}` | null | undefined;
625
+ value?: bigint | undefined;
626
+ gasPrice?: bigint | undefined;
627
+ maxFeePerBlobGas?: bigint | undefined;
628
+ maxFeePerGas?: bigint | undefined;
629
+ maxPriorityFeePerGas?: bigint | undefined;
630
+ accessList?: import("../../index.js").AccessList | undefined;
631
+ blobs?: undefined;
632
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
633
+ } & {
634
+ data?: `0x${string}` | undefined;
635
+ from: `0x${string}`;
636
+ gas?: bigint | undefined;
637
+ nonce?: number | undefined;
638
+ to?: `0x${string}` | null | undefined;
639
+ value?: bigint | undefined;
640
+ gasPrice?: bigint | undefined;
641
+ maxFeePerBlobGas?: undefined;
642
+ maxFeePerGas?: undefined;
643
+ maxPriorityFeePerGas?: undefined;
644
+ accessList?: undefined;
645
+ blobs?: undefined;
646
+ type?: "legacy" | undefined;
647
+ } & {
648
+ gasPerPubdata?: undefined;
649
+ customSignature?: undefined;
650
+ paymaster?: undefined;
651
+ paymasterInput?: undefined;
652
+ factoryDeps?: undefined;
653
+ }) | ({
654
+ data?: `0x${string}` | undefined;
655
+ from?: `0x${string}`;
656
+ gas?: bigint | undefined;
657
+ nonce?: number | undefined;
658
+ to?: `0x${string}` | null | undefined;
659
+ value?: bigint | undefined;
660
+ gasPrice?: bigint | undefined;
661
+ maxFeePerBlobGas?: bigint | undefined;
662
+ maxFeePerGas?: bigint | undefined;
663
+ maxPriorityFeePerGas?: bigint | undefined;
664
+ accessList?: import("../../index.js").AccessList | undefined;
665
+ blobs?: undefined;
666
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
667
+ } & {
668
+ data?: `0x${string}` | undefined;
669
+ from: `0x${string}`;
670
+ gas?: bigint | undefined;
671
+ nonce?: number | undefined;
672
+ to?: `0x${string}` | null | undefined;
673
+ value?: bigint | undefined;
674
+ gasPrice?: bigint | undefined;
675
+ maxFeePerBlobGas?: undefined;
676
+ maxFeePerGas?: undefined;
677
+ maxPriorityFeePerGas?: undefined;
678
+ accessList?: import("../../index.js").AccessList | undefined;
679
+ blobs?: undefined;
680
+ type?: "eip2930" | undefined;
681
+ } & {
682
+ gasPerPubdata?: undefined;
683
+ customSignature?: undefined;
684
+ paymaster?: undefined;
685
+ paymasterInput?: undefined;
686
+ factoryDeps?: undefined;
687
+ }) | ({
688
+ data?: `0x${string}` | undefined;
689
+ from?: `0x${string}`;
690
+ gas?: bigint | undefined;
691
+ nonce?: number | undefined;
692
+ to?: `0x${string}` | null | undefined;
693
+ value?: bigint | undefined;
694
+ gasPrice?: bigint | undefined;
695
+ maxFeePerBlobGas?: bigint | undefined;
696
+ maxFeePerGas?: bigint | undefined;
697
+ maxPriorityFeePerGas?: bigint | undefined;
698
+ accessList?: import("../../index.js").AccessList | undefined;
699
+ blobs?: undefined;
700
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
701
+ } & {
702
+ data?: `0x${string}` | undefined;
703
+ from: `0x${string}`;
704
+ gas?: bigint | undefined;
705
+ nonce?: number | undefined;
706
+ to?: `0x${string}` | null | undefined;
707
+ value?: bigint | undefined;
708
+ gasPrice?: undefined;
709
+ maxFeePerBlobGas?: undefined;
710
+ maxFeePerGas?: bigint | undefined;
711
+ maxPriorityFeePerGas?: bigint | undefined;
712
+ accessList?: import("../../index.js").AccessList | undefined;
713
+ blobs?: undefined;
714
+ type?: "eip1559" | undefined;
715
+ } & {
716
+ gasPerPubdata?: undefined;
717
+ customSignature?: undefined;
718
+ paymaster?: undefined;
719
+ paymasterInput?: undefined;
720
+ factoryDeps?: undefined;
721
+ }) | ({
722
+ data?: `0x${string}` | undefined;
723
+ from?: `0x${string}`;
724
+ gas?: bigint | undefined;
725
+ nonce?: number | undefined;
726
+ to?: `0x${string}` | null | undefined;
727
+ value?: bigint | undefined;
728
+ gasPrice?: bigint | undefined;
729
+ maxFeePerBlobGas?: bigint | undefined;
730
+ maxFeePerGas?: bigint | undefined;
731
+ maxPriorityFeePerGas?: bigint | undefined;
732
+ accessList?: import("../../index.js").AccessList | undefined;
733
+ blobs?: undefined;
734
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
735
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
736
+ gasPerPubdata?: bigint | undefined;
737
+ customSignature?: `0x${string}` | undefined;
738
+ factoryDeps?: `0x${string}`[] | undefined;
739
+ type?: "priority" | "eip712" | undefined;
740
+ } & {
741
+ paymaster: `0x${string}`;
742
+ paymasterInput: `0x${string}`;
743
+ }) | ({
744
+ data?: `0x${string}` | undefined;
745
+ from?: `0x${string}`;
746
+ gas?: bigint | undefined;
747
+ nonce?: number | undefined;
748
+ to?: `0x${string}` | null | undefined;
749
+ value?: bigint | undefined;
750
+ gasPrice?: bigint | undefined;
751
+ maxFeePerBlobGas?: bigint | undefined;
752
+ maxFeePerGas?: bigint | undefined;
753
+ maxPriorityFeePerGas?: bigint | undefined;
754
+ accessList?: import("../../index.js").AccessList | undefined;
755
+ blobs?: undefined;
756
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
757
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
758
+ gasPerPubdata?: bigint | undefined;
759
+ customSignature?: `0x${string}` | undefined;
760
+ factoryDeps?: `0x${string}`[] | undefined;
761
+ type?: "priority" | "eip712" | undefined;
762
+ } & {
763
+ paymaster?: undefined;
764
+ paymasterInput?: undefined;
765
+ }) | ({
766
+ data?: `0x${string}` | undefined;
767
+ from?: `0x${string}`;
768
+ gas?: bigint | undefined;
769
+ nonce?: number | undefined;
770
+ to?: `0x${string}` | null | undefined;
771
+ value?: bigint | undefined;
772
+ gasPrice?: bigint | undefined;
773
+ maxFeePerBlobGas?: bigint | undefined;
774
+ maxFeePerGas?: bigint | undefined;
775
+ maxPriorityFeePerGas?: bigint | undefined;
776
+ accessList?: import("../../index.js").AccessList | undefined;
777
+ blobs?: undefined;
778
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
779
+ } & {
780
+ data?: `0x${string}` | undefined;
781
+ from: `0x${string}`;
782
+ gas?: bigint | undefined;
783
+ nonce?: number | undefined;
784
+ to?: `0x${string}` | null | undefined;
785
+ value?: bigint | undefined;
786
+ gasPrice?: bigint | undefined;
787
+ maxFeePerBlobGas?: undefined;
788
+ maxFeePerGas?: undefined;
789
+ maxPriorityFeePerGas?: undefined;
790
+ accessList?: undefined;
791
+ blobs?: undefined;
792
+ type?: "legacy" | undefined;
793
+ } & {
794
+ gasPerPubdata?: undefined;
795
+ customSignature?: undefined;
796
+ paymaster?: undefined;
797
+ paymasterInput?: undefined;
798
+ factoryDeps?: undefined;
799
+ }) | ({
800
+ data?: `0x${string}` | undefined;
801
+ from?: `0x${string}`;
802
+ gas?: bigint | undefined;
803
+ nonce?: number | undefined;
804
+ to?: `0x${string}` | null | undefined;
805
+ value?: bigint | undefined;
806
+ gasPrice?: bigint | undefined;
807
+ maxFeePerBlobGas?: bigint | undefined;
808
+ maxFeePerGas?: bigint | undefined;
809
+ maxPriorityFeePerGas?: bigint | undefined;
810
+ accessList?: import("../../index.js").AccessList | undefined;
811
+ blobs?: undefined;
812
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
813
+ } & {
814
+ data?: `0x${string}` | undefined;
815
+ from: `0x${string}`;
816
+ gas?: bigint | undefined;
817
+ nonce?: number | undefined;
818
+ to?: `0x${string}` | null | undefined;
819
+ value?: bigint | undefined;
820
+ gasPrice?: bigint | undefined;
821
+ maxFeePerBlobGas?: undefined;
822
+ maxFeePerGas?: undefined;
823
+ maxPriorityFeePerGas?: undefined;
824
+ accessList?: import("../../index.js").AccessList | undefined;
825
+ blobs?: undefined;
826
+ type?: "eip2930" | undefined;
827
+ } & {
828
+ gasPerPubdata?: undefined;
829
+ customSignature?: undefined;
830
+ paymaster?: undefined;
831
+ paymasterInput?: undefined;
832
+ factoryDeps?: undefined;
833
+ }) | ({
834
+ data?: `0x${string}` | undefined;
835
+ from?: `0x${string}`;
836
+ gas?: bigint | undefined;
837
+ nonce?: number | undefined;
838
+ to?: `0x${string}` | null | undefined;
839
+ value?: bigint | undefined;
840
+ gasPrice?: bigint | undefined;
841
+ maxFeePerBlobGas?: bigint | undefined;
842
+ maxFeePerGas?: bigint | undefined;
843
+ maxPriorityFeePerGas?: bigint | undefined;
844
+ accessList?: import("../../index.js").AccessList | undefined;
845
+ blobs?: undefined;
846
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
847
+ } & {
848
+ data?: `0x${string}` | undefined;
849
+ from: `0x${string}`;
850
+ gas?: bigint | undefined;
851
+ nonce?: number | undefined;
852
+ to?: `0x${string}` | null | undefined;
853
+ value?: bigint | undefined;
854
+ gasPrice?: undefined;
855
+ maxFeePerBlobGas?: undefined;
856
+ maxFeePerGas?: bigint | undefined;
857
+ maxPriorityFeePerGas?: bigint | undefined;
858
+ accessList?: import("../../index.js").AccessList | undefined;
859
+ blobs?: undefined;
860
+ type?: "eip1559" | undefined;
861
+ } & {
862
+ gasPerPubdata?: undefined;
863
+ customSignature?: undefined;
864
+ paymaster?: undefined;
865
+ paymasterInput?: undefined;
866
+ factoryDeps?: undefined;
867
+ }) | ({
868
+ data?: `0x${string}` | undefined;
869
+ from?: `0x${string}`;
870
+ gas?: bigint | undefined;
871
+ nonce?: number | undefined;
872
+ to?: `0x${string}` | null | undefined;
873
+ value?: bigint | undefined;
874
+ gasPrice?: bigint | undefined;
875
+ maxFeePerBlobGas?: bigint | undefined;
876
+ maxFeePerGas?: bigint | undefined;
877
+ maxPriorityFeePerGas?: bigint | undefined;
878
+ accessList?: import("../../index.js").AccessList | undefined;
879
+ blobs?: undefined;
880
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
881
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
882
+ gasPerPubdata?: bigint | undefined;
883
+ customSignature?: `0x${string}` | undefined;
884
+ factoryDeps?: `0x${string}`[] | undefined;
885
+ type?: "priority" | "eip712" | undefined;
886
+ } & {
887
+ paymaster: `0x${string}`;
888
+ paymasterInput: `0x${string}`;
889
+ }) | ({
890
+ data?: `0x${string}` | undefined;
891
+ from?: `0x${string}`;
892
+ gas?: bigint | undefined;
893
+ nonce?: number | undefined;
894
+ to?: `0x${string}` | null | undefined;
895
+ value?: bigint | undefined;
896
+ gasPrice?: bigint | undefined;
897
+ maxFeePerBlobGas?: bigint | undefined;
898
+ maxFeePerGas?: bigint | undefined;
899
+ maxPriorityFeePerGas?: bigint | undefined;
900
+ accessList?: import("../../index.js").AccessList | undefined;
901
+ blobs?: undefined;
902
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
903
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
904
+ gasPerPubdata?: bigint | undefined;
905
+ customSignature?: `0x${string}` | undefined;
906
+ factoryDeps?: `0x${string}`[] | undefined;
907
+ type?: "priority" | "eip712" | undefined;
908
+ } & {
909
+ paymaster?: undefined;
910
+ paymasterInput?: undefined;
911
+ }) | ({
912
+ data?: `0x${string}` | undefined;
913
+ from?: `0x${string}`;
914
+ gas?: bigint | undefined;
915
+ nonce?: number | undefined;
916
+ value?: bigint | undefined;
917
+ to?: `0x${string}` | null | undefined;
918
+ gasPrice?: bigint | undefined;
919
+ maxFeePerGas?: bigint | undefined;
920
+ maxPriorityFeePerGas?: bigint | undefined;
921
+ maxFeePerBlobGas?: bigint | undefined;
922
+ accessList?: import("../../index.js").AccessList | undefined;
923
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
924
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
925
+ } & {
926
+ data?: `0x${string}` | undefined;
927
+ from: `0x${string}`;
928
+ gas?: bigint | undefined;
929
+ nonce?: number | undefined;
930
+ to?: `0x${string}` | null | undefined;
931
+ value?: bigint | undefined;
932
+ gasPrice?: bigint | undefined;
933
+ maxFeePerBlobGas?: undefined;
934
+ maxFeePerGas?: undefined;
935
+ maxPriorityFeePerGas?: undefined;
936
+ accessList?: undefined;
937
+ blobs?: undefined;
938
+ type?: "legacy" | undefined;
939
+ } & {
940
+ gasPerPubdata?: undefined;
941
+ customSignature?: undefined;
942
+ paymaster?: undefined;
943
+ paymasterInput?: undefined;
944
+ factoryDeps?: undefined;
945
+ }) | ({
946
+ data?: `0x${string}` | undefined;
947
+ from?: `0x${string}`;
948
+ gas?: bigint | undefined;
949
+ nonce?: number | undefined;
950
+ value?: bigint | undefined;
951
+ to?: `0x${string}` | null | undefined;
952
+ gasPrice?: bigint | undefined;
953
+ maxFeePerGas?: bigint | undefined;
954
+ maxPriorityFeePerGas?: bigint | undefined;
955
+ maxFeePerBlobGas?: bigint | undefined;
956
+ accessList?: import("../../index.js").AccessList | undefined;
957
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
958
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
959
+ } & {
960
+ data?: `0x${string}` | undefined;
961
+ from: `0x${string}`;
962
+ gas?: bigint | undefined;
963
+ nonce?: number | undefined;
964
+ to?: `0x${string}` | null | undefined;
965
+ value?: bigint | undefined;
966
+ gasPrice?: bigint | undefined;
967
+ maxFeePerBlobGas?: undefined;
968
+ maxFeePerGas?: undefined;
969
+ maxPriorityFeePerGas?: undefined;
970
+ accessList?: import("../../index.js").AccessList | undefined;
971
+ blobs?: undefined;
972
+ type?: "eip2930" | undefined;
973
+ } & {
974
+ gasPerPubdata?: undefined;
975
+ customSignature?: undefined;
976
+ paymaster?: undefined;
977
+ paymasterInput?: undefined;
978
+ factoryDeps?: undefined;
979
+ }) | ({
980
+ data?: `0x${string}` | undefined;
981
+ from?: `0x${string}`;
982
+ gas?: bigint | undefined;
983
+ nonce?: number | undefined;
984
+ value?: bigint | undefined;
985
+ to?: `0x${string}` | null | undefined;
986
+ gasPrice?: bigint | undefined;
987
+ maxFeePerGas?: bigint | undefined;
988
+ maxPriorityFeePerGas?: bigint | undefined;
989
+ maxFeePerBlobGas?: bigint | undefined;
990
+ accessList?: import("../../index.js").AccessList | undefined;
991
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
992
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
993
+ } & {
994
+ data?: `0x${string}` | undefined;
995
+ from: `0x${string}`;
996
+ gas?: bigint | undefined;
997
+ nonce?: number | undefined;
998
+ to?: `0x${string}` | null | undefined;
999
+ value?: bigint | undefined;
1000
+ gasPrice?: undefined;
1001
+ maxFeePerBlobGas?: undefined;
1002
+ maxFeePerGas?: bigint | undefined;
1003
+ maxPriorityFeePerGas?: bigint | undefined;
1004
+ accessList?: import("../../index.js").AccessList | undefined;
1005
+ blobs?: undefined;
1006
+ type?: "eip1559" | undefined;
1007
+ } & {
1008
+ gasPerPubdata?: undefined;
1009
+ customSignature?: undefined;
1010
+ paymaster?: undefined;
1011
+ paymasterInput?: undefined;
1012
+ factoryDeps?: undefined;
1013
+ }) | ({
1014
+ data?: `0x${string}` | undefined;
1015
+ from?: `0x${string}`;
1016
+ gas?: bigint | undefined;
1017
+ nonce?: number | undefined;
1018
+ value?: bigint | undefined;
1019
+ to?: `0x${string}` | null | undefined;
1020
+ gasPrice?: bigint | undefined;
1021
+ maxFeePerGas?: bigint | undefined;
1022
+ maxPriorityFeePerGas?: bigint | undefined;
1023
+ maxFeePerBlobGas?: bigint | undefined;
1024
+ accessList?: import("../../index.js").AccessList | undefined;
1025
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1026
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1027
+ } & {
1028
+ data?: `0x${string}` | undefined;
1029
+ from: `0x${string}`;
1030
+ gas?: bigint | undefined;
1031
+ nonce?: number | undefined;
1032
+ value?: bigint | undefined;
1033
+ to: `0x${string}` | null;
1034
+ gasPrice?: undefined;
1035
+ maxFeePerGas?: bigint | undefined;
1036
+ maxPriorityFeePerGas?: bigint | undefined;
1037
+ maxFeePerBlobGas: bigint;
1038
+ accessList?: import("../../index.js").AccessList | undefined;
1039
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1040
+ type?: "eip4844" | undefined;
1041
+ } & {
1042
+ gasPerPubdata?: undefined;
1043
+ customSignature?: undefined;
1044
+ paymaster?: undefined;
1045
+ paymasterInput?: undefined;
1046
+ factoryDeps?: undefined;
1047
+ }) | ({
1048
+ data?: `0x${string}` | undefined;
1049
+ from?: `0x${string}`;
1050
+ gas?: bigint | undefined;
1051
+ nonce?: number | undefined;
1052
+ value?: bigint | undefined;
1053
+ to?: `0x${string}` | null | undefined;
1054
+ gasPrice?: bigint | undefined;
1055
+ maxFeePerGas?: bigint | undefined;
1056
+ maxPriorityFeePerGas?: bigint | undefined;
1057
+ maxFeePerBlobGas?: bigint | undefined;
1058
+ accessList?: import("../../index.js").AccessList | undefined;
1059
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1060
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1061
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
1062
+ gasPerPubdata?: bigint | undefined;
1063
+ customSignature?: `0x${string}` | undefined;
1064
+ factoryDeps?: `0x${string}`[] | undefined;
1065
+ type?: "priority" | "eip712" | undefined;
1066
+ } & {
1067
+ paymaster: `0x${string}`;
1068
+ paymasterInput: `0x${string}`;
1069
+ }) | ({
1070
+ data?: `0x${string}` | undefined;
1071
+ from?: `0x${string}`;
1072
+ gas?: bigint | undefined;
1073
+ nonce?: number | undefined;
1074
+ value?: bigint | undefined;
1075
+ to?: `0x${string}` | null | undefined;
1076
+ gasPrice?: bigint | undefined;
1077
+ maxFeePerGas?: bigint | undefined;
1078
+ maxPriorityFeePerGas?: bigint | undefined;
1079
+ maxFeePerBlobGas?: bigint | undefined;
1080
+ accessList?: import("../../index.js").AccessList | undefined;
1081
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1082
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1083
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
1084
+ gasPerPubdata?: bigint | undefined;
1085
+ customSignature?: `0x${string}` | undefined;
1086
+ factoryDeps?: `0x${string}`[] | undefined;
1087
+ type?: "priority" | "eip712" | undefined;
1088
+ } & {
1089
+ paymaster?: undefined;
1090
+ paymasterInput?: undefined;
1091
+ })) => ({
1092
+ data?: `0x${string}` | undefined;
1093
+ from: `0x${string}`;
1094
+ gas?: `0x${string}` | undefined;
1095
+ nonce?: `0x${string}` | undefined;
1096
+ to?: `0x${string}` | null | undefined;
1097
+ value?: `0x${string}` | undefined;
1098
+ gasPrice?: `0x${string}` | undefined;
1099
+ maxFeePerBlobGas?: undefined;
1100
+ maxFeePerGas?: undefined;
1101
+ maxPriorityFeePerGas?: undefined;
1102
+ accessList?: undefined;
1103
+ blobs?: undefined;
1104
+ type?: "0x0" | undefined;
1105
+ eip712Meta?: undefined;
1106
+ } | {
1107
+ data?: `0x${string}` | undefined;
1108
+ from: `0x${string}`;
1109
+ gas?: `0x${string}` | undefined;
1110
+ nonce?: `0x${string}` | undefined;
1111
+ to?: `0x${string}` | null | undefined;
1112
+ value?: `0x${string}` | undefined;
1113
+ gasPrice?: `0x${string}` | undefined;
1114
+ maxFeePerBlobGas?: undefined;
1115
+ maxFeePerGas?: undefined;
1116
+ maxPriorityFeePerGas?: undefined;
1117
+ accessList?: undefined;
1118
+ blobs?: undefined;
1119
+ type?: "0x1" | undefined;
1120
+ eip712Meta?: undefined;
1121
+ } | {
1122
+ data?: `0x${string}` | undefined;
1123
+ from: `0x${string}`;
1124
+ gas?: `0x${string}` | undefined;
1125
+ nonce?: `0x${string}` | undefined;
1126
+ to?: `0x${string}` | null | undefined;
1127
+ value?: `0x${string}` | undefined;
1128
+ gasPrice?: undefined;
1129
+ maxFeePerBlobGas?: undefined;
1130
+ maxFeePerGas?: `0x${string}` | undefined;
1131
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1132
+ accessList?: undefined;
1133
+ blobs?: undefined;
1134
+ type?: "0x2" | undefined;
1135
+ eip712Meta?: undefined;
1136
+ } | {
1137
+ data?: `0x${string}` | undefined;
1138
+ from: `0x${string}`;
1139
+ gas?: `0x${string}` | undefined;
1140
+ nonce?: `0x${string}` | undefined;
1141
+ to?: `0x${string}` | null | undefined;
1142
+ value?: `0x${string}` | undefined;
1143
+ gasPrice?: undefined;
1144
+ maxFeePerBlobGas?: undefined;
1145
+ maxFeePerGas?: `0x${string}` | undefined;
1146
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1147
+ accessList?: undefined;
1148
+ blobs?: undefined;
1149
+ type: "0xff" | "0x71";
1150
+ eip712Meta: import("../index.js").ZkSyncEip712Meta;
1151
+ } | {
1152
+ data?: `0x${string}` | undefined;
1153
+ from: `0x${string}`;
1154
+ gas?: `0x${string}` | undefined;
1155
+ nonce?: `0x${string}` | undefined;
1156
+ to?: `0x${string}` | null | undefined;
1157
+ value?: `0x${string}` | undefined;
1158
+ gasPrice?: `0x${string}` | undefined;
1159
+ maxFeePerBlobGas?: undefined;
1160
+ maxFeePerGas?: undefined;
1161
+ maxPriorityFeePerGas?: undefined;
1162
+ accessList?: undefined;
1163
+ blobs?: undefined;
1164
+ type?: "0x0" | undefined;
1165
+ eip712Meta?: undefined;
1166
+ } | {
1167
+ data?: `0x${string}` | undefined;
1168
+ from: `0x${string}`;
1169
+ gas?: `0x${string}` | undefined;
1170
+ nonce?: `0x${string}` | undefined;
1171
+ to?: `0x${string}` | null | undefined;
1172
+ value?: `0x${string}` | undefined;
1173
+ gasPrice?: `0x${string}` | undefined;
1174
+ maxFeePerBlobGas?: undefined;
1175
+ maxFeePerGas?: undefined;
1176
+ maxPriorityFeePerGas?: undefined;
1177
+ accessList?: import("../../index.js").AccessList | undefined;
1178
+ blobs?: undefined;
1179
+ type?: "0x1" | undefined;
1180
+ eip712Meta?: undefined;
1181
+ } | {
1182
+ data?: `0x${string}` | undefined;
1183
+ from: `0x${string}`;
1184
+ gas?: `0x${string}` | undefined;
1185
+ nonce?: `0x${string}` | undefined;
1186
+ to?: `0x${string}` | null | undefined;
1187
+ value?: `0x${string}` | undefined;
1188
+ gasPrice?: undefined;
1189
+ maxFeePerBlobGas?: undefined;
1190
+ maxFeePerGas?: `0x${string}` | undefined;
1191
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1192
+ accessList?: import("../../index.js").AccessList | undefined;
1193
+ blobs?: undefined;
1194
+ type?: "0x2" | undefined;
1195
+ eip712Meta?: undefined;
1196
+ } | {
1197
+ data?: `0x${string}` | undefined;
1198
+ from: `0x${string}`;
1199
+ gas?: `0x${string}` | undefined;
1200
+ nonce?: `0x${string}` | undefined;
1201
+ to?: `0x${string}` | null | undefined;
1202
+ value?: `0x${string}` | undefined;
1203
+ gasPrice?: undefined;
1204
+ maxFeePerBlobGas?: undefined;
1205
+ maxFeePerGas?: `0x${string}` | undefined;
1206
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1207
+ accessList?: import("../../index.js").AccessList | undefined;
1208
+ blobs?: undefined;
1209
+ type: "0xff" | "0x71";
1210
+ eip712Meta: import("../index.js").ZkSyncEip712Meta;
1211
+ } | {
1212
+ data?: `0x${string}` | undefined;
1213
+ from: `0x${string}`;
1214
+ gas?: `0x${string}` | undefined;
1215
+ nonce?: `0x${string}` | undefined;
1216
+ to?: `0x${string}` | null | undefined;
1217
+ value?: `0x${string}` | undefined;
1218
+ gasPrice?: `0x${string}` | undefined;
1219
+ maxFeePerBlobGas?: undefined;
1220
+ maxFeePerGas?: undefined;
1221
+ maxPriorityFeePerGas?: undefined;
1222
+ accessList?: undefined;
1223
+ blobs?: undefined;
1224
+ type?: "0x0" | undefined;
1225
+ eip712Meta?: undefined;
1226
+ } | {
1227
+ data?: `0x${string}` | undefined;
1228
+ from: `0x${string}`;
1229
+ gas?: `0x${string}` | undefined;
1230
+ nonce?: `0x${string}` | undefined;
1231
+ to?: `0x${string}` | null | undefined;
1232
+ value?: `0x${string}` | undefined;
1233
+ gasPrice?: `0x${string}` | undefined;
1234
+ maxFeePerBlobGas?: undefined;
1235
+ maxFeePerGas?: undefined;
1236
+ maxPriorityFeePerGas?: undefined;
1237
+ accessList?: import("../../index.js").AccessList | undefined;
1238
+ blobs?: undefined;
1239
+ type?: "0x1" | undefined;
1240
+ eip712Meta?: undefined;
1241
+ } | {
1242
+ data?: `0x${string}` | undefined;
1243
+ from: `0x${string}`;
1244
+ gas?: `0x${string}` | undefined;
1245
+ nonce?: `0x${string}` | undefined;
1246
+ to?: `0x${string}` | null | undefined;
1247
+ value?: `0x${string}` | undefined;
1248
+ gasPrice?: undefined;
1249
+ maxFeePerBlobGas?: undefined;
1250
+ maxFeePerGas?: `0x${string}` | undefined;
1251
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1252
+ accessList?: import("../../index.js").AccessList | undefined;
1253
+ blobs?: undefined;
1254
+ type?: "0x2" | undefined;
1255
+ eip712Meta?: undefined;
1256
+ } | {
1257
+ data?: `0x${string}` | undefined;
1258
+ from: `0x${string}`;
1259
+ gas?: `0x${string}` | undefined;
1260
+ nonce?: `0x${string}` | undefined;
1261
+ to?: `0x${string}` | null | undefined;
1262
+ value?: `0x${string}` | undefined;
1263
+ gasPrice?: undefined;
1264
+ maxFeePerBlobGas?: undefined;
1265
+ maxFeePerGas?: `0x${string}` | undefined;
1266
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1267
+ accessList?: import("../../index.js").AccessList | undefined;
1268
+ blobs?: undefined;
1269
+ type: "0xff" | "0x71";
1270
+ eip712Meta: import("../index.js").ZkSyncEip712Meta;
1271
+ } | {
1272
+ data?: `0x${string}` | undefined;
1273
+ from: `0x${string}`;
1274
+ gas?: `0x${string}` | undefined;
1275
+ nonce?: `0x${string}` | undefined;
1276
+ value?: `0x${string}` | undefined;
1277
+ to: `0x${string}` | null;
1278
+ gasPrice?: undefined;
1279
+ maxFeePerGas?: `0x${string}` | undefined;
1280
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1281
+ maxFeePerBlobGas: `0x${string}`;
1282
+ accessList?: import("../../index.js").AccessList | undefined;
1283
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1284
+ type?: "0x3" | undefined;
1285
+ eip712Meta?: undefined;
1286
+ } | {
1287
+ data?: `0x${string}` | undefined;
1288
+ from: `0x${string}`;
1289
+ gas?: `0x${string}` | undefined;
1290
+ nonce?: `0x${string}` | undefined;
1291
+ value?: `0x${string}` | undefined;
1292
+ to: `0x${string}` | null | undefined;
1293
+ gasPrice?: undefined;
1294
+ maxFeePerGas?: `0x${string}` | undefined;
1295
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1296
+ maxFeePerBlobGas: undefined;
1297
+ accessList?: import("../../index.js").AccessList | undefined;
1298
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1299
+ type: "0xff" | "0x71";
1300
+ eip712Meta: import("../index.js").ZkSyncEip712Meta;
1301
+ }) & {
1302
+ gasPerPubdata: never;
1303
+ paymaster: never;
1304
+ factoryDeps: never;
1305
+ paymasterInput: never;
1306
+ customSignature: never;
1307
+ };
1308
+ type: "transactionRequest";
1309
+ };
1310
+ };
1311
+ serializers: {
1312
+ readonly transaction: typeof import("../../zksync/serializers.js").serializeTransaction;
1313
+ };
39
1314
  fees?: import("../../index.js").ChainFees<undefined> | undefined;
40
1315
  readonly network: "zksync-cli-local-node";
41
1316
  };