viem 1.1.0 → 1.1.2
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/dist/cjs/actions/getContract.js.map +1 -1
- package/dist/cjs/actions/public/call.js +3 -2
- package/dist/cjs/actions/public/call.js.map +1 -1
- package/dist/cjs/actions/public/estimateGas.js +3 -2
- package/dist/cjs/actions/public/estimateGas.js.map +1 -1
- package/dist/cjs/actions/public/getBlock.js +1 -1
- package/dist/cjs/actions/public/getBlock.js.map +1 -1
- package/dist/cjs/actions/public/getTransaction.js +1 -1
- package/dist/cjs/actions/public/getTransaction.js.map +1 -1
- package/dist/cjs/actions/public/getTransactionReceipt.js +2 -1
- package/dist/cjs/actions/public/getTransactionReceipt.js.map +1 -1
- package/dist/cjs/actions/public/watchBlocks.js +1 -1
- package/dist/cjs/actions/public/watchBlocks.js.map +1 -1
- package/dist/cjs/actions/test/sendUnsignedTransaction.js +3 -2
- package/dist/cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/dist/cjs/actions/wallet/sendTransaction.js +2 -2
- package/dist/cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/dist/cjs/actions/wallet/writeContract.js.map +1 -1
- package/dist/cjs/chains/formatters/celo.js.map +1 -1
- package/dist/cjs/chains/formatters/optimism.js +3 -4
- package/dist/cjs/chains/formatters/optimism.js.map +1 -1
- package/dist/cjs/chains/index.js +2 -1
- package/dist/cjs/chains/index.js.map +1 -1
- package/dist/cjs/errors/version.js +1 -1
- package/dist/cjs/index.js +5 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/utils/formatters/block.js +1 -1
- package/dist/cjs/utils/formatters/block.js.map +1 -1
- package/dist/cjs/utils/formatters/extract.js +3 -3
- package/dist/cjs/utils/formatters/extract.js.map +1 -1
- package/dist/cjs/utils/formatters/formatter.js +14 -11
- package/dist/cjs/utils/formatters/formatter.js.map +1 -1
- package/dist/cjs/utils/formatters/transaction.js +1 -1
- package/dist/cjs/utils/formatters/transaction.js.map +1 -1
- package/dist/cjs/utils/formatters/transactionReceipt.js +1 -1
- package/dist/cjs/utils/formatters/transactionReceipt.js.map +1 -1
- package/dist/cjs/utils/formatters/transactionRequest.js +1 -1
- package/dist/cjs/utils/formatters/transactionRequest.js.map +1 -1
- package/dist/cjs/utils/index.js +4 -2
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/esm/actions/getContract.js.map +1 -1
- package/dist/esm/actions/public/call.js +3 -2
- package/dist/esm/actions/public/call.js.map +1 -1
- package/dist/esm/actions/public/estimateGas.js +3 -2
- package/dist/esm/actions/public/estimateGas.js.map +1 -1
- package/dist/esm/actions/public/getBlock.js +1 -1
- package/dist/esm/actions/public/getBlock.js.map +1 -1
- package/dist/esm/actions/public/getTransaction.js +1 -1
- package/dist/esm/actions/public/getTransaction.js.map +1 -1
- package/dist/esm/actions/public/getTransactionReceipt.js +2 -1
- package/dist/esm/actions/public/getTransactionReceipt.js.map +1 -1
- package/dist/esm/actions/public/watchBlocks.js +1 -1
- package/dist/esm/actions/public/watchBlocks.js.map +1 -1
- package/dist/esm/actions/test/sendUnsignedTransaction.js +3 -2
- package/dist/esm/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/dist/esm/actions/wallet/sendTransaction.js +2 -2
- package/dist/esm/actions/wallet/sendTransaction.js.map +1 -1
- package/dist/esm/actions/wallet/writeContract.js.map +1 -1
- package/dist/esm/chains/formatters/celo.js +1 -0
- package/dist/esm/chains/formatters/celo.js.map +1 -1
- package/dist/esm/chains/formatters/optimism.js +3 -3
- package/dist/esm/chains/formatters/optimism.js.map +1 -1
- package/dist/esm/chains/index.js +1 -0
- package/dist/esm/chains/index.js.map +1 -1
- package/dist/esm/errors/version.js +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/utils/formatters/block.js +1 -1
- package/dist/esm/utils/formatters/block.js.map +1 -1
- package/dist/esm/utils/formatters/extract.js +3 -3
- package/dist/esm/utils/formatters/extract.js.map +1 -1
- package/dist/esm/utils/formatters/formatter.js +14 -11
- package/dist/esm/utils/formatters/formatter.js.map +1 -1
- package/dist/esm/utils/formatters/transaction.js +1 -2
- package/dist/esm/utils/formatters/transaction.js.map +1 -1
- package/dist/esm/utils/formatters/transactionReceipt.js +1 -1
- package/dist/esm/utils/formatters/transactionReceipt.js.map +1 -1
- package/dist/esm/utils/formatters/transactionRequest.js +1 -1
- package/dist/esm/utils/formatters/transactionRequest.js.map +1 -1
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/types/actions/public/call.d.ts.map +1 -1
- package/dist/types/actions/public/estimateContractGas.d.ts +1 -1
- package/dist/types/actions/public/estimateContractGas.d.ts.map +1 -1
- package/dist/types/actions/public/estimateGas.d.ts.map +1 -1
- package/dist/types/actions/public/getTransaction.d.ts.map +1 -1
- package/dist/types/actions/public/getTransactionReceipt.d.ts.map +1 -1
- package/dist/types/actions/public/simulateContract.d.ts +1 -1
- package/dist/types/actions/public/simulateContract.d.ts.map +1 -1
- package/dist/types/actions/public/watchBlocks.d.ts.map +1 -1
- package/dist/types/actions/test/sendUnsignedTransaction.d.ts.map +1 -1
- package/dist/types/actions/wallet/sendTransaction.d.ts +2 -1
- package/dist/types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/dist/types/actions/wallet/writeContract.d.ts +1 -1
- package/dist/types/actions/wallet/writeContract.d.ts.map +1 -1
- package/dist/types/chains/formatters/celo.d.ts +200 -188
- package/dist/types/chains/formatters/celo.d.ts.map +1 -1
- package/dist/types/chains/formatters/optimism.d.ts +250 -250
- package/dist/types/chains/formatters/optimism.d.ts.map +1 -1
- package/dist/types/chains/index.d.ts +2220 -2153
- package/dist/types/chains/index.d.ts.map +1 -1
- package/dist/types/errors/version.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/formatter.d.ts +10 -7
- package/dist/types/types/formatter.d.ts.map +1 -1
- package/dist/types/types/serializer.d.ts +1 -1
- package/dist/types/types/serializer.d.ts.map +1 -1
- package/dist/types/utils/formatters/block.d.ts +4 -1
- package/dist/types/utils/formatters/block.d.ts.map +1 -1
- package/dist/types/utils/formatters/extract.d.ts +2 -2
- package/dist/types/utils/formatters/extract.d.ts.map +1 -1
- package/dist/types/utils/formatters/formatter.d.ts +5 -2
- package/dist/types/utils/formatters/formatter.d.ts.map +1 -1
- package/dist/types/utils/formatters/transaction.d.ts +5 -2
- package/dist/types/utils/formatters/transaction.d.ts.map +1 -1
- package/dist/types/utils/formatters/transactionReceipt.d.ts +4 -1
- package/dist/types/utils/formatters/transactionReceipt.d.ts.map +1 -1
- package/dist/types/utils/formatters/transactionRequest.d.ts +4 -1
- package/dist/types/utils/formatters/transactionRequest.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/actions/getContract.ts +1 -1
- package/src/actions/public/call.ts +3 -2
- package/src/actions/public/estimateContractGas.ts +1 -1
- package/src/actions/public/estimateGas.ts +4 -3
- package/src/actions/public/getBlock.ts +1 -1
- package/src/actions/public/getTransaction.ts +2 -1
- package/src/actions/public/getTransactionReceipt.ts +2 -1
- package/src/actions/public/simulateContract.ts +1 -1
- package/src/actions/public/watchBlocks.ts +2 -1
- package/src/actions/test/sendUnsignedTransaction.ts +3 -2
- package/src/actions/wallet/sendTransaction.ts +9 -3
- package/src/actions/wallet/writeContract.ts +11 -1
- package/src/chains/formatters/celo.ts +2 -1
- package/src/chains/formatters/optimism.ts +9 -6
- package/src/chains/index.ts +1 -0
- package/src/errors/version.ts +1 -1
- package/src/index.ts +1 -0
- package/src/types/formatter.ts +10 -9
- package/src/types/serializer.ts +1 -1
- package/src/utils/formatters/block.ts +1 -1
- package/src/utils/formatters/extract.ts +3 -3
- package/src/utils/formatters/formatter.ts +17 -13
- package/src/utils/formatters/transaction.ts +4 -2
- package/src/utils/formatters/transactionReceipt.ts +1 -0
- package/src/utils/formatters/transactionRequest.ts +1 -0
- package/src/utils/index.ts +1 -0
@@ -505,398 +505,422 @@ export declare const celo: {
|
|
505
505
|
readonly testnet: false;
|
506
506
|
} & {
|
507
507
|
formatters: {
|
508
|
-
readonly block:
|
509
|
-
|
510
|
-
|
511
|
-
|
508
|
+
readonly block: {
|
509
|
+
format: (args: Partial<import("../index.js").RpcBlock> & {
|
510
|
+
randomness: {
|
511
|
+
committed: `0x${string}`;
|
512
|
+
revealed: `0x${string}`;
|
513
|
+
};
|
514
|
+
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
515
|
+
feeCurrency: `0x${string}` | null;
|
516
|
+
gatewayFee: `0x${string}` | null;
|
517
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
518
|
+
})[];
|
519
|
+
}) => {
|
520
|
+
baseFeePerGas: bigint | null;
|
521
|
+
difficulty: bigint;
|
522
|
+
extraData: `0x${string}`;
|
523
|
+
gasLimit: bigint;
|
524
|
+
gasUsed: bigint;
|
525
|
+
hash: `0x${string}` | null;
|
526
|
+
logsBloom: `0x${string}` | null;
|
527
|
+
miner: `0x${string}`;
|
528
|
+
mixHash: `0x${string}`;
|
529
|
+
nonce: `0x${string}` | null;
|
530
|
+
number: bigint | null;
|
531
|
+
parentHash: `0x${string}`;
|
532
|
+
receiptsRoot: `0x${string}`;
|
533
|
+
sealFields: `0x${string}`[];
|
534
|
+
sha3Uncles: `0x${string}`;
|
535
|
+
size: bigint;
|
536
|
+
stateRoot: `0x${string}`;
|
537
|
+
timestamp: bigint;
|
538
|
+
totalDifficulty: bigint | null;
|
539
|
+
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
540
|
+
feeCurrency: `0x${string}` | null;
|
541
|
+
gatewayFee: bigint | null;
|
542
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
543
|
+
})[];
|
544
|
+
transactionsRoot: `0x${string}`;
|
545
|
+
uncles: `0x${string}`[];
|
546
|
+
randomness: {
|
547
|
+
committed: `0x${string}`;
|
548
|
+
revealed: `0x${string}`;
|
549
|
+
};
|
550
|
+
} & {
|
551
|
+
nonce: never;
|
552
|
+
difficulty: never;
|
553
|
+
gasLimit: never;
|
554
|
+
mixHash: never;
|
555
|
+
uncles: never;
|
512
556
|
};
|
513
|
-
|
557
|
+
type: "block";
|
558
|
+
};
|
559
|
+
readonly transaction: {
|
560
|
+
format: (args: Partial<import("../index.js").RpcTransaction> & {
|
514
561
|
feeCurrency: `0x${string}` | null;
|
515
562
|
gatewayFee: `0x${string}` | null;
|
516
563
|
gatewayFeeRecipient: `0x${string}` | null;
|
517
|
-
})
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
564
|
+
}) => ({
|
565
|
+
blockHash: `0x${string}` | null;
|
566
|
+
blockNumber: bigint | null;
|
567
|
+
from: `0x${string}`;
|
568
|
+
gas: bigint;
|
569
|
+
hash: `0x${string}`;
|
570
|
+
input: `0x${string}`;
|
571
|
+
nonce: number;
|
572
|
+
r: `0x${string}`;
|
573
|
+
s: `0x${string}`;
|
574
|
+
to: `0x${string}` | null;
|
575
|
+
transactionIndex: number | null;
|
576
|
+
typeHex: `0x${string}` | null;
|
577
|
+
v: bigint;
|
578
|
+
value: bigint;
|
579
|
+
gasPrice: bigint;
|
580
|
+
maxFeePerGas?: undefined;
|
581
|
+
maxPriorityFeePerGas?: undefined;
|
582
|
+
accessList?: undefined;
|
583
|
+
chainId?: number | undefined;
|
584
|
+
type: "legacy";
|
539
585
|
feeCurrency: `0x${string}` | null;
|
540
586
|
gatewayFee: bigint | null;
|
541
587
|
gatewayFeeRecipient: `0x${string}` | null;
|
542
|
-
}
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
maxPriorityFeePerGas?: undefined;
|
670
|
-
accessList?: undefined;
|
671
|
-
feeCurrency: `0x${string}` | undefined;
|
672
|
-
gatewayFee: `0x${string}` | undefined;
|
673
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
674
|
-
} | {
|
675
|
-
data?: `0x${string}` | undefined;
|
676
|
-
from: `0x${string}`;
|
677
|
-
gas?: `0x${string}` | undefined;
|
678
|
-
nonce?: `0x${string}` | undefined;
|
679
|
-
to?: `0x${string}` | undefined;
|
680
|
-
value?: `0x${string}` | undefined;
|
681
|
-
gasPrice?: `0x${string}` | undefined;
|
682
|
-
maxFeePerGas?: undefined;
|
683
|
-
maxPriorityFeePerGas?: undefined;
|
684
|
-
accessList?: import("../index.js").AccessList | undefined;
|
685
|
-
feeCurrency: `0x${string}` | undefined;
|
686
|
-
gatewayFee: `0x${string}` | undefined;
|
687
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
688
|
-
} | {
|
689
|
-
data?: `0x${string}` | undefined;
|
690
|
-
from: `0x${string}`;
|
691
|
-
gas?: `0x${string}` | undefined;
|
692
|
-
nonce?: `0x${string}` | undefined;
|
693
|
-
to?: `0x${string}` | undefined;
|
694
|
-
value?: `0x${string}` | undefined;
|
695
|
-
gasPrice?: undefined;
|
696
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
697
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
698
|
-
accessList?: import("../index.js").AccessList | undefined;
|
699
|
-
feeCurrency: `0x${string}` | undefined;
|
700
|
-
gatewayFee: `0x${string}` | undefined;
|
701
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
702
|
-
}) & {};
|
588
|
+
} | {
|
589
|
+
blockHash: `0x${string}` | null;
|
590
|
+
blockNumber: bigint | null;
|
591
|
+
from: `0x${string}`;
|
592
|
+
gas: bigint;
|
593
|
+
hash: `0x${string}`;
|
594
|
+
input: `0x${string}`;
|
595
|
+
nonce: number;
|
596
|
+
r: `0x${string}`;
|
597
|
+
s: `0x${string}`;
|
598
|
+
to: `0x${string}` | null;
|
599
|
+
transactionIndex: number | null;
|
600
|
+
typeHex: `0x${string}` | null;
|
601
|
+
v: bigint;
|
602
|
+
value: bigint;
|
603
|
+
gasPrice: bigint;
|
604
|
+
maxFeePerGas?: undefined;
|
605
|
+
maxPriorityFeePerGas?: undefined;
|
606
|
+
accessList: import("../index.js").AccessList;
|
607
|
+
chainId: number;
|
608
|
+
type: "eip2930";
|
609
|
+
feeCurrency: `0x${string}` | null;
|
610
|
+
gatewayFee: bigint | null;
|
611
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
612
|
+
} | {
|
613
|
+
blockHash: `0x${string}` | null;
|
614
|
+
blockNumber: bigint | null;
|
615
|
+
from: `0x${string}`;
|
616
|
+
gas: bigint;
|
617
|
+
hash: `0x${string}`;
|
618
|
+
input: `0x${string}`;
|
619
|
+
nonce: number;
|
620
|
+
r: `0x${string}`;
|
621
|
+
s: `0x${string}`;
|
622
|
+
to: `0x${string}` | null;
|
623
|
+
transactionIndex: number | null;
|
624
|
+
typeHex: `0x${string}` | null;
|
625
|
+
v: bigint;
|
626
|
+
value: bigint;
|
627
|
+
gasPrice?: undefined;
|
628
|
+
maxFeePerGas: bigint;
|
629
|
+
maxPriorityFeePerGas: bigint;
|
630
|
+
accessList: import("../index.js").AccessList;
|
631
|
+
chainId: number;
|
632
|
+
type: "eip1559";
|
633
|
+
feeCurrency: `0x${string}` | null;
|
634
|
+
gatewayFee: bigint | null;
|
635
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
636
|
+
}) & {};
|
637
|
+
type: "transaction";
|
638
|
+
};
|
639
|
+
readonly transactionReceipt: {
|
640
|
+
format: (args: Partial<import("../index.js").RpcTransactionReceipt> & {
|
641
|
+
feeCurrency: `0x${string}` | null;
|
642
|
+
gatewayFee: `0x${string}` | null;
|
643
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
644
|
+
}) => {
|
645
|
+
blockHash: `0x${string}`;
|
646
|
+
blockNumber: bigint;
|
647
|
+
contractAddress: `0x${string}` | null;
|
648
|
+
cumulativeGasUsed: bigint;
|
649
|
+
effectiveGasPrice: bigint;
|
650
|
+
from: `0x${string}`;
|
651
|
+
gasUsed: bigint;
|
652
|
+
logs: import("../index.js").Log<bigint, number>[];
|
653
|
+
logsBloom: `0x${string}`;
|
654
|
+
status: "success" | "reverted";
|
655
|
+
to: `0x${string}` | null;
|
656
|
+
transactionHash: `0x${string}`;
|
657
|
+
transactionIndex: number;
|
658
|
+
type: import("../index.js").TransactionType;
|
659
|
+
feeCurrency: `0x${string}` | null;
|
660
|
+
gatewayFee: bigint | null;
|
661
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
662
|
+
} & {};
|
663
|
+
type: "transactionReceipt";
|
664
|
+
};
|
665
|
+
readonly transactionRequest: {
|
666
|
+
format: (args: Partial<import("../index.js").TransactionRequest> & {
|
667
|
+
feeCurrency?: `0x${string}` | undefined;
|
668
|
+
gatewayFee?: bigint | undefined;
|
669
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
670
|
+
}) => ({
|
671
|
+
data?: `0x${string}` | undefined;
|
672
|
+
from: `0x${string}`;
|
673
|
+
gas?: `0x${string}` | undefined;
|
674
|
+
nonce?: `0x${string}` | undefined;
|
675
|
+
to?: `0x${string}` | undefined;
|
676
|
+
value?: `0x${string}` | undefined;
|
677
|
+
gasPrice?: `0x${string}` | undefined;
|
678
|
+
maxFeePerGas?: undefined;
|
679
|
+
maxPriorityFeePerGas?: undefined;
|
680
|
+
accessList?: undefined;
|
681
|
+
feeCurrency: `0x${string}` | undefined;
|
682
|
+
gatewayFee: `0x${string}` | undefined;
|
683
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
684
|
+
} | {
|
685
|
+
data?: `0x${string}` | undefined;
|
686
|
+
from: `0x${string}`;
|
687
|
+
gas?: `0x${string}` | undefined;
|
688
|
+
nonce?: `0x${string}` | undefined;
|
689
|
+
to?: `0x${string}` | undefined;
|
690
|
+
value?: `0x${string}` | undefined;
|
691
|
+
gasPrice?: `0x${string}` | undefined;
|
692
|
+
maxFeePerGas?: undefined;
|
693
|
+
maxPriorityFeePerGas?: undefined;
|
694
|
+
accessList?: import("../index.js").AccessList | undefined;
|
695
|
+
feeCurrency: `0x${string}` | undefined;
|
696
|
+
gatewayFee: `0x${string}` | undefined;
|
697
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
698
|
+
} | {
|
699
|
+
data?: `0x${string}` | undefined;
|
700
|
+
from: `0x${string}`;
|
701
|
+
gas?: `0x${string}` | undefined;
|
702
|
+
nonce?: `0x${string}` | undefined;
|
703
|
+
to?: `0x${string}` | undefined;
|
704
|
+
value?: `0x${string}` | undefined;
|
705
|
+
gasPrice?: undefined;
|
706
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
707
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
708
|
+
accessList?: import("../index.js").AccessList | undefined;
|
709
|
+
feeCurrency: `0x${string}` | undefined;
|
710
|
+
gatewayFee: `0x${string}` | undefined;
|
711
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
712
|
+
}) & {};
|
713
|
+
type: "transactionRequest";
|
714
|
+
};
|
703
715
|
} | undefined;
|
704
716
|
serializers: import("../index.js").Serializers<{
|
705
|
-
readonly block:
|
706
|
-
|
707
|
-
|
708
|
-
|
717
|
+
readonly block: {
|
718
|
+
format: (args: Partial<import("../index.js").RpcBlock> & {
|
719
|
+
randomness: {
|
720
|
+
committed: `0x${string}`;
|
721
|
+
revealed: `0x${string}`;
|
722
|
+
};
|
723
|
+
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
724
|
+
feeCurrency: `0x${string}` | null;
|
725
|
+
gatewayFee: `0x${string}` | null;
|
726
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
727
|
+
})[];
|
728
|
+
}) => {
|
729
|
+
baseFeePerGas: bigint | null;
|
730
|
+
difficulty: bigint;
|
731
|
+
extraData: `0x${string}`;
|
732
|
+
gasLimit: bigint;
|
733
|
+
gasUsed: bigint;
|
734
|
+
hash: `0x${string}` | null;
|
735
|
+
logsBloom: `0x${string}` | null;
|
736
|
+
miner: `0x${string}`;
|
737
|
+
mixHash: `0x${string}`;
|
738
|
+
nonce: `0x${string}` | null;
|
739
|
+
number: bigint | null;
|
740
|
+
parentHash: `0x${string}`;
|
741
|
+
receiptsRoot: `0x${string}`;
|
742
|
+
sealFields: `0x${string}`[];
|
743
|
+
sha3Uncles: `0x${string}`;
|
744
|
+
size: bigint;
|
745
|
+
stateRoot: `0x${string}`;
|
746
|
+
timestamp: bigint;
|
747
|
+
totalDifficulty: bigint | null;
|
748
|
+
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
749
|
+
feeCurrency: `0x${string}` | null;
|
750
|
+
gatewayFee: bigint | null;
|
751
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
752
|
+
})[];
|
753
|
+
transactionsRoot: `0x${string}`;
|
754
|
+
uncles: `0x${string}`[];
|
755
|
+
randomness: {
|
756
|
+
committed: `0x${string}`;
|
757
|
+
revealed: `0x${string}`;
|
758
|
+
};
|
759
|
+
} & {
|
760
|
+
nonce: never;
|
761
|
+
difficulty: never;
|
762
|
+
gasLimit: never;
|
763
|
+
mixHash: never;
|
764
|
+
uncles: never;
|
709
765
|
};
|
710
|
-
|
766
|
+
type: "block";
|
767
|
+
};
|
768
|
+
readonly transaction: {
|
769
|
+
format: (args: Partial<import("../index.js").RpcTransaction> & {
|
711
770
|
feeCurrency: `0x${string}` | null;
|
712
771
|
gatewayFee: `0x${string}` | null;
|
713
772
|
gatewayFeeRecipient: `0x${string}` | null;
|
714
|
-
})
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
773
|
+
}) => ({
|
774
|
+
blockHash: `0x${string}` | null;
|
775
|
+
blockNumber: bigint | null;
|
776
|
+
from: `0x${string}`;
|
777
|
+
gas: bigint;
|
778
|
+
hash: `0x${string}`;
|
779
|
+
input: `0x${string}`;
|
780
|
+
nonce: number;
|
781
|
+
r: `0x${string}`;
|
782
|
+
s: `0x${string}`;
|
783
|
+
to: `0x${string}` | null;
|
784
|
+
transactionIndex: number | null;
|
785
|
+
typeHex: `0x${string}` | null;
|
786
|
+
v: bigint;
|
787
|
+
value: bigint;
|
788
|
+
gasPrice: bigint;
|
789
|
+
maxFeePerGas?: undefined;
|
790
|
+
maxPriorityFeePerGas?: undefined;
|
791
|
+
accessList?: undefined;
|
792
|
+
chainId?: number | undefined;
|
793
|
+
type: "legacy";
|
736
794
|
feeCurrency: `0x${string}` | null;
|
737
795
|
gatewayFee: bigint | null;
|
738
796
|
gatewayFeeRecipient: `0x${string}` | null;
|
739
|
-
}
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
maxPriorityFeePerGas?: undefined;
|
867
|
-
accessList?: undefined;
|
868
|
-
feeCurrency: `0x${string}` | undefined;
|
869
|
-
gatewayFee: `0x${string}` | undefined;
|
870
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
871
|
-
} | {
|
872
|
-
data?: `0x${string}` | undefined;
|
873
|
-
from: `0x${string}`;
|
874
|
-
gas?: `0x${string}` | undefined;
|
875
|
-
nonce?: `0x${string}` | undefined;
|
876
|
-
to?: `0x${string}` | undefined;
|
877
|
-
value?: `0x${string}` | undefined;
|
878
|
-
gasPrice?: `0x${string}` | undefined;
|
879
|
-
maxFeePerGas?: undefined;
|
880
|
-
maxPriorityFeePerGas?: undefined;
|
881
|
-
accessList?: import("../index.js").AccessList | undefined;
|
882
|
-
feeCurrency: `0x${string}` | undefined;
|
883
|
-
gatewayFee: `0x${string}` | undefined;
|
884
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
885
|
-
} | {
|
886
|
-
data?: `0x${string}` | undefined;
|
887
|
-
from: `0x${string}`;
|
888
|
-
gas?: `0x${string}` | undefined;
|
889
|
-
nonce?: `0x${string}` | undefined;
|
890
|
-
to?: `0x${string}` | undefined;
|
891
|
-
value?: `0x${string}` | undefined;
|
892
|
-
gasPrice?: undefined;
|
893
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
894
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
895
|
-
accessList?: import("../index.js").AccessList | undefined;
|
896
|
-
feeCurrency: `0x${string}` | undefined;
|
897
|
-
gatewayFee: `0x${string}` | undefined;
|
898
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
899
|
-
}) & {};
|
797
|
+
} | {
|
798
|
+
blockHash: `0x${string}` | null;
|
799
|
+
blockNumber: bigint | null;
|
800
|
+
from: `0x${string}`;
|
801
|
+
gas: bigint;
|
802
|
+
hash: `0x${string}`;
|
803
|
+
input: `0x${string}`;
|
804
|
+
nonce: number;
|
805
|
+
r: `0x${string}`;
|
806
|
+
s: `0x${string}`;
|
807
|
+
to: `0x${string}` | null;
|
808
|
+
transactionIndex: number | null;
|
809
|
+
typeHex: `0x${string}` | null;
|
810
|
+
v: bigint;
|
811
|
+
value: bigint;
|
812
|
+
gasPrice: bigint;
|
813
|
+
maxFeePerGas?: undefined;
|
814
|
+
maxPriorityFeePerGas?: undefined;
|
815
|
+
accessList: import("../index.js").AccessList;
|
816
|
+
chainId: number;
|
817
|
+
type: "eip2930";
|
818
|
+
feeCurrency: `0x${string}` | null;
|
819
|
+
gatewayFee: bigint | null;
|
820
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
821
|
+
} | {
|
822
|
+
blockHash: `0x${string}` | null;
|
823
|
+
blockNumber: bigint | null;
|
824
|
+
from: `0x${string}`;
|
825
|
+
gas: bigint;
|
826
|
+
hash: `0x${string}`;
|
827
|
+
input: `0x${string}`;
|
828
|
+
nonce: number;
|
829
|
+
r: `0x${string}`;
|
830
|
+
s: `0x${string}`;
|
831
|
+
to: `0x${string}` | null;
|
832
|
+
transactionIndex: number | null;
|
833
|
+
typeHex: `0x${string}` | null;
|
834
|
+
v: bigint;
|
835
|
+
value: bigint;
|
836
|
+
gasPrice?: undefined;
|
837
|
+
maxFeePerGas: bigint;
|
838
|
+
maxPriorityFeePerGas: bigint;
|
839
|
+
accessList: import("../index.js").AccessList;
|
840
|
+
chainId: number;
|
841
|
+
type: "eip1559";
|
842
|
+
feeCurrency: `0x${string}` | null;
|
843
|
+
gatewayFee: bigint | null;
|
844
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
845
|
+
}) & {};
|
846
|
+
type: "transaction";
|
847
|
+
};
|
848
|
+
readonly transactionReceipt: {
|
849
|
+
format: (args: Partial<import("../index.js").RpcTransactionReceipt> & {
|
850
|
+
feeCurrency: `0x${string}` | null;
|
851
|
+
gatewayFee: `0x${string}` | null;
|
852
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
853
|
+
}) => {
|
854
|
+
blockHash: `0x${string}`;
|
855
|
+
blockNumber: bigint;
|
856
|
+
contractAddress: `0x${string}` | null;
|
857
|
+
cumulativeGasUsed: bigint;
|
858
|
+
effectiveGasPrice: bigint;
|
859
|
+
from: `0x${string}`;
|
860
|
+
gasUsed: bigint;
|
861
|
+
logs: import("../index.js").Log<bigint, number>[];
|
862
|
+
logsBloom: `0x${string}`;
|
863
|
+
status: "success" | "reverted";
|
864
|
+
to: `0x${string}` | null;
|
865
|
+
transactionHash: `0x${string}`;
|
866
|
+
transactionIndex: number;
|
867
|
+
type: import("../index.js").TransactionType;
|
868
|
+
feeCurrency: `0x${string}` | null;
|
869
|
+
gatewayFee: bigint | null;
|
870
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
871
|
+
} & {};
|
872
|
+
type: "transactionReceipt";
|
873
|
+
};
|
874
|
+
readonly transactionRequest: {
|
875
|
+
format: (args: Partial<import("../index.js").TransactionRequest> & {
|
876
|
+
feeCurrency?: `0x${string}` | undefined;
|
877
|
+
gatewayFee?: bigint | undefined;
|
878
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
879
|
+
}) => ({
|
880
|
+
data?: `0x${string}` | undefined;
|
881
|
+
from: `0x${string}`;
|
882
|
+
gas?: `0x${string}` | undefined;
|
883
|
+
nonce?: `0x${string}` | undefined;
|
884
|
+
to?: `0x${string}` | undefined;
|
885
|
+
value?: `0x${string}` | undefined;
|
886
|
+
gasPrice?: `0x${string}` | undefined;
|
887
|
+
maxFeePerGas?: undefined;
|
888
|
+
maxPriorityFeePerGas?: undefined;
|
889
|
+
accessList?: undefined;
|
890
|
+
feeCurrency: `0x${string}` | undefined;
|
891
|
+
gatewayFee: `0x${string}` | undefined;
|
892
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
893
|
+
} | {
|
894
|
+
data?: `0x${string}` | undefined;
|
895
|
+
from: `0x${string}`;
|
896
|
+
gas?: `0x${string}` | undefined;
|
897
|
+
nonce?: `0x${string}` | undefined;
|
898
|
+
to?: `0x${string}` | undefined;
|
899
|
+
value?: `0x${string}` | undefined;
|
900
|
+
gasPrice?: `0x${string}` | undefined;
|
901
|
+
maxFeePerGas?: undefined;
|
902
|
+
maxPriorityFeePerGas?: undefined;
|
903
|
+
accessList?: import("../index.js").AccessList | undefined;
|
904
|
+
feeCurrency: `0x${string}` | undefined;
|
905
|
+
gatewayFee: `0x${string}` | undefined;
|
906
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
907
|
+
} | {
|
908
|
+
data?: `0x${string}` | undefined;
|
909
|
+
from: `0x${string}`;
|
910
|
+
gas?: `0x${string}` | undefined;
|
911
|
+
nonce?: `0x${string}` | undefined;
|
912
|
+
to?: `0x${string}` | undefined;
|
913
|
+
value?: `0x${string}` | undefined;
|
914
|
+
gasPrice?: undefined;
|
915
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
916
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
917
|
+
accessList?: import("../index.js").AccessList | undefined;
|
918
|
+
feeCurrency: `0x${string}` | undefined;
|
919
|
+
gatewayFee: `0x${string}` | undefined;
|
920
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
921
|
+
}) & {};
|
922
|
+
type: "transactionRequest";
|
923
|
+
};
|
900
924
|
}> | undefined;
|
901
925
|
};
|
902
926
|
export declare const celoAlfajores: {
|
@@ -938,398 +962,422 @@ export declare const celoAlfajores: {
|
|
938
962
|
readonly testnet: true;
|
939
963
|
} & {
|
940
964
|
formatters: {
|
941
|
-
readonly block:
|
942
|
-
|
943
|
-
|
944
|
-
|
965
|
+
readonly block: {
|
966
|
+
format: (args: Partial<import("../index.js").RpcBlock> & {
|
967
|
+
randomness: {
|
968
|
+
committed: `0x${string}`;
|
969
|
+
revealed: `0x${string}`;
|
970
|
+
};
|
971
|
+
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
972
|
+
feeCurrency: `0x${string}` | null;
|
973
|
+
gatewayFee: `0x${string}` | null;
|
974
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
975
|
+
})[];
|
976
|
+
}) => {
|
977
|
+
baseFeePerGas: bigint | null;
|
978
|
+
difficulty: bigint;
|
979
|
+
extraData: `0x${string}`;
|
980
|
+
gasLimit: bigint;
|
981
|
+
gasUsed: bigint;
|
982
|
+
hash: `0x${string}` | null;
|
983
|
+
logsBloom: `0x${string}` | null;
|
984
|
+
miner: `0x${string}`;
|
985
|
+
mixHash: `0x${string}`;
|
986
|
+
nonce: `0x${string}` | null;
|
987
|
+
number: bigint | null;
|
988
|
+
parentHash: `0x${string}`;
|
989
|
+
receiptsRoot: `0x${string}`;
|
990
|
+
sealFields: `0x${string}`[];
|
991
|
+
sha3Uncles: `0x${string}`;
|
992
|
+
size: bigint;
|
993
|
+
stateRoot: `0x${string}`;
|
994
|
+
timestamp: bigint;
|
995
|
+
totalDifficulty: bigint | null;
|
996
|
+
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
997
|
+
feeCurrency: `0x${string}` | null;
|
998
|
+
gatewayFee: bigint | null;
|
999
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1000
|
+
})[];
|
1001
|
+
transactionsRoot: `0x${string}`;
|
1002
|
+
uncles: `0x${string}`[];
|
1003
|
+
randomness: {
|
1004
|
+
committed: `0x${string}`;
|
1005
|
+
revealed: `0x${string}`;
|
1006
|
+
};
|
1007
|
+
} & {
|
1008
|
+
nonce: never;
|
1009
|
+
difficulty: never;
|
1010
|
+
gasLimit: never;
|
1011
|
+
mixHash: never;
|
1012
|
+
uncles: never;
|
945
1013
|
};
|
946
|
-
|
1014
|
+
type: "block";
|
1015
|
+
};
|
1016
|
+
readonly transaction: {
|
1017
|
+
format: (args: Partial<import("../index.js").RpcTransaction> & {
|
947
1018
|
feeCurrency: `0x${string}` | null;
|
948
1019
|
gatewayFee: `0x${string}` | null;
|
949
1020
|
gatewayFeeRecipient: `0x${string}` | null;
|
950
|
-
})
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
1021
|
+
}) => ({
|
1022
|
+
blockHash: `0x${string}` | null;
|
1023
|
+
blockNumber: bigint | null;
|
1024
|
+
from: `0x${string}`;
|
1025
|
+
gas: bigint;
|
1026
|
+
hash: `0x${string}`;
|
1027
|
+
input: `0x${string}`;
|
1028
|
+
nonce: number;
|
1029
|
+
r: `0x${string}`;
|
1030
|
+
s: `0x${string}`;
|
1031
|
+
to: `0x${string}` | null;
|
1032
|
+
transactionIndex: number | null;
|
1033
|
+
typeHex: `0x${string}` | null;
|
1034
|
+
v: bigint;
|
1035
|
+
value: bigint;
|
1036
|
+
gasPrice: bigint;
|
1037
|
+
maxFeePerGas?: undefined;
|
1038
|
+
maxPriorityFeePerGas?: undefined;
|
1039
|
+
accessList?: undefined;
|
1040
|
+
chainId?: number | undefined;
|
1041
|
+
type: "legacy";
|
972
1042
|
feeCurrency: `0x${string}` | null;
|
973
1043
|
gatewayFee: bigint | null;
|
974
1044
|
gatewayFeeRecipient: `0x${string}` | null;
|
975
|
-
}
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
maxPriorityFeePerGas?: undefined;
|
1103
|
-
accessList?: undefined;
|
1104
|
-
feeCurrency: `0x${string}` | undefined;
|
1105
|
-
gatewayFee: `0x${string}` | undefined;
|
1106
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1107
|
-
} | {
|
1108
|
-
data?: `0x${string}` | undefined;
|
1109
|
-
from: `0x${string}`;
|
1110
|
-
gas?: `0x${string}` | undefined;
|
1111
|
-
nonce?: `0x${string}` | undefined;
|
1112
|
-
to?: `0x${string}` | undefined;
|
1113
|
-
value?: `0x${string}` | undefined;
|
1114
|
-
gasPrice?: `0x${string}` | undefined;
|
1115
|
-
maxFeePerGas?: undefined;
|
1116
|
-
maxPriorityFeePerGas?: undefined;
|
1117
|
-
accessList?: import("../index.js").AccessList | undefined;
|
1118
|
-
feeCurrency: `0x${string}` | undefined;
|
1119
|
-
gatewayFee: `0x${string}` | undefined;
|
1120
|
-
gatewayFeeRecipient: `0x${string}` | 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}` | undefined;
|
1127
|
-
value?: `0x${string}` | undefined;
|
1128
|
-
gasPrice?: undefined;
|
1129
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
1130
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1131
|
-
accessList?: import("../index.js").AccessList | undefined;
|
1132
|
-
feeCurrency: `0x${string}` | undefined;
|
1133
|
-
gatewayFee: `0x${string}` | undefined;
|
1134
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1135
|
-
}) & {};
|
1045
|
+
} | {
|
1046
|
+
blockHash: `0x${string}` | null;
|
1047
|
+
blockNumber: bigint | null;
|
1048
|
+
from: `0x${string}`;
|
1049
|
+
gas: bigint;
|
1050
|
+
hash: `0x${string}`;
|
1051
|
+
input: `0x${string}`;
|
1052
|
+
nonce: number;
|
1053
|
+
r: `0x${string}`;
|
1054
|
+
s: `0x${string}`;
|
1055
|
+
to: `0x${string}` | null;
|
1056
|
+
transactionIndex: number | null;
|
1057
|
+
typeHex: `0x${string}` | null;
|
1058
|
+
v: bigint;
|
1059
|
+
value: bigint;
|
1060
|
+
gasPrice: bigint;
|
1061
|
+
maxFeePerGas?: undefined;
|
1062
|
+
maxPriorityFeePerGas?: undefined;
|
1063
|
+
accessList: import("../index.js").AccessList;
|
1064
|
+
chainId: number;
|
1065
|
+
type: "eip2930";
|
1066
|
+
feeCurrency: `0x${string}` | null;
|
1067
|
+
gatewayFee: bigint | null;
|
1068
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1069
|
+
} | {
|
1070
|
+
blockHash: `0x${string}` | null;
|
1071
|
+
blockNumber: bigint | null;
|
1072
|
+
from: `0x${string}`;
|
1073
|
+
gas: bigint;
|
1074
|
+
hash: `0x${string}`;
|
1075
|
+
input: `0x${string}`;
|
1076
|
+
nonce: number;
|
1077
|
+
r: `0x${string}`;
|
1078
|
+
s: `0x${string}`;
|
1079
|
+
to: `0x${string}` | null;
|
1080
|
+
transactionIndex: number | null;
|
1081
|
+
typeHex: `0x${string}` | null;
|
1082
|
+
v: bigint;
|
1083
|
+
value: bigint;
|
1084
|
+
gasPrice?: undefined;
|
1085
|
+
maxFeePerGas: bigint;
|
1086
|
+
maxPriorityFeePerGas: bigint;
|
1087
|
+
accessList: import("../index.js").AccessList;
|
1088
|
+
chainId: number;
|
1089
|
+
type: "eip1559";
|
1090
|
+
feeCurrency: `0x${string}` | null;
|
1091
|
+
gatewayFee: bigint | null;
|
1092
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1093
|
+
}) & {};
|
1094
|
+
type: "transaction";
|
1095
|
+
};
|
1096
|
+
readonly transactionReceipt: {
|
1097
|
+
format: (args: Partial<import("../index.js").RpcTransactionReceipt> & {
|
1098
|
+
feeCurrency: `0x${string}` | null;
|
1099
|
+
gatewayFee: `0x${string}` | null;
|
1100
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1101
|
+
}) => {
|
1102
|
+
blockHash: `0x${string}`;
|
1103
|
+
blockNumber: bigint;
|
1104
|
+
contractAddress: `0x${string}` | null;
|
1105
|
+
cumulativeGasUsed: bigint;
|
1106
|
+
effectiveGasPrice: bigint;
|
1107
|
+
from: `0x${string}`;
|
1108
|
+
gasUsed: bigint;
|
1109
|
+
logs: import("../index.js").Log<bigint, number>[];
|
1110
|
+
logsBloom: `0x${string}`;
|
1111
|
+
status: "success" | "reverted";
|
1112
|
+
to: `0x${string}` | null;
|
1113
|
+
transactionHash: `0x${string}`;
|
1114
|
+
transactionIndex: number;
|
1115
|
+
type: import("../index.js").TransactionType;
|
1116
|
+
feeCurrency: `0x${string}` | null;
|
1117
|
+
gatewayFee: bigint | null;
|
1118
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1119
|
+
} & {};
|
1120
|
+
type: "transactionReceipt";
|
1121
|
+
};
|
1122
|
+
readonly transactionRequest: {
|
1123
|
+
format: (args: Partial<import("../index.js").TransactionRequest> & {
|
1124
|
+
feeCurrency?: `0x${string}` | undefined;
|
1125
|
+
gatewayFee?: bigint | undefined;
|
1126
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1127
|
+
}) => ({
|
1128
|
+
data?: `0x${string}` | undefined;
|
1129
|
+
from: `0x${string}`;
|
1130
|
+
gas?: `0x${string}` | undefined;
|
1131
|
+
nonce?: `0x${string}` | undefined;
|
1132
|
+
to?: `0x${string}` | undefined;
|
1133
|
+
value?: `0x${string}` | undefined;
|
1134
|
+
gasPrice?: `0x${string}` | undefined;
|
1135
|
+
maxFeePerGas?: undefined;
|
1136
|
+
maxPriorityFeePerGas?: undefined;
|
1137
|
+
accessList?: undefined;
|
1138
|
+
feeCurrency: `0x${string}` | undefined;
|
1139
|
+
gatewayFee: `0x${string}` | undefined;
|
1140
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1141
|
+
} | {
|
1142
|
+
data?: `0x${string}` | undefined;
|
1143
|
+
from: `0x${string}`;
|
1144
|
+
gas?: `0x${string}` | undefined;
|
1145
|
+
nonce?: `0x${string}` | undefined;
|
1146
|
+
to?: `0x${string}` | undefined;
|
1147
|
+
value?: `0x${string}` | undefined;
|
1148
|
+
gasPrice?: `0x${string}` | undefined;
|
1149
|
+
maxFeePerGas?: undefined;
|
1150
|
+
maxPriorityFeePerGas?: undefined;
|
1151
|
+
accessList?: import("../index.js").AccessList | undefined;
|
1152
|
+
feeCurrency: `0x${string}` | undefined;
|
1153
|
+
gatewayFee: `0x${string}` | undefined;
|
1154
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1155
|
+
} | {
|
1156
|
+
data?: `0x${string}` | undefined;
|
1157
|
+
from: `0x${string}`;
|
1158
|
+
gas?: `0x${string}` | undefined;
|
1159
|
+
nonce?: `0x${string}` | undefined;
|
1160
|
+
to?: `0x${string}` | undefined;
|
1161
|
+
value?: `0x${string}` | undefined;
|
1162
|
+
gasPrice?: undefined;
|
1163
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1164
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1165
|
+
accessList?: import("../index.js").AccessList | undefined;
|
1166
|
+
feeCurrency: `0x${string}` | undefined;
|
1167
|
+
gatewayFee: `0x${string}` | undefined;
|
1168
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1169
|
+
}) & {};
|
1170
|
+
type: "transactionRequest";
|
1171
|
+
};
|
1136
1172
|
} | undefined;
|
1137
1173
|
serializers: import("../index.js").Serializers<{
|
1138
|
-
readonly block:
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1174
|
+
readonly block: {
|
1175
|
+
format: (args: Partial<import("../index.js").RpcBlock> & {
|
1176
|
+
randomness: {
|
1177
|
+
committed: `0x${string}`;
|
1178
|
+
revealed: `0x${string}`;
|
1179
|
+
};
|
1180
|
+
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
1181
|
+
feeCurrency: `0x${string}` | null;
|
1182
|
+
gatewayFee: `0x${string}` | null;
|
1183
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1184
|
+
})[];
|
1185
|
+
}) => {
|
1186
|
+
baseFeePerGas: bigint | null;
|
1187
|
+
difficulty: bigint;
|
1188
|
+
extraData: `0x${string}`;
|
1189
|
+
gasLimit: bigint;
|
1190
|
+
gasUsed: bigint;
|
1191
|
+
hash: `0x${string}` | null;
|
1192
|
+
logsBloom: `0x${string}` | null;
|
1193
|
+
miner: `0x${string}`;
|
1194
|
+
mixHash: `0x${string}`;
|
1195
|
+
nonce: `0x${string}` | null;
|
1196
|
+
number: bigint | null;
|
1197
|
+
parentHash: `0x${string}`;
|
1198
|
+
receiptsRoot: `0x${string}`;
|
1199
|
+
sealFields: `0x${string}`[];
|
1200
|
+
sha3Uncles: `0x${string}`;
|
1201
|
+
size: bigint;
|
1202
|
+
stateRoot: `0x${string}`;
|
1203
|
+
timestamp: bigint;
|
1204
|
+
totalDifficulty: bigint | null;
|
1205
|
+
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
1206
|
+
feeCurrency: `0x${string}` | null;
|
1207
|
+
gatewayFee: bigint | null;
|
1208
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1209
|
+
})[];
|
1210
|
+
transactionsRoot: `0x${string}`;
|
1211
|
+
uncles: `0x${string}`[];
|
1212
|
+
randomness: {
|
1213
|
+
committed: `0x${string}`;
|
1214
|
+
revealed: `0x${string}`;
|
1215
|
+
};
|
1216
|
+
} & {
|
1217
|
+
nonce: never;
|
1218
|
+
difficulty: never;
|
1219
|
+
gasLimit: never;
|
1220
|
+
mixHash: never;
|
1221
|
+
uncles: never;
|
1142
1222
|
};
|
1143
|
-
|
1223
|
+
type: "block";
|
1224
|
+
};
|
1225
|
+
readonly transaction: {
|
1226
|
+
format: (args: Partial<import("../index.js").RpcTransaction> & {
|
1144
1227
|
feeCurrency: `0x${string}` | null;
|
1145
1228
|
gatewayFee: `0x${string}` | null;
|
1146
1229
|
gatewayFeeRecipient: `0x${string}` | null;
|
1147
|
-
})
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
1230
|
+
}) => ({
|
1231
|
+
blockHash: `0x${string}` | null;
|
1232
|
+
blockNumber: bigint | null;
|
1233
|
+
from: `0x${string}`;
|
1234
|
+
gas: bigint;
|
1235
|
+
hash: `0x${string}`;
|
1236
|
+
input: `0x${string}`;
|
1237
|
+
nonce: number;
|
1238
|
+
r: `0x${string}`;
|
1239
|
+
s: `0x${string}`;
|
1240
|
+
to: `0x${string}` | null;
|
1241
|
+
transactionIndex: number | null;
|
1242
|
+
typeHex: `0x${string}` | null;
|
1243
|
+
v: bigint;
|
1244
|
+
value: bigint;
|
1245
|
+
gasPrice: bigint;
|
1246
|
+
maxFeePerGas?: undefined;
|
1247
|
+
maxPriorityFeePerGas?: undefined;
|
1248
|
+
accessList?: undefined;
|
1249
|
+
chainId?: number | undefined;
|
1250
|
+
type: "legacy";
|
1169
1251
|
feeCurrency: `0x${string}` | null;
|
1170
1252
|
gatewayFee: bigint | null;
|
1171
1253
|
gatewayFeeRecipient: `0x${string}` | null;
|
1172
|
-
}
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
maxPriorityFeePerGas?: undefined;
|
1300
|
-
accessList?: undefined;
|
1301
|
-
feeCurrency: `0x${string}` | undefined;
|
1302
|
-
gatewayFee: `0x${string}` | undefined;
|
1303
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1304
|
-
} | {
|
1305
|
-
data?: `0x${string}` | undefined;
|
1306
|
-
from: `0x${string}`;
|
1307
|
-
gas?: `0x${string}` | undefined;
|
1308
|
-
nonce?: `0x${string}` | undefined;
|
1309
|
-
to?: `0x${string}` | undefined;
|
1310
|
-
value?: `0x${string}` | undefined;
|
1311
|
-
gasPrice?: `0x${string}` | undefined;
|
1312
|
-
maxFeePerGas?: undefined;
|
1313
|
-
maxPriorityFeePerGas?: undefined;
|
1314
|
-
accessList?: import("../index.js").AccessList | undefined;
|
1315
|
-
feeCurrency: `0x${string}` | undefined;
|
1316
|
-
gatewayFee: `0x${string}` | undefined;
|
1317
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1318
|
-
} | {
|
1319
|
-
data?: `0x${string}` | undefined;
|
1320
|
-
from: `0x${string}`;
|
1321
|
-
gas?: `0x${string}` | undefined;
|
1322
|
-
nonce?: `0x${string}` | undefined;
|
1323
|
-
to?: `0x${string}` | undefined;
|
1324
|
-
value?: `0x${string}` | undefined;
|
1325
|
-
gasPrice?: undefined;
|
1326
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
1327
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1328
|
-
accessList?: import("../index.js").AccessList | undefined;
|
1329
|
-
feeCurrency: `0x${string}` | undefined;
|
1330
|
-
gatewayFee: `0x${string}` | undefined;
|
1331
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1332
|
-
}) & {};
|
1254
|
+
} | {
|
1255
|
+
blockHash: `0x${string}` | null;
|
1256
|
+
blockNumber: bigint | null;
|
1257
|
+
from: `0x${string}`;
|
1258
|
+
gas: bigint;
|
1259
|
+
hash: `0x${string}`;
|
1260
|
+
input: `0x${string}`;
|
1261
|
+
nonce: number;
|
1262
|
+
r: `0x${string}`;
|
1263
|
+
s: `0x${string}`;
|
1264
|
+
to: `0x${string}` | null;
|
1265
|
+
transactionIndex: number | null;
|
1266
|
+
typeHex: `0x${string}` | null;
|
1267
|
+
v: bigint;
|
1268
|
+
value: bigint;
|
1269
|
+
gasPrice: bigint;
|
1270
|
+
maxFeePerGas?: undefined;
|
1271
|
+
maxPriorityFeePerGas?: undefined;
|
1272
|
+
accessList: import("../index.js").AccessList;
|
1273
|
+
chainId: number;
|
1274
|
+
type: "eip2930";
|
1275
|
+
feeCurrency: `0x${string}` | null;
|
1276
|
+
gatewayFee: bigint | null;
|
1277
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1278
|
+
} | {
|
1279
|
+
blockHash: `0x${string}` | null;
|
1280
|
+
blockNumber: bigint | null;
|
1281
|
+
from: `0x${string}`;
|
1282
|
+
gas: bigint;
|
1283
|
+
hash: `0x${string}`;
|
1284
|
+
input: `0x${string}`;
|
1285
|
+
nonce: number;
|
1286
|
+
r: `0x${string}`;
|
1287
|
+
s: `0x${string}`;
|
1288
|
+
to: `0x${string}` | null;
|
1289
|
+
transactionIndex: number | null;
|
1290
|
+
typeHex: `0x${string}` | null;
|
1291
|
+
v: bigint;
|
1292
|
+
value: bigint;
|
1293
|
+
gasPrice?: undefined;
|
1294
|
+
maxFeePerGas: bigint;
|
1295
|
+
maxPriorityFeePerGas: bigint;
|
1296
|
+
accessList: import("../index.js").AccessList;
|
1297
|
+
chainId: number;
|
1298
|
+
type: "eip1559";
|
1299
|
+
feeCurrency: `0x${string}` | null;
|
1300
|
+
gatewayFee: bigint | null;
|
1301
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1302
|
+
}) & {};
|
1303
|
+
type: "transaction";
|
1304
|
+
};
|
1305
|
+
readonly transactionReceipt: {
|
1306
|
+
format: (args: Partial<import("../index.js").RpcTransactionReceipt> & {
|
1307
|
+
feeCurrency: `0x${string}` | null;
|
1308
|
+
gatewayFee: `0x${string}` | null;
|
1309
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1310
|
+
}) => {
|
1311
|
+
blockHash: `0x${string}`;
|
1312
|
+
blockNumber: bigint;
|
1313
|
+
contractAddress: `0x${string}` | null;
|
1314
|
+
cumulativeGasUsed: bigint;
|
1315
|
+
effectiveGasPrice: bigint;
|
1316
|
+
from: `0x${string}`;
|
1317
|
+
gasUsed: bigint;
|
1318
|
+
logs: import("../index.js").Log<bigint, number>[];
|
1319
|
+
logsBloom: `0x${string}`;
|
1320
|
+
status: "success" | "reverted";
|
1321
|
+
to: `0x${string}` | null;
|
1322
|
+
transactionHash: `0x${string}`;
|
1323
|
+
transactionIndex: number;
|
1324
|
+
type: import("../index.js").TransactionType;
|
1325
|
+
feeCurrency: `0x${string}` | null;
|
1326
|
+
gatewayFee: bigint | null;
|
1327
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1328
|
+
} & {};
|
1329
|
+
type: "transactionReceipt";
|
1330
|
+
};
|
1331
|
+
readonly transactionRequest: {
|
1332
|
+
format: (args: Partial<import("../index.js").TransactionRequest> & {
|
1333
|
+
feeCurrency?: `0x${string}` | undefined;
|
1334
|
+
gatewayFee?: bigint | undefined;
|
1335
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1336
|
+
}) => ({
|
1337
|
+
data?: `0x${string}` | undefined;
|
1338
|
+
from: `0x${string}`;
|
1339
|
+
gas?: `0x${string}` | undefined;
|
1340
|
+
nonce?: `0x${string}` | undefined;
|
1341
|
+
to?: `0x${string}` | undefined;
|
1342
|
+
value?: `0x${string}` | undefined;
|
1343
|
+
gasPrice?: `0x${string}` | undefined;
|
1344
|
+
maxFeePerGas?: undefined;
|
1345
|
+
maxPriorityFeePerGas?: undefined;
|
1346
|
+
accessList?: undefined;
|
1347
|
+
feeCurrency: `0x${string}` | undefined;
|
1348
|
+
gatewayFee: `0x${string}` | undefined;
|
1349
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1350
|
+
} | {
|
1351
|
+
data?: `0x${string}` | undefined;
|
1352
|
+
from: `0x${string}`;
|
1353
|
+
gas?: `0x${string}` | undefined;
|
1354
|
+
nonce?: `0x${string}` | undefined;
|
1355
|
+
to?: `0x${string}` | undefined;
|
1356
|
+
value?: `0x${string}` | undefined;
|
1357
|
+
gasPrice?: `0x${string}` | undefined;
|
1358
|
+
maxFeePerGas?: undefined;
|
1359
|
+
maxPriorityFeePerGas?: undefined;
|
1360
|
+
accessList?: import("../index.js").AccessList | undefined;
|
1361
|
+
feeCurrency: `0x${string}` | undefined;
|
1362
|
+
gatewayFee: `0x${string}` | undefined;
|
1363
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1364
|
+
} | {
|
1365
|
+
data?: `0x${string}` | undefined;
|
1366
|
+
from: `0x${string}`;
|
1367
|
+
gas?: `0x${string}` | undefined;
|
1368
|
+
nonce?: `0x${string}` | undefined;
|
1369
|
+
to?: `0x${string}` | undefined;
|
1370
|
+
value?: `0x${string}` | undefined;
|
1371
|
+
gasPrice?: undefined;
|
1372
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1373
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1374
|
+
accessList?: import("../index.js").AccessList | undefined;
|
1375
|
+
feeCurrency: `0x${string}` | undefined;
|
1376
|
+
gatewayFee: `0x${string}` | undefined;
|
1377
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1378
|
+
}) & {};
|
1379
|
+
type: "transactionRequest";
|
1380
|
+
};
|
1333
1381
|
}> | undefined;
|
1334
1382
|
};
|
1335
1383
|
export declare const celoCannoli: {
|
@@ -1364,398 +1412,422 @@ export declare const celoCannoli: {
|
|
1364
1412
|
readonly testnet: true;
|
1365
1413
|
} & {
|
1366
1414
|
formatters: {
|
1367
|
-
readonly block:
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1415
|
+
readonly block: {
|
1416
|
+
format: (args: Partial<import("../index.js").RpcBlock> & {
|
1417
|
+
randomness: {
|
1418
|
+
committed: `0x${string}`;
|
1419
|
+
revealed: `0x${string}`;
|
1420
|
+
};
|
1421
|
+
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
1422
|
+
feeCurrency: `0x${string}` | null;
|
1423
|
+
gatewayFee: `0x${string}` | null;
|
1424
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1425
|
+
})[];
|
1426
|
+
}) => {
|
1427
|
+
baseFeePerGas: bigint | null;
|
1428
|
+
difficulty: bigint;
|
1429
|
+
extraData: `0x${string}`;
|
1430
|
+
gasLimit: bigint;
|
1431
|
+
gasUsed: bigint;
|
1432
|
+
hash: `0x${string}` | null;
|
1433
|
+
logsBloom: `0x${string}` | null;
|
1434
|
+
miner: `0x${string}`;
|
1435
|
+
mixHash: `0x${string}`;
|
1436
|
+
nonce: `0x${string}` | null;
|
1437
|
+
number: bigint | null;
|
1438
|
+
parentHash: `0x${string}`;
|
1439
|
+
receiptsRoot: `0x${string}`;
|
1440
|
+
sealFields: `0x${string}`[];
|
1441
|
+
sha3Uncles: `0x${string}`;
|
1442
|
+
size: bigint;
|
1443
|
+
stateRoot: `0x${string}`;
|
1444
|
+
timestamp: bigint;
|
1445
|
+
totalDifficulty: bigint | null;
|
1446
|
+
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
1447
|
+
feeCurrency: `0x${string}` | null;
|
1448
|
+
gatewayFee: bigint | null;
|
1449
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1450
|
+
})[];
|
1451
|
+
transactionsRoot: `0x${string}`;
|
1452
|
+
uncles: `0x${string}`[];
|
1453
|
+
randomness: {
|
1454
|
+
committed: `0x${string}`;
|
1455
|
+
revealed: `0x${string}`;
|
1456
|
+
};
|
1457
|
+
} & {
|
1458
|
+
nonce: never;
|
1459
|
+
difficulty: never;
|
1460
|
+
gasLimit: never;
|
1461
|
+
mixHash: never;
|
1462
|
+
uncles: never;
|
1371
1463
|
};
|
1372
|
-
|
1464
|
+
type: "block";
|
1465
|
+
};
|
1466
|
+
readonly transaction: {
|
1467
|
+
format: (args: Partial<import("../index.js").RpcTransaction> & {
|
1373
1468
|
feeCurrency: `0x${string}` | null;
|
1374
1469
|
gatewayFee: `0x${string}` | null;
|
1375
1470
|
gatewayFeeRecipient: `0x${string}` | null;
|
1376
|
-
})
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
1471
|
+
}) => ({
|
1472
|
+
blockHash: `0x${string}` | null;
|
1473
|
+
blockNumber: bigint | null;
|
1474
|
+
from: `0x${string}`;
|
1475
|
+
gas: bigint;
|
1476
|
+
hash: `0x${string}`;
|
1477
|
+
input: `0x${string}`;
|
1478
|
+
nonce: number;
|
1479
|
+
r: `0x${string}`;
|
1480
|
+
s: `0x${string}`;
|
1481
|
+
to: `0x${string}` | null;
|
1482
|
+
transactionIndex: number | null;
|
1483
|
+
typeHex: `0x${string}` | null;
|
1484
|
+
v: bigint;
|
1485
|
+
value: bigint;
|
1486
|
+
gasPrice: bigint;
|
1487
|
+
maxFeePerGas?: undefined;
|
1488
|
+
maxPriorityFeePerGas?: undefined;
|
1489
|
+
accessList?: undefined;
|
1490
|
+
chainId?: number | undefined;
|
1491
|
+
type: "legacy";
|
1398
1492
|
feeCurrency: `0x${string}` | null;
|
1399
1493
|
gatewayFee: bigint | null;
|
1400
1494
|
gatewayFeeRecipient: `0x${string}` | null;
|
1401
|
-
}
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
maxPriorityFeePerGas?: undefined;
|
1529
|
-
accessList?: undefined;
|
1530
|
-
feeCurrency: `0x${string}` | undefined;
|
1531
|
-
gatewayFee: `0x${string}` | undefined;
|
1532
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1533
|
-
} | {
|
1534
|
-
data?: `0x${string}` | undefined;
|
1535
|
-
from: `0x${string}`;
|
1536
|
-
gas?: `0x${string}` | undefined;
|
1537
|
-
nonce?: `0x${string}` | undefined;
|
1538
|
-
to?: `0x${string}` | undefined;
|
1539
|
-
value?: `0x${string}` | undefined;
|
1540
|
-
gasPrice?: `0x${string}` | undefined;
|
1541
|
-
maxFeePerGas?: undefined;
|
1542
|
-
maxPriorityFeePerGas?: undefined;
|
1543
|
-
accessList?: import("../index.js").AccessList | undefined;
|
1544
|
-
feeCurrency: `0x${string}` | undefined;
|
1545
|
-
gatewayFee: `0x${string}` | undefined;
|
1546
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1547
|
-
} | {
|
1548
|
-
data?: `0x${string}` | undefined;
|
1549
|
-
from: `0x${string}`;
|
1550
|
-
gas?: `0x${string}` | undefined;
|
1551
|
-
nonce?: `0x${string}` | undefined;
|
1552
|
-
to?: `0x${string}` | undefined;
|
1553
|
-
value?: `0x${string}` | undefined;
|
1554
|
-
gasPrice?: undefined;
|
1555
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
1556
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1557
|
-
accessList?: import("../index.js").AccessList | undefined;
|
1558
|
-
feeCurrency: `0x${string}` | undefined;
|
1559
|
-
gatewayFee: `0x${string}` | undefined;
|
1560
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1561
|
-
}) & {};
|
1495
|
+
} | {
|
1496
|
+
blockHash: `0x${string}` | null;
|
1497
|
+
blockNumber: bigint | null;
|
1498
|
+
from: `0x${string}`;
|
1499
|
+
gas: bigint;
|
1500
|
+
hash: `0x${string}`;
|
1501
|
+
input: `0x${string}`;
|
1502
|
+
nonce: number;
|
1503
|
+
r: `0x${string}`;
|
1504
|
+
s: `0x${string}`;
|
1505
|
+
to: `0x${string}` | null;
|
1506
|
+
transactionIndex: number | null;
|
1507
|
+
typeHex: `0x${string}` | null;
|
1508
|
+
v: bigint;
|
1509
|
+
value: bigint;
|
1510
|
+
gasPrice: bigint;
|
1511
|
+
maxFeePerGas?: undefined;
|
1512
|
+
maxPriorityFeePerGas?: undefined;
|
1513
|
+
accessList: import("../index.js").AccessList;
|
1514
|
+
chainId: number;
|
1515
|
+
type: "eip2930";
|
1516
|
+
feeCurrency: `0x${string}` | null;
|
1517
|
+
gatewayFee: bigint | null;
|
1518
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1519
|
+
} | {
|
1520
|
+
blockHash: `0x${string}` | null;
|
1521
|
+
blockNumber: bigint | null;
|
1522
|
+
from: `0x${string}`;
|
1523
|
+
gas: bigint;
|
1524
|
+
hash: `0x${string}`;
|
1525
|
+
input: `0x${string}`;
|
1526
|
+
nonce: number;
|
1527
|
+
r: `0x${string}`;
|
1528
|
+
s: `0x${string}`;
|
1529
|
+
to: `0x${string}` | null;
|
1530
|
+
transactionIndex: number | null;
|
1531
|
+
typeHex: `0x${string}` | null;
|
1532
|
+
v: bigint;
|
1533
|
+
value: bigint;
|
1534
|
+
gasPrice?: undefined;
|
1535
|
+
maxFeePerGas: bigint;
|
1536
|
+
maxPriorityFeePerGas: bigint;
|
1537
|
+
accessList: import("../index.js").AccessList;
|
1538
|
+
chainId: number;
|
1539
|
+
type: "eip1559";
|
1540
|
+
feeCurrency: `0x${string}` | null;
|
1541
|
+
gatewayFee: bigint | null;
|
1542
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1543
|
+
}) & {};
|
1544
|
+
type: "transaction";
|
1545
|
+
};
|
1546
|
+
readonly transactionReceipt: {
|
1547
|
+
format: (args: Partial<import("../index.js").RpcTransactionReceipt> & {
|
1548
|
+
feeCurrency: `0x${string}` | null;
|
1549
|
+
gatewayFee: `0x${string}` | null;
|
1550
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1551
|
+
}) => {
|
1552
|
+
blockHash: `0x${string}`;
|
1553
|
+
blockNumber: bigint;
|
1554
|
+
contractAddress: `0x${string}` | null;
|
1555
|
+
cumulativeGasUsed: bigint;
|
1556
|
+
effectiveGasPrice: bigint;
|
1557
|
+
from: `0x${string}`;
|
1558
|
+
gasUsed: bigint;
|
1559
|
+
logs: import("../index.js").Log<bigint, number>[];
|
1560
|
+
logsBloom: `0x${string}`;
|
1561
|
+
status: "success" | "reverted";
|
1562
|
+
to: `0x${string}` | null;
|
1563
|
+
transactionHash: `0x${string}`;
|
1564
|
+
transactionIndex: number;
|
1565
|
+
type: import("../index.js").TransactionType;
|
1566
|
+
feeCurrency: `0x${string}` | null;
|
1567
|
+
gatewayFee: bigint | null;
|
1568
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1569
|
+
} & {};
|
1570
|
+
type: "transactionReceipt";
|
1571
|
+
};
|
1572
|
+
readonly transactionRequest: {
|
1573
|
+
format: (args: Partial<import("../index.js").TransactionRequest> & {
|
1574
|
+
feeCurrency?: `0x${string}` | undefined;
|
1575
|
+
gatewayFee?: bigint | undefined;
|
1576
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1577
|
+
}) => ({
|
1578
|
+
data?: `0x${string}` | undefined;
|
1579
|
+
from: `0x${string}`;
|
1580
|
+
gas?: `0x${string}` | undefined;
|
1581
|
+
nonce?: `0x${string}` | undefined;
|
1582
|
+
to?: `0x${string}` | undefined;
|
1583
|
+
value?: `0x${string}` | undefined;
|
1584
|
+
gasPrice?: `0x${string}` | undefined;
|
1585
|
+
maxFeePerGas?: undefined;
|
1586
|
+
maxPriorityFeePerGas?: undefined;
|
1587
|
+
accessList?: undefined;
|
1588
|
+
feeCurrency: `0x${string}` | undefined;
|
1589
|
+
gatewayFee: `0x${string}` | undefined;
|
1590
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1591
|
+
} | {
|
1592
|
+
data?: `0x${string}` | undefined;
|
1593
|
+
from: `0x${string}`;
|
1594
|
+
gas?: `0x${string}` | undefined;
|
1595
|
+
nonce?: `0x${string}` | undefined;
|
1596
|
+
to?: `0x${string}` | undefined;
|
1597
|
+
value?: `0x${string}` | undefined;
|
1598
|
+
gasPrice?: `0x${string}` | undefined;
|
1599
|
+
maxFeePerGas?: undefined;
|
1600
|
+
maxPriorityFeePerGas?: undefined;
|
1601
|
+
accessList?: import("../index.js").AccessList | undefined;
|
1602
|
+
feeCurrency: `0x${string}` | undefined;
|
1603
|
+
gatewayFee: `0x${string}` | undefined;
|
1604
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1605
|
+
} | {
|
1606
|
+
data?: `0x${string}` | undefined;
|
1607
|
+
from: `0x${string}`;
|
1608
|
+
gas?: `0x${string}` | undefined;
|
1609
|
+
nonce?: `0x${string}` | undefined;
|
1610
|
+
to?: `0x${string}` | undefined;
|
1611
|
+
value?: `0x${string}` | undefined;
|
1612
|
+
gasPrice?: undefined;
|
1613
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1614
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1615
|
+
accessList?: import("../index.js").AccessList | undefined;
|
1616
|
+
feeCurrency: `0x${string}` | undefined;
|
1617
|
+
gatewayFee: `0x${string}` | undefined;
|
1618
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1619
|
+
}) & {};
|
1620
|
+
type: "transactionRequest";
|
1621
|
+
};
|
1562
1622
|
} | undefined;
|
1563
1623
|
serializers: import("../index.js").Serializers<{
|
1564
|
-
readonly block:
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1624
|
+
readonly block: {
|
1625
|
+
format: (args: Partial<import("../index.js").RpcBlock> & {
|
1626
|
+
randomness: {
|
1627
|
+
committed: `0x${string}`;
|
1628
|
+
revealed: `0x${string}`;
|
1629
|
+
};
|
1630
|
+
transactions: `0x${string}`[] | (import("../index.js").RpcTransaction & {
|
1631
|
+
feeCurrency: `0x${string}` | null;
|
1632
|
+
gatewayFee: `0x${string}` | null;
|
1633
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1634
|
+
})[];
|
1635
|
+
}) => {
|
1636
|
+
baseFeePerGas: bigint | null;
|
1637
|
+
difficulty: bigint;
|
1638
|
+
extraData: `0x${string}`;
|
1639
|
+
gasLimit: bigint;
|
1640
|
+
gasUsed: bigint;
|
1641
|
+
hash: `0x${string}` | null;
|
1642
|
+
logsBloom: `0x${string}` | null;
|
1643
|
+
miner: `0x${string}`;
|
1644
|
+
mixHash: `0x${string}`;
|
1645
|
+
nonce: `0x${string}` | null;
|
1646
|
+
number: bigint | null;
|
1647
|
+
parentHash: `0x${string}`;
|
1648
|
+
receiptsRoot: `0x${string}`;
|
1649
|
+
sealFields: `0x${string}`[];
|
1650
|
+
sha3Uncles: `0x${string}`;
|
1651
|
+
size: bigint;
|
1652
|
+
stateRoot: `0x${string}`;
|
1653
|
+
timestamp: bigint;
|
1654
|
+
totalDifficulty: bigint | null;
|
1655
|
+
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
1656
|
+
feeCurrency: `0x${string}` | null;
|
1657
|
+
gatewayFee: bigint | null;
|
1658
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1659
|
+
})[];
|
1660
|
+
transactionsRoot: `0x${string}`;
|
1661
|
+
uncles: `0x${string}`[];
|
1662
|
+
randomness: {
|
1663
|
+
committed: `0x${string}`;
|
1664
|
+
revealed: `0x${string}`;
|
1665
|
+
};
|
1666
|
+
} & {
|
1667
|
+
nonce: never;
|
1668
|
+
difficulty: never;
|
1669
|
+
gasLimit: never;
|
1670
|
+
mixHash: never;
|
1671
|
+
uncles: never;
|
1568
1672
|
};
|
1569
|
-
|
1673
|
+
type: "block";
|
1674
|
+
};
|
1675
|
+
readonly transaction: {
|
1676
|
+
format: (args: Partial<import("../index.js").RpcTransaction> & {
|
1570
1677
|
feeCurrency: `0x${string}` | null;
|
1571
1678
|
gatewayFee: `0x${string}` | null;
|
1572
1679
|
gatewayFeeRecipient: `0x${string}` | null;
|
1573
|
-
})
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
transactions: `0x${string}`[] | (import("../index.js").Transaction & {
|
1680
|
+
}) => ({
|
1681
|
+
blockHash: `0x${string}` | null;
|
1682
|
+
blockNumber: bigint | null;
|
1683
|
+
from: `0x${string}`;
|
1684
|
+
gas: bigint;
|
1685
|
+
hash: `0x${string}`;
|
1686
|
+
input: `0x${string}`;
|
1687
|
+
nonce: number;
|
1688
|
+
r: `0x${string}`;
|
1689
|
+
s: `0x${string}`;
|
1690
|
+
to: `0x${string}` | null;
|
1691
|
+
transactionIndex: number | null;
|
1692
|
+
typeHex: `0x${string}` | null;
|
1693
|
+
v: bigint;
|
1694
|
+
value: bigint;
|
1695
|
+
gasPrice: bigint;
|
1696
|
+
maxFeePerGas?: undefined;
|
1697
|
+
maxPriorityFeePerGas?: undefined;
|
1698
|
+
accessList?: undefined;
|
1699
|
+
chainId?: number | undefined;
|
1700
|
+
type: "legacy";
|
1595
1701
|
feeCurrency: `0x${string}` | null;
|
1596
1702
|
gatewayFee: bigint | null;
|
1597
1703
|
gatewayFeeRecipient: `0x${string}` | null;
|
1598
|
-
}
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1690
|
-
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
maxPriorityFeePerGas?: undefined;
|
1726
|
-
accessList?: undefined;
|
1727
|
-
feeCurrency: `0x${string}` | undefined;
|
1728
|
-
gatewayFee: `0x${string}` | undefined;
|
1729
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1730
|
-
} | {
|
1731
|
-
data?: `0x${string}` | undefined;
|
1732
|
-
from: `0x${string}`;
|
1733
|
-
gas?: `0x${string}` | undefined;
|
1734
|
-
nonce?: `0x${string}` | undefined;
|
1735
|
-
to?: `0x${string}` | undefined;
|
1736
|
-
value?: `0x${string}` | undefined;
|
1737
|
-
gasPrice?: `0x${string}` | undefined;
|
1738
|
-
maxFeePerGas?: undefined;
|
1739
|
-
maxPriorityFeePerGas?: undefined;
|
1740
|
-
accessList?: import("../index.js").AccessList | undefined;
|
1741
|
-
feeCurrency: `0x${string}` | undefined;
|
1742
|
-
gatewayFee: `0x${string}` | undefined;
|
1743
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1744
|
-
} | {
|
1745
|
-
data?: `0x${string}` | undefined;
|
1746
|
-
from: `0x${string}`;
|
1747
|
-
gas?: `0x${string}` | undefined;
|
1748
|
-
nonce?: `0x${string}` | undefined;
|
1749
|
-
to?: `0x${string}` | undefined;
|
1750
|
-
value?: `0x${string}` | undefined;
|
1751
|
-
gasPrice?: undefined;
|
1752
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
1753
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1754
|
-
accessList?: import("../index.js").AccessList | undefined;
|
1755
|
-
feeCurrency: `0x${string}` | undefined;
|
1756
|
-
gatewayFee: `0x${string}` | undefined;
|
1757
|
-
gatewayFeeRecipient: `0x${string}` | undefined;
|
1758
|
-
}) & {};
|
1704
|
+
} | {
|
1705
|
+
blockHash: `0x${string}` | null;
|
1706
|
+
blockNumber: bigint | null;
|
1707
|
+
from: `0x${string}`;
|
1708
|
+
gas: bigint;
|
1709
|
+
hash: `0x${string}`;
|
1710
|
+
input: `0x${string}`;
|
1711
|
+
nonce: number;
|
1712
|
+
r: `0x${string}`;
|
1713
|
+
s: `0x${string}`;
|
1714
|
+
to: `0x${string}` | null;
|
1715
|
+
transactionIndex: number | null;
|
1716
|
+
typeHex: `0x${string}` | null;
|
1717
|
+
v: bigint;
|
1718
|
+
value: bigint;
|
1719
|
+
gasPrice: bigint;
|
1720
|
+
maxFeePerGas?: undefined;
|
1721
|
+
maxPriorityFeePerGas?: undefined;
|
1722
|
+
accessList: import("../index.js").AccessList;
|
1723
|
+
chainId: number;
|
1724
|
+
type: "eip2930";
|
1725
|
+
feeCurrency: `0x${string}` | null;
|
1726
|
+
gatewayFee: bigint | null;
|
1727
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1728
|
+
} | {
|
1729
|
+
blockHash: `0x${string}` | null;
|
1730
|
+
blockNumber: bigint | null;
|
1731
|
+
from: `0x${string}`;
|
1732
|
+
gas: bigint;
|
1733
|
+
hash: `0x${string}`;
|
1734
|
+
input: `0x${string}`;
|
1735
|
+
nonce: number;
|
1736
|
+
r: `0x${string}`;
|
1737
|
+
s: `0x${string}`;
|
1738
|
+
to: `0x${string}` | null;
|
1739
|
+
transactionIndex: number | null;
|
1740
|
+
typeHex: `0x${string}` | null;
|
1741
|
+
v: bigint;
|
1742
|
+
value: bigint;
|
1743
|
+
gasPrice?: undefined;
|
1744
|
+
maxFeePerGas: bigint;
|
1745
|
+
maxPriorityFeePerGas: bigint;
|
1746
|
+
accessList: import("../index.js").AccessList;
|
1747
|
+
chainId: number;
|
1748
|
+
type: "eip1559";
|
1749
|
+
feeCurrency: `0x${string}` | null;
|
1750
|
+
gatewayFee: bigint | null;
|
1751
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1752
|
+
}) & {};
|
1753
|
+
type: "transaction";
|
1754
|
+
};
|
1755
|
+
readonly transactionReceipt: {
|
1756
|
+
format: (args: Partial<import("../index.js").RpcTransactionReceipt> & {
|
1757
|
+
feeCurrency: `0x${string}` | null;
|
1758
|
+
gatewayFee: `0x${string}` | null;
|
1759
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1760
|
+
}) => {
|
1761
|
+
blockHash: `0x${string}`;
|
1762
|
+
blockNumber: bigint;
|
1763
|
+
contractAddress: `0x${string}` | null;
|
1764
|
+
cumulativeGasUsed: bigint;
|
1765
|
+
effectiveGasPrice: bigint;
|
1766
|
+
from: `0x${string}`;
|
1767
|
+
gasUsed: bigint;
|
1768
|
+
logs: import("../index.js").Log<bigint, number>[];
|
1769
|
+
logsBloom: `0x${string}`;
|
1770
|
+
status: "success" | "reverted";
|
1771
|
+
to: `0x${string}` | null;
|
1772
|
+
transactionHash: `0x${string}`;
|
1773
|
+
transactionIndex: number;
|
1774
|
+
type: import("../index.js").TransactionType;
|
1775
|
+
feeCurrency: `0x${string}` | null;
|
1776
|
+
gatewayFee: bigint | null;
|
1777
|
+
gatewayFeeRecipient: `0x${string}` | null;
|
1778
|
+
} & {};
|
1779
|
+
type: "transactionReceipt";
|
1780
|
+
};
|
1781
|
+
readonly transactionRequest: {
|
1782
|
+
format: (args: Partial<import("../index.js").TransactionRequest> & {
|
1783
|
+
feeCurrency?: `0x${string}` | undefined;
|
1784
|
+
gatewayFee?: bigint | undefined;
|
1785
|
+
gatewayFeeRecipient?: `0x${string}` | undefined;
|
1786
|
+
}) => ({
|
1787
|
+
data?: `0x${string}` | undefined;
|
1788
|
+
from: `0x${string}`;
|
1789
|
+
gas?: `0x${string}` | undefined;
|
1790
|
+
nonce?: `0x${string}` | undefined;
|
1791
|
+
to?: `0x${string}` | undefined;
|
1792
|
+
value?: `0x${string}` | undefined;
|
1793
|
+
gasPrice?: `0x${string}` | undefined;
|
1794
|
+
maxFeePerGas?: undefined;
|
1795
|
+
maxPriorityFeePerGas?: undefined;
|
1796
|
+
accessList?: undefined;
|
1797
|
+
feeCurrency: `0x${string}` | undefined;
|
1798
|
+
gatewayFee: `0x${string}` | undefined;
|
1799
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1800
|
+
} | {
|
1801
|
+
data?: `0x${string}` | undefined;
|
1802
|
+
from: `0x${string}`;
|
1803
|
+
gas?: `0x${string}` | undefined;
|
1804
|
+
nonce?: `0x${string}` | undefined;
|
1805
|
+
to?: `0x${string}` | undefined;
|
1806
|
+
value?: `0x${string}` | undefined;
|
1807
|
+
gasPrice?: `0x${string}` | undefined;
|
1808
|
+
maxFeePerGas?: undefined;
|
1809
|
+
maxPriorityFeePerGas?: undefined;
|
1810
|
+
accessList?: import("../index.js").AccessList | undefined;
|
1811
|
+
feeCurrency: `0x${string}` | undefined;
|
1812
|
+
gatewayFee: `0x${string}` | undefined;
|
1813
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1814
|
+
} | {
|
1815
|
+
data?: `0x${string}` | undefined;
|
1816
|
+
from: `0x${string}`;
|
1817
|
+
gas?: `0x${string}` | undefined;
|
1818
|
+
nonce?: `0x${string}` | undefined;
|
1819
|
+
to?: `0x${string}` | undefined;
|
1820
|
+
value?: `0x${string}` | undefined;
|
1821
|
+
gasPrice?: undefined;
|
1822
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1823
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1824
|
+
accessList?: import("../index.js").AccessList | undefined;
|
1825
|
+
feeCurrency: `0x${string}` | undefined;
|
1826
|
+
gatewayFee: `0x${string}` | undefined;
|
1827
|
+
gatewayFeeRecipient: `0x${string}` | undefined;
|
1828
|
+
}) & {};
|
1829
|
+
type: "transactionRequest";
|
1830
|
+
};
|
1759
1831
|
}> | undefined;
|
1760
1832
|
};
|
1761
1833
|
export declare const cronos: {
|
@@ -1776,10 +1848,6 @@ export declare const cronos: {
|
|
1776
1848
|
};
|
1777
1849
|
};
|
1778
1850
|
readonly blockExplorers: {
|
1779
|
-
readonly etherscan: {
|
1780
|
-
readonly name: "CronosScan";
|
1781
|
-
readonly url: "https://cronoscan.com";
|
1782
|
-
};
|
1783
1851
|
readonly default: {
|
1784
1852
|
readonly name: "CronosScan";
|
1785
1853
|
readonly url: "https://cronoscan.com";
|
@@ -1910,7 +1978,7 @@ export declare const evmos: {
|
|
1910
1978
|
readonly blockExplorers: {
|
1911
1979
|
readonly default: {
|
1912
1980
|
readonly name: "Evmos Block Explorer";
|
1913
|
-
readonly url: "https://escan.live
|
1981
|
+
readonly url: "https://escan.live";
|
1914
1982
|
};
|
1915
1983
|
};
|
1916
1984
|
} & {
|
@@ -2843,542 +2911,522 @@ export declare const optimism: {
|
|
2843
2911
|
};
|
2844
2912
|
} & {
|
2845
2913
|
formatters: {
|
2846
|
-
readonly block:
|
2847
|
-
|
2914
|
+
readonly block: {
|
2915
|
+
format: (args: Partial<import("../index.js").RpcBlock> & {
|
2916
|
+
transactions: `0x${string}`[] | ((import("../index.js").RpcTransaction & {
|
2917
|
+
isSystemTx?: undefined;
|
2918
|
+
mint?: undefined;
|
2919
|
+
sourceHash?: undefined;
|
2920
|
+
}) | import("./formatters/optimism.js").RpcDepositTransaction)[];
|
2921
|
+
}) => {
|
2922
|
+
baseFeePerGas: bigint | null;
|
2923
|
+
difficulty: bigint;
|
2924
|
+
extraData: `0x${string}`;
|
2925
|
+
gasLimit: bigint;
|
2926
|
+
gasUsed: bigint;
|
2927
|
+
hash: `0x${string}` | null;
|
2928
|
+
logsBloom: `0x${string}` | null;
|
2929
|
+
miner: `0x${string}`;
|
2930
|
+
mixHash: `0x${string}`;
|
2931
|
+
nonce: `0x${string}` | null;
|
2932
|
+
number: bigint | null;
|
2933
|
+
parentHash: `0x${string}`;
|
2934
|
+
receiptsRoot: `0x${string}`;
|
2935
|
+
sealFields: `0x${string}`[];
|
2936
|
+
sha3Uncles: `0x${string}`;
|
2937
|
+
size: bigint;
|
2938
|
+
stateRoot: `0x${string}`;
|
2939
|
+
timestamp: bigint;
|
2940
|
+
totalDifficulty: bigint | null;
|
2941
|
+
transactions: `0x${string}`[] | ((import("../index.js").Transaction & {
|
2942
|
+
isSystemTx?: undefined;
|
2943
|
+
mint?: undefined;
|
2944
|
+
sourceHash?: undefined;
|
2945
|
+
}) | import("./formatters/optimism.js").DepositTransaction)[];
|
2946
|
+
transactionsRoot: `0x${string}`;
|
2947
|
+
uncles: `0x${string}`[];
|
2948
|
+
} & {};
|
2949
|
+
type: "block";
|
2950
|
+
};
|
2951
|
+
readonly transaction: {
|
2952
|
+
format: (args: (Partial<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, "0x0">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
2953
|
+
accessList?: undefined;
|
2954
|
+
chainId?: `0x${string}` | undefined;
|
2955
|
+
type: "0x0";
|
2956
|
+
} & {
|
2848
2957
|
isSystemTx?: undefined;
|
2849
2958
|
mint?: undefined;
|
2850
2959
|
sourceHash?: undefined;
|
2851
|
-
}) | (import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").
|
2960
|
+
}) | (Partial<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, "0x1">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
2961
|
+
accessList: import("../index.js").AccessList;
|
2962
|
+
chainId: `0x${string}`;
|
2963
|
+
type: "0x1";
|
2964
|
+
} & {
|
2965
|
+
isSystemTx?: undefined;
|
2966
|
+
mint?: undefined;
|
2967
|
+
sourceHash?: undefined;
|
2968
|
+
}) | (Partial<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, "0x2">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
2969
|
+
accessList: import("../index.js").AccessList;
|
2970
|
+
chainId: `0x${string}`;
|
2971
|
+
type: "0x2";
|
2972
|
+
} & {
|
2973
|
+
isSystemTx?: undefined;
|
2974
|
+
mint?: undefined;
|
2975
|
+
sourceHash?: undefined;
|
2976
|
+
})) => ({
|
2977
|
+
blockHash: `0x${string}` | null;
|
2978
|
+
blockNumber: bigint | null;
|
2979
|
+
from: `0x${string}`;
|
2980
|
+
gas: bigint;
|
2981
|
+
hash: `0x${string}`;
|
2982
|
+
input: `0x${string}`;
|
2983
|
+
nonce: number;
|
2984
|
+
r: `0x${string}`;
|
2985
|
+
s: `0x${string}`;
|
2986
|
+
to: `0x${string}` | null;
|
2987
|
+
transactionIndex: number | null;
|
2988
|
+
typeHex: `0x${string}` | null;
|
2989
|
+
v: bigint;
|
2990
|
+
value: bigint;
|
2991
|
+
gasPrice: bigint;
|
2992
|
+
maxFeePerGas?: undefined;
|
2993
|
+
maxPriorityFeePerGas?: undefined;
|
2994
|
+
accessList?: undefined;
|
2995
|
+
chainId?: number | undefined;
|
2996
|
+
type: "legacy";
|
2997
|
+
isSystemTx?: undefined;
|
2998
|
+
mint?: undefined;
|
2999
|
+
sourceHash?: undefined;
|
3000
|
+
} | {
|
3001
|
+
blockHash: `0x${string}` | null;
|
3002
|
+
blockNumber: bigint | null;
|
3003
|
+
from: `0x${string}`;
|
3004
|
+
gas: bigint;
|
3005
|
+
hash: `0x${string}`;
|
3006
|
+
input: `0x${string}`;
|
3007
|
+
nonce: number;
|
3008
|
+
r: `0x${string}`;
|
3009
|
+
s: `0x${string}`;
|
3010
|
+
to: `0x${string}` | null;
|
3011
|
+
transactionIndex: number | null;
|
3012
|
+
typeHex: `0x${string}` | null;
|
3013
|
+
v: bigint;
|
3014
|
+
value: bigint;
|
3015
|
+
gasPrice: undefined;
|
3016
|
+
maxFeePerGas: bigint;
|
3017
|
+
maxPriorityFeePerGas: bigint;
|
3018
|
+
accessList?: undefined;
|
3019
|
+
chainId?: number | undefined;
|
3020
|
+
type: "deposit";
|
2852
3021
|
isSystemTx?: boolean | undefined;
|
2853
|
-
mint?:
|
3022
|
+
mint?: bigint | undefined;
|
2854
3023
|
sourceHash: `0x${string}`;
|
2855
|
-
|
2856
|
-
|
2857
|
-
|
2858
|
-
|
2859
|
-
|
2860
|
-
|
2861
|
-
|
2862
|
-
|
2863
|
-
|
2864
|
-
|
2865
|
-
|
2866
|
-
|
2867
|
-
|
2868
|
-
|
2869
|
-
|
2870
|
-
|
2871
|
-
|
2872
|
-
|
2873
|
-
|
2874
|
-
|
2875
|
-
|
2876
|
-
|
2877
|
-
|
3024
|
+
} | {
|
3025
|
+
blockHash: `0x${string}` | null;
|
3026
|
+
blockNumber: bigint | null;
|
3027
|
+
from: `0x${string}`;
|
3028
|
+
gas: bigint;
|
3029
|
+
hash: `0x${string}`;
|
3030
|
+
input: `0x${string}`;
|
3031
|
+
nonce: number;
|
3032
|
+
r: `0x${string}`;
|
3033
|
+
s: `0x${string}`;
|
3034
|
+
to: `0x${string}` | null;
|
3035
|
+
transactionIndex: number | null;
|
3036
|
+
typeHex: `0x${string}` | null;
|
3037
|
+
v: bigint;
|
3038
|
+
value: bigint;
|
3039
|
+
gasPrice: bigint;
|
3040
|
+
maxFeePerGas?: undefined;
|
3041
|
+
maxPriorityFeePerGas?: undefined;
|
3042
|
+
accessList: import("../index.js").AccessList;
|
3043
|
+
chainId: number;
|
3044
|
+
type: "eip2930";
|
3045
|
+
isSystemTx?: undefined;
|
3046
|
+
mint?: undefined;
|
3047
|
+
sourceHash?: undefined;
|
3048
|
+
} | {
|
3049
|
+
blockHash: `0x${string}` | null;
|
3050
|
+
blockNumber: bigint | null;
|
3051
|
+
from: `0x${string}`;
|
3052
|
+
gas: bigint;
|
3053
|
+
hash: `0x${string}`;
|
3054
|
+
input: `0x${string}`;
|
3055
|
+
nonce: number;
|
3056
|
+
r: `0x${string}`;
|
3057
|
+
s: `0x${string}`;
|
3058
|
+
to: `0x${string}` | null;
|
3059
|
+
transactionIndex: number | null;
|
3060
|
+
typeHex: `0x${string}` | null;
|
3061
|
+
v: bigint;
|
3062
|
+
value: bigint;
|
3063
|
+
gasPrice: undefined;
|
3064
|
+
maxFeePerGas: bigint;
|
3065
|
+
maxPriorityFeePerGas: bigint;
|
3066
|
+
accessList: import("../index.js").AccessList;
|
3067
|
+
chainId: number;
|
3068
|
+
type: "eip1559";
|
2878
3069
|
isSystemTx?: undefined;
|
2879
3070
|
mint?: undefined;
|
2880
3071
|
sourceHash?: undefined;
|
2881
|
-
}
|
3072
|
+
} | {
|
3073
|
+
blockHash: `0x${string}` | null;
|
3074
|
+
blockNumber: bigint | null;
|
3075
|
+
from: `0x${string}`;
|
3076
|
+
gas: bigint;
|
3077
|
+
hash: `0x${string}`;
|
3078
|
+
input: `0x${string}`;
|
3079
|
+
nonce: number;
|
3080
|
+
r: `0x${string}`;
|
3081
|
+
s: `0x${string}`;
|
3082
|
+
to: `0x${string}` | null;
|
3083
|
+
transactionIndex: number | null;
|
3084
|
+
typeHex: `0x${string}` | null;
|
3085
|
+
v: bigint;
|
3086
|
+
value: bigint;
|
3087
|
+
gasPrice: undefined;
|
3088
|
+
maxFeePerGas: bigint;
|
3089
|
+
maxPriorityFeePerGas: bigint;
|
3090
|
+
accessList: import("../index.js").AccessList;
|
3091
|
+
chainId: number;
|
3092
|
+
type: "deposit";
|
2882
3093
|
isSystemTx?: boolean | undefined;
|
2883
3094
|
mint?: bigint | undefined;
|
2884
3095
|
sourceHash: `0x${string}`;
|
3096
|
+
} | {
|
3097
|
+
blockHash: `0x${string}` | null;
|
3098
|
+
blockNumber: bigint | null;
|
3099
|
+
from: `0x${string}`;
|
3100
|
+
gas: bigint;
|
3101
|
+
hash: `0x${string}`;
|
3102
|
+
input: `0x${string}`;
|
3103
|
+
nonce: number;
|
3104
|
+
r: `0x${string}`;
|
3105
|
+
s: `0x${string}`;
|
3106
|
+
to: `0x${string}` | null;
|
3107
|
+
transactionIndex: number | null;
|
3108
|
+
typeHex: `0x${string}` | null;
|
3109
|
+
v: bigint;
|
3110
|
+
value: bigint;
|
3111
|
+
gasPrice: bigint;
|
3112
|
+
maxFeePerGas: undefined;
|
3113
|
+
maxPriorityFeePerGas: undefined;
|
3114
|
+
accessList: import("../index.js").AccessList;
|
3115
|
+
chainId: number;
|
3116
|
+
type: "eip2930";
|
3117
|
+
isSystemTx?: undefined;
|
3118
|
+
mint?: undefined;
|
3119
|
+
sourceHash?: undefined;
|
3120
|
+
} | {
|
3121
|
+
blockHash: `0x${string}` | null;
|
3122
|
+
blockNumber: bigint | null;
|
3123
|
+
from: `0x${string}`;
|
3124
|
+
gas: bigint;
|
3125
|
+
hash: `0x${string}`;
|
3126
|
+
input: `0x${string}`;
|
3127
|
+
nonce: number;
|
3128
|
+
r: `0x${string}`;
|
3129
|
+
s: `0x${string}`;
|
3130
|
+
to: `0x${string}` | null;
|
3131
|
+
transactionIndex: number | null;
|
3132
|
+
typeHex: `0x${string}` | null;
|
3133
|
+
v: bigint;
|
3134
|
+
value: bigint;
|
3135
|
+
gasPrice?: undefined;
|
3136
|
+
maxFeePerGas: bigint;
|
3137
|
+
maxPriorityFeePerGas: bigint;
|
3138
|
+
accessList: import("../index.js").AccessList;
|
3139
|
+
chainId: number;
|
3140
|
+
type: "eip1559";
|
3141
|
+
isSystemTx?: undefined;
|
3142
|
+
mint?: undefined;
|
3143
|
+
sourceHash?: undefined;
|
3144
|
+
} | {
|
3145
|
+
blockHash: `0x${string}` | null;
|
3146
|
+
blockNumber: bigint | null;
|
3147
|
+
from: `0x${string}`;
|
3148
|
+
gas: bigint;
|
3149
|
+
hash: `0x${string}`;
|
3150
|
+
input: `0x${string}`;
|
3151
|
+
nonce: number;
|
3152
|
+
r: `0x${string}`;
|
3153
|
+
s: `0x${string}`;
|
3154
|
+
to: `0x${string}` | null;
|
3155
|
+
transactionIndex: number | null;
|
3156
|
+
typeHex: `0x${string}` | null;
|
3157
|
+
v: bigint;
|
3158
|
+
value: bigint;
|
3159
|
+
gasPrice?: undefined;
|
3160
|
+
maxFeePerGas: bigint;
|
3161
|
+
maxPriorityFeePerGas: bigint;
|
3162
|
+
accessList: import("../index.js").AccessList;
|
3163
|
+
chainId: number;
|
2885
3164
|
type: "deposit";
|
2886
|
-
|
2887
|
-
|
2888
|
-
|
2889
|
-
|
2890
|
-
|
2891
|
-
|
2892
|
-
gasLimit: never;
|
2893
|
-
mixHash: never;
|
2894
|
-
uncles: never;
|
2895
|
-
};
|
2896
|
-
readonly transaction: (args: (Partial<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, "0x0">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
2897
|
-
accessList?: undefined;
|
2898
|
-
chainId?: `0x${string}` | undefined;
|
2899
|
-
type: "0x0";
|
2900
|
-
} & {
|
2901
|
-
isSystemTx?: undefined;
|
2902
|
-
mint?: undefined;
|
2903
|
-
sourceHash?: undefined;
|
2904
|
-
}) | (Partial<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, "0x1">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
2905
|
-
accessList: import("../index.js").AccessList;
|
2906
|
-
chainId: `0x${string}`;
|
2907
|
-
type: "0x1";
|
2908
|
-
} & {
|
2909
|
-
isSystemTx?: undefined;
|
2910
|
-
mint?: undefined;
|
2911
|
-
sourceHash?: undefined;
|
2912
|
-
}) | (Partial<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, "0x2">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
2913
|
-
accessList: import("../index.js").AccessList;
|
2914
|
-
chainId: `0x${string}`;
|
2915
|
-
type: "0x2";
|
2916
|
-
} & {
|
2917
|
-
isSystemTx?: undefined;
|
2918
|
-
mint?: undefined;
|
2919
|
-
sourceHash?: undefined;
|
2920
|
-
})) => ({
|
2921
|
-
blockHash: `0x${string}` | null;
|
2922
|
-
blockNumber: bigint | null;
|
2923
|
-
from: `0x${string}`;
|
2924
|
-
gas: bigint;
|
2925
|
-
hash: `0x${string}`;
|
2926
|
-
input: `0x${string}`;
|
2927
|
-
nonce: number;
|
2928
|
-
r: `0x${string}`;
|
2929
|
-
s: `0x${string}`;
|
2930
|
-
to: `0x${string}` | null;
|
2931
|
-
transactionIndex: number | null;
|
2932
|
-
typeHex: `0x${string}` | null;
|
2933
|
-
v: bigint;
|
2934
|
-
value: bigint;
|
2935
|
-
gasPrice: bigint;
|
2936
|
-
maxFeePerGas?: undefined;
|
2937
|
-
maxPriorityFeePerGas?: undefined;
|
2938
|
-
accessList?: undefined;
|
2939
|
-
chainId?: number | undefined;
|
2940
|
-
type: "legacy";
|
2941
|
-
isSystemTx?: undefined;
|
2942
|
-
mint?: undefined;
|
2943
|
-
sourceHash?: undefined;
|
2944
|
-
} | {
|
2945
|
-
blockHash: `0x${string}` | null;
|
2946
|
-
blockNumber: bigint | null;
|
2947
|
-
from: `0x${string}`;
|
2948
|
-
gas: bigint;
|
2949
|
-
hash: `0x${string}`;
|
2950
|
-
input: `0x${string}`;
|
2951
|
-
nonce: number;
|
2952
|
-
r: `0x${string}`;
|
2953
|
-
s: `0x${string}`;
|
2954
|
-
to: `0x${string}` | null;
|
2955
|
-
transactionIndex: number | null;
|
2956
|
-
typeHex: `0x${string}` | null;
|
2957
|
-
v: bigint;
|
2958
|
-
value: bigint;
|
2959
|
-
gasPrice: undefined;
|
2960
|
-
maxFeePerGas: bigint;
|
2961
|
-
maxPriorityFeePerGas: bigint;
|
2962
|
-
accessList?: undefined;
|
2963
|
-
chainId?: number | undefined;
|
2964
|
-
type: "deposit";
|
2965
|
-
isSystemTx?: boolean | undefined;
|
2966
|
-
mint?: bigint | undefined;
|
2967
|
-
sourceHash: `0x${string}`;
|
2968
|
-
} | {
|
2969
|
-
blockHash: `0x${string}` | null;
|
2970
|
-
blockNumber: bigint | null;
|
2971
|
-
from: `0x${string}`;
|
2972
|
-
gas: bigint;
|
2973
|
-
hash: `0x${string}`;
|
2974
|
-
input: `0x${string}`;
|
2975
|
-
nonce: number;
|
2976
|
-
r: `0x${string}`;
|
2977
|
-
s: `0x${string}`;
|
2978
|
-
to: `0x${string}` | null;
|
2979
|
-
transactionIndex: number | null;
|
2980
|
-
typeHex: `0x${string}` | null;
|
2981
|
-
v: bigint;
|
2982
|
-
value: bigint;
|
2983
|
-
gasPrice: bigint;
|
2984
|
-
maxFeePerGas?: undefined;
|
2985
|
-
maxPriorityFeePerGas?: undefined;
|
2986
|
-
accessList: import("../index.js").AccessList;
|
2987
|
-
chainId: number;
|
2988
|
-
type: "eip2930";
|
2989
|
-
isSystemTx?: undefined;
|
2990
|
-
mint?: undefined;
|
2991
|
-
sourceHash?: undefined;
|
2992
|
-
} | {
|
2993
|
-
blockHash: `0x${string}` | null;
|
2994
|
-
blockNumber: bigint | null;
|
2995
|
-
from: `0x${string}`;
|
2996
|
-
gas: bigint;
|
2997
|
-
hash: `0x${string}`;
|
2998
|
-
input: `0x${string}`;
|
2999
|
-
nonce: number;
|
3000
|
-
r: `0x${string}`;
|
3001
|
-
s: `0x${string}`;
|
3002
|
-
to: `0x${string}` | null;
|
3003
|
-
transactionIndex: number | null;
|
3004
|
-
typeHex: `0x${string}` | null;
|
3005
|
-
v: bigint;
|
3006
|
-
value: bigint;
|
3007
|
-
gasPrice: undefined;
|
3008
|
-
maxFeePerGas: bigint;
|
3009
|
-
maxPriorityFeePerGas: bigint;
|
3010
|
-
accessList: import("../index.js").AccessList;
|
3011
|
-
chainId: number;
|
3012
|
-
type: "eip1559";
|
3013
|
-
isSystemTx?: undefined;
|
3014
|
-
mint?: undefined;
|
3015
|
-
sourceHash?: undefined;
|
3016
|
-
} | {
|
3017
|
-
blockHash: `0x${string}` | null;
|
3018
|
-
blockNumber: bigint | null;
|
3019
|
-
from: `0x${string}`;
|
3020
|
-
gas: bigint;
|
3021
|
-
hash: `0x${string}`;
|
3022
|
-
input: `0x${string}`;
|
3023
|
-
nonce: number;
|
3024
|
-
r: `0x${string}`;
|
3025
|
-
s: `0x${string}`;
|
3026
|
-
to: `0x${string}` | null;
|
3027
|
-
transactionIndex: number | null;
|
3028
|
-
typeHex: `0x${string}` | null;
|
3029
|
-
v: bigint;
|
3030
|
-
value: bigint;
|
3031
|
-
gasPrice: undefined;
|
3032
|
-
maxFeePerGas: bigint;
|
3033
|
-
maxPriorityFeePerGas: bigint;
|
3034
|
-
accessList: import("../index.js").AccessList;
|
3035
|
-
chainId: number;
|
3036
|
-
type: "deposit";
|
3037
|
-
isSystemTx?: boolean | undefined;
|
3038
|
-
mint?: bigint | undefined;
|
3039
|
-
sourceHash: `0x${string}`;
|
3040
|
-
} | {
|
3041
|
-
blockHash: `0x${string}` | null;
|
3042
|
-
blockNumber: bigint | null;
|
3043
|
-
from: `0x${string}`;
|
3044
|
-
gas: bigint;
|
3045
|
-
hash: `0x${string}`;
|
3046
|
-
input: `0x${string}`;
|
3047
|
-
nonce: number;
|
3048
|
-
r: `0x${string}`;
|
3049
|
-
s: `0x${string}`;
|
3050
|
-
to: `0x${string}` | null;
|
3051
|
-
transactionIndex: number | null;
|
3052
|
-
typeHex: `0x${string}` | null;
|
3053
|
-
v: bigint;
|
3054
|
-
value: bigint;
|
3055
|
-
gasPrice: bigint;
|
3056
|
-
maxFeePerGas: undefined;
|
3057
|
-
maxPriorityFeePerGas: undefined;
|
3058
|
-
accessList: import("../index.js").AccessList;
|
3059
|
-
chainId: number;
|
3060
|
-
type: "eip2930";
|
3061
|
-
isSystemTx?: undefined;
|
3062
|
-
mint?: undefined;
|
3063
|
-
sourceHash?: undefined;
|
3064
|
-
} | {
|
3065
|
-
blockHash: `0x${string}` | null;
|
3066
|
-
blockNumber: bigint | null;
|
3067
|
-
from: `0x${string}`;
|
3068
|
-
gas: bigint;
|
3069
|
-
hash: `0x${string}`;
|
3070
|
-
input: `0x${string}`;
|
3071
|
-
nonce: number;
|
3072
|
-
r: `0x${string}`;
|
3073
|
-
s: `0x${string}`;
|
3074
|
-
to: `0x${string}` | null;
|
3075
|
-
transactionIndex: number | null;
|
3076
|
-
typeHex: `0x${string}` | null;
|
3077
|
-
v: bigint;
|
3078
|
-
value: bigint;
|
3079
|
-
gasPrice?: undefined;
|
3080
|
-
maxFeePerGas: bigint;
|
3081
|
-
maxPriorityFeePerGas: bigint;
|
3082
|
-
accessList: import("../index.js").AccessList;
|
3083
|
-
chainId: number;
|
3084
|
-
type: "eip1559";
|
3085
|
-
isSystemTx?: undefined;
|
3086
|
-
mint?: undefined;
|
3087
|
-
sourceHash?: undefined;
|
3088
|
-
} | {
|
3089
|
-
blockHash: `0x${string}` | null;
|
3090
|
-
blockNumber: bigint | null;
|
3091
|
-
from: `0x${string}`;
|
3092
|
-
gas: bigint;
|
3093
|
-
hash: `0x${string}`;
|
3094
|
-
input: `0x${string}`;
|
3095
|
-
nonce: number;
|
3096
|
-
r: `0x${string}`;
|
3097
|
-
s: `0x${string}`;
|
3098
|
-
to: `0x${string}` | null;
|
3099
|
-
transactionIndex: number | null;
|
3100
|
-
typeHex: `0x${string}` | null;
|
3101
|
-
v: bigint;
|
3102
|
-
value: bigint;
|
3103
|
-
gasPrice?: undefined;
|
3104
|
-
maxFeePerGas: bigint;
|
3105
|
-
maxPriorityFeePerGas: bigint;
|
3106
|
-
accessList: import("../index.js").AccessList;
|
3107
|
-
chainId: number;
|
3108
|
-
type: "deposit";
|
3109
|
-
isSystemTx?: boolean | undefined;
|
3110
|
-
mint?: bigint | undefined;
|
3111
|
-
sourceHash: `0x${string}`;
|
3112
|
-
}) & {};
|
3165
|
+
isSystemTx?: boolean | undefined;
|
3166
|
+
mint?: bigint | undefined;
|
3167
|
+
sourceHash: `0x${string}`;
|
3168
|
+
}) & {};
|
3169
|
+
type: "transaction";
|
3170
|
+
};
|
3113
3171
|
} | undefined;
|
3114
3172
|
serializers: import("../index.js").Serializers<{
|
3115
|
-
readonly block:
|
3116
|
-
|
3173
|
+
readonly block: {
|
3174
|
+
format: (args: Partial<import("../index.js").RpcBlock> & {
|
3175
|
+
transactions: `0x${string}`[] | ((import("../index.js").RpcTransaction & {
|
3176
|
+
isSystemTx?: undefined;
|
3177
|
+
mint?: undefined;
|
3178
|
+
sourceHash?: undefined;
|
3179
|
+
}) | import("./formatters/optimism.js").RpcDepositTransaction)[];
|
3180
|
+
}) => {
|
3181
|
+
baseFeePerGas: bigint | null;
|
3182
|
+
difficulty: bigint;
|
3183
|
+
extraData: `0x${string}`;
|
3184
|
+
gasLimit: bigint;
|
3185
|
+
gasUsed: bigint;
|
3186
|
+
hash: `0x${string}` | null;
|
3187
|
+
logsBloom: `0x${string}` | null;
|
3188
|
+
miner: `0x${string}`;
|
3189
|
+
mixHash: `0x${string}`;
|
3190
|
+
nonce: `0x${string}` | null;
|
3191
|
+
number: bigint | null;
|
3192
|
+
parentHash: `0x${string}`;
|
3193
|
+
receiptsRoot: `0x${string}`;
|
3194
|
+
sealFields: `0x${string}`[];
|
3195
|
+
sha3Uncles: `0x${string}`;
|
3196
|
+
size: bigint;
|
3197
|
+
stateRoot: `0x${string}`;
|
3198
|
+
timestamp: bigint;
|
3199
|
+
totalDifficulty: bigint | null;
|
3200
|
+
transactions: `0x${string}`[] | ((import("../index.js").Transaction & {
|
3201
|
+
isSystemTx?: undefined;
|
3202
|
+
mint?: undefined;
|
3203
|
+
sourceHash?: undefined;
|
3204
|
+
}) | import("./formatters/optimism.js").DepositTransaction)[];
|
3205
|
+
transactionsRoot: `0x${string}`;
|
3206
|
+
uncles: `0x${string}`[];
|
3207
|
+
} & {};
|
3208
|
+
type: "block";
|
3209
|
+
};
|
3210
|
+
readonly transaction: {
|
3211
|
+
format: (args: (Partial<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, "0x0">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3212
|
+
accessList?: undefined;
|
3213
|
+
chainId?: `0x${string}` | undefined;
|
3214
|
+
type: "0x0";
|
3215
|
+
} & {
|
3117
3216
|
isSystemTx?: undefined;
|
3118
3217
|
mint?: undefined;
|
3119
3218
|
sourceHash?: undefined;
|
3120
|
-
}) | (import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").
|
3219
|
+
}) | (Partial<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, "0x1">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3220
|
+
accessList: import("../index.js").AccessList;
|
3221
|
+
chainId: `0x${string}`;
|
3222
|
+
type: "0x1";
|
3223
|
+
} & {
|
3224
|
+
isSystemTx?: undefined;
|
3225
|
+
mint?: undefined;
|
3226
|
+
sourceHash?: undefined;
|
3227
|
+
}) | (Partial<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, "0x2">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3228
|
+
accessList: import("../index.js").AccessList;
|
3229
|
+
chainId: `0x${string}`;
|
3230
|
+
type: "0x2";
|
3231
|
+
} & {
|
3232
|
+
isSystemTx?: undefined;
|
3233
|
+
mint?: undefined;
|
3234
|
+
sourceHash?: undefined;
|
3235
|
+
})) => ({
|
3236
|
+
blockHash: `0x${string}` | null;
|
3237
|
+
blockNumber: bigint | null;
|
3238
|
+
from: `0x${string}`;
|
3239
|
+
gas: bigint;
|
3240
|
+
hash: `0x${string}`;
|
3241
|
+
input: `0x${string}`;
|
3242
|
+
nonce: number;
|
3243
|
+
r: `0x${string}`;
|
3244
|
+
s: `0x${string}`;
|
3245
|
+
to: `0x${string}` | null;
|
3246
|
+
transactionIndex: number | null;
|
3247
|
+
typeHex: `0x${string}` | null;
|
3248
|
+
v: bigint;
|
3249
|
+
value: bigint;
|
3250
|
+
gasPrice: bigint;
|
3251
|
+
maxFeePerGas?: undefined;
|
3252
|
+
maxPriorityFeePerGas?: undefined;
|
3253
|
+
accessList?: undefined;
|
3254
|
+
chainId?: number | undefined;
|
3255
|
+
type: "legacy";
|
3256
|
+
isSystemTx?: undefined;
|
3257
|
+
mint?: undefined;
|
3258
|
+
sourceHash?: undefined;
|
3259
|
+
} | {
|
3260
|
+
blockHash: `0x${string}` | null;
|
3261
|
+
blockNumber: bigint | null;
|
3262
|
+
from: `0x${string}`;
|
3263
|
+
gas: bigint;
|
3264
|
+
hash: `0x${string}`;
|
3265
|
+
input: `0x${string}`;
|
3266
|
+
nonce: number;
|
3267
|
+
r: `0x${string}`;
|
3268
|
+
s: `0x${string}`;
|
3269
|
+
to: `0x${string}` | null;
|
3270
|
+
transactionIndex: number | null;
|
3271
|
+
typeHex: `0x${string}` | null;
|
3272
|
+
v: bigint;
|
3273
|
+
value: bigint;
|
3274
|
+
gasPrice: undefined;
|
3275
|
+
maxFeePerGas: bigint;
|
3276
|
+
maxPriorityFeePerGas: bigint;
|
3277
|
+
accessList?: undefined;
|
3278
|
+
chainId?: number | undefined;
|
3279
|
+
type: "deposit";
|
3121
3280
|
isSystemTx?: boolean | undefined;
|
3122
|
-
mint?:
|
3281
|
+
mint?: bigint | undefined;
|
3123
3282
|
sourceHash: `0x${string}`;
|
3124
|
-
|
3125
|
-
|
3126
|
-
|
3127
|
-
|
3128
|
-
|
3129
|
-
|
3130
|
-
|
3131
|
-
|
3132
|
-
|
3133
|
-
|
3134
|
-
|
3135
|
-
|
3136
|
-
|
3137
|
-
|
3138
|
-
|
3139
|
-
|
3140
|
-
|
3141
|
-
|
3142
|
-
|
3143
|
-
|
3144
|
-
|
3145
|
-
totalDifficulty: bigint | null;
|
3146
|
-
transactions: `0x${string}`[] | ((import("../index.js").Transaction & {
|
3283
|
+
} | {
|
3284
|
+
blockHash: `0x${string}` | null;
|
3285
|
+
blockNumber: bigint | null;
|
3286
|
+
from: `0x${string}`;
|
3287
|
+
gas: bigint;
|
3288
|
+
hash: `0x${string}`;
|
3289
|
+
input: `0x${string}`;
|
3290
|
+
nonce: number;
|
3291
|
+
r: `0x${string}`;
|
3292
|
+
s: `0x${string}`;
|
3293
|
+
to: `0x${string}` | null;
|
3294
|
+
transactionIndex: number | null;
|
3295
|
+
typeHex: `0x${string}` | null;
|
3296
|
+
v: bigint;
|
3297
|
+
value: bigint;
|
3298
|
+
gasPrice: bigint;
|
3299
|
+
maxFeePerGas?: undefined;
|
3300
|
+
maxPriorityFeePerGas?: undefined;
|
3301
|
+
accessList: import("../index.js").AccessList;
|
3302
|
+
chainId: number;
|
3303
|
+
type: "eip2930";
|
3147
3304
|
isSystemTx?: undefined;
|
3148
3305
|
mint?: undefined;
|
3149
3306
|
sourceHash?: undefined;
|
3150
|
-
}
|
3307
|
+
} | {
|
3308
|
+
blockHash: `0x${string}` | null;
|
3309
|
+
blockNumber: bigint | null;
|
3310
|
+
from: `0x${string}`;
|
3311
|
+
gas: bigint;
|
3312
|
+
hash: `0x${string}`;
|
3313
|
+
input: `0x${string}`;
|
3314
|
+
nonce: number;
|
3315
|
+
r: `0x${string}`;
|
3316
|
+
s: `0x${string}`;
|
3317
|
+
to: `0x${string}` | null;
|
3318
|
+
transactionIndex: number | null;
|
3319
|
+
typeHex: `0x${string}` | null;
|
3320
|
+
v: bigint;
|
3321
|
+
value: bigint;
|
3322
|
+
gasPrice: undefined;
|
3323
|
+
maxFeePerGas: bigint;
|
3324
|
+
maxPriorityFeePerGas: bigint;
|
3325
|
+
accessList: import("../index.js").AccessList;
|
3326
|
+
chainId: number;
|
3327
|
+
type: "eip1559";
|
3328
|
+
isSystemTx?: undefined;
|
3329
|
+
mint?: undefined;
|
3330
|
+
sourceHash?: undefined;
|
3331
|
+
} | {
|
3332
|
+
blockHash: `0x${string}` | null;
|
3333
|
+
blockNumber: bigint | null;
|
3334
|
+
from: `0x${string}`;
|
3335
|
+
gas: bigint;
|
3336
|
+
hash: `0x${string}`;
|
3337
|
+
input: `0x${string}`;
|
3338
|
+
nonce: number;
|
3339
|
+
r: `0x${string}`;
|
3340
|
+
s: `0x${string}`;
|
3341
|
+
to: `0x${string}` | null;
|
3342
|
+
transactionIndex: number | null;
|
3343
|
+
typeHex: `0x${string}` | null;
|
3344
|
+
v: bigint;
|
3345
|
+
value: bigint;
|
3346
|
+
gasPrice: undefined;
|
3347
|
+
maxFeePerGas: bigint;
|
3348
|
+
maxPriorityFeePerGas: bigint;
|
3349
|
+
accessList: import("../index.js").AccessList;
|
3350
|
+
chainId: number;
|
3351
|
+
type: "deposit";
|
3151
3352
|
isSystemTx?: boolean | undefined;
|
3152
3353
|
mint?: bigint | undefined;
|
3153
3354
|
sourceHash: `0x${string}`;
|
3355
|
+
} | {
|
3356
|
+
blockHash: `0x${string}` | null;
|
3357
|
+
blockNumber: bigint | null;
|
3358
|
+
from: `0x${string}`;
|
3359
|
+
gas: bigint;
|
3360
|
+
hash: `0x${string}`;
|
3361
|
+
input: `0x${string}`;
|
3362
|
+
nonce: number;
|
3363
|
+
r: `0x${string}`;
|
3364
|
+
s: `0x${string}`;
|
3365
|
+
to: `0x${string}` | null;
|
3366
|
+
transactionIndex: number | null;
|
3367
|
+
typeHex: `0x${string}` | null;
|
3368
|
+
v: bigint;
|
3369
|
+
value: bigint;
|
3370
|
+
gasPrice: bigint;
|
3371
|
+
maxFeePerGas: undefined;
|
3372
|
+
maxPriorityFeePerGas: undefined;
|
3373
|
+
accessList: import("../index.js").AccessList;
|
3374
|
+
chainId: number;
|
3375
|
+
type: "eip2930";
|
3376
|
+
isSystemTx?: undefined;
|
3377
|
+
mint?: undefined;
|
3378
|
+
sourceHash?: undefined;
|
3379
|
+
} | {
|
3380
|
+
blockHash: `0x${string}` | null;
|
3381
|
+
blockNumber: bigint | null;
|
3382
|
+
from: `0x${string}`;
|
3383
|
+
gas: bigint;
|
3384
|
+
hash: `0x${string}`;
|
3385
|
+
input: `0x${string}`;
|
3386
|
+
nonce: number;
|
3387
|
+
r: `0x${string}`;
|
3388
|
+
s: `0x${string}`;
|
3389
|
+
to: `0x${string}` | null;
|
3390
|
+
transactionIndex: number | null;
|
3391
|
+
typeHex: `0x${string}` | null;
|
3392
|
+
v: bigint;
|
3393
|
+
value: bigint;
|
3394
|
+
gasPrice?: undefined;
|
3395
|
+
maxFeePerGas: bigint;
|
3396
|
+
maxPriorityFeePerGas: bigint;
|
3397
|
+
accessList: import("../index.js").AccessList;
|
3398
|
+
chainId: number;
|
3399
|
+
type: "eip1559";
|
3400
|
+
isSystemTx?: undefined;
|
3401
|
+
mint?: undefined;
|
3402
|
+
sourceHash?: undefined;
|
3403
|
+
} | {
|
3404
|
+
blockHash: `0x${string}` | null;
|
3405
|
+
blockNumber: bigint | null;
|
3406
|
+
from: `0x${string}`;
|
3407
|
+
gas: bigint;
|
3408
|
+
hash: `0x${string}`;
|
3409
|
+
input: `0x${string}`;
|
3410
|
+
nonce: number;
|
3411
|
+
r: `0x${string}`;
|
3412
|
+
s: `0x${string}`;
|
3413
|
+
to: `0x${string}` | null;
|
3414
|
+
transactionIndex: number | null;
|
3415
|
+
typeHex: `0x${string}` | null;
|
3416
|
+
v: bigint;
|
3417
|
+
value: bigint;
|
3418
|
+
gasPrice?: undefined;
|
3419
|
+
maxFeePerGas: bigint;
|
3420
|
+
maxPriorityFeePerGas: bigint;
|
3421
|
+
accessList: import("../index.js").AccessList;
|
3422
|
+
chainId: number;
|
3154
3423
|
type: "deposit";
|
3155
|
-
|
3156
|
-
|
3157
|
-
|
3158
|
-
|
3159
|
-
|
3160
|
-
|
3161
|
-
gasLimit: never;
|
3162
|
-
mixHash: never;
|
3163
|
-
uncles: never;
|
3164
|
-
};
|
3165
|
-
readonly transaction: (args: (Partial<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, "0x0">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3166
|
-
accessList?: undefined;
|
3167
|
-
chainId?: `0x${string}` | undefined;
|
3168
|
-
type: "0x0";
|
3169
|
-
} & {
|
3170
|
-
isSystemTx?: undefined;
|
3171
|
-
mint?: undefined;
|
3172
|
-
sourceHash?: undefined;
|
3173
|
-
}) | (Partial<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, "0x1">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3174
|
-
accessList: import("../index.js").AccessList;
|
3175
|
-
chainId: `0x${string}`;
|
3176
|
-
type: "0x1";
|
3177
|
-
} & {
|
3178
|
-
isSystemTx?: undefined;
|
3179
|
-
mint?: undefined;
|
3180
|
-
sourceHash?: undefined;
|
3181
|
-
}) | (Partial<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, "0x2">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3182
|
-
accessList: import("../index.js").AccessList;
|
3183
|
-
chainId: `0x${string}`;
|
3184
|
-
type: "0x2";
|
3185
|
-
} & {
|
3186
|
-
isSystemTx?: undefined;
|
3187
|
-
mint?: undefined;
|
3188
|
-
sourceHash?: undefined;
|
3189
|
-
})) => ({
|
3190
|
-
blockHash: `0x${string}` | null;
|
3191
|
-
blockNumber: bigint | null;
|
3192
|
-
from: `0x${string}`;
|
3193
|
-
gas: bigint;
|
3194
|
-
hash: `0x${string}`;
|
3195
|
-
input: `0x${string}`;
|
3196
|
-
nonce: number;
|
3197
|
-
r: `0x${string}`;
|
3198
|
-
s: `0x${string}`;
|
3199
|
-
to: `0x${string}` | null;
|
3200
|
-
transactionIndex: number | null;
|
3201
|
-
typeHex: `0x${string}` | null;
|
3202
|
-
v: bigint;
|
3203
|
-
value: bigint;
|
3204
|
-
gasPrice: bigint;
|
3205
|
-
maxFeePerGas?: undefined;
|
3206
|
-
maxPriorityFeePerGas?: undefined;
|
3207
|
-
accessList?: undefined;
|
3208
|
-
chainId?: number | undefined;
|
3209
|
-
type: "legacy";
|
3210
|
-
isSystemTx?: undefined;
|
3211
|
-
mint?: undefined;
|
3212
|
-
sourceHash?: undefined;
|
3213
|
-
} | {
|
3214
|
-
blockHash: `0x${string}` | null;
|
3215
|
-
blockNumber: bigint | null;
|
3216
|
-
from: `0x${string}`;
|
3217
|
-
gas: bigint;
|
3218
|
-
hash: `0x${string}`;
|
3219
|
-
input: `0x${string}`;
|
3220
|
-
nonce: number;
|
3221
|
-
r: `0x${string}`;
|
3222
|
-
s: `0x${string}`;
|
3223
|
-
to: `0x${string}` | null;
|
3224
|
-
transactionIndex: number | null;
|
3225
|
-
typeHex: `0x${string}` | null;
|
3226
|
-
v: bigint;
|
3227
|
-
value: bigint;
|
3228
|
-
gasPrice: undefined;
|
3229
|
-
maxFeePerGas: bigint;
|
3230
|
-
maxPriorityFeePerGas: bigint;
|
3231
|
-
accessList?: undefined;
|
3232
|
-
chainId?: number | undefined;
|
3233
|
-
type: "deposit";
|
3234
|
-
isSystemTx?: boolean | undefined;
|
3235
|
-
mint?: bigint | undefined;
|
3236
|
-
sourceHash: `0x${string}`;
|
3237
|
-
} | {
|
3238
|
-
blockHash: `0x${string}` | null;
|
3239
|
-
blockNumber: bigint | null;
|
3240
|
-
from: `0x${string}`;
|
3241
|
-
gas: bigint;
|
3242
|
-
hash: `0x${string}`;
|
3243
|
-
input: `0x${string}`;
|
3244
|
-
nonce: number;
|
3245
|
-
r: `0x${string}`;
|
3246
|
-
s: `0x${string}`;
|
3247
|
-
to: `0x${string}` | null;
|
3248
|
-
transactionIndex: number | null;
|
3249
|
-
typeHex: `0x${string}` | null;
|
3250
|
-
v: bigint;
|
3251
|
-
value: bigint;
|
3252
|
-
gasPrice: bigint;
|
3253
|
-
maxFeePerGas?: undefined;
|
3254
|
-
maxPriorityFeePerGas?: undefined;
|
3255
|
-
accessList: import("../index.js").AccessList;
|
3256
|
-
chainId: number;
|
3257
|
-
type: "eip2930";
|
3258
|
-
isSystemTx?: undefined;
|
3259
|
-
mint?: undefined;
|
3260
|
-
sourceHash?: undefined;
|
3261
|
-
} | {
|
3262
|
-
blockHash: `0x${string}` | null;
|
3263
|
-
blockNumber: bigint | null;
|
3264
|
-
from: `0x${string}`;
|
3265
|
-
gas: bigint;
|
3266
|
-
hash: `0x${string}`;
|
3267
|
-
input: `0x${string}`;
|
3268
|
-
nonce: number;
|
3269
|
-
r: `0x${string}`;
|
3270
|
-
s: `0x${string}`;
|
3271
|
-
to: `0x${string}` | null;
|
3272
|
-
transactionIndex: number | null;
|
3273
|
-
typeHex: `0x${string}` | null;
|
3274
|
-
v: bigint;
|
3275
|
-
value: bigint;
|
3276
|
-
gasPrice: undefined;
|
3277
|
-
maxFeePerGas: bigint;
|
3278
|
-
maxPriorityFeePerGas: bigint;
|
3279
|
-
accessList: import("../index.js").AccessList;
|
3280
|
-
chainId: number;
|
3281
|
-
type: "eip1559";
|
3282
|
-
isSystemTx?: undefined;
|
3283
|
-
mint?: undefined;
|
3284
|
-
sourceHash?: undefined;
|
3285
|
-
} | {
|
3286
|
-
blockHash: `0x${string}` | null;
|
3287
|
-
blockNumber: bigint | null;
|
3288
|
-
from: `0x${string}`;
|
3289
|
-
gas: bigint;
|
3290
|
-
hash: `0x${string}`;
|
3291
|
-
input: `0x${string}`;
|
3292
|
-
nonce: number;
|
3293
|
-
r: `0x${string}`;
|
3294
|
-
s: `0x${string}`;
|
3295
|
-
to: `0x${string}` | null;
|
3296
|
-
transactionIndex: number | null;
|
3297
|
-
typeHex: `0x${string}` | null;
|
3298
|
-
v: bigint;
|
3299
|
-
value: bigint;
|
3300
|
-
gasPrice: undefined;
|
3301
|
-
maxFeePerGas: bigint;
|
3302
|
-
maxPriorityFeePerGas: bigint;
|
3303
|
-
accessList: import("../index.js").AccessList;
|
3304
|
-
chainId: number;
|
3305
|
-
type: "deposit";
|
3306
|
-
isSystemTx?: boolean | undefined;
|
3307
|
-
mint?: bigint | undefined;
|
3308
|
-
sourceHash: `0x${string}`;
|
3309
|
-
} | {
|
3310
|
-
blockHash: `0x${string}` | null;
|
3311
|
-
blockNumber: bigint | null;
|
3312
|
-
from: `0x${string}`;
|
3313
|
-
gas: bigint;
|
3314
|
-
hash: `0x${string}`;
|
3315
|
-
input: `0x${string}`;
|
3316
|
-
nonce: number;
|
3317
|
-
r: `0x${string}`;
|
3318
|
-
s: `0x${string}`;
|
3319
|
-
to: `0x${string}` | null;
|
3320
|
-
transactionIndex: number | null;
|
3321
|
-
typeHex: `0x${string}` | null;
|
3322
|
-
v: bigint;
|
3323
|
-
value: bigint;
|
3324
|
-
gasPrice: bigint;
|
3325
|
-
maxFeePerGas: undefined;
|
3326
|
-
maxPriorityFeePerGas: undefined;
|
3327
|
-
accessList: import("../index.js").AccessList;
|
3328
|
-
chainId: number;
|
3329
|
-
type: "eip2930";
|
3330
|
-
isSystemTx?: undefined;
|
3331
|
-
mint?: undefined;
|
3332
|
-
sourceHash?: undefined;
|
3333
|
-
} | {
|
3334
|
-
blockHash: `0x${string}` | null;
|
3335
|
-
blockNumber: bigint | null;
|
3336
|
-
from: `0x${string}`;
|
3337
|
-
gas: bigint;
|
3338
|
-
hash: `0x${string}`;
|
3339
|
-
input: `0x${string}`;
|
3340
|
-
nonce: number;
|
3341
|
-
r: `0x${string}`;
|
3342
|
-
s: `0x${string}`;
|
3343
|
-
to: `0x${string}` | null;
|
3344
|
-
transactionIndex: number | null;
|
3345
|
-
typeHex: `0x${string}` | null;
|
3346
|
-
v: bigint;
|
3347
|
-
value: bigint;
|
3348
|
-
gasPrice?: undefined;
|
3349
|
-
maxFeePerGas: bigint;
|
3350
|
-
maxPriorityFeePerGas: bigint;
|
3351
|
-
accessList: import("../index.js").AccessList;
|
3352
|
-
chainId: number;
|
3353
|
-
type: "eip1559";
|
3354
|
-
isSystemTx?: undefined;
|
3355
|
-
mint?: undefined;
|
3356
|
-
sourceHash?: undefined;
|
3357
|
-
} | {
|
3358
|
-
blockHash: `0x${string}` | null;
|
3359
|
-
blockNumber: bigint | null;
|
3360
|
-
from: `0x${string}`;
|
3361
|
-
gas: bigint;
|
3362
|
-
hash: `0x${string}`;
|
3363
|
-
input: `0x${string}`;
|
3364
|
-
nonce: number;
|
3365
|
-
r: `0x${string}`;
|
3366
|
-
s: `0x${string}`;
|
3367
|
-
to: `0x${string}` | null;
|
3368
|
-
transactionIndex: number | null;
|
3369
|
-
typeHex: `0x${string}` | null;
|
3370
|
-
v: bigint;
|
3371
|
-
value: bigint;
|
3372
|
-
gasPrice?: undefined;
|
3373
|
-
maxFeePerGas: bigint;
|
3374
|
-
maxPriorityFeePerGas: bigint;
|
3375
|
-
accessList: import("../index.js").AccessList;
|
3376
|
-
chainId: number;
|
3377
|
-
type: "deposit";
|
3378
|
-
isSystemTx?: boolean | undefined;
|
3379
|
-
mint?: bigint | undefined;
|
3380
|
-
sourceHash: `0x${string}`;
|
3381
|
-
}) & {};
|
3424
|
+
isSystemTx?: boolean | undefined;
|
3425
|
+
mint?: bigint | undefined;
|
3426
|
+
sourceHash: `0x${string}`;
|
3427
|
+
}) & {};
|
3428
|
+
type: "transaction";
|
3429
|
+
};
|
3382
3430
|
}> | undefined;
|
3383
3431
|
};
|
3384
3432
|
export declare const optimismGoerli: {
|
@@ -3425,542 +3473,522 @@ export declare const optimismGoerli: {
|
|
3425
3473
|
readonly testnet: true;
|
3426
3474
|
} & {
|
3427
3475
|
formatters: {
|
3428
|
-
readonly block:
|
3429
|
-
|
3476
|
+
readonly block: {
|
3477
|
+
format: (args: Partial<import("../index.js").RpcBlock> & {
|
3478
|
+
transactions: `0x${string}`[] | ((import("../index.js").RpcTransaction & {
|
3479
|
+
isSystemTx?: undefined;
|
3480
|
+
mint?: undefined;
|
3481
|
+
sourceHash?: undefined;
|
3482
|
+
}) | import("./formatters/optimism.js").RpcDepositTransaction)[];
|
3483
|
+
}) => {
|
3484
|
+
baseFeePerGas: bigint | null;
|
3485
|
+
difficulty: bigint;
|
3486
|
+
extraData: `0x${string}`;
|
3487
|
+
gasLimit: bigint;
|
3488
|
+
gasUsed: bigint;
|
3489
|
+
hash: `0x${string}` | null;
|
3490
|
+
logsBloom: `0x${string}` | null;
|
3491
|
+
miner: `0x${string}`;
|
3492
|
+
mixHash: `0x${string}`;
|
3493
|
+
nonce: `0x${string}` | null;
|
3494
|
+
number: bigint | null;
|
3495
|
+
parentHash: `0x${string}`;
|
3496
|
+
receiptsRoot: `0x${string}`;
|
3497
|
+
sealFields: `0x${string}`[];
|
3498
|
+
sha3Uncles: `0x${string}`;
|
3499
|
+
size: bigint;
|
3500
|
+
stateRoot: `0x${string}`;
|
3501
|
+
timestamp: bigint;
|
3502
|
+
totalDifficulty: bigint | null;
|
3503
|
+
transactions: `0x${string}`[] | ((import("../index.js").Transaction & {
|
3504
|
+
isSystemTx?: undefined;
|
3505
|
+
mint?: undefined;
|
3506
|
+
sourceHash?: undefined;
|
3507
|
+
}) | import("./formatters/optimism.js").DepositTransaction)[];
|
3508
|
+
transactionsRoot: `0x${string}`;
|
3509
|
+
uncles: `0x${string}`[];
|
3510
|
+
} & {};
|
3511
|
+
type: "block";
|
3512
|
+
};
|
3513
|
+
readonly transaction: {
|
3514
|
+
format: (args: (Partial<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, "0x0">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3515
|
+
accessList?: undefined;
|
3516
|
+
chainId?: `0x${string}` | undefined;
|
3517
|
+
type: "0x0";
|
3518
|
+
} & {
|
3519
|
+
isSystemTx?: undefined;
|
3520
|
+
mint?: undefined;
|
3521
|
+
sourceHash?: undefined;
|
3522
|
+
}) | (Partial<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, "0x1">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3523
|
+
accessList: import("../index.js").AccessList;
|
3524
|
+
chainId: `0x${string}`;
|
3525
|
+
type: "0x1";
|
3526
|
+
} & {
|
3527
|
+
isSystemTx?: undefined;
|
3528
|
+
mint?: undefined;
|
3529
|
+
sourceHash?: undefined;
|
3530
|
+
}) | (Partial<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, "0x2">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3531
|
+
accessList: import("../index.js").AccessList;
|
3532
|
+
chainId: `0x${string}`;
|
3533
|
+
type: "0x2";
|
3534
|
+
} & {
|
3535
|
+
isSystemTx?: undefined;
|
3536
|
+
mint?: undefined;
|
3537
|
+
sourceHash?: undefined;
|
3538
|
+
})) => ({
|
3539
|
+
blockHash: `0x${string}` | null;
|
3540
|
+
blockNumber: bigint | null;
|
3541
|
+
from: `0x${string}`;
|
3542
|
+
gas: bigint;
|
3543
|
+
hash: `0x${string}`;
|
3544
|
+
input: `0x${string}`;
|
3545
|
+
nonce: number;
|
3546
|
+
r: `0x${string}`;
|
3547
|
+
s: `0x${string}`;
|
3548
|
+
to: `0x${string}` | null;
|
3549
|
+
transactionIndex: number | null;
|
3550
|
+
typeHex: `0x${string}` | null;
|
3551
|
+
v: bigint;
|
3552
|
+
value: bigint;
|
3553
|
+
gasPrice: bigint;
|
3554
|
+
maxFeePerGas?: undefined;
|
3555
|
+
maxPriorityFeePerGas?: undefined;
|
3556
|
+
accessList?: undefined;
|
3557
|
+
chainId?: number | undefined;
|
3558
|
+
type: "legacy";
|
3430
3559
|
isSystemTx?: undefined;
|
3431
3560
|
mint?: undefined;
|
3432
3561
|
sourceHash?: undefined;
|
3433
|
-
}
|
3562
|
+
} | {
|
3563
|
+
blockHash: `0x${string}` | null;
|
3564
|
+
blockNumber: bigint | null;
|
3565
|
+
from: `0x${string}`;
|
3566
|
+
gas: bigint;
|
3567
|
+
hash: `0x${string}`;
|
3568
|
+
input: `0x${string}`;
|
3569
|
+
nonce: number;
|
3570
|
+
r: `0x${string}`;
|
3571
|
+
s: `0x${string}`;
|
3572
|
+
to: `0x${string}` | null;
|
3573
|
+
transactionIndex: number | null;
|
3574
|
+
typeHex: `0x${string}` | null;
|
3575
|
+
v: bigint;
|
3576
|
+
value: bigint;
|
3577
|
+
gasPrice: undefined;
|
3578
|
+
maxFeePerGas: bigint;
|
3579
|
+
maxPriorityFeePerGas: bigint;
|
3580
|
+
accessList?: undefined;
|
3581
|
+
chainId?: number | undefined;
|
3582
|
+
type: "deposit";
|
3434
3583
|
isSystemTx?: boolean | undefined;
|
3435
|
-
mint?:
|
3584
|
+
mint?: bigint | undefined;
|
3436
3585
|
sourceHash: `0x${string}`;
|
3437
|
-
|
3438
|
-
|
3439
|
-
|
3440
|
-
|
3441
|
-
|
3442
|
-
|
3443
|
-
|
3444
|
-
|
3445
|
-
|
3446
|
-
|
3447
|
-
|
3448
|
-
|
3449
|
-
|
3450
|
-
|
3451
|
-
|
3452
|
-
|
3453
|
-
|
3454
|
-
|
3455
|
-
|
3456
|
-
|
3457
|
-
|
3458
|
-
|
3459
|
-
|
3586
|
+
} | {
|
3587
|
+
blockHash: `0x${string}` | null;
|
3588
|
+
blockNumber: bigint | null;
|
3589
|
+
from: `0x${string}`;
|
3590
|
+
gas: bigint;
|
3591
|
+
hash: `0x${string}`;
|
3592
|
+
input: `0x${string}`;
|
3593
|
+
nonce: number;
|
3594
|
+
r: `0x${string}`;
|
3595
|
+
s: `0x${string}`;
|
3596
|
+
to: `0x${string}` | null;
|
3597
|
+
transactionIndex: number | null;
|
3598
|
+
typeHex: `0x${string}` | null;
|
3599
|
+
v: bigint;
|
3600
|
+
value: bigint;
|
3601
|
+
gasPrice: bigint;
|
3602
|
+
maxFeePerGas?: undefined;
|
3603
|
+
maxPriorityFeePerGas?: undefined;
|
3604
|
+
accessList: import("../index.js").AccessList;
|
3605
|
+
chainId: number;
|
3606
|
+
type: "eip2930";
|
3607
|
+
isSystemTx?: undefined;
|
3608
|
+
mint?: undefined;
|
3609
|
+
sourceHash?: undefined;
|
3610
|
+
} | {
|
3611
|
+
blockHash: `0x${string}` | null;
|
3612
|
+
blockNumber: bigint | null;
|
3613
|
+
from: `0x${string}`;
|
3614
|
+
gas: bigint;
|
3615
|
+
hash: `0x${string}`;
|
3616
|
+
input: `0x${string}`;
|
3617
|
+
nonce: number;
|
3618
|
+
r: `0x${string}`;
|
3619
|
+
s: `0x${string}`;
|
3620
|
+
to: `0x${string}` | null;
|
3621
|
+
transactionIndex: number | null;
|
3622
|
+
typeHex: `0x${string}` | null;
|
3623
|
+
v: bigint;
|
3624
|
+
value: bigint;
|
3625
|
+
gasPrice: undefined;
|
3626
|
+
maxFeePerGas: bigint;
|
3627
|
+
maxPriorityFeePerGas: bigint;
|
3628
|
+
accessList: import("../index.js").AccessList;
|
3629
|
+
chainId: number;
|
3630
|
+
type: "eip1559";
|
3460
3631
|
isSystemTx?: undefined;
|
3461
3632
|
mint?: undefined;
|
3462
3633
|
sourceHash?: undefined;
|
3463
|
-
}
|
3634
|
+
} | {
|
3635
|
+
blockHash: `0x${string}` | null;
|
3636
|
+
blockNumber: bigint | null;
|
3637
|
+
from: `0x${string}`;
|
3638
|
+
gas: bigint;
|
3639
|
+
hash: `0x${string}`;
|
3640
|
+
input: `0x${string}`;
|
3641
|
+
nonce: number;
|
3642
|
+
r: `0x${string}`;
|
3643
|
+
s: `0x${string}`;
|
3644
|
+
to: `0x${string}` | null;
|
3645
|
+
transactionIndex: number | null;
|
3646
|
+
typeHex: `0x${string}` | null;
|
3647
|
+
v: bigint;
|
3648
|
+
value: bigint;
|
3649
|
+
gasPrice: undefined;
|
3650
|
+
maxFeePerGas: bigint;
|
3651
|
+
maxPriorityFeePerGas: bigint;
|
3652
|
+
accessList: import("../index.js").AccessList;
|
3653
|
+
chainId: number;
|
3654
|
+
type: "deposit";
|
3464
3655
|
isSystemTx?: boolean | undefined;
|
3465
3656
|
mint?: bigint | undefined;
|
3466
3657
|
sourceHash: `0x${string}`;
|
3658
|
+
} | {
|
3659
|
+
blockHash: `0x${string}` | null;
|
3660
|
+
blockNumber: bigint | null;
|
3661
|
+
from: `0x${string}`;
|
3662
|
+
gas: bigint;
|
3663
|
+
hash: `0x${string}`;
|
3664
|
+
input: `0x${string}`;
|
3665
|
+
nonce: number;
|
3666
|
+
r: `0x${string}`;
|
3667
|
+
s: `0x${string}`;
|
3668
|
+
to: `0x${string}` | null;
|
3669
|
+
transactionIndex: number | null;
|
3670
|
+
typeHex: `0x${string}` | null;
|
3671
|
+
v: bigint;
|
3672
|
+
value: bigint;
|
3673
|
+
gasPrice: bigint;
|
3674
|
+
maxFeePerGas: undefined;
|
3675
|
+
maxPriorityFeePerGas: undefined;
|
3676
|
+
accessList: import("../index.js").AccessList;
|
3677
|
+
chainId: number;
|
3678
|
+
type: "eip2930";
|
3679
|
+
isSystemTx?: undefined;
|
3680
|
+
mint?: undefined;
|
3681
|
+
sourceHash?: undefined;
|
3682
|
+
} | {
|
3683
|
+
blockHash: `0x${string}` | null;
|
3684
|
+
blockNumber: bigint | null;
|
3685
|
+
from: `0x${string}`;
|
3686
|
+
gas: bigint;
|
3687
|
+
hash: `0x${string}`;
|
3688
|
+
input: `0x${string}`;
|
3689
|
+
nonce: number;
|
3690
|
+
r: `0x${string}`;
|
3691
|
+
s: `0x${string}`;
|
3692
|
+
to: `0x${string}` | null;
|
3693
|
+
transactionIndex: number | null;
|
3694
|
+
typeHex: `0x${string}` | null;
|
3695
|
+
v: bigint;
|
3696
|
+
value: bigint;
|
3697
|
+
gasPrice?: undefined;
|
3698
|
+
maxFeePerGas: bigint;
|
3699
|
+
maxPriorityFeePerGas: bigint;
|
3700
|
+
accessList: import("../index.js").AccessList;
|
3701
|
+
chainId: number;
|
3702
|
+
type: "eip1559";
|
3703
|
+
isSystemTx?: undefined;
|
3704
|
+
mint?: undefined;
|
3705
|
+
sourceHash?: undefined;
|
3706
|
+
} | {
|
3707
|
+
blockHash: `0x${string}` | null;
|
3708
|
+
blockNumber: bigint | null;
|
3709
|
+
from: `0x${string}`;
|
3710
|
+
gas: bigint;
|
3711
|
+
hash: `0x${string}`;
|
3712
|
+
input: `0x${string}`;
|
3713
|
+
nonce: number;
|
3714
|
+
r: `0x${string}`;
|
3715
|
+
s: `0x${string}`;
|
3716
|
+
to: `0x${string}` | null;
|
3717
|
+
transactionIndex: number | null;
|
3718
|
+
typeHex: `0x${string}` | null;
|
3719
|
+
v: bigint;
|
3720
|
+
value: bigint;
|
3721
|
+
gasPrice?: undefined;
|
3722
|
+
maxFeePerGas: bigint;
|
3723
|
+
maxPriorityFeePerGas: bigint;
|
3724
|
+
accessList: import("../index.js").AccessList;
|
3725
|
+
chainId: number;
|
3467
3726
|
type: "deposit";
|
3468
|
-
|
3469
|
-
|
3470
|
-
|
3471
|
-
|
3472
|
-
|
3473
|
-
|
3474
|
-
gasLimit: never;
|
3475
|
-
mixHash: never;
|
3476
|
-
uncles: never;
|
3477
|
-
};
|
3478
|
-
readonly transaction: (args: (Partial<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, "0x0">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3479
|
-
accessList?: undefined;
|
3480
|
-
chainId?: `0x${string}` | undefined;
|
3481
|
-
type: "0x0";
|
3482
|
-
} & {
|
3483
|
-
isSystemTx?: undefined;
|
3484
|
-
mint?: undefined;
|
3485
|
-
sourceHash?: undefined;
|
3486
|
-
}) | (Partial<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, "0x1">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3487
|
-
accessList: import("../index.js").AccessList;
|
3488
|
-
chainId: `0x${string}`;
|
3489
|
-
type: "0x1";
|
3490
|
-
} & {
|
3491
|
-
isSystemTx?: undefined;
|
3492
|
-
mint?: undefined;
|
3493
|
-
sourceHash?: undefined;
|
3494
|
-
}) | (Partial<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, "0x2">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3495
|
-
accessList: import("../index.js").AccessList;
|
3496
|
-
chainId: `0x${string}`;
|
3497
|
-
type: "0x2";
|
3498
|
-
} & {
|
3499
|
-
isSystemTx?: undefined;
|
3500
|
-
mint?: undefined;
|
3501
|
-
sourceHash?: undefined;
|
3502
|
-
})) => ({
|
3503
|
-
blockHash: `0x${string}` | null;
|
3504
|
-
blockNumber: bigint | null;
|
3505
|
-
from: `0x${string}`;
|
3506
|
-
gas: bigint;
|
3507
|
-
hash: `0x${string}`;
|
3508
|
-
input: `0x${string}`;
|
3509
|
-
nonce: number;
|
3510
|
-
r: `0x${string}`;
|
3511
|
-
s: `0x${string}`;
|
3512
|
-
to: `0x${string}` | null;
|
3513
|
-
transactionIndex: number | null;
|
3514
|
-
typeHex: `0x${string}` | null;
|
3515
|
-
v: bigint;
|
3516
|
-
value: bigint;
|
3517
|
-
gasPrice: bigint;
|
3518
|
-
maxFeePerGas?: undefined;
|
3519
|
-
maxPriorityFeePerGas?: undefined;
|
3520
|
-
accessList?: undefined;
|
3521
|
-
chainId?: number | undefined;
|
3522
|
-
type: "legacy";
|
3523
|
-
isSystemTx?: undefined;
|
3524
|
-
mint?: undefined;
|
3525
|
-
sourceHash?: undefined;
|
3526
|
-
} | {
|
3527
|
-
blockHash: `0x${string}` | null;
|
3528
|
-
blockNumber: bigint | null;
|
3529
|
-
from: `0x${string}`;
|
3530
|
-
gas: bigint;
|
3531
|
-
hash: `0x${string}`;
|
3532
|
-
input: `0x${string}`;
|
3533
|
-
nonce: number;
|
3534
|
-
r: `0x${string}`;
|
3535
|
-
s: `0x${string}`;
|
3536
|
-
to: `0x${string}` | null;
|
3537
|
-
transactionIndex: number | null;
|
3538
|
-
typeHex: `0x${string}` | null;
|
3539
|
-
v: bigint;
|
3540
|
-
value: bigint;
|
3541
|
-
gasPrice: undefined;
|
3542
|
-
maxFeePerGas: bigint;
|
3543
|
-
maxPriorityFeePerGas: bigint;
|
3544
|
-
accessList?: undefined;
|
3545
|
-
chainId?: number | undefined;
|
3546
|
-
type: "deposit";
|
3547
|
-
isSystemTx?: boolean | undefined;
|
3548
|
-
mint?: bigint | undefined;
|
3549
|
-
sourceHash: `0x${string}`;
|
3550
|
-
} | {
|
3551
|
-
blockHash: `0x${string}` | null;
|
3552
|
-
blockNumber: bigint | null;
|
3553
|
-
from: `0x${string}`;
|
3554
|
-
gas: bigint;
|
3555
|
-
hash: `0x${string}`;
|
3556
|
-
input: `0x${string}`;
|
3557
|
-
nonce: number;
|
3558
|
-
r: `0x${string}`;
|
3559
|
-
s: `0x${string}`;
|
3560
|
-
to: `0x${string}` | null;
|
3561
|
-
transactionIndex: number | null;
|
3562
|
-
typeHex: `0x${string}` | null;
|
3563
|
-
v: bigint;
|
3564
|
-
value: bigint;
|
3565
|
-
gasPrice: bigint;
|
3566
|
-
maxFeePerGas?: undefined;
|
3567
|
-
maxPriorityFeePerGas?: undefined;
|
3568
|
-
accessList: import("../index.js").AccessList;
|
3569
|
-
chainId: number;
|
3570
|
-
type: "eip2930";
|
3571
|
-
isSystemTx?: undefined;
|
3572
|
-
mint?: undefined;
|
3573
|
-
sourceHash?: undefined;
|
3574
|
-
} | {
|
3575
|
-
blockHash: `0x${string}` | null;
|
3576
|
-
blockNumber: bigint | null;
|
3577
|
-
from: `0x${string}`;
|
3578
|
-
gas: bigint;
|
3579
|
-
hash: `0x${string}`;
|
3580
|
-
input: `0x${string}`;
|
3581
|
-
nonce: number;
|
3582
|
-
r: `0x${string}`;
|
3583
|
-
s: `0x${string}`;
|
3584
|
-
to: `0x${string}` | null;
|
3585
|
-
transactionIndex: number | null;
|
3586
|
-
typeHex: `0x${string}` | null;
|
3587
|
-
v: bigint;
|
3588
|
-
value: bigint;
|
3589
|
-
gasPrice: undefined;
|
3590
|
-
maxFeePerGas: bigint;
|
3591
|
-
maxPriorityFeePerGas: bigint;
|
3592
|
-
accessList: import("../index.js").AccessList;
|
3593
|
-
chainId: number;
|
3594
|
-
type: "eip1559";
|
3595
|
-
isSystemTx?: undefined;
|
3596
|
-
mint?: undefined;
|
3597
|
-
sourceHash?: undefined;
|
3598
|
-
} | {
|
3599
|
-
blockHash: `0x${string}` | null;
|
3600
|
-
blockNumber: bigint | null;
|
3601
|
-
from: `0x${string}`;
|
3602
|
-
gas: bigint;
|
3603
|
-
hash: `0x${string}`;
|
3604
|
-
input: `0x${string}`;
|
3605
|
-
nonce: number;
|
3606
|
-
r: `0x${string}`;
|
3607
|
-
s: `0x${string}`;
|
3608
|
-
to: `0x${string}` | null;
|
3609
|
-
transactionIndex: number | null;
|
3610
|
-
typeHex: `0x${string}` | null;
|
3611
|
-
v: bigint;
|
3612
|
-
value: bigint;
|
3613
|
-
gasPrice: undefined;
|
3614
|
-
maxFeePerGas: bigint;
|
3615
|
-
maxPriorityFeePerGas: bigint;
|
3616
|
-
accessList: import("../index.js").AccessList;
|
3617
|
-
chainId: number;
|
3618
|
-
type: "deposit";
|
3619
|
-
isSystemTx?: boolean | undefined;
|
3620
|
-
mint?: bigint | undefined;
|
3621
|
-
sourceHash: `0x${string}`;
|
3622
|
-
} | {
|
3623
|
-
blockHash: `0x${string}` | null;
|
3624
|
-
blockNumber: bigint | null;
|
3625
|
-
from: `0x${string}`;
|
3626
|
-
gas: bigint;
|
3627
|
-
hash: `0x${string}`;
|
3628
|
-
input: `0x${string}`;
|
3629
|
-
nonce: number;
|
3630
|
-
r: `0x${string}`;
|
3631
|
-
s: `0x${string}`;
|
3632
|
-
to: `0x${string}` | null;
|
3633
|
-
transactionIndex: number | null;
|
3634
|
-
typeHex: `0x${string}` | null;
|
3635
|
-
v: bigint;
|
3636
|
-
value: bigint;
|
3637
|
-
gasPrice: bigint;
|
3638
|
-
maxFeePerGas: undefined;
|
3639
|
-
maxPriorityFeePerGas: undefined;
|
3640
|
-
accessList: import("../index.js").AccessList;
|
3641
|
-
chainId: number;
|
3642
|
-
type: "eip2930";
|
3643
|
-
isSystemTx?: undefined;
|
3644
|
-
mint?: undefined;
|
3645
|
-
sourceHash?: undefined;
|
3646
|
-
} | {
|
3647
|
-
blockHash: `0x${string}` | null;
|
3648
|
-
blockNumber: bigint | null;
|
3649
|
-
from: `0x${string}`;
|
3650
|
-
gas: bigint;
|
3651
|
-
hash: `0x${string}`;
|
3652
|
-
input: `0x${string}`;
|
3653
|
-
nonce: number;
|
3654
|
-
r: `0x${string}`;
|
3655
|
-
s: `0x${string}`;
|
3656
|
-
to: `0x${string}` | null;
|
3657
|
-
transactionIndex: number | null;
|
3658
|
-
typeHex: `0x${string}` | null;
|
3659
|
-
v: bigint;
|
3660
|
-
value: bigint;
|
3661
|
-
gasPrice?: undefined;
|
3662
|
-
maxFeePerGas: bigint;
|
3663
|
-
maxPriorityFeePerGas: bigint;
|
3664
|
-
accessList: import("../index.js").AccessList;
|
3665
|
-
chainId: number;
|
3666
|
-
type: "eip1559";
|
3667
|
-
isSystemTx?: undefined;
|
3668
|
-
mint?: undefined;
|
3669
|
-
sourceHash?: undefined;
|
3670
|
-
} | {
|
3671
|
-
blockHash: `0x${string}` | null;
|
3672
|
-
blockNumber: bigint | null;
|
3673
|
-
from: `0x${string}`;
|
3674
|
-
gas: bigint;
|
3675
|
-
hash: `0x${string}`;
|
3676
|
-
input: `0x${string}`;
|
3677
|
-
nonce: number;
|
3678
|
-
r: `0x${string}`;
|
3679
|
-
s: `0x${string}`;
|
3680
|
-
to: `0x${string}` | null;
|
3681
|
-
transactionIndex: number | null;
|
3682
|
-
typeHex: `0x${string}` | null;
|
3683
|
-
v: bigint;
|
3684
|
-
value: bigint;
|
3685
|
-
gasPrice?: undefined;
|
3686
|
-
maxFeePerGas: bigint;
|
3687
|
-
maxPriorityFeePerGas: bigint;
|
3688
|
-
accessList: import("../index.js").AccessList;
|
3689
|
-
chainId: number;
|
3690
|
-
type: "deposit";
|
3691
|
-
isSystemTx?: boolean | undefined;
|
3692
|
-
mint?: bigint | undefined;
|
3693
|
-
sourceHash: `0x${string}`;
|
3694
|
-
}) & {};
|
3727
|
+
isSystemTx?: boolean | undefined;
|
3728
|
+
mint?: bigint | undefined;
|
3729
|
+
sourceHash: `0x${string}`;
|
3730
|
+
}) & {};
|
3731
|
+
type: "transaction";
|
3732
|
+
};
|
3695
3733
|
} | undefined;
|
3696
3734
|
serializers: import("../index.js").Serializers<{
|
3697
|
-
readonly block:
|
3698
|
-
|
3735
|
+
readonly block: {
|
3736
|
+
format: (args: Partial<import("../index.js").RpcBlock> & {
|
3737
|
+
transactions: `0x${string}`[] | ((import("../index.js").RpcTransaction & {
|
3738
|
+
isSystemTx?: undefined;
|
3739
|
+
mint?: undefined;
|
3740
|
+
sourceHash?: undefined;
|
3741
|
+
}) | import("./formatters/optimism.js").RpcDepositTransaction)[];
|
3742
|
+
}) => {
|
3743
|
+
baseFeePerGas: bigint | null;
|
3744
|
+
difficulty: bigint;
|
3745
|
+
extraData: `0x${string}`;
|
3746
|
+
gasLimit: bigint;
|
3747
|
+
gasUsed: bigint;
|
3748
|
+
hash: `0x${string}` | null;
|
3749
|
+
logsBloom: `0x${string}` | null;
|
3750
|
+
miner: `0x${string}`;
|
3751
|
+
mixHash: `0x${string}`;
|
3752
|
+
nonce: `0x${string}` | null;
|
3753
|
+
number: bigint | null;
|
3754
|
+
parentHash: `0x${string}`;
|
3755
|
+
receiptsRoot: `0x${string}`;
|
3756
|
+
sealFields: `0x${string}`[];
|
3757
|
+
sha3Uncles: `0x${string}`;
|
3758
|
+
size: bigint;
|
3759
|
+
stateRoot: `0x${string}`;
|
3760
|
+
timestamp: bigint;
|
3761
|
+
totalDifficulty: bigint | null;
|
3762
|
+
transactions: `0x${string}`[] | ((import("../index.js").Transaction & {
|
3763
|
+
isSystemTx?: undefined;
|
3764
|
+
mint?: undefined;
|
3765
|
+
sourceHash?: undefined;
|
3766
|
+
}) | import("./formatters/optimism.js").DepositTransaction)[];
|
3767
|
+
transactionsRoot: `0x${string}`;
|
3768
|
+
uncles: `0x${string}`[];
|
3769
|
+
} & {};
|
3770
|
+
type: "block";
|
3771
|
+
};
|
3772
|
+
readonly transaction: {
|
3773
|
+
format: (args: (Partial<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, "0x0">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3774
|
+
accessList?: undefined;
|
3775
|
+
chainId?: `0x${string}` | undefined;
|
3776
|
+
type: "0x0";
|
3777
|
+
} & {
|
3699
3778
|
isSystemTx?: undefined;
|
3700
3779
|
mint?: undefined;
|
3701
3780
|
sourceHash?: undefined;
|
3702
|
-
}) | (import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").
|
3781
|
+
}) | (Partial<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, "0x1">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3782
|
+
accessList: import("../index.js").AccessList;
|
3783
|
+
chainId: `0x${string}`;
|
3784
|
+
type: "0x1";
|
3785
|
+
} & {
|
3786
|
+
isSystemTx?: undefined;
|
3787
|
+
mint?: undefined;
|
3788
|
+
sourceHash?: undefined;
|
3789
|
+
}) | (Partial<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, "0x2">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3790
|
+
accessList: import("../index.js").AccessList;
|
3791
|
+
chainId: `0x${string}`;
|
3792
|
+
type: "0x2";
|
3793
|
+
} & {
|
3794
|
+
isSystemTx?: undefined;
|
3795
|
+
mint?: undefined;
|
3796
|
+
sourceHash?: undefined;
|
3797
|
+
})) => ({
|
3798
|
+
blockHash: `0x${string}` | null;
|
3799
|
+
blockNumber: bigint | null;
|
3800
|
+
from: `0x${string}`;
|
3801
|
+
gas: bigint;
|
3802
|
+
hash: `0x${string}`;
|
3803
|
+
input: `0x${string}`;
|
3804
|
+
nonce: number;
|
3805
|
+
r: `0x${string}`;
|
3806
|
+
s: `0x${string}`;
|
3807
|
+
to: `0x${string}` | null;
|
3808
|
+
transactionIndex: number | null;
|
3809
|
+
typeHex: `0x${string}` | null;
|
3810
|
+
v: bigint;
|
3811
|
+
value: bigint;
|
3812
|
+
gasPrice: bigint;
|
3813
|
+
maxFeePerGas?: undefined;
|
3814
|
+
maxPriorityFeePerGas?: undefined;
|
3815
|
+
accessList?: undefined;
|
3816
|
+
chainId?: number | undefined;
|
3817
|
+
type: "legacy";
|
3818
|
+
isSystemTx?: undefined;
|
3819
|
+
mint?: undefined;
|
3820
|
+
sourceHash?: undefined;
|
3821
|
+
} | {
|
3822
|
+
blockHash: `0x${string}` | null;
|
3823
|
+
blockNumber: bigint | null;
|
3824
|
+
from: `0x${string}`;
|
3825
|
+
gas: bigint;
|
3826
|
+
hash: `0x${string}`;
|
3827
|
+
input: `0x${string}`;
|
3828
|
+
nonce: number;
|
3829
|
+
r: `0x${string}`;
|
3830
|
+
s: `0x${string}`;
|
3831
|
+
to: `0x${string}` | null;
|
3832
|
+
transactionIndex: number | null;
|
3833
|
+
typeHex: `0x${string}` | null;
|
3834
|
+
v: bigint;
|
3835
|
+
value: bigint;
|
3836
|
+
gasPrice: undefined;
|
3837
|
+
maxFeePerGas: bigint;
|
3838
|
+
maxPriorityFeePerGas: bigint;
|
3839
|
+
accessList?: undefined;
|
3840
|
+
chainId?: number | undefined;
|
3841
|
+
type: "deposit";
|
3703
3842
|
isSystemTx?: boolean | undefined;
|
3704
|
-
mint?:
|
3843
|
+
mint?: bigint | undefined;
|
3705
3844
|
sourceHash: `0x${string}`;
|
3706
|
-
|
3707
|
-
|
3708
|
-
|
3709
|
-
|
3710
|
-
|
3711
|
-
|
3712
|
-
|
3713
|
-
|
3714
|
-
|
3715
|
-
|
3716
|
-
|
3717
|
-
|
3718
|
-
|
3719
|
-
|
3720
|
-
|
3721
|
-
|
3722
|
-
|
3723
|
-
|
3724
|
-
|
3725
|
-
|
3726
|
-
|
3727
|
-
totalDifficulty: bigint | null;
|
3728
|
-
transactions: `0x${string}`[] | ((import("../index.js").Transaction & {
|
3845
|
+
} | {
|
3846
|
+
blockHash: `0x${string}` | null;
|
3847
|
+
blockNumber: bigint | null;
|
3848
|
+
from: `0x${string}`;
|
3849
|
+
gas: bigint;
|
3850
|
+
hash: `0x${string}`;
|
3851
|
+
input: `0x${string}`;
|
3852
|
+
nonce: number;
|
3853
|
+
r: `0x${string}`;
|
3854
|
+
s: `0x${string}`;
|
3855
|
+
to: `0x${string}` | null;
|
3856
|
+
transactionIndex: number | null;
|
3857
|
+
typeHex: `0x${string}` | null;
|
3858
|
+
v: bigint;
|
3859
|
+
value: bigint;
|
3860
|
+
gasPrice: bigint;
|
3861
|
+
maxFeePerGas?: undefined;
|
3862
|
+
maxPriorityFeePerGas?: undefined;
|
3863
|
+
accessList: import("../index.js").AccessList;
|
3864
|
+
chainId: number;
|
3865
|
+
type: "eip2930";
|
3729
3866
|
isSystemTx?: undefined;
|
3730
3867
|
mint?: undefined;
|
3731
3868
|
sourceHash?: undefined;
|
3732
|
-
}
|
3869
|
+
} | {
|
3870
|
+
blockHash: `0x${string}` | null;
|
3871
|
+
blockNumber: bigint | null;
|
3872
|
+
from: `0x${string}`;
|
3873
|
+
gas: bigint;
|
3874
|
+
hash: `0x${string}`;
|
3875
|
+
input: `0x${string}`;
|
3876
|
+
nonce: number;
|
3877
|
+
r: `0x${string}`;
|
3878
|
+
s: `0x${string}`;
|
3879
|
+
to: `0x${string}` | null;
|
3880
|
+
transactionIndex: number | null;
|
3881
|
+
typeHex: `0x${string}` | null;
|
3882
|
+
v: bigint;
|
3883
|
+
value: bigint;
|
3884
|
+
gasPrice: undefined;
|
3885
|
+
maxFeePerGas: bigint;
|
3886
|
+
maxPriorityFeePerGas: bigint;
|
3887
|
+
accessList: import("../index.js").AccessList;
|
3888
|
+
chainId: number;
|
3889
|
+
type: "eip1559";
|
3890
|
+
isSystemTx?: undefined;
|
3891
|
+
mint?: undefined;
|
3892
|
+
sourceHash?: undefined;
|
3893
|
+
} | {
|
3894
|
+
blockHash: `0x${string}` | null;
|
3895
|
+
blockNumber: bigint | null;
|
3896
|
+
from: `0x${string}`;
|
3897
|
+
gas: bigint;
|
3898
|
+
hash: `0x${string}`;
|
3899
|
+
input: `0x${string}`;
|
3900
|
+
nonce: number;
|
3901
|
+
r: `0x${string}`;
|
3902
|
+
s: `0x${string}`;
|
3903
|
+
to: `0x${string}` | null;
|
3904
|
+
transactionIndex: number | null;
|
3905
|
+
typeHex: `0x${string}` | null;
|
3906
|
+
v: bigint;
|
3907
|
+
value: bigint;
|
3908
|
+
gasPrice: undefined;
|
3909
|
+
maxFeePerGas: bigint;
|
3910
|
+
maxPriorityFeePerGas: bigint;
|
3911
|
+
accessList: import("../index.js").AccessList;
|
3912
|
+
chainId: number;
|
3913
|
+
type: "deposit";
|
3733
3914
|
isSystemTx?: boolean | undefined;
|
3734
3915
|
mint?: bigint | undefined;
|
3735
3916
|
sourceHash: `0x${string}`;
|
3917
|
+
} | {
|
3918
|
+
blockHash: `0x${string}` | null;
|
3919
|
+
blockNumber: bigint | null;
|
3920
|
+
from: `0x${string}`;
|
3921
|
+
gas: bigint;
|
3922
|
+
hash: `0x${string}`;
|
3923
|
+
input: `0x${string}`;
|
3924
|
+
nonce: number;
|
3925
|
+
r: `0x${string}`;
|
3926
|
+
s: `0x${string}`;
|
3927
|
+
to: `0x${string}` | null;
|
3928
|
+
transactionIndex: number | null;
|
3929
|
+
typeHex: `0x${string}` | null;
|
3930
|
+
v: bigint;
|
3931
|
+
value: bigint;
|
3932
|
+
gasPrice: bigint;
|
3933
|
+
maxFeePerGas: undefined;
|
3934
|
+
maxPriorityFeePerGas: undefined;
|
3935
|
+
accessList: import("../index.js").AccessList;
|
3936
|
+
chainId: number;
|
3937
|
+
type: "eip2930";
|
3938
|
+
isSystemTx?: undefined;
|
3939
|
+
mint?: undefined;
|
3940
|
+
sourceHash?: undefined;
|
3941
|
+
} | {
|
3942
|
+
blockHash: `0x${string}` | null;
|
3943
|
+
blockNumber: bigint | null;
|
3944
|
+
from: `0x${string}`;
|
3945
|
+
gas: bigint;
|
3946
|
+
hash: `0x${string}`;
|
3947
|
+
input: `0x${string}`;
|
3948
|
+
nonce: number;
|
3949
|
+
r: `0x${string}`;
|
3950
|
+
s: `0x${string}`;
|
3951
|
+
to: `0x${string}` | null;
|
3952
|
+
transactionIndex: number | null;
|
3953
|
+
typeHex: `0x${string}` | null;
|
3954
|
+
v: bigint;
|
3955
|
+
value: bigint;
|
3956
|
+
gasPrice?: undefined;
|
3957
|
+
maxFeePerGas: bigint;
|
3958
|
+
maxPriorityFeePerGas: bigint;
|
3959
|
+
accessList: import("../index.js").AccessList;
|
3960
|
+
chainId: number;
|
3961
|
+
type: "eip1559";
|
3962
|
+
isSystemTx?: undefined;
|
3963
|
+
mint?: undefined;
|
3964
|
+
sourceHash?: undefined;
|
3965
|
+
} | {
|
3966
|
+
blockHash: `0x${string}` | null;
|
3967
|
+
blockNumber: bigint | null;
|
3968
|
+
from: `0x${string}`;
|
3969
|
+
gas: bigint;
|
3970
|
+
hash: `0x${string}`;
|
3971
|
+
input: `0x${string}`;
|
3972
|
+
nonce: number;
|
3973
|
+
r: `0x${string}`;
|
3974
|
+
s: `0x${string}`;
|
3975
|
+
to: `0x${string}` | null;
|
3976
|
+
transactionIndex: number | null;
|
3977
|
+
typeHex: `0x${string}` | null;
|
3978
|
+
v: bigint;
|
3979
|
+
value: bigint;
|
3980
|
+
gasPrice?: undefined;
|
3981
|
+
maxFeePerGas: bigint;
|
3982
|
+
maxPriorityFeePerGas: bigint;
|
3983
|
+
accessList: import("../index.js").AccessList;
|
3984
|
+
chainId: number;
|
3736
3985
|
type: "deposit";
|
3737
|
-
|
3738
|
-
|
3739
|
-
|
3740
|
-
|
3741
|
-
|
3742
|
-
|
3743
|
-
gasLimit: never;
|
3744
|
-
mixHash: never;
|
3745
|
-
uncles: never;
|
3746
|
-
};
|
3747
|
-
readonly transaction: (args: (Partial<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, "0x0">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3748
|
-
accessList?: undefined;
|
3749
|
-
chainId?: `0x${string}` | undefined;
|
3750
|
-
type: "0x0";
|
3751
|
-
} & {
|
3752
|
-
isSystemTx?: undefined;
|
3753
|
-
mint?: undefined;
|
3754
|
-
sourceHash?: undefined;
|
3755
|
-
}) | (Partial<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, "0x1">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesLegacy<`0x${string}`> & {
|
3756
|
-
accessList: import("../index.js").AccessList;
|
3757
|
-
chainId: `0x${string}`;
|
3758
|
-
type: "0x1";
|
3759
|
-
} & {
|
3760
|
-
isSystemTx?: undefined;
|
3761
|
-
mint?: undefined;
|
3762
|
-
sourceHash?: undefined;
|
3763
|
-
}) | (Partial<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, "0x2">> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3764
|
-
accessList: import("../index.js").AccessList;
|
3765
|
-
chainId: `0x${string}`;
|
3766
|
-
type: "0x2";
|
3767
|
-
} & {
|
3768
|
-
isSystemTx?: undefined;
|
3769
|
-
mint?: undefined;
|
3770
|
-
sourceHash?: undefined;
|
3771
|
-
})) => ({
|
3772
|
-
blockHash: `0x${string}` | null;
|
3773
|
-
blockNumber: bigint | null;
|
3774
|
-
from: `0x${string}`;
|
3775
|
-
gas: bigint;
|
3776
|
-
hash: `0x${string}`;
|
3777
|
-
input: `0x${string}`;
|
3778
|
-
nonce: number;
|
3779
|
-
r: `0x${string}`;
|
3780
|
-
s: `0x${string}`;
|
3781
|
-
to: `0x${string}` | null;
|
3782
|
-
transactionIndex: number | null;
|
3783
|
-
typeHex: `0x${string}` | null;
|
3784
|
-
v: bigint;
|
3785
|
-
value: bigint;
|
3786
|
-
gasPrice: bigint;
|
3787
|
-
maxFeePerGas?: undefined;
|
3788
|
-
maxPriorityFeePerGas?: undefined;
|
3789
|
-
accessList?: undefined;
|
3790
|
-
chainId?: number | undefined;
|
3791
|
-
type: "legacy";
|
3792
|
-
isSystemTx?: undefined;
|
3793
|
-
mint?: undefined;
|
3794
|
-
sourceHash?: undefined;
|
3795
|
-
} | {
|
3796
|
-
blockHash: `0x${string}` | null;
|
3797
|
-
blockNumber: bigint | null;
|
3798
|
-
from: `0x${string}`;
|
3799
|
-
gas: bigint;
|
3800
|
-
hash: `0x${string}`;
|
3801
|
-
input: `0x${string}`;
|
3802
|
-
nonce: number;
|
3803
|
-
r: `0x${string}`;
|
3804
|
-
s: `0x${string}`;
|
3805
|
-
to: `0x${string}` | null;
|
3806
|
-
transactionIndex: number | null;
|
3807
|
-
typeHex: `0x${string}` | null;
|
3808
|
-
v: bigint;
|
3809
|
-
value: bigint;
|
3810
|
-
gasPrice: undefined;
|
3811
|
-
maxFeePerGas: bigint;
|
3812
|
-
maxPriorityFeePerGas: bigint;
|
3813
|
-
accessList?: undefined;
|
3814
|
-
chainId?: number | undefined;
|
3815
|
-
type: "deposit";
|
3816
|
-
isSystemTx?: boolean | undefined;
|
3817
|
-
mint?: bigint | undefined;
|
3818
|
-
sourceHash: `0x${string}`;
|
3819
|
-
} | {
|
3820
|
-
blockHash: `0x${string}` | null;
|
3821
|
-
blockNumber: bigint | null;
|
3822
|
-
from: `0x${string}`;
|
3823
|
-
gas: bigint;
|
3824
|
-
hash: `0x${string}`;
|
3825
|
-
input: `0x${string}`;
|
3826
|
-
nonce: number;
|
3827
|
-
r: `0x${string}`;
|
3828
|
-
s: `0x${string}`;
|
3829
|
-
to: `0x${string}` | null;
|
3830
|
-
transactionIndex: number | null;
|
3831
|
-
typeHex: `0x${string}` | null;
|
3832
|
-
v: bigint;
|
3833
|
-
value: bigint;
|
3834
|
-
gasPrice: bigint;
|
3835
|
-
maxFeePerGas?: undefined;
|
3836
|
-
maxPriorityFeePerGas?: undefined;
|
3837
|
-
accessList: import("../index.js").AccessList;
|
3838
|
-
chainId: number;
|
3839
|
-
type: "eip2930";
|
3840
|
-
isSystemTx?: undefined;
|
3841
|
-
mint?: undefined;
|
3842
|
-
sourceHash?: undefined;
|
3843
|
-
} | {
|
3844
|
-
blockHash: `0x${string}` | null;
|
3845
|
-
blockNumber: bigint | null;
|
3846
|
-
from: `0x${string}`;
|
3847
|
-
gas: bigint;
|
3848
|
-
hash: `0x${string}`;
|
3849
|
-
input: `0x${string}`;
|
3850
|
-
nonce: number;
|
3851
|
-
r: `0x${string}`;
|
3852
|
-
s: `0x${string}`;
|
3853
|
-
to: `0x${string}` | null;
|
3854
|
-
transactionIndex: number | null;
|
3855
|
-
typeHex: `0x${string}` | null;
|
3856
|
-
v: bigint;
|
3857
|
-
value: bigint;
|
3858
|
-
gasPrice: undefined;
|
3859
|
-
maxFeePerGas: bigint;
|
3860
|
-
maxPriorityFeePerGas: bigint;
|
3861
|
-
accessList: import("../index.js").AccessList;
|
3862
|
-
chainId: number;
|
3863
|
-
type: "eip1559";
|
3864
|
-
isSystemTx?: undefined;
|
3865
|
-
mint?: undefined;
|
3866
|
-
sourceHash?: undefined;
|
3867
|
-
} | {
|
3868
|
-
blockHash: `0x${string}` | null;
|
3869
|
-
blockNumber: bigint | null;
|
3870
|
-
from: `0x${string}`;
|
3871
|
-
gas: bigint;
|
3872
|
-
hash: `0x${string}`;
|
3873
|
-
input: `0x${string}`;
|
3874
|
-
nonce: number;
|
3875
|
-
r: `0x${string}`;
|
3876
|
-
s: `0x${string}`;
|
3877
|
-
to: `0x${string}` | null;
|
3878
|
-
transactionIndex: number | null;
|
3879
|
-
typeHex: `0x${string}` | null;
|
3880
|
-
v: bigint;
|
3881
|
-
value: bigint;
|
3882
|
-
gasPrice: undefined;
|
3883
|
-
maxFeePerGas: bigint;
|
3884
|
-
maxPriorityFeePerGas: bigint;
|
3885
|
-
accessList: import("../index.js").AccessList;
|
3886
|
-
chainId: number;
|
3887
|
-
type: "deposit";
|
3888
|
-
isSystemTx?: boolean | undefined;
|
3889
|
-
mint?: bigint | undefined;
|
3890
|
-
sourceHash: `0x${string}`;
|
3891
|
-
} | {
|
3892
|
-
blockHash: `0x${string}` | null;
|
3893
|
-
blockNumber: bigint | null;
|
3894
|
-
from: `0x${string}`;
|
3895
|
-
gas: bigint;
|
3896
|
-
hash: `0x${string}`;
|
3897
|
-
input: `0x${string}`;
|
3898
|
-
nonce: number;
|
3899
|
-
r: `0x${string}`;
|
3900
|
-
s: `0x${string}`;
|
3901
|
-
to: `0x${string}` | null;
|
3902
|
-
transactionIndex: number | null;
|
3903
|
-
typeHex: `0x${string}` | null;
|
3904
|
-
v: bigint;
|
3905
|
-
value: bigint;
|
3906
|
-
gasPrice: bigint;
|
3907
|
-
maxFeePerGas: undefined;
|
3908
|
-
maxPriorityFeePerGas: undefined;
|
3909
|
-
accessList: import("../index.js").AccessList;
|
3910
|
-
chainId: number;
|
3911
|
-
type: "eip2930";
|
3912
|
-
isSystemTx?: undefined;
|
3913
|
-
mint?: undefined;
|
3914
|
-
sourceHash?: undefined;
|
3915
|
-
} | {
|
3916
|
-
blockHash: `0x${string}` | null;
|
3917
|
-
blockNumber: bigint | null;
|
3918
|
-
from: `0x${string}`;
|
3919
|
-
gas: bigint;
|
3920
|
-
hash: `0x${string}`;
|
3921
|
-
input: `0x${string}`;
|
3922
|
-
nonce: number;
|
3923
|
-
r: `0x${string}`;
|
3924
|
-
s: `0x${string}`;
|
3925
|
-
to: `0x${string}` | null;
|
3926
|
-
transactionIndex: number | null;
|
3927
|
-
typeHex: `0x${string}` | null;
|
3928
|
-
v: bigint;
|
3929
|
-
value: bigint;
|
3930
|
-
gasPrice?: undefined;
|
3931
|
-
maxFeePerGas: bigint;
|
3932
|
-
maxPriorityFeePerGas: bigint;
|
3933
|
-
accessList: import("../index.js").AccessList;
|
3934
|
-
chainId: number;
|
3935
|
-
type: "eip1559";
|
3936
|
-
isSystemTx?: undefined;
|
3937
|
-
mint?: undefined;
|
3938
|
-
sourceHash?: undefined;
|
3939
|
-
} | {
|
3940
|
-
blockHash: `0x${string}` | null;
|
3941
|
-
blockNumber: bigint | null;
|
3942
|
-
from: `0x${string}`;
|
3943
|
-
gas: bigint;
|
3944
|
-
hash: `0x${string}`;
|
3945
|
-
input: `0x${string}`;
|
3946
|
-
nonce: number;
|
3947
|
-
r: `0x${string}`;
|
3948
|
-
s: `0x${string}`;
|
3949
|
-
to: `0x${string}` | null;
|
3950
|
-
transactionIndex: number | null;
|
3951
|
-
typeHex: `0x${string}` | null;
|
3952
|
-
v: bigint;
|
3953
|
-
value: bigint;
|
3954
|
-
gasPrice?: undefined;
|
3955
|
-
maxFeePerGas: bigint;
|
3956
|
-
maxPriorityFeePerGas: bigint;
|
3957
|
-
accessList: import("../index.js").AccessList;
|
3958
|
-
chainId: number;
|
3959
|
-
type: "deposit";
|
3960
|
-
isSystemTx?: boolean | undefined;
|
3961
|
-
mint?: bigint | undefined;
|
3962
|
-
sourceHash: `0x${string}`;
|
3963
|
-
}) & {};
|
3986
|
+
isSystemTx?: boolean | undefined;
|
3987
|
+
mint?: bigint | undefined;
|
3988
|
+
sourceHash: `0x${string}`;
|
3989
|
+
}) & {};
|
3990
|
+
type: "transaction";
|
3991
|
+
};
|
3964
3992
|
}> | undefined;
|
3965
3993
|
};
|
3966
3994
|
export declare const polygon: {
|
@@ -5202,6 +5230,45 @@ export declare const zkSyncTestnet: {
|
|
5202
5230
|
formatters: import("../index.js").Formatters | undefined;
|
5203
5231
|
serializers: import("../index.js").Serializers<import("../index.js").Formatters> | undefined;
|
5204
5232
|
};
|
5233
|
+
export declare const zora: {
|
5234
|
+
readonly id: 7777777;
|
5235
|
+
readonly name: "ZORA";
|
5236
|
+
readonly network: "zora";
|
5237
|
+
readonly nativeCurrency: {
|
5238
|
+
readonly decimals: 18;
|
5239
|
+
readonly name: "Ether";
|
5240
|
+
readonly symbol: "ETH";
|
5241
|
+
};
|
5242
|
+
readonly rpcUrls: {
|
5243
|
+
readonly default: {
|
5244
|
+
readonly http: readonly ["https://rpc.zora.co"];
|
5245
|
+
readonly webSocket: readonly ["wss://rpc.zora.co"];
|
5246
|
+
};
|
5247
|
+
readonly public: {
|
5248
|
+
readonly http: readonly ["https://rpc.zora.co"];
|
5249
|
+
readonly webSocket: readonly ["wss://rpc.zora.co"];
|
5250
|
+
};
|
5251
|
+
};
|
5252
|
+
readonly blockExplorers: {
|
5253
|
+
readonly etherscan: {
|
5254
|
+
readonly name: "ZORA";
|
5255
|
+
readonly url: "https://explorer.zora.co";
|
5256
|
+
};
|
5257
|
+
readonly default: {
|
5258
|
+
readonly name: "ZORA";
|
5259
|
+
readonly url: "https://explorer.zora.co";
|
5260
|
+
};
|
5261
|
+
};
|
5262
|
+
readonly contracts: {
|
5263
|
+
readonly multicall3: {
|
5264
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
5265
|
+
readonly blockCreated: 5882;
|
5266
|
+
};
|
5267
|
+
};
|
5268
|
+
} & {
|
5269
|
+
formatters: import("../index.js").Formatters | undefined;
|
5270
|
+
serializers: import("../index.js").Serializers<import("../index.js").Formatters> | undefined;
|
5271
|
+
};
|
5205
5272
|
export declare const zoraTestnet: {
|
5206
5273
|
readonly id: 999;
|
5207
5274
|
readonly name: "ZORA Goerli Testnet";
|