viem 2.7.22 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/_cjs/accounts/utils/sign.js +1 -0
- package/_cjs/accounts/utils/sign.js.map +1 -1
- package/_cjs/accounts/utils/signTransaction.js +11 -2
- package/_cjs/accounts/utils/signTransaction.js.map +1 -1
- package/_cjs/actions/index.js +4 -2
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/public/call.js +3 -1
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js +3 -1
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/getBlobBaseFee.js +11 -0
- package/_cjs/actions/public/getBlobBaseFee.js.map +1 -0
- package/_cjs/actions/public/watchBlockNumber.js +34 -26
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +11 -2
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js +13 -11
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signTransaction.js +7 -6
- package/_cjs/actions/wallet/signTransaction.js.map +1 -1
- package/_cjs/chains/celo/serializers.js +10 -15
- package/_cjs/chains/celo/serializers.js.map +1 -1
- package/_cjs/chains/definitions/plumeTestnet.js +30 -0
- package/_cjs/chains/definitions/plumeTestnet.js.map +1 -0
- package/_cjs/chains/definitions/rss3.js +49 -0
- package/_cjs/chains/definitions/rss3.js.map +1 -0
- package/_cjs/chains/definitions/rss3Sepolia.js +50 -0
- package/_cjs/chains/definitions/rss3Sepolia.js.map +1 -0
- package/_cjs/chains/index.js +9 -3
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateL1Fee.js +1 -10
- package/_cjs/chains/opStack/actions/estimateL1Fee.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateL1Gas.js +1 -10
- package/_cjs/chains/opStack/actions/estimateL1Gas.js.map +1 -1
- package/_cjs/chains/opStack/actions/finalizeWithdrawal.js +1 -1
- package/_cjs/chains/opStack/actions/finalizeWithdrawal.js.map +1 -1
- package/_cjs/chains/opStack/actions/proveWithdrawal.js +1 -1
- package/_cjs/chains/opStack/actions/proveWithdrawal.js.map +1 -1
- package/_cjs/chains/opStack/serializers.js +3 -3
- package/_cjs/chains/opStack/serializers.js.map +1 -1
- package/_cjs/chains/zksync/actions/sendTransaction.js.map +1 -1
- package/_cjs/chains/zksync/actions/signEip712Transaction.js.map +1 -1
- package/_cjs/chains/zksync/serializers.js +6 -6
- package/_cjs/chains/zksync/serializers.js.map +1 -1
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/clients/decorators/wallet.js.map +1 -1
- package/_cjs/constants/blob.js +11 -0
- package/_cjs/constants/blob.js.map +1 -0
- package/_cjs/constants/kzg.js +7 -0
- package/_cjs/constants/kzg.js.map +1 -0
- package/_cjs/errors/blob.js +63 -0
- package/_cjs/errors/blob.js.map +1 -0
- package/_cjs/errors/transaction.js +1 -0
- package/_cjs/errors/transaction.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_cjs/index.js +22 -2
- package/_cjs/index.js.map +1 -1
- package/_cjs/node/index.js +3 -1
- package/_cjs/node/index.js.map +1 -1
- package/_cjs/node/trustedSetups.js +7 -0
- package/_cjs/node/trustedSetups.js.map +1 -0
- package/_cjs/types/eip4844.js +3 -0
- package/_cjs/types/eip4844.js.map +1 -0
- package/_cjs/types/kzg.js +3 -0
- package/_cjs/types/kzg.js.map +1 -0
- package/_cjs/utils/blob/blobsToCommitments.js +20 -0
- package/_cjs/utils/blob/blobsToCommitments.js.map +1 -0
- package/_cjs/utils/blob/blobsToProofs.js +26 -0
- package/_cjs/utils/blob/blobsToProofs.js.map +1 -0
- package/_cjs/utils/blob/commitmentToVersionedHash.js +14 -0
- package/_cjs/utils/blob/commitmentToVersionedHash.js.map +1 -0
- package/_cjs/utils/blob/commitmentsToVersionedHashes.js +19 -0
- package/_cjs/utils/blob/commitmentsToVersionedHashes.js.map +1 -0
- package/_cjs/utils/blob/fromBlobs.js +36 -0
- package/_cjs/utils/blob/fromBlobs.js.map +1 -0
- package/_cjs/utils/blob/sidecarsToVersionedHashes.js +19 -0
- package/_cjs/utils/blob/sidecarsToVersionedHashes.js.map +1 -0
- package/_cjs/utils/blob/toBlobSidecars.js +22 -0
- package/_cjs/utils/blob/toBlobSidecars.js.map +1 -0
- package/_cjs/utils/blob/toBlobs.js +48 -0
- package/_cjs/utils/blob/toBlobs.js.map +1 -0
- package/_cjs/utils/encoding/toRlp.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/formatters/transactionRequest.js +22 -25
- package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
- package/_cjs/utils/kzg/defineKzg.js +11 -0
- package/_cjs/utils/kzg/defineKzg.js.map +1 -0
- package/_cjs/utils/kzg/setupKzg.js +17 -0
- package/_cjs/utils/kzg/setupKzg.js.map +1 -0
- package/_cjs/utils/signature/compactSignatureToSignature.js +3 -3
- package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -1
- package/_cjs/utils/signature/hexToSignature.js +6 -1
- package/_cjs/utils/signature/hexToSignature.js.map +1 -1
- package/_cjs/utils/signature/signatureToCompactSignature.js +3 -3
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
- package/_cjs/utils/signature/signatureToHex.js +9 -3
- package/_cjs/utils/signature/signatureToHex.js.map +1 -1
- package/_cjs/utils/transaction/assertTransaction.js +26 -1
- package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
- package/_cjs/utils/transaction/getSerializedTransactionType.js +2 -0
- package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js +7 -1
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js +73 -0
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js +84 -21
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/accounts/utils/sign.js +1 -0
- package/_esm/accounts/utils/sign.js.map +1 -1
- package/_esm/accounts/utils/signTransaction.js +13 -2
- package/_esm/accounts/utils/signTransaction.js.map +1 -1
- package/_esm/actions/index.js +1 -0
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/public/call.js +3 -1
- package/_esm/actions/public/call.js.map +1 -1
- package/_esm/actions/public/estimateGas.js +3 -1
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/public/getBlobBaseFee.js +27 -0
- package/_esm/actions/public/getBlobBaseFee.js.map +1 -0
- package/_esm/actions/public/watchBlockNumber.js +34 -26
- package/_esm/actions/public/watchBlockNumber.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +12 -2
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_esm/actions/wallet/sendTransaction.js +13 -11
- package/_esm/actions/wallet/sendTransaction.js.map +1 -1
- package/_esm/actions/wallet/signTransaction.js +6 -5
- package/_esm/actions/wallet/signTransaction.js.map +1 -1
- package/_esm/chains/celo/serializers.js +10 -17
- package/_esm/chains/celo/serializers.js.map +1 -1
- package/_esm/chains/definitions/plumeTestnet.js +27 -0
- package/_esm/chains/definitions/plumeTestnet.js.map +1 -0
- package/_esm/chains/definitions/rss3.js +46 -0
- package/_esm/chains/definitions/rss3.js.map +1 -0
- package/_esm/chains/definitions/rss3Sepolia.js +47 -0
- package/_esm/chains/definitions/rss3Sepolia.js.map +1 -0
- package/_esm/chains/index.js +3 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/opStack/actions/estimateL1Fee.js +1 -10
- package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -1
- package/_esm/chains/opStack/actions/estimateL1Gas.js +1 -10
- package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -1
- package/_esm/chains/opStack/actions/finalizeWithdrawal.js +1 -1
- package/_esm/chains/opStack/actions/finalizeWithdrawal.js.map +1 -1
- package/_esm/chains/opStack/actions/proveWithdrawal.js +1 -1
- package/_esm/chains/opStack/actions/proveWithdrawal.js.map +1 -1
- package/_esm/chains/opStack/serializers.js +2 -2
- package/_esm/chains/opStack/serializers.js.map +1 -1
- package/_esm/chains/zksync/actions/sendTransaction.js.map +1 -1
- package/_esm/chains/zksync/actions/signEip712Transaction.js.map +1 -1
- package/_esm/chains/zksync/serializers.js +6 -6
- package/_esm/chains/zksync/serializers.js.map +1 -1
- package/_esm/clients/decorators/public.js.map +1 -1
- package/_esm/clients/decorators/wallet.js.map +1 -1
- package/_esm/constants/blob.js +16 -0
- package/_esm/constants/blob.js.map +1 -0
- package/_esm/constants/kzg.js +7 -0
- package/_esm/constants/kzg.js.map +1 -0
- package/_esm/errors/blob.js +56 -0
- package/_esm/errors/blob.js.map +1 -0
- package/_esm/errors/transaction.js +1 -0
- package/_esm/errors/transaction.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_esm/index.js +10 -0
- package/_esm/index.js.map +1 -1
- package/_esm/node/index.js +1 -0
- package/_esm/node/index.js.map +1 -1
- package/_esm/node/trustedSetups.js +4 -0
- package/_esm/node/trustedSetups.js.map +1 -0
- package/_esm/types/eip4844.js +2 -0
- package/_esm/types/eip4844.js.map +1 -0
- package/_esm/types/kzg.js +2 -0
- package/_esm/types/kzg.js.map +1 -0
- package/_esm/utils/blob/blobsToCommitments.js +28 -0
- package/_esm/utils/blob/blobsToCommitments.js.map +1 -0
- package/_esm/utils/blob/blobsToProofs.js +38 -0
- package/_esm/utils/blob/blobsToProofs.js.map +1 -0
- package/_esm/utils/blob/commitmentToVersionedHash.js +27 -0
- package/_esm/utils/blob/commitmentToVersionedHash.js.map +1 -0
- package/_esm/utils/blob/commitmentsToVersionedHashes.js +32 -0
- package/_esm/utils/blob/commitmentsToVersionedHashes.js.map +1 -0
- package/_esm/utils/blob/fromBlobs.js +33 -0
- package/_esm/utils/blob/fromBlobs.js.map +1 -0
- package/_esm/utils/blob/sidecarsToVersionedHashes.js +26 -0
- package/_esm/utils/blob/sidecarsToVersionedHashes.js.map +1 -0
- package/_esm/utils/blob/toBlobSidecars.js +45 -0
- package/_esm/utils/blob/toBlobSidecars.js.map +1 -0
- package/_esm/utils/blob/toBlobs.js +58 -0
- package/_esm/utils/blob/toBlobs.js.map +1 -0
- package/_esm/utils/encoding/toRlp.js.map +1 -1
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_esm/utils/formatters/transactionRequest.js +23 -26
- package/_esm/utils/formatters/transactionRequest.js.map +1 -1
- package/_esm/utils/kzg/defineKzg.js +21 -0
- package/_esm/utils/kzg/defineKzg.js.map +1 -0
- package/_esm/utils/kzg/setupKzg.js +25 -0
- package/_esm/utils/kzg/setupKzg.js.map +1 -0
- package/_esm/utils/signature/compactSignatureToSignature.js +3 -3
- package/_esm/utils/signature/compactSignatureToSignature.js.map +1 -1
- package/_esm/utils/signature/hexToSignature.js +6 -1
- package/_esm/utils/signature/hexToSignature.js.map +1 -1
- package/_esm/utils/signature/signatureToCompactSignature.js +4 -4
- package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -1
- package/_esm/utils/signature/signatureToHex.js +11 -4
- package/_esm/utils/signature/signatureToHex.js.map +1 -1
- package/_esm/utils/transaction/assertTransaction.js +24 -0
- package/_esm/utils/transaction/assertTransaction.js.map +1 -1
- package/_esm/utils/transaction/getSerializedTransactionType.js +2 -0
- package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_esm/utils/transaction/getTransactionType.js +7 -1
- package/_esm/utils/transaction/getTransactionType.js.map +1 -1
- package/_esm/utils/transaction/parseTransaction.js +74 -1
- package/_esm/utils/transaction/parseTransaction.js.map +1 -1
- package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +85 -22
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_types/accounts/types.d.ts +3 -3
- package/_types/accounts/types.d.ts.map +1 -1
- package/_types/accounts/utils/sign.d.ts.map +1 -1
- package/_types/accounts/utils/signTransaction.d.ts +5 -5
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
- package/_types/actions/index.d.ts +1 -0
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/public/call.d.ts.map +1 -1
- package/_types/actions/public/estimateGas.d.ts.map +1 -1
- package/_types/actions/public/getBlobBaseFee.d.ts +30 -0
- package/_types/actions/public/getBlobBaseFee.d.ts.map +1 -0
- package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +27 -8
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/sendRawTransaction.d.ts +3 -5
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts +4 -2
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signTransaction.d.ts +5 -2
- package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
- package/_types/chains/celo/chainConfig.d.ts +1282 -376
- package/_types/chains/celo/chainConfig.d.ts.map +1 -1
- package/_types/chains/celo/formatters.d.ts +1282 -376
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/celo/serializers.d.ts +3 -4
- package/_types/chains/celo/serializers.d.ts.map +1 -1
- package/_types/chains/celo/types.d.ts +3 -8
- package/_types/chains/celo/types.d.ts.map +1 -1
- package/_types/chains/definitions/ancient8.d.ts +452 -188
- package/_types/chains/definitions/ancient8.d.ts.map +1 -1
- package/_types/chains/definitions/ancient8Sepolia.d.ts +452 -188
- package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +452 -188
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +452 -188
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +452 -188
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +1282 -376
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +1282 -376
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/fraxtal.d.ts +452 -188
- package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
- package/_types/chains/definitions/fraxtalTestnet.d.ts +452 -188
- package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/liskSepolia.d.ts +452 -188
- package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +452 -188
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +452 -188
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +452 -188
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/pgn.d.ts +451 -187
- package/_types/chains/definitions/pgn.d.ts.map +1 -1
- package/_types/chains/definitions/pgnTestnet.d.ts +451 -187
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/plumeTestnet.d.ts +37 -0
- package/_types/chains/definitions/plumeTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/rss3.d.ts +1080 -0
- package/_types/chains/definitions/rss3.d.ts.map +1 -0
- package/_types/chains/definitions/rss3Sepolia.d.ts +1080 -0
- package/_types/chains/definitions/rss3Sepolia.d.ts.map +1 -0
- package/_types/chains/definitions/zkSync.d.ts +692 -32
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +692 -32
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +692 -32
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +452 -188
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +452 -188
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +452 -188
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +4 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -1
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -1
- package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts.map +1 -1
- package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +1 -1
- package/_types/chains/opStack/chainConfig.d.ts +452 -188
- package/_types/chains/opStack/chainConfig.d.ts.map +1 -1
- package/_types/chains/opStack/formatters.d.ts +451 -187
- package/_types/chains/opStack/formatters.d.ts.map +1 -1
- package/_types/chains/opStack/serializers.d.ts +4 -3
- package/_types/chains/opStack/serializers.d.ts.map +1 -1
- package/_types/chains/opStack/types/transaction.d.ts +4 -8
- package/_types/chains/opStack/types/transaction.d.ts.map +1 -1
- package/_types/chains/zksync/actions/sendTransaction.d.ts.map +1 -1
- package/_types/chains/zksync/chainConfig.d.ts +692 -32
- package/_types/chains/zksync/chainConfig.d.ts.map +1 -1
- package/_types/chains/zksync/formatters.d.ts +692 -32
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- package/_types/chains/zksync/serializers.d.ts +3 -3
- package/_types/chains/zksync/serializers.d.ts.map +1 -1
- package/_types/chains/zksync/types/chain.d.ts +2 -2
- package/_types/chains/zksync/types/chain.d.ts.map +1 -1
- package/_types/chains/zksync/types/eip712.d.ts +2 -2
- package/_types/chains/zksync/types/eip712.d.ts.map +1 -1
- package/_types/clients/decorators/public.d.ts +2 -2
- package/_types/clients/decorators/public.d.ts.map +1 -1
- package/_types/clients/decorators/wallet.d.ts +4 -4
- package/_types/clients/decorators/wallet.d.ts.map +1 -1
- package/_types/constants/blob.d.ts +11 -0
- package/_types/constants/blob.d.ts.map +1 -0
- package/_types/constants/kzg.d.ts +6 -0
- package/_types/constants/kzg.d.ts.map +1 -0
- package/_types/errors/blob.d.ts +40 -0
- package/_types/errors/blob.d.ts.map +1 -0
- package/_types/errors/transaction.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/index.d.ts +11 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/node/index.d.ts +1 -0
- package/_types/node/index.d.ts.map +1 -1
- package/_types/node/trustedSetups.d.ts +3 -0
- package/_types/node/trustedSetups.d.ts.map +1 -0
- package/_types/types/account.d.ts +3 -3
- package/_types/types/account.d.ts.map +1 -1
- package/_types/types/chain.d.ts +2 -2
- package/_types/types/chain.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +3 -3
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/types/eip4844.d.ts +11 -0
- package/_types/types/eip4844.d.ts.map +1 -0
- package/_types/types/fee.d.ts +2 -2
- package/_types/types/fee.d.ts.map +1 -1
- package/_types/types/kzg.d.ts +24 -0
- package/_types/types/kzg.d.ts.map +1 -0
- package/_types/types/misc.d.ts +15 -1
- package/_types/types/misc.d.ts.map +1 -1
- package/_types/types/rpc.d.ts +4 -4
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +44 -9
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/utils.d.ts +38 -2
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/blob/blobsToCommitments.d.ts +31 -0
- package/_types/utils/blob/blobsToCommitments.d.ts.map +1 -0
- package/_types/utils/blob/blobsToProofs.d.ts +37 -0
- package/_types/utils/blob/blobsToProofs.d.ts.map +1 -0
- package/_types/utils/blob/commitmentToVersionedHash.d.ts +35 -0
- package/_types/utils/blob/commitmentToVersionedHash.d.ts.map +1 -0
- package/_types/utils/blob/commitmentsToVersionedHashes.d.ts +34 -0
- package/_types/utils/blob/commitmentsToVersionedHashes.d.ts.map +1 -0
- package/_types/utils/blob/fromBlobs.d.ts +16 -0
- package/_types/utils/blob/fromBlobs.d.ts.map +1 -0
- package/_types/utils/blob/sidecarsToVersionedHashes.d.ts +29 -0
- package/_types/utils/blob/sidecarsToVersionedHashes.d.ts.map +1 -0
- package/_types/utils/blob/toBlobSidecars.d.ts +57 -0
- package/_types/utils/blob/toBlobSidecars.d.ts.map +1 -0
- package/_types/utils/blob/toBlobs.d.ts +28 -0
- package/_types/utils/blob/toBlobs.d.ts.map +1 -0
- package/_types/utils/encoding/toRlp.d.ts +1 -1
- package/_types/utils/encoding/toRlp.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +25 -25
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +227 -3
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
- package/_types/utils/kzg/defineKzg.d.ts +21 -0
- package/_types/utils/kzg/defineKzg.d.ts.map +1 -0
- package/_types/utils/kzg/setupKzg.d.ts +21 -0
- package/_types/utils/kzg/setupKzg.d.ts.map +1 -0
- package/_types/utils/signature/hexToSignature.d.ts.map +1 -1
- package/_types/utils/signature/signatureToCompactSignature.d.ts +1 -1
- package/_types/utils/signature/signatureToHex.d.ts +2 -2
- package/_types/utils/signature/signatureToHex.d.ts.map +1 -1
- package/_types/utils/transaction/assertTransaction.d.ts +4 -1
- package/_types/utils/transaction/assertTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts +5 -3
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/getTransactionType.d.ts +34 -3
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/parseTransaction.d.ts +7 -5
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts +13 -6
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/accounts/types.ts +9 -5
- package/accounts/utils/sign.ts +1 -0
- package/accounts/utils/signTransaction.ts +37 -22
- package/actions/index.ts +5 -0
- package/actions/public/call.ts +4 -0
- package/actions/public/estimateGas.ts +4 -0
- package/actions/public/getBlobBaseFee.ts +42 -0
- package/actions/public/watchBlockNumber.ts +33 -23
- package/actions/wallet/prepareTransactionRequest.ts +134 -61
- package/actions/wallet/sendRawTransaction.ts +3 -5
- package/actions/wallet/sendTransaction.ts +41 -31
- package/actions/wallet/signTransaction.ts +34 -18
- package/chains/celo/serializers.ts +12 -25
- package/chains/celo/types.ts +5 -10
- package/chains/definitions/plumeTestnet.ts +28 -0
- package/chains/definitions/rss3.ts +47 -0
- package/chains/definitions/rss3Sepolia.ts +48 -0
- package/chains/index.ts +3 -1
- package/chains/opStack/actions/estimateL1Fee.ts +12 -16
- package/chains/opStack/actions/estimateL1Gas.ts +12 -16
- package/chains/opStack/actions/finalizeWithdrawal.ts +3 -2
- package/chains/opStack/actions/proveWithdrawal.ts +3 -2
- package/chains/opStack/serializers.ts +5 -5
- package/chains/opStack/types/transaction.ts +9 -11
- package/chains/zksync/actions/sendTransaction.ts +2 -1
- package/chains/zksync/actions/signEip712Transaction.ts +2 -2
- package/chains/zksync/serializers.ts +14 -10
- package/chains/zksync/types/chain.ts +4 -7
- package/chains/zksync/types/eip712.ts +2 -2
- package/clients/decorators/public.ts +8 -4
- package/clients/decorators/wallet.ts +14 -6
- package/constants/blob.ts +21 -0
- package/constants/kzg.ts +9 -0
- package/errors/blob.ts +67 -0
- package/errors/transaction.ts +1 -0
- package/errors/version.ts +1 -1
- package/index.ts +64 -0
- package/node/index.ts +2 -0
- package/node/trustedSetups.ts +11 -0
- package/package.json +1 -1
- package/trusted-setups/mainnet.json +8265 -0
- package/trusted-setups/minimal.json +8265 -0
- package/types/account.ts +3 -3
- package/types/chain.ts +3 -1
- package/types/eip1193.ts +3 -3
- package/types/eip4844.ts +12 -0
- package/types/fee.ts +3 -2
- package/types/kzg.ts +32 -0
- package/types/misc.ts +20 -1
- package/types/rpc.ts +11 -6
- package/types/transaction.ts +75 -17
- package/types/utils.ts +49 -1
- package/utils/blob/blobsToCommitments.ts +69 -0
- package/utils/blob/blobsToProofs.ts +93 -0
- package/utils/blob/commitmentToVersionedHash.ts +62 -0
- package/utils/blob/commitmentsToVersionedHashes.ts +71 -0
- package/utils/blob/fromBlobs.ts +73 -0
- package/utils/blob/sidecarsToVersionedHashes.ts +66 -0
- package/utils/blob/toBlobSidecars.ts +109 -0
- package/utils/blob/toBlobs.ts +113 -0
- package/utils/encoding/toRlp.ts +2 -2
- package/utils/formatters/transaction.ts +3 -2
- package/utils/formatters/transactionRequest.ts +28 -35
- package/utils/kzg/defineKzg.ts +30 -0
- package/utils/kzg/setupKzg.ts +38 -0
- package/utils/signature/compactSignatureToSignature.ts +3 -3
- package/utils/signature/hexToSignature.ts +6 -1
- package/utils/signature/signatureToCompactSignature.ts +4 -4
- package/utils/signature/signatureToHex.ts +9 -4
- package/utils/transaction/assertTransaction.ts +41 -0
- package/utils/transaction/getSerializedTransactionType.ts +34 -11
- package/utils/transaction/getTransactionType.ts +109 -26
- package/utils/transaction/parseTransaction.ts +128 -8
- package/utils/transaction/serializeAccessList.ts +1 -1
- package/utils/transaction/serializeTransaction.ts +172 -39
@@ -39,53 +39,77 @@ export declare const formatters: {
|
|
39
39
|
readonly transaction: {
|
40
40
|
exclude: [] | undefined;
|
41
41
|
format: (args: ({
|
42
|
-
|
43
|
-
|
44
|
-
|
42
|
+
r?: `0x${string}` | undefined;
|
43
|
+
s?: `0x${string}` | undefined;
|
44
|
+
v?: `0x${string}` | undefined;
|
45
|
+
yParity?: `0x${string}` | undefined;
|
45
46
|
gasPrice?: `0x${string}` | undefined;
|
46
47
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
47
48
|
maxFeePerGas?: `0x${string}` | undefined;
|
48
49
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
49
|
-
|
50
|
+
to?: `0x${string}` | null | undefined;
|
51
|
+
from?: `0x${string}` | undefined;
|
52
|
+
gas?: `0x${string}` | undefined;
|
53
|
+
nonce?: `0x${string}` | undefined;
|
54
|
+
value?: `0x${string}` | undefined;
|
55
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
56
|
+
accessList?: undefined;
|
50
57
|
blockHash?: `0x${string}` | null | undefined;
|
51
58
|
blockNumber?: `0x${string}` | null | undefined;
|
52
|
-
from?: `0x${string}` | undefined;
|
53
59
|
hash?: `0x${string}` | undefined;
|
54
60
|
input?: `0x${string}` | undefined;
|
55
|
-
nonce?: `0x${string}` | undefined;
|
56
|
-
r?: `0x${string}` | undefined;
|
57
|
-
s?: `0x${string}` | undefined;
|
58
|
-
to?: `0x${string}` | null | undefined;
|
59
61
|
transactionIndex?: `0x${string}` | null | undefined;
|
60
|
-
|
62
|
+
blobVersionedHashes?: undefined;
|
63
|
+
chainId?: `0x${string}` | undefined;
|
64
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
65
|
+
r: `0x${string}`;
|
66
|
+
s: `0x${string}`;
|
67
|
+
v: `0x${string}`;
|
68
|
+
to: `0x${string}` | null;
|
69
|
+
from: `0x${string}`;
|
70
|
+
gas: `0x${string}`;
|
71
|
+
nonce: `0x${string}`;
|
72
|
+
value: `0x${string}`;
|
73
|
+
blockHash: `0x${string}` | null;
|
74
|
+
blockNumber: `0x${string}` | null;
|
75
|
+
hash: `0x${string}`;
|
76
|
+
input: `0x${string}`;
|
77
|
+
transactionIndex: `0x${string}` | null;
|
78
|
+
typeHex: `0x${string}` | null;
|
79
|
+
gasPrice: `0x${string}`;
|
80
|
+
maxFeePerBlobGas?: undefined;
|
81
|
+
maxFeePerGas?: undefined;
|
82
|
+
maxPriorityFeePerGas?: undefined;
|
61
83
|
accessList?: undefined;
|
62
84
|
blobVersionedHashes?: undefined;
|
63
85
|
chainId?: `0x${string}` | undefined;
|
64
|
-
|
86
|
+
yParity?: undefined;
|
87
|
+
type: "0x0";
|
88
|
+
}, "yParity">, "typeHex"> & {
|
65
89
|
isSystemTx?: undefined;
|
66
90
|
mint?: undefined;
|
67
91
|
sourceHash?: undefined;
|
68
92
|
}) | ({
|
69
|
-
|
70
|
-
|
71
|
-
|
93
|
+
r?: `0x${string}` | undefined;
|
94
|
+
s?: `0x${string}` | undefined;
|
95
|
+
v?: `0x${string}` | undefined;
|
96
|
+
yParity?: `0x${string}` | undefined;
|
72
97
|
gasPrice?: `0x${string}` | undefined;
|
73
98
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
74
99
|
maxFeePerGas?: `0x${string}` | undefined;
|
75
100
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
76
|
-
|
101
|
+
to?: `0x${string}` | null | undefined;
|
102
|
+
from?: `0x${string}` | undefined;
|
103
|
+
gas?: `0x${string}` | undefined;
|
104
|
+
nonce?: `0x${string}` | undefined;
|
105
|
+
value?: `0x${string}` | undefined;
|
106
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
107
|
+
accessList?: undefined;
|
77
108
|
blockHash?: `0x${string}` | null | undefined;
|
78
109
|
blockNumber?: `0x${string}` | null | undefined;
|
79
|
-
from?: `0x${string}` | undefined;
|
80
110
|
hash?: `0x${string}` | undefined;
|
81
111
|
input?: `0x${string}` | undefined;
|
82
|
-
nonce?: `0x${string}` | undefined;
|
83
|
-
r?: `0x${string}` | undefined;
|
84
|
-
s?: `0x${string}` | undefined;
|
85
|
-
to?: `0x${string}` | null | undefined;
|
86
112
|
transactionIndex?: `0x${string}` | null | undefined;
|
87
|
-
v?: `0x${string}` | undefined;
|
88
|
-
accessList?: undefined;
|
89
113
|
blobVersionedHashes?: undefined;
|
90
114
|
chainId?: `0x${string}` | undefined;
|
91
115
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -94,107 +118,179 @@ export declare const formatters: {
|
|
94
118
|
sourceHash: `0x${string}`;
|
95
119
|
type: "0x7e";
|
96
120
|
}) | ({
|
97
|
-
|
98
|
-
|
99
|
-
|
121
|
+
r?: `0x${string}` | undefined;
|
122
|
+
s?: `0x${string}` | undefined;
|
123
|
+
v?: `0x${string}` | undefined;
|
124
|
+
yParity?: `0x${string}` | undefined;
|
100
125
|
gasPrice?: `0x${string}` | undefined;
|
101
126
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
102
127
|
maxFeePerGas?: `0x${string}` | undefined;
|
103
128
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
104
|
-
|
129
|
+
to?: `0x${string}` | null | undefined;
|
130
|
+
from?: `0x${string}` | undefined;
|
131
|
+
gas?: `0x${string}` | undefined;
|
132
|
+
nonce?: `0x${string}` | undefined;
|
133
|
+
value?: `0x${string}` | undefined;
|
134
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
135
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
105
136
|
blockHash?: `0x${string}` | null | undefined;
|
106
137
|
blockNumber?: `0x${string}` | null | undefined;
|
107
|
-
from?: `0x${string}` | undefined;
|
108
138
|
hash?: `0x${string}` | undefined;
|
109
139
|
input?: `0x${string}` | undefined;
|
110
|
-
nonce?: `0x${string}` | undefined;
|
111
|
-
r?: `0x${string}` | undefined;
|
112
|
-
s?: `0x${string}` | undefined;
|
113
|
-
to?: `0x${string}` | null | undefined;
|
114
140
|
transactionIndex?: `0x${string}` | null | undefined;
|
115
|
-
v?: `0x${string}` | undefined;
|
116
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
117
141
|
blobVersionedHashes?: undefined;
|
118
142
|
chainId?: `0x${string}` | undefined;
|
119
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
143
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
144
|
+
r: `0x${string}`;
|
145
|
+
s: `0x${string}`;
|
146
|
+
v: `0x${string}`;
|
147
|
+
to: `0x${string}` | null;
|
148
|
+
from: `0x${string}`;
|
149
|
+
gas: `0x${string}`;
|
150
|
+
nonce: `0x${string}`;
|
151
|
+
value: `0x${string}`;
|
152
|
+
blockHash: `0x${string}` | null;
|
153
|
+
blockNumber: `0x${string}` | null;
|
154
|
+
hash: `0x${string}`;
|
155
|
+
input: `0x${string}`;
|
156
|
+
transactionIndex: `0x${string}` | null;
|
157
|
+
typeHex: `0x${string}` | null;
|
158
|
+
gasPrice: `0x${string}`;
|
159
|
+
maxFeePerBlobGas?: undefined;
|
160
|
+
maxFeePerGas?: undefined;
|
161
|
+
maxPriorityFeePerGas?: undefined;
|
162
|
+
accessList?: undefined;
|
163
|
+
blobVersionedHashes?: undefined;
|
164
|
+
chainId?: `0x${string}` | undefined;
|
165
|
+
yParity?: undefined;
|
166
|
+
type: "0x0";
|
167
|
+
}, "yParity">, "typeHex"> & {
|
120
168
|
isSystemTx?: undefined;
|
121
169
|
mint?: undefined;
|
122
170
|
sourceHash?: undefined;
|
123
171
|
}) | ({
|
124
|
-
|
125
|
-
|
126
|
-
|
172
|
+
r?: `0x${string}` | undefined;
|
173
|
+
s?: `0x${string}` | undefined;
|
174
|
+
v?: `0x${string}` | undefined;
|
175
|
+
yParity?: `0x${string}` | undefined;
|
127
176
|
gasPrice?: `0x${string}` | undefined;
|
128
177
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
129
178
|
maxFeePerGas?: `0x${string}` | undefined;
|
130
179
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
131
|
-
|
180
|
+
to?: `0x${string}` | null | undefined;
|
181
|
+
from?: `0x${string}` | undefined;
|
182
|
+
gas?: `0x${string}` | undefined;
|
183
|
+
nonce?: `0x${string}` | undefined;
|
184
|
+
value?: `0x${string}` | undefined;
|
185
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
186
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
132
187
|
blockHash?: `0x${string}` | null | undefined;
|
133
188
|
blockNumber?: `0x${string}` | null | undefined;
|
134
|
-
from?: `0x${string}` | undefined;
|
135
189
|
hash?: `0x${string}` | undefined;
|
136
190
|
input?: `0x${string}` | undefined;
|
137
|
-
nonce?: `0x${string}` | undefined;
|
138
|
-
r?: `0x${string}` | undefined;
|
139
|
-
s?: `0x${string}` | undefined;
|
140
|
-
to?: `0x${string}` | null | undefined;
|
141
191
|
transactionIndex?: `0x${string}` | null | undefined;
|
142
|
-
v?: `0x${string}` | undefined;
|
143
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
144
192
|
blobVersionedHashes?: undefined;
|
145
193
|
chainId?: `0x${string}` | undefined;
|
146
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
194
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
195
|
+
blockHash: `0x${string}` | null;
|
196
|
+
blockNumber: `0x${string}` | null;
|
197
|
+
from: `0x${string}`;
|
198
|
+
gas: `0x${string}`;
|
199
|
+
hash: `0x${string}`;
|
200
|
+
input: `0x${string}`;
|
201
|
+
nonce: `0x${string}`;
|
202
|
+
r: `0x${string}`;
|
203
|
+
s: `0x${string}`;
|
204
|
+
to: `0x${string}` | null;
|
205
|
+
transactionIndex: `0x${string}` | null;
|
206
|
+
typeHex: `0x${string}` | null;
|
207
|
+
v: `0x${string}`;
|
208
|
+
value: `0x${string}`;
|
209
|
+
yParity: `0x${string}`;
|
210
|
+
gasPrice: `0x${string}`;
|
211
|
+
maxFeePerBlobGas?: undefined;
|
212
|
+
maxFeePerGas?: undefined;
|
213
|
+
maxPriorityFeePerGas?: undefined;
|
214
|
+
accessList: import("../../index.js").AccessList;
|
215
|
+
blobVersionedHashes?: undefined;
|
216
|
+
chainId: `0x${string}`;
|
217
|
+
type: "0x1";
|
218
|
+
}, "yParity">, "typeHex"> & {
|
147
219
|
isSystemTx?: undefined;
|
148
220
|
mint?: undefined;
|
149
221
|
sourceHash?: undefined;
|
150
222
|
}) | ({
|
151
|
-
|
152
|
-
|
153
|
-
|
223
|
+
r?: `0x${string}` | undefined;
|
224
|
+
s?: `0x${string}` | undefined;
|
225
|
+
v?: `0x${string}` | undefined;
|
226
|
+
yParity?: `0x${string}` | undefined;
|
154
227
|
gasPrice?: `0x${string}` | undefined;
|
155
228
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
156
229
|
maxFeePerGas?: `0x${string}` | undefined;
|
157
230
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
158
|
-
|
231
|
+
to?: `0x${string}` | null | undefined;
|
232
|
+
from?: `0x${string}` | undefined;
|
233
|
+
gas?: `0x${string}` | undefined;
|
234
|
+
nonce?: `0x${string}` | undefined;
|
235
|
+
value?: `0x${string}` | undefined;
|
236
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
237
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
159
238
|
blockHash?: `0x${string}` | null | undefined;
|
160
239
|
blockNumber?: `0x${string}` | null | undefined;
|
161
|
-
from?: `0x${string}` | undefined;
|
162
240
|
hash?: `0x${string}` | undefined;
|
163
241
|
input?: `0x${string}` | undefined;
|
164
|
-
nonce?: `0x${string}` | undefined;
|
165
|
-
r?: `0x${string}` | undefined;
|
166
|
-
s?: `0x${string}` | undefined;
|
167
|
-
to?: `0x${string}` | null | undefined;
|
168
242
|
transactionIndex?: `0x${string}` | null | undefined;
|
169
|
-
v?: `0x${string}` | undefined;
|
170
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
171
243
|
blobVersionedHashes?: undefined;
|
172
244
|
chainId?: `0x${string}` | undefined;
|
173
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
245
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
246
|
+
blockHash: `0x${string}` | null;
|
247
|
+
blockNumber: `0x${string}` | null;
|
248
|
+
from: `0x${string}`;
|
249
|
+
gas: `0x${string}`;
|
250
|
+
hash: `0x${string}`;
|
251
|
+
input: `0x${string}`;
|
252
|
+
nonce: `0x${string}`;
|
253
|
+
r: `0x${string}`;
|
254
|
+
s: `0x${string}`;
|
255
|
+
to: `0x${string}` | null;
|
256
|
+
transactionIndex: `0x${string}` | null;
|
257
|
+
typeHex: `0x${string}` | null;
|
258
|
+
v: `0x${string}`;
|
259
|
+
value: `0x${string}`;
|
260
|
+
yParity: `0x${string}`;
|
261
|
+
gasPrice?: undefined;
|
262
|
+
maxFeePerBlobGas?: undefined;
|
263
|
+
maxFeePerGas: `0x${string}`;
|
264
|
+
maxPriorityFeePerGas: `0x${string}`;
|
265
|
+
accessList: import("../../index.js").AccessList;
|
266
|
+
blobVersionedHashes?: undefined;
|
267
|
+
chainId: `0x${string}`;
|
268
|
+
type: "0x2";
|
269
|
+
}, "yParity">, "typeHex"> & {
|
174
270
|
isSystemTx?: undefined;
|
175
271
|
mint?: undefined;
|
176
272
|
sourceHash?: undefined;
|
177
273
|
}) | ({
|
178
|
-
|
179
|
-
|
180
|
-
|
274
|
+
r?: `0x${string}` | undefined;
|
275
|
+
s?: `0x${string}` | undefined;
|
276
|
+
v?: `0x${string}` | undefined;
|
277
|
+
yParity?: `0x${string}` | undefined;
|
181
278
|
gasPrice?: `0x${string}` | undefined;
|
182
279
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
183
280
|
maxFeePerGas?: `0x${string}` | undefined;
|
184
281
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
185
|
-
|
282
|
+
to?: `0x${string}` | null | undefined;
|
283
|
+
from?: `0x${string}` | undefined;
|
284
|
+
gas?: `0x${string}` | undefined;
|
285
|
+
nonce?: `0x${string}` | undefined;
|
286
|
+
value?: `0x${string}` | undefined;
|
287
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
288
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
186
289
|
blockHash?: `0x${string}` | null | undefined;
|
187
290
|
blockNumber?: `0x${string}` | null | undefined;
|
188
|
-
from?: `0x${string}` | undefined;
|
189
291
|
hash?: `0x${string}` | undefined;
|
190
292
|
input?: `0x${string}` | undefined;
|
191
|
-
nonce?: `0x${string}` | undefined;
|
192
|
-
r?: `0x${string}` | undefined;
|
193
|
-
s?: `0x${string}` | undefined;
|
194
|
-
to?: `0x${string}` | null | undefined;
|
195
293
|
transactionIndex?: `0x${string}` | null | undefined;
|
196
|
-
v?: `0x${string}` | undefined;
|
197
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
198
294
|
blobVersionedHashes?: undefined;
|
199
295
|
chainId?: `0x${string}` | undefined;
|
200
296
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -203,107 +299,179 @@ export declare const formatters: {
|
|
203
299
|
sourceHash: `0x${string}`;
|
204
300
|
type: "0x7e";
|
205
301
|
}) | ({
|
206
|
-
|
207
|
-
|
208
|
-
|
302
|
+
r?: `0x${string}` | undefined;
|
303
|
+
s?: `0x${string}` | undefined;
|
304
|
+
v?: `0x${string}` | undefined;
|
305
|
+
yParity?: `0x${string}` | undefined;
|
209
306
|
gasPrice?: `0x${string}` | undefined;
|
210
307
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
211
308
|
maxFeePerGas?: `0x${string}` | undefined;
|
212
309
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
213
|
-
|
310
|
+
to?: `0x${string}` | null | undefined;
|
311
|
+
from?: `0x${string}` | undefined;
|
312
|
+
gas?: `0x${string}` | undefined;
|
313
|
+
nonce?: `0x${string}` | undefined;
|
314
|
+
value?: `0x${string}` | undefined;
|
315
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
316
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
214
317
|
blockHash?: `0x${string}` | null | undefined;
|
215
318
|
blockNumber?: `0x${string}` | null | undefined;
|
216
|
-
from?: `0x${string}` | undefined;
|
217
319
|
hash?: `0x${string}` | undefined;
|
218
320
|
input?: `0x${string}` | undefined;
|
219
|
-
nonce?: `0x${string}` | undefined;
|
220
|
-
r?: `0x${string}` | undefined;
|
221
|
-
s?: `0x${string}` | undefined;
|
222
|
-
to?: `0x${string}` | null | undefined;
|
223
321
|
transactionIndex?: `0x${string}` | null | undefined;
|
224
|
-
v?: `0x${string}` | undefined;
|
225
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
226
322
|
blobVersionedHashes?: undefined;
|
227
323
|
chainId?: `0x${string}` | undefined;
|
228
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
324
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
325
|
+
r: `0x${string}`;
|
326
|
+
s: `0x${string}`;
|
327
|
+
v: `0x${string}`;
|
328
|
+
to: `0x${string}` | null;
|
329
|
+
from: `0x${string}`;
|
330
|
+
gas: `0x${string}`;
|
331
|
+
nonce: `0x${string}`;
|
332
|
+
value: `0x${string}`;
|
333
|
+
blockHash: `0x${string}` | null;
|
334
|
+
blockNumber: `0x${string}` | null;
|
335
|
+
hash: `0x${string}`;
|
336
|
+
input: `0x${string}`;
|
337
|
+
transactionIndex: `0x${string}` | null;
|
338
|
+
typeHex: `0x${string}` | null;
|
339
|
+
gasPrice: `0x${string}`;
|
340
|
+
maxFeePerBlobGas?: undefined;
|
341
|
+
maxFeePerGas?: undefined;
|
342
|
+
maxPriorityFeePerGas?: undefined;
|
343
|
+
accessList?: undefined;
|
344
|
+
blobVersionedHashes?: undefined;
|
345
|
+
chainId?: `0x${string}` | undefined;
|
346
|
+
yParity?: undefined;
|
347
|
+
type: "0x0";
|
348
|
+
}, "yParity">, "typeHex"> & {
|
229
349
|
isSystemTx?: undefined;
|
230
350
|
mint?: undefined;
|
231
351
|
sourceHash?: undefined;
|
232
352
|
}) | ({
|
233
|
-
|
234
|
-
|
235
|
-
|
353
|
+
r?: `0x${string}` | undefined;
|
354
|
+
s?: `0x${string}` | undefined;
|
355
|
+
v?: `0x${string}` | undefined;
|
356
|
+
yParity?: `0x${string}` | undefined;
|
236
357
|
gasPrice?: `0x${string}` | undefined;
|
237
358
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
238
359
|
maxFeePerGas?: `0x${string}` | undefined;
|
239
360
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
240
|
-
|
361
|
+
to?: `0x${string}` | null | undefined;
|
362
|
+
from?: `0x${string}` | undefined;
|
363
|
+
gas?: `0x${string}` | undefined;
|
364
|
+
nonce?: `0x${string}` | undefined;
|
365
|
+
value?: `0x${string}` | undefined;
|
366
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
367
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
241
368
|
blockHash?: `0x${string}` | null | undefined;
|
242
369
|
blockNumber?: `0x${string}` | null | undefined;
|
243
|
-
from?: `0x${string}` | undefined;
|
244
370
|
hash?: `0x${string}` | undefined;
|
245
371
|
input?: `0x${string}` | undefined;
|
246
|
-
nonce?: `0x${string}` | undefined;
|
247
|
-
r?: `0x${string}` | undefined;
|
248
|
-
s?: `0x${string}` | undefined;
|
249
|
-
to?: `0x${string}` | null | undefined;
|
250
372
|
transactionIndex?: `0x${string}` | null | undefined;
|
251
|
-
v?: `0x${string}` | undefined;
|
252
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
253
373
|
blobVersionedHashes?: undefined;
|
254
374
|
chainId?: `0x${string}` | undefined;
|
255
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
375
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
376
|
+
blockHash: `0x${string}` | null;
|
377
|
+
blockNumber: `0x${string}` | null;
|
378
|
+
from: `0x${string}`;
|
379
|
+
gas: `0x${string}`;
|
380
|
+
hash: `0x${string}`;
|
381
|
+
input: `0x${string}`;
|
382
|
+
nonce: `0x${string}`;
|
383
|
+
r: `0x${string}`;
|
384
|
+
s: `0x${string}`;
|
385
|
+
to: `0x${string}` | null;
|
386
|
+
transactionIndex: `0x${string}` | null;
|
387
|
+
typeHex: `0x${string}` | null;
|
388
|
+
v: `0x${string}`;
|
389
|
+
value: `0x${string}`;
|
390
|
+
yParity: `0x${string}`;
|
391
|
+
gasPrice: `0x${string}`;
|
392
|
+
maxFeePerBlobGas?: undefined;
|
393
|
+
maxFeePerGas?: undefined;
|
394
|
+
maxPriorityFeePerGas?: undefined;
|
395
|
+
accessList: import("../../index.js").AccessList;
|
396
|
+
blobVersionedHashes?: undefined;
|
397
|
+
chainId: `0x${string}`;
|
398
|
+
type: "0x1";
|
399
|
+
}, "yParity">, "typeHex"> & {
|
256
400
|
isSystemTx?: undefined;
|
257
401
|
mint?: undefined;
|
258
402
|
sourceHash?: undefined;
|
259
403
|
}) | ({
|
260
|
-
|
261
|
-
|
262
|
-
|
404
|
+
r?: `0x${string}` | undefined;
|
405
|
+
s?: `0x${string}` | undefined;
|
406
|
+
v?: `0x${string}` | undefined;
|
407
|
+
yParity?: `0x${string}` | undefined;
|
263
408
|
gasPrice?: `0x${string}` | undefined;
|
264
409
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
265
410
|
maxFeePerGas?: `0x${string}` | undefined;
|
266
411
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
267
|
-
|
412
|
+
to?: `0x${string}` | null | undefined;
|
413
|
+
from?: `0x${string}` | undefined;
|
414
|
+
gas?: `0x${string}` | undefined;
|
415
|
+
nonce?: `0x${string}` | undefined;
|
416
|
+
value?: `0x${string}` | undefined;
|
417
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
418
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
268
419
|
blockHash?: `0x${string}` | null | undefined;
|
269
420
|
blockNumber?: `0x${string}` | null | undefined;
|
270
|
-
from?: `0x${string}` | undefined;
|
271
421
|
hash?: `0x${string}` | undefined;
|
272
422
|
input?: `0x${string}` | undefined;
|
273
|
-
nonce?: `0x${string}` | undefined;
|
274
|
-
r?: `0x${string}` | undefined;
|
275
|
-
s?: `0x${string}` | undefined;
|
276
|
-
to?: `0x${string}` | null | undefined;
|
277
423
|
transactionIndex?: `0x${string}` | null | undefined;
|
278
|
-
v?: `0x${string}` | undefined;
|
279
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
280
424
|
blobVersionedHashes?: undefined;
|
281
425
|
chainId?: `0x${string}` | undefined;
|
282
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
426
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
427
|
+
blockHash: `0x${string}` | null;
|
428
|
+
blockNumber: `0x${string}` | null;
|
429
|
+
from: `0x${string}`;
|
430
|
+
gas: `0x${string}`;
|
431
|
+
hash: `0x${string}`;
|
432
|
+
input: `0x${string}`;
|
433
|
+
nonce: `0x${string}`;
|
434
|
+
r: `0x${string}`;
|
435
|
+
s: `0x${string}`;
|
436
|
+
to: `0x${string}` | null;
|
437
|
+
transactionIndex: `0x${string}` | null;
|
438
|
+
typeHex: `0x${string}` | null;
|
439
|
+
v: `0x${string}`;
|
440
|
+
value: `0x${string}`;
|
441
|
+
yParity: `0x${string}`;
|
442
|
+
gasPrice?: undefined;
|
443
|
+
maxFeePerBlobGas?: undefined;
|
444
|
+
maxFeePerGas: `0x${string}`;
|
445
|
+
maxPriorityFeePerGas: `0x${string}`;
|
446
|
+
accessList: import("../../index.js").AccessList;
|
447
|
+
blobVersionedHashes?: undefined;
|
448
|
+
chainId: `0x${string}`;
|
449
|
+
type: "0x2";
|
450
|
+
}, "yParity">, "typeHex"> & {
|
283
451
|
isSystemTx?: undefined;
|
284
452
|
mint?: undefined;
|
285
453
|
sourceHash?: undefined;
|
286
454
|
}) | ({
|
287
|
-
|
288
|
-
|
289
|
-
|
455
|
+
r?: `0x${string}` | undefined;
|
456
|
+
s?: `0x${string}` | undefined;
|
457
|
+
v?: `0x${string}` | undefined;
|
458
|
+
yParity?: `0x${string}` | undefined;
|
290
459
|
gasPrice?: `0x${string}` | undefined;
|
291
460
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
292
461
|
maxFeePerGas?: `0x${string}` | undefined;
|
293
462
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
294
|
-
|
463
|
+
to?: `0x${string}` | null | undefined;
|
464
|
+
from?: `0x${string}` | undefined;
|
465
|
+
gas?: `0x${string}` | undefined;
|
466
|
+
nonce?: `0x${string}` | undefined;
|
467
|
+
value?: `0x${string}` | undefined;
|
468
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
469
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
295
470
|
blockHash?: `0x${string}` | null | undefined;
|
296
471
|
blockNumber?: `0x${string}` | null | undefined;
|
297
|
-
from?: `0x${string}` | undefined;
|
298
472
|
hash?: `0x${string}` | undefined;
|
299
473
|
input?: `0x${string}` | undefined;
|
300
|
-
nonce?: `0x${string}` | undefined;
|
301
|
-
r?: `0x${string}` | undefined;
|
302
|
-
s?: `0x${string}` | undefined;
|
303
|
-
to?: `0x${string}` | null | undefined;
|
304
474
|
transactionIndex?: `0x${string}` | null | undefined;
|
305
|
-
v?: `0x${string}` | undefined;
|
306
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
307
475
|
blobVersionedHashes?: undefined;
|
308
476
|
chainId?: `0x${string}` | undefined;
|
309
477
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -312,134 +480,230 @@ export declare const formatters: {
|
|
312
480
|
sourceHash: `0x${string}`;
|
313
481
|
type: "0x7e";
|
314
482
|
}) | ({
|
315
|
-
|
316
|
-
|
317
|
-
|
483
|
+
r?: `0x${string}` | undefined;
|
484
|
+
s?: `0x${string}` | undefined;
|
485
|
+
v?: `0x${string}` | undefined;
|
486
|
+
yParity?: `0x${string}` | undefined;
|
318
487
|
gasPrice?: `0x${string}` | undefined;
|
319
488
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
320
489
|
maxFeePerGas?: `0x${string}` | undefined;
|
321
490
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
322
|
-
|
491
|
+
to?: `0x${string}` | null | undefined;
|
492
|
+
from?: `0x${string}` | undefined;
|
493
|
+
gas?: `0x${string}` | undefined;
|
494
|
+
nonce?: `0x${string}` | undefined;
|
495
|
+
value?: `0x${string}` | undefined;
|
496
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
497
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
323
498
|
blockHash?: `0x${string}` | null | undefined;
|
324
499
|
blockNumber?: `0x${string}` | null | undefined;
|
325
|
-
from?: `0x${string}` | undefined;
|
326
500
|
hash?: `0x${string}` | undefined;
|
327
501
|
input?: `0x${string}` | undefined;
|
328
|
-
nonce?: `0x${string}` | undefined;
|
329
|
-
r?: `0x${string}` | undefined;
|
330
|
-
s?: `0x${string}` | undefined;
|
331
|
-
to?: `0x${string}` | null | undefined;
|
332
502
|
transactionIndex?: `0x${string}` | null | undefined;
|
333
|
-
v?: `0x${string}` | undefined;
|
334
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
335
503
|
blobVersionedHashes?: `0x${string}`[] | undefined;
|
336
504
|
chainId?: `0x${string}` | undefined;
|
337
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
505
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
506
|
+
r: `0x${string}`;
|
507
|
+
s: `0x${string}`;
|
508
|
+
v: `0x${string}`;
|
509
|
+
to: `0x${string}` | null;
|
510
|
+
from: `0x${string}`;
|
511
|
+
gas: `0x${string}`;
|
512
|
+
nonce: `0x${string}`;
|
513
|
+
value: `0x${string}`;
|
514
|
+
blockHash: `0x${string}` | null;
|
515
|
+
blockNumber: `0x${string}` | null;
|
516
|
+
hash: `0x${string}`;
|
517
|
+
input: `0x${string}`;
|
518
|
+
transactionIndex: `0x${string}` | null;
|
519
|
+
typeHex: `0x${string}` | null;
|
520
|
+
gasPrice: `0x${string}`;
|
521
|
+
maxFeePerBlobGas?: undefined;
|
522
|
+
maxFeePerGas?: undefined;
|
523
|
+
maxPriorityFeePerGas?: undefined;
|
524
|
+
accessList?: undefined;
|
525
|
+
blobVersionedHashes?: undefined;
|
526
|
+
chainId?: `0x${string}` | undefined;
|
527
|
+
yParity?: undefined;
|
528
|
+
type: "0x0";
|
529
|
+
}, "yParity">, "typeHex"> & {
|
338
530
|
isSystemTx?: undefined;
|
339
531
|
mint?: undefined;
|
340
532
|
sourceHash?: undefined;
|
341
533
|
}) | ({
|
342
|
-
|
343
|
-
|
344
|
-
|
534
|
+
r?: `0x${string}` | undefined;
|
535
|
+
s?: `0x${string}` | undefined;
|
536
|
+
v?: `0x${string}` | undefined;
|
537
|
+
yParity?: `0x${string}` | undefined;
|
345
538
|
gasPrice?: `0x${string}` | undefined;
|
346
539
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
347
540
|
maxFeePerGas?: `0x${string}` | undefined;
|
348
541
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
349
|
-
|
542
|
+
to?: `0x${string}` | null | undefined;
|
543
|
+
from?: `0x${string}` | undefined;
|
544
|
+
gas?: `0x${string}` | undefined;
|
545
|
+
nonce?: `0x${string}` | undefined;
|
546
|
+
value?: `0x${string}` | undefined;
|
547
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
548
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
350
549
|
blockHash?: `0x${string}` | null | undefined;
|
351
550
|
blockNumber?: `0x${string}` | null | undefined;
|
352
|
-
from?: `0x${string}` | undefined;
|
353
551
|
hash?: `0x${string}` | undefined;
|
354
552
|
input?: `0x${string}` | undefined;
|
355
|
-
nonce?: `0x${string}` | undefined;
|
356
|
-
r?: `0x${string}` | undefined;
|
357
|
-
s?: `0x${string}` | undefined;
|
358
|
-
to?: `0x${string}` | null | undefined;
|
359
553
|
transactionIndex?: `0x${string}` | null | undefined;
|
360
|
-
v?: `0x${string}` | undefined;
|
361
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
362
554
|
blobVersionedHashes?: `0x${string}`[] | undefined;
|
363
555
|
chainId?: `0x${string}` | undefined;
|
364
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
556
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
557
|
+
blockHash: `0x${string}` | null;
|
558
|
+
blockNumber: `0x${string}` | null;
|
559
|
+
from: `0x${string}`;
|
560
|
+
gas: `0x${string}`;
|
561
|
+
hash: `0x${string}`;
|
562
|
+
input: `0x${string}`;
|
563
|
+
nonce: `0x${string}`;
|
564
|
+
r: `0x${string}`;
|
565
|
+
s: `0x${string}`;
|
566
|
+
to: `0x${string}` | null;
|
567
|
+
transactionIndex: `0x${string}` | null;
|
568
|
+
typeHex: `0x${string}` | null;
|
569
|
+
v: `0x${string}`;
|
570
|
+
value: `0x${string}`;
|
571
|
+
yParity: `0x${string}`;
|
572
|
+
gasPrice: `0x${string}`;
|
573
|
+
maxFeePerBlobGas?: undefined;
|
574
|
+
maxFeePerGas?: undefined;
|
575
|
+
maxPriorityFeePerGas?: undefined;
|
576
|
+
accessList: import("../../index.js").AccessList;
|
577
|
+
blobVersionedHashes?: undefined;
|
578
|
+
chainId: `0x${string}`;
|
579
|
+
type: "0x1";
|
580
|
+
}, "yParity">, "typeHex"> & {
|
365
581
|
isSystemTx?: undefined;
|
366
582
|
mint?: undefined;
|
367
583
|
sourceHash?: undefined;
|
368
584
|
}) | ({
|
369
|
-
|
370
|
-
|
371
|
-
|
585
|
+
r?: `0x${string}` | undefined;
|
586
|
+
s?: `0x${string}` | undefined;
|
587
|
+
v?: `0x${string}` | undefined;
|
588
|
+
yParity?: `0x${string}` | undefined;
|
372
589
|
gasPrice?: `0x${string}` | undefined;
|
373
590
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
374
591
|
maxFeePerGas?: `0x${string}` | undefined;
|
375
592
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
376
|
-
|
593
|
+
to?: `0x${string}` | null | undefined;
|
594
|
+
from?: `0x${string}` | undefined;
|
595
|
+
gas?: `0x${string}` | undefined;
|
596
|
+
nonce?: `0x${string}` | undefined;
|
597
|
+
value?: `0x${string}` | undefined;
|
598
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
599
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
377
600
|
blockHash?: `0x${string}` | null | undefined;
|
378
601
|
blockNumber?: `0x${string}` | null | undefined;
|
379
|
-
from?: `0x${string}` | undefined;
|
380
602
|
hash?: `0x${string}` | undefined;
|
381
603
|
input?: `0x${string}` | undefined;
|
382
|
-
nonce?: `0x${string}` | undefined;
|
383
|
-
r?: `0x${string}` | undefined;
|
384
|
-
s?: `0x${string}` | undefined;
|
385
|
-
to?: `0x${string}` | null | undefined;
|
386
604
|
transactionIndex?: `0x${string}` | null | undefined;
|
387
|
-
v?: `0x${string}` | undefined;
|
388
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
389
605
|
blobVersionedHashes?: `0x${string}`[] | undefined;
|
390
606
|
chainId?: `0x${string}` | undefined;
|
391
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
607
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
608
|
+
blockHash: `0x${string}` | null;
|
609
|
+
blockNumber: `0x${string}` | null;
|
610
|
+
from: `0x${string}`;
|
611
|
+
gas: `0x${string}`;
|
612
|
+
hash: `0x${string}`;
|
613
|
+
input: `0x${string}`;
|
614
|
+
nonce: `0x${string}`;
|
615
|
+
r: `0x${string}`;
|
616
|
+
s: `0x${string}`;
|
617
|
+
to: `0x${string}` | null;
|
618
|
+
transactionIndex: `0x${string}` | null;
|
619
|
+
typeHex: `0x${string}` | null;
|
620
|
+
v: `0x${string}`;
|
621
|
+
value: `0x${string}`;
|
622
|
+
yParity: `0x${string}`;
|
623
|
+
gasPrice?: undefined;
|
624
|
+
maxFeePerBlobGas?: undefined;
|
625
|
+
maxFeePerGas: `0x${string}`;
|
626
|
+
maxPriorityFeePerGas: `0x${string}`;
|
627
|
+
accessList: import("../../index.js").AccessList;
|
628
|
+
blobVersionedHashes?: undefined;
|
629
|
+
chainId: `0x${string}`;
|
630
|
+
type: "0x2";
|
631
|
+
}, "yParity">, "typeHex"> & {
|
392
632
|
isSystemTx?: undefined;
|
393
633
|
mint?: undefined;
|
394
634
|
sourceHash?: undefined;
|
395
635
|
}) | ({
|
396
|
-
|
397
|
-
|
398
|
-
|
636
|
+
r?: `0x${string}` | undefined;
|
637
|
+
s?: `0x${string}` | undefined;
|
638
|
+
v?: `0x${string}` | undefined;
|
639
|
+
yParity?: `0x${string}` | undefined;
|
399
640
|
gasPrice?: `0x${string}` | undefined;
|
400
641
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
401
642
|
maxFeePerGas?: `0x${string}` | undefined;
|
402
643
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
403
|
-
|
644
|
+
to?: `0x${string}` | null | undefined;
|
645
|
+
from?: `0x${string}` | undefined;
|
646
|
+
gas?: `0x${string}` | undefined;
|
647
|
+
nonce?: `0x${string}` | undefined;
|
648
|
+
value?: `0x${string}` | undefined;
|
649
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
650
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
404
651
|
blockHash?: `0x${string}` | null | undefined;
|
405
652
|
blockNumber?: `0x${string}` | null | undefined;
|
406
|
-
from?: `0x${string}` | undefined;
|
407
653
|
hash?: `0x${string}` | undefined;
|
408
654
|
input?: `0x${string}` | undefined;
|
409
|
-
nonce?: `0x${string}` | undefined;
|
410
|
-
r?: `0x${string}` | undefined;
|
411
|
-
s?: `0x${string}` | undefined;
|
412
|
-
to?: `0x${string}` | null | undefined;
|
413
655
|
transactionIndex?: `0x${string}` | null | undefined;
|
414
|
-
v?: `0x${string}` | undefined;
|
415
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
416
656
|
blobVersionedHashes?: `0x${string}`[] | undefined;
|
417
657
|
chainId?: `0x${string}` | undefined;
|
418
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
658
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
659
|
+
blockHash: `0x${string}` | null;
|
660
|
+
blockNumber: `0x${string}` | null;
|
661
|
+
from: `0x${string}`;
|
662
|
+
gas: `0x${string}`;
|
663
|
+
hash: `0x${string}`;
|
664
|
+
input: `0x${string}`;
|
665
|
+
nonce: `0x${string}`;
|
666
|
+
r: `0x${string}`;
|
667
|
+
s: `0x${string}`;
|
668
|
+
to: `0x${string}` | null;
|
669
|
+
transactionIndex: `0x${string}` | null;
|
670
|
+
typeHex: `0x${string}` | null;
|
671
|
+
v: `0x${string}`;
|
672
|
+
value: `0x${string}`;
|
673
|
+
yParity: `0x${string}`;
|
674
|
+
gasPrice?: undefined;
|
675
|
+
maxFeePerBlobGas: `0x${string}`;
|
676
|
+
maxFeePerGas: `0x${string}`;
|
677
|
+
maxPriorityFeePerGas: `0x${string}`;
|
678
|
+
accessList: import("../../index.js").AccessList;
|
679
|
+
blobVersionedHashes: `0x${string}`[];
|
680
|
+
chainId: `0x${string}`;
|
681
|
+
type: "0x3";
|
682
|
+
}, "yParity">, "typeHex"> & {
|
419
683
|
isSystemTx?: undefined;
|
420
684
|
mint?: undefined;
|
421
685
|
sourceHash?: undefined;
|
422
686
|
}) | ({
|
423
|
-
|
424
|
-
|
425
|
-
|
687
|
+
r?: `0x${string}` | undefined;
|
688
|
+
s?: `0x${string}` | undefined;
|
689
|
+
v?: `0x${string}` | undefined;
|
690
|
+
yParity?: `0x${string}` | undefined;
|
426
691
|
gasPrice?: `0x${string}` | undefined;
|
427
692
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
428
693
|
maxFeePerGas?: `0x${string}` | undefined;
|
429
694
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
430
|
-
|
695
|
+
to?: `0x${string}` | null | undefined;
|
696
|
+
from?: `0x${string}` | undefined;
|
697
|
+
gas?: `0x${string}` | undefined;
|
698
|
+
nonce?: `0x${string}` | undefined;
|
699
|
+
value?: `0x${string}` | undefined;
|
700
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
701
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
431
702
|
blockHash?: `0x${string}` | null | undefined;
|
432
703
|
blockNumber?: `0x${string}` | null | undefined;
|
433
|
-
from?: `0x${string}` | undefined;
|
434
704
|
hash?: `0x${string}` | undefined;
|
435
705
|
input?: `0x${string}` | undefined;
|
436
|
-
nonce?: `0x${string}` | undefined;
|
437
|
-
r?: `0x${string}` | undefined;
|
438
|
-
s?: `0x${string}` | undefined;
|
439
|
-
to?: `0x${string}` | null | undefined;
|
440
706
|
transactionIndex?: `0x${string}` | null | undefined;
|
441
|
-
v?: `0x${string}` | undefined;
|
442
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
443
707
|
blobVersionedHashes?: `0x${string}`[] | undefined;
|
444
708
|
chainId?: `0x${string}` | undefined;
|
445
709
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -448,20 +712,20 @@ export declare const formatters: {
|
|
448
712
|
sourceHash: `0x${string}`;
|
449
713
|
type: "0x7e";
|
450
714
|
})) => ({
|
715
|
+
r: `0x${string}`;
|
716
|
+
s: `0x${string}`;
|
717
|
+
v: bigint;
|
718
|
+
to: `0x${string}` | null;
|
719
|
+
from: `0x${string}`;
|
451
720
|
gas: bigint;
|
721
|
+
nonce: number;
|
452
722
|
value: bigint;
|
453
723
|
blockHash: `0x${string}` | null;
|
454
724
|
blockNumber: bigint | null;
|
455
|
-
from: `0x${string}`;
|
456
725
|
hash: `0x${string}`;
|
457
726
|
input: `0x${string}`;
|
458
|
-
nonce: number;
|
459
|
-
r: `0x${string}`;
|
460
|
-
s: `0x${string}`;
|
461
|
-
to: `0x${string}` | null;
|
462
727
|
transactionIndex: number | null;
|
463
728
|
typeHex: `0x${string}` | null;
|
464
|
-
v: bigint;
|
465
729
|
gasPrice: bigint;
|
466
730
|
maxFeePerBlobGas?: undefined;
|
467
731
|
maxFeePerGas?: undefined;
|
@@ -475,20 +739,20 @@ export declare const formatters: {
|
|
475
739
|
mint?: undefined;
|
476
740
|
sourceHash?: undefined;
|
477
741
|
} | {
|
742
|
+
r: `0x${string}`;
|
743
|
+
s: `0x${string}`;
|
744
|
+
v: bigint;
|
745
|
+
to: `0x${string}` | null;
|
746
|
+
from: `0x${string}`;
|
478
747
|
gas: bigint;
|
748
|
+
nonce: number;
|
479
749
|
value: bigint;
|
480
750
|
blockHash: `0x${string}` | null;
|
481
751
|
blockNumber: bigint | null;
|
482
|
-
from: `0x${string}`;
|
483
752
|
hash: `0x${string}`;
|
484
753
|
input: `0x${string}`;
|
485
|
-
nonce: number;
|
486
|
-
r: `0x${string}`;
|
487
|
-
s: `0x${string}`;
|
488
|
-
to: `0x${string}` | null;
|
489
754
|
transactionIndex: number | null;
|
490
755
|
typeHex: `0x${string}` | null;
|
491
|
-
v: bigint;
|
492
756
|
gasPrice: undefined;
|
493
757
|
maxFeePerBlobGas?: undefined;
|
494
758
|
maxFeePerGas: bigint;
|