ox 1.8.3 → 1.8.4
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.
- package/CHANGELOG.md +18 -0
- package/dist/core/Transaction.d.ts +5 -2
- package/dist/core/Transaction.d.ts.map +1 -1
- package/dist/core/Transaction.js +8 -0
- package/dist/core/Transaction.js.map +1 -1
- package/dist/core/TransactionRequest.d.ts +5 -2
- package/dist/core/TransactionRequest.d.ts.map +1 -1
- package/dist/core/TransactionRequest.js +8 -0
- package/dist/core/TransactionRequest.js.map +1 -1
- package/dist/core/TxEnvelope.d.ts +1 -1
- package/dist/core/TxEnvelope.d.ts.map +1 -1
- package/dist/core/TxEnvelope.js +2 -1
- package/dist/core/TxEnvelope.js.map +1 -1
- package/dist/core/TxEnvelopeEip8141.d.ts +18 -7
- package/dist/core/TxEnvelopeEip8141.d.ts.map +1 -1
- package/dist/core/TxEnvelopeEip8141.js +37 -8
- package/dist/core/TxEnvelopeEip8141.js.map +1 -1
- package/dist/core/internal/frameNonce.d.ts +10 -0
- package/dist/core/internal/frameNonce.d.ts.map +1 -0
- package/dist/core/internal/frameNonce.js +45 -0
- package/dist/core/internal/frameNonce.js.map +1 -0
- package/dist/zod/Block.d.ts +3 -0
- package/dist/zod/Block.d.ts.map +1 -1
- package/dist/zod/RpcSchema.d.ts +23 -0
- package/dist/zod/RpcSchema.d.ts.map +1 -1
- package/dist/zod/Transaction.d.ts +6 -0
- package/dist/zod/Transaction.d.ts.map +1 -1
- package/dist/zod/Transaction.js +18 -11
- package/dist/zod/Transaction.js.map +1 -1
- package/dist/zod/TransactionEnvelope.d.ts +10 -0
- package/dist/zod/TransactionEnvelope.d.ts.map +1 -1
- package/dist/zod/TransactionRequest.d.ts +2 -0
- package/dist/zod/TransactionRequest.d.ts.map +1 -1
- package/dist/zod/TransactionRequest.js +9 -3
- package/dist/zod/TransactionRequest.js.map +1 -1
- package/dist/zod/TxEnvelopeEip8141.d.ts +7 -0
- package/dist/zod/TxEnvelopeEip8141.d.ts.map +1 -1
- package/dist/zod/TxEnvelopeEip8141.js +2 -0
- package/dist/zod/TxEnvelopeEip8141.js.map +1 -1
- package/dist/zod/internal/Frame.d.ts +8 -0
- package/dist/zod/internal/Frame.d.ts.map +1 -1
- package/dist/zod/internal/Frame.js +29 -0
- package/dist/zod/internal/Frame.js.map +1 -1
- package/dist/zod/internal/rpcSchemas/Eth.d.ts +23 -0
- package/dist/zod/internal/rpcSchemas/Eth.d.ts.map +1 -1
- package/dist/zod/internal/rpcSchemas/Wallet.d.ts +2 -0
- package/dist/zod/internal/rpcSchemas/Wallet.d.ts.map +1 -1
- package/dist/zod/tempo/RpcSchemaTempo.d.ts +4 -0
- package/dist/zod/tempo/RpcSchemaTempo.d.ts.map +1 -1
- package/dist/zod/tempo/Transaction.d.ts +3 -0
- package/dist/zod/tempo/Transaction.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/Transaction.ts +17 -0
- package/src/core/TransactionRequest.ts +12 -0
- package/src/core/TxEnvelope.ts +7 -2
- package/src/core/TxEnvelopeEip8141.ts +61 -13
- package/src/core/_test/TransactionEnvelope.test-d.ts +27 -0
- package/src/core/_test/TransactionEnvelope.test.ts +26 -0
- package/src/core/_test/TransactionRequest.test.ts +28 -0
- package/src/core/_test/TxEnvelopeEip8141.test-d.ts +27 -0
- package/src/core/_test/TxEnvelopeEip8141.test.ts +456 -2
- package/src/core/internal/frameNonce.ts +61 -0
- package/src/version.ts +1 -1
- package/src/zod/Transaction.ts +42 -23
- package/src/zod/TransactionRequest.ts +32 -17
- package/src/zod/TxEnvelopeEip8141.ts +2 -0
- package/src/zod/_test/TxEnvelopeEip8141.nonce.test.ts +174 -0
- package/src/zod/_test/TxEnvelopeEip8141.test-d.ts +29 -0
- package/src/zod/internal/Frame.ts +45 -0
|
@@ -54,6 +54,7 @@ export declare const eth_call: import("./from.js").Item<"eth_call", z.ZodMiniUni
|
|
|
54
54
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
55
55
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
56
56
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
57
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
57
58
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
58
59
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
59
60
|
scheme: z.ZodMiniEnum<{
|
|
@@ -123,6 +124,7 @@ export declare const eth_call: import("./from.js").Item<"eth_call", z.ZodMiniUni
|
|
|
123
124
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
124
125
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
125
126
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
127
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
126
128
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
127
129
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
128
130
|
scheme: z.ZodMiniEnum<{
|
|
@@ -200,6 +202,7 @@ export declare const eth_call: import("./from.js").Item<"eth_call", z.ZodMiniUni
|
|
|
200
202
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
201
203
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
202
204
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
205
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
203
206
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
204
207
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
205
208
|
scheme: z.ZodMiniEnum<{
|
|
@@ -291,6 +294,7 @@ export declare const eth_call: import("./from.js").Item<"eth_call", z.ZodMiniUni
|
|
|
291
294
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
292
295
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
293
296
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
297
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
294
298
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
295
299
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
296
300
|
scheme: z.ZodMiniEnum<{
|
|
@@ -399,6 +403,7 @@ export declare const eth_estimateGas: import("./from.js").Item<"eth_estimateGas"
|
|
|
399
403
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
400
404
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
401
405
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
406
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
402
407
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
403
408
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
404
409
|
scheme: z.ZodMiniEnum<{
|
|
@@ -468,6 +473,7 @@ export declare const eth_estimateGas: import("./from.js").Item<"eth_estimateGas"
|
|
|
468
473
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
469
474
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
470
475
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
476
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
471
477
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
472
478
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
473
479
|
scheme: z.ZodMiniEnum<{
|
|
@@ -545,6 +551,7 @@ export declare const eth_estimateGas: import("./from.js").Item<"eth_estimateGas"
|
|
|
545
551
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
546
552
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
547
553
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
554
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
548
555
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
549
556
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
550
557
|
scheme: z.ZodMiniEnum<{
|
|
@@ -636,6 +643,7 @@ export declare const eth_estimateGas: import("./from.js").Item<"eth_estimateGas"
|
|
|
636
643
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
637
644
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
638
645
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
646
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
639
647
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
640
648
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
641
649
|
scheme: z.ZodMiniEnum<{
|
|
@@ -918,6 +926,7 @@ export declare const eth_getBlockByHash: import("./from.js").Item<"eth_getBlockB
|
|
|
918
926
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
919
927
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
920
928
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
929
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
921
930
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
922
931
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
923
932
|
scheme: z.ZodMiniEnum<{
|
|
@@ -1172,6 +1181,7 @@ export declare const eth_getBlockByHash: import("./from.js").Item<"eth_getBlockB
|
|
|
1172
1181
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1173
1182
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1174
1183
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1184
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
1175
1185
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
1176
1186
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1177
1187
|
scheme: z.ZodMiniEnum<{
|
|
@@ -1427,6 +1437,7 @@ export declare const eth_getBlockByNumber: import("./from.js").Item<"eth_getBloc
|
|
|
1427
1437
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1428
1438
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1429
1439
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1440
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
1430
1441
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
1431
1442
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1432
1443
|
scheme: z.ZodMiniEnum<{
|
|
@@ -1681,6 +1692,7 @@ export declare const eth_getBlockByNumber: import("./from.js").Item<"eth_getBloc
|
|
|
1681
1692
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1682
1693
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1683
1694
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1695
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
1684
1696
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
1685
1697
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1686
1698
|
scheme: z.ZodMiniEnum<{
|
|
@@ -1970,6 +1982,7 @@ export declare const eth_getTransactionByBlockHashAndIndex: import("./from.js").
|
|
|
1970
1982
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1971
1983
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1972
1984
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1985
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
1973
1986
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
1974
1987
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1975
1988
|
scheme: z.ZodMiniEnum<{
|
|
@@ -2158,6 +2171,7 @@ export declare const eth_getTransactionByBlockHashAndIndex: import("./from.js").
|
|
|
2158
2171
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2159
2172
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2160
2173
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2174
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
2161
2175
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
2162
2176
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
2163
2177
|
scheme: z.ZodMiniEnum<{
|
|
@@ -2347,6 +2361,7 @@ export declare const eth_getTransactionByBlockNumberAndIndex: import("./from.js"
|
|
|
2347
2361
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2348
2362
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2349
2363
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2364
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
2350
2365
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
2351
2366
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
2352
2367
|
scheme: z.ZodMiniEnum<{
|
|
@@ -2535,6 +2550,7 @@ export declare const eth_getTransactionByBlockNumberAndIndex: import("./from.js"
|
|
|
2535
2550
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2536
2551
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2537
2552
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2553
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
2538
2554
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
2539
2555
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
2540
2556
|
scheme: z.ZodMiniEnum<{
|
|
@@ -2724,6 +2740,7 @@ export declare const eth_getTransactionByHash: import("./from.js").Item<"eth_get
|
|
|
2724
2740
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2725
2741
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2726
2742
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2743
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
2727
2744
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
2728
2745
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
2729
2746
|
scheme: z.ZodMiniEnum<{
|
|
@@ -2912,6 +2929,7 @@ export declare const eth_getTransactionByHash: import("./from.js").Item<"eth_get
|
|
|
2912
2929
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2913
2930
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2914
2931
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2932
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
2915
2933
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
2916
2934
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
2917
2935
|
scheme: z.ZodMiniEnum<{
|
|
@@ -3175,6 +3193,7 @@ export declare const eth_sendTransaction: import("./from.js").Item<"eth_sendTran
|
|
|
3175
3193
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
3176
3194
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
3177
3195
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
3196
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
3178
3197
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
3179
3198
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
3180
3199
|
scheme: z.ZodMiniEnum<{
|
|
@@ -3262,6 +3281,7 @@ export declare const eth_simulateV1: import("./from.js").Item<"eth_simulateV1",
|
|
|
3262
3281
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
3263
3282
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
3264
3283
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
3284
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
3265
3285
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
3266
3286
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
3267
3287
|
scheme: z.ZodMiniEnum<{
|
|
@@ -3519,6 +3539,7 @@ export declare const eth_simulateV1: import("./from.js").Item<"eth_simulateV1",
|
|
|
3519
3539
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
3520
3540
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
3521
3541
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
3542
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
3522
3543
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
3523
3544
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
3524
3545
|
scheme: z.ZodMiniEnum<{
|
|
@@ -3773,6 +3794,7 @@ export declare const eth_simulateV1: import("./from.js").Item<"eth_simulateV1",
|
|
|
3773
3794
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
3774
3795
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
3775
3796
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
3797
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
3776
3798
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
3777
3799
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
3778
3800
|
scheme: z.ZodMiniEnum<{
|
|
@@ -3941,6 +3963,7 @@ export declare const eth_signTransaction: import("./from.js").Item<"eth_signTran
|
|
|
3941
3963
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
3942
3964
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
3943
3965
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>;
|
|
3966
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
3944
3967
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
3945
3968
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
3946
3969
|
scheme: z.ZodMiniEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Eth.d.ts","sourceRoot":"","sources":["../../../../src/zod/internal/rpcSchemas/Eth.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AA8C7B,eAAO,MAAM,YAAY,gJAIvB,CAAA;AAEF,eAAO,MAAM,eAAe,4KAI1B,CAAA;AAEF,eAAO,MAAM,eAAe,4KAI1B,CAAA;AAEF,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"Eth.d.ts","sourceRoot":"","sources":["../../../../src/zod/internal/rpcSchemas/Eth.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AA8C7B,eAAO,MAAM,YAAY,gJAIvB,CAAA;AAEF,eAAO,MAAM,eAAe,4KAI1B,CAAA;AAEF,eAAO,MAAM,eAAe,4KAI1B,CAAA;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAInB,CAAA;AAEF,eAAO,MAAM,WAAW,sKAItB,CAAA;AAEF,eAAO,MAAM,YAAY,gIAIvB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA8DzB,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAI9B,CAAA;AAEF,eAAO,MAAM,oBAAoB,8LAI/B,CAAA;AAEF,eAAO,MAAM,mBAAmB,sJAI9B,CAAA"}
|
|
@@ -109,6 +109,7 @@ export declare const eth_sendTransaction: import("./from.js").Item<"eth_sendTran
|
|
|
109
109
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
110
110
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
111
111
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
112
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
112
113
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
113
114
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
114
115
|
scheme: z.ZodMiniEnum<{
|
|
@@ -161,6 +162,7 @@ export declare const eth_signTransaction: import("./from.js").Item<"eth_signTran
|
|
|
161
162
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
162
163
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
163
164
|
nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
165
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
164
166
|
signatures: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
165
167
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
166
168
|
scheme: z.ZodMiniEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wallet.d.ts","sourceRoot":"","sources":["../../../../src/zod/internal/rpcSchemas/Wallet.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAoI7B,eAAO,MAAM,mBAAmB,uJAI9B,CAAA;AAEF,eAAO,MAAM,sBAAsB,uKAIjC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AEF,eAAO,MAAM,iBAAiB;;;;;;;;qDAI5B,CAAA"}
|
|
@@ -777,6 +777,7 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
777
777
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
778
778
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
779
779
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
780
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
780
781
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
781
782
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
782
783
|
scheme: z.ZodMiniEnum<{
|
|
@@ -1031,6 +1032,7 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
1031
1032
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1032
1033
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1033
1034
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1035
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
1034
1036
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
1035
1037
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1036
1038
|
scheme: z.ZodMiniEnum<{
|
|
@@ -1882,6 +1884,7 @@ export declare const Tempo: {
|
|
|
1882
1884
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1883
1885
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1884
1886
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1887
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
1885
1888
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
1886
1889
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1887
1890
|
scheme: z.ZodMiniEnum<{
|
|
@@ -2136,6 +2139,7 @@ export declare const Tempo: {
|
|
|
2136
2139
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2137
2140
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2138
2141
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
2142
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
2139
2143
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
2140
2144
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
2141
2145
|
scheme: z.ZodMiniEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RpcSchemaTempo.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/RpcSchemaTempo.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAmB7B,yDAAyD;AACzD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"RpcSchemaTempo.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/RpcSchemaTempo.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAmB7B,yDAAyD;AACzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAI7C,CAAA;AAEF,2DAA2D;AAC3D,eAAO,MAAM,kBAAkB;;;;;;;;;;mBAI7B,CAAA;AAEF,8DAA8D;AAC9D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAIhC,CAAA;AAEF,6DAA6D;AAC7D,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpB,CAAA"}
|
|
@@ -1826,6 +1826,7 @@ export declare const Transaction: z.ZodMiniUnion<readonly [z.ZodMiniCodec<z.ZodM
|
|
|
1826
1826
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1827
1827
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1828
1828
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
1829
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
1829
1830
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
1830
1831
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1831
1832
|
scheme: z.ZodMiniEnum<{
|
|
@@ -2450,6 +2451,7 @@ export declare const TransactionToRpc: z.ZodMiniUnion<readonly [z.ZodMiniCodec<z
|
|
|
2450
2451
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>;
|
|
2451
2452
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>;
|
|
2452
2453
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>;
|
|
2454
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>>>>;
|
|
2453
2455
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
2454
2456
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
2455
2457
|
scheme: z.ZodMiniEnum<{
|
|
@@ -3056,6 +3058,7 @@ export declare const Pending: z.ZodMiniUnion<readonly [z.ZodMiniCodec<z.ZodMiniO
|
|
|
3056
3058
|
maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
3057
3059
|
maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
3058
3060
|
nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
|
|
3061
|
+
nonceKeys: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniBigInt<bigint>>>>>;
|
|
3059
3062
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniObject<{
|
|
3060
3063
|
msg: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
3061
3064
|
scheme: z.ZodMiniEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/Transaction.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AA+G7B,8CAA8C;AAC9C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAIjB,CAAA;AAED,+EAA+E;AAC/E,eAAO,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAiD,CAAA"}
|
package/package.json
CHANGED
package/src/core/Transaction.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type * as Errors from './Errors.js'
|
|
|
5
5
|
import * as Frame from './Frame.js'
|
|
6
6
|
import * as FrameSignature from './FrameSignature.js'
|
|
7
7
|
import * as Hex from './Hex.js'
|
|
8
|
+
import * as FrameNonce from './internal/frameNonce.js'
|
|
8
9
|
import * as Quantity from './internal/quantity.js'
|
|
9
10
|
import type {
|
|
10
11
|
Compute,
|
|
@@ -226,6 +227,8 @@ export type Eip8141<
|
|
|
226
227
|
maxFeePerGas: bigintType
|
|
227
228
|
/** Maximum priority fee per gas. */
|
|
228
229
|
maxPriorityFeePerGas: bigintType
|
|
230
|
+
/** EIP-8250 domains sharing the transaction's `nonce` sequence. */
|
|
231
|
+
nonceKeys?: readonly bigintType[] | undefined
|
|
229
232
|
/** Frame signature entries. */
|
|
230
233
|
signatures: readonly ([bigintType] extends [Hex.Hex]
|
|
231
234
|
? FrameSignature.Rpc
|
|
@@ -377,6 +380,16 @@ export function fromRpc<
|
|
|
377
380
|
? chainId
|
|
378
381
|
: Number(chainId)
|
|
379
382
|
}
|
|
383
|
+
if (transaction.type === '0x6' && transaction.nonceKeys !== undefined) {
|
|
384
|
+
if (transaction.nonce === undefined)
|
|
385
|
+
throw new FrameNonce.InvalidError(
|
|
386
|
+
'A keyed transaction result requires nonce.',
|
|
387
|
+
)
|
|
388
|
+
transaction_.nonceKeys = FrameNonce.fromRpc(
|
|
389
|
+
transaction.nonceKeys,
|
|
390
|
+
transaction.nonce,
|
|
391
|
+
)
|
|
392
|
+
}
|
|
380
393
|
if (transaction.type === '0x6' && transaction.frames) {
|
|
381
394
|
transaction_.frames = transaction.frames.map(Frame.fromRpc)
|
|
382
395
|
transaction_.signatures = (transaction.signatures ?? []).map(
|
|
@@ -413,6 +426,7 @@ export declare namespace fromRpc {
|
|
|
413
426
|
|
|
414
427
|
type ErrorType =
|
|
415
428
|
| Signature.extract.ErrorType
|
|
429
|
+
| FrameNonce.InvalidError
|
|
416
430
|
| Frame.fromRpc.ErrorType
|
|
417
431
|
| FrameSignature.fromRpc.ErrorType
|
|
418
432
|
| Errors.GlobalErrorType
|
|
@@ -480,6 +494,8 @@ export function toRpc<pending extends boolean = false>(
|
|
|
480
494
|
rpc.type = (toRpcType as any)[transaction.type] ?? transaction.type
|
|
481
495
|
rpc.value = Quantity.fromNumberish(transaction.value ?? 0n)
|
|
482
496
|
|
|
497
|
+
if (transaction.type === 'eip8141' && transaction.nonceKeys !== undefined)
|
|
498
|
+
rpc.nonceKeys = FrameNonce.toRpc(transaction.nonceKeys, transaction.nonce)
|
|
483
499
|
if (transaction.type === 'eip8141' && transaction.frames) {
|
|
484
500
|
rpc.frames = transaction.frames.map(Frame.toRpc)
|
|
485
501
|
rpc.signatures = transaction.signatures.map(FrameSignature.toRpc)
|
|
@@ -527,6 +543,7 @@ export declare namespace toRpc {
|
|
|
527
543
|
|
|
528
544
|
type ErrorType =
|
|
529
545
|
| Signature.extract.ErrorType
|
|
546
|
+
| FrameNonce.InvalidError
|
|
530
547
|
| Frame.toRpc.ErrorType
|
|
531
548
|
| FrameSignature.toRpc.ErrorType
|
|
532
549
|
| Errors.GlobalErrorType
|
|
@@ -6,6 +6,7 @@ import * as Errors from './Errors.js'
|
|
|
6
6
|
import * as FrameRequest from './FrameRequest.js'
|
|
7
7
|
import * as FrameSignature from './FrameSignature.js'
|
|
8
8
|
import * as Hex from './Hex.js'
|
|
9
|
+
import * as FrameNonce from './internal/frameNonce.js'
|
|
9
10
|
import * as Quantity from './internal/quantity.js'
|
|
10
11
|
import type { Compute } from './internal/types.js'
|
|
11
12
|
import type * as Kzg from './Kzg.js'
|
|
@@ -58,6 +59,8 @@ export type TransactionRequest<
|
|
|
58
59
|
maxPriorityFeePerGas?: bigintType | undefined
|
|
59
60
|
/** Unique number identifying this transaction */
|
|
60
61
|
nonce?: bigintType | undefined
|
|
62
|
+
/** EIP-8250 nonce domains. `nonce` is their shared sequence; omitted keys preserve EIP-8141 encoding. */
|
|
63
|
+
nonceKeys?: readonly bigintType[] | undefined
|
|
61
64
|
/** Frame signature entries for EIP-8141 transactions. */
|
|
62
65
|
signatures?: readonly signature[] | undefined
|
|
63
66
|
/** Transaction recipient */
|
|
@@ -126,6 +129,8 @@ export function fromRpc(request: Rpc): TransactionRequest {
|
|
|
126
129
|
request_.maxPriorityFeePerGas = Hex.toBigInt(request.maxPriorityFeePerGas)
|
|
127
130
|
if (typeof request.nonce !== 'undefined')
|
|
128
131
|
request_.nonce = Hex.toBigInt(request.nonce)
|
|
132
|
+
if (request.nonceKeys !== undefined)
|
|
133
|
+
request_.nonceKeys = FrameNonce.fromRpc(request.nonceKeys, request.nonce)
|
|
129
134
|
if (typeof request.type !== 'undefined')
|
|
130
135
|
request_.type =
|
|
131
136
|
Transaction.fromRpcType[
|
|
@@ -143,6 +148,7 @@ export function fromRpc(request: Rpc): TransactionRequest {
|
|
|
143
148
|
export declare namespace fromRpc {
|
|
144
149
|
export type ErrorType =
|
|
145
150
|
| Authorization.fromRpcList.ErrorType
|
|
151
|
+
| FrameNonce.InvalidError
|
|
146
152
|
| FrameRequest.fromRpc.ErrorType
|
|
147
153
|
| FrameSignature.fromRpc.ErrorType
|
|
148
154
|
| Hex.toNumber.ErrorType
|
|
@@ -232,6 +238,8 @@ export function toRpc(request: toRpc.Input): Rpc {
|
|
|
232
238
|
)
|
|
233
239
|
if (typeof request.nonce !== 'undefined')
|
|
234
240
|
request_rpc.nonce = Quantity.fromNumberish(request.nonce)
|
|
241
|
+
if (request.nonceKeys !== undefined)
|
|
242
|
+
request_rpc.nonceKeys = FrameNonce.toRpc(request.nonceKeys, request.nonce)
|
|
235
243
|
if (typeof request.to !== 'undefined') request_rpc.to = request.to
|
|
236
244
|
if (typeof request.type !== 'undefined')
|
|
237
245
|
request_rpc.type =
|
|
@@ -260,6 +268,7 @@ export declare namespace toRpc {
|
|
|
260
268
|
|
|
261
269
|
export type ErrorType =
|
|
262
270
|
| Authorization.toRpcList.ErrorType
|
|
271
|
+
| FrameNonce.InvalidError
|
|
263
272
|
| FrameRequest.toRpc.ErrorType
|
|
264
273
|
| FrameSignature.toRpc.ErrorType
|
|
265
274
|
| Hex.fromNumber.ErrorType
|
|
@@ -402,6 +411,9 @@ export function toEnvelope(
|
|
|
402
411
|
maxFeePerGas: request.maxFeePerGas,
|
|
403
412
|
maxPriorityFeePerGas: request.maxPriorityFeePerGas,
|
|
404
413
|
nonce: request.nonce,
|
|
414
|
+
...(request.nonceKeys !== undefined
|
|
415
|
+
? { nonceKeys: request.nonceKeys }
|
|
416
|
+
: {}),
|
|
405
417
|
sender: request.from,
|
|
406
418
|
sidecars,
|
|
407
419
|
signatures: request.signatures,
|
package/src/core/TxEnvelope.ts
CHANGED
|
@@ -412,7 +412,10 @@ export function getType<const envelope extends Typeable>(
|
|
|
412
412
|
return type as never
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
if (
|
|
415
|
+
if (
|
|
416
|
+
('frames' in envelope && envelope.frames !== undefined) ||
|
|
417
|
+
('nonceKeys' in envelope && envelope.nonceKeys !== undefined)
|
|
418
|
+
)
|
|
416
419
|
return 'eip8141' as never
|
|
417
420
|
if (
|
|
418
421
|
'authorizationList' in envelope &&
|
|
@@ -446,7 +449,9 @@ export declare namespace getType {
|
|
|
446
449
|
type: infer type extends string
|
|
447
450
|
}
|
|
448
451
|
? type
|
|
449
|
-
:
|
|
452
|
+
: true extends
|
|
453
|
+
| HasDefined<envelope, 'frames'>
|
|
454
|
+
| HasDefined<envelope, 'nonceKeys'>
|
|
450
455
|
? TxEnvelopeEip8141.Type
|
|
451
456
|
: HasDefined<envelope, 'authorizationList'> extends true
|
|
452
457
|
? TxEnvelopeEip7702.Type
|