viem 2.7.22 → 2.8.0
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 +10 -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/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 +7 -8
- 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/index.js +5 -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/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 +7 -8
- 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/index.js +1 -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/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/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 +2 -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/wallet/prepareTransactionRequest.ts +134 -61
- package/actions/wallet/sendRawTransaction.ts +3 -5
- package/actions/wallet/sendTransaction.ts +32 -21
- 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/index.ts +1 -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
@@ -85,53 +85,77 @@ export declare const pgnTestnet: {
|
|
85
85
|
readonly transaction: {
|
86
86
|
exclude: [] | undefined;
|
87
87
|
format: (args: ({
|
88
|
-
|
89
|
-
|
90
|
-
|
88
|
+
r?: `0x${string}` | undefined;
|
89
|
+
s?: `0x${string}` | undefined;
|
90
|
+
v?: `0x${string}` | undefined;
|
91
|
+
yParity?: `0x${string}` | undefined;
|
91
92
|
gasPrice?: `0x${string}` | undefined;
|
92
93
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
93
94
|
maxFeePerGas?: `0x${string}` | undefined;
|
94
95
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
95
|
-
|
96
|
+
to?: `0x${string}` | null | undefined;
|
97
|
+
from?: `0x${string}` | undefined;
|
98
|
+
gas?: `0x${string}` | undefined;
|
99
|
+
nonce?: `0x${string}` | undefined;
|
100
|
+
value?: `0x${string}` | undefined;
|
101
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
102
|
+
accessList?: undefined;
|
96
103
|
blockHash?: `0x${string}` | null | undefined;
|
97
104
|
blockNumber?: `0x${string}` | null | undefined;
|
98
|
-
from?: `0x${string}` | undefined;
|
99
105
|
hash?: `0x${string}` | undefined;
|
100
106
|
input?: `0x${string}` | undefined;
|
101
|
-
nonce?: `0x${string}` | undefined;
|
102
|
-
r?: `0x${string}` | undefined;
|
103
|
-
s?: `0x${string}` | undefined;
|
104
|
-
to?: `0x${string}` | null | undefined;
|
105
107
|
transactionIndex?: `0x${string}` | null | undefined;
|
106
|
-
|
108
|
+
blobVersionedHashes?: undefined;
|
109
|
+
chainId?: `0x${string}` | undefined;
|
110
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
111
|
+
r: `0x${string}`;
|
112
|
+
s: `0x${string}`;
|
113
|
+
v: `0x${string}`;
|
114
|
+
to: `0x${string}` | null;
|
115
|
+
from: `0x${string}`;
|
116
|
+
gas: `0x${string}`;
|
117
|
+
nonce: `0x${string}`;
|
118
|
+
value: `0x${string}`;
|
119
|
+
blockHash: `0x${string}` | null;
|
120
|
+
blockNumber: `0x${string}` | null;
|
121
|
+
hash: `0x${string}`;
|
122
|
+
input: `0x${string}`;
|
123
|
+
transactionIndex: `0x${string}` | null;
|
124
|
+
typeHex: `0x${string}` | null;
|
125
|
+
gasPrice: `0x${string}`;
|
126
|
+
maxFeePerBlobGas?: undefined;
|
127
|
+
maxFeePerGas?: undefined;
|
128
|
+
maxPriorityFeePerGas?: undefined;
|
107
129
|
accessList?: undefined;
|
108
130
|
blobVersionedHashes?: undefined;
|
109
131
|
chainId?: `0x${string}` | undefined;
|
110
|
-
|
132
|
+
yParity?: undefined;
|
133
|
+
type: "0x0";
|
134
|
+
}, "yParity">, "typeHex"> & {
|
111
135
|
isSystemTx?: undefined;
|
112
136
|
mint?: undefined;
|
113
137
|
sourceHash?: undefined;
|
114
138
|
}) | ({
|
115
|
-
|
116
|
-
|
117
|
-
|
139
|
+
r?: `0x${string}` | undefined;
|
140
|
+
s?: `0x${string}` | undefined;
|
141
|
+
v?: `0x${string}` | undefined;
|
142
|
+
yParity?: `0x${string}` | undefined;
|
118
143
|
gasPrice?: `0x${string}` | undefined;
|
119
144
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
120
145
|
maxFeePerGas?: `0x${string}` | undefined;
|
121
146
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
122
|
-
|
147
|
+
to?: `0x${string}` | null | undefined;
|
148
|
+
from?: `0x${string}` | undefined;
|
149
|
+
gas?: `0x${string}` | undefined;
|
150
|
+
nonce?: `0x${string}` | undefined;
|
151
|
+
value?: `0x${string}` | undefined;
|
152
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
153
|
+
accessList?: undefined;
|
123
154
|
blockHash?: `0x${string}` | null | undefined;
|
124
155
|
blockNumber?: `0x${string}` | null | undefined;
|
125
|
-
from?: `0x${string}` | undefined;
|
126
156
|
hash?: `0x${string}` | undefined;
|
127
157
|
input?: `0x${string}` | undefined;
|
128
|
-
nonce?: `0x${string}` | undefined;
|
129
|
-
r?: `0x${string}` | undefined;
|
130
|
-
s?: `0x${string}` | undefined;
|
131
|
-
to?: `0x${string}` | null | undefined;
|
132
158
|
transactionIndex?: `0x${string}` | null | undefined;
|
133
|
-
v?: `0x${string}` | undefined;
|
134
|
-
accessList?: undefined;
|
135
159
|
blobVersionedHashes?: undefined;
|
136
160
|
chainId?: `0x${string}` | undefined;
|
137
161
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -140,107 +164,179 @@ export declare const pgnTestnet: {
|
|
140
164
|
sourceHash: `0x${string}`;
|
141
165
|
type: "0x7e";
|
142
166
|
}) | ({
|
143
|
-
|
144
|
-
|
145
|
-
|
167
|
+
r?: `0x${string}` | undefined;
|
168
|
+
s?: `0x${string}` | undefined;
|
169
|
+
v?: `0x${string}` | undefined;
|
170
|
+
yParity?: `0x${string}` | undefined;
|
146
171
|
gasPrice?: `0x${string}` | undefined;
|
147
172
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
148
173
|
maxFeePerGas?: `0x${string}` | undefined;
|
149
174
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
150
|
-
|
175
|
+
to?: `0x${string}` | null | undefined;
|
176
|
+
from?: `0x${string}` | undefined;
|
177
|
+
gas?: `0x${string}` | undefined;
|
178
|
+
nonce?: `0x${string}` | undefined;
|
179
|
+
value?: `0x${string}` | undefined;
|
180
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
181
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
151
182
|
blockHash?: `0x${string}` | null | undefined;
|
152
183
|
blockNumber?: `0x${string}` | null | undefined;
|
153
|
-
from?: `0x${string}` | undefined;
|
154
184
|
hash?: `0x${string}` | undefined;
|
155
185
|
input?: `0x${string}` | undefined;
|
156
|
-
nonce?: `0x${string}` | undefined;
|
157
|
-
r?: `0x${string}` | undefined;
|
158
|
-
s?: `0x${string}` | undefined;
|
159
|
-
to?: `0x${string}` | null | undefined;
|
160
186
|
transactionIndex?: `0x${string}` | null | undefined;
|
161
|
-
v?: `0x${string}` | undefined;
|
162
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
163
187
|
blobVersionedHashes?: undefined;
|
164
188
|
chainId?: `0x${string}` | undefined;
|
165
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
189
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
190
|
+
r: `0x${string}`;
|
191
|
+
s: `0x${string}`;
|
192
|
+
v: `0x${string}`;
|
193
|
+
to: `0x${string}` | null;
|
194
|
+
from: `0x${string}`;
|
195
|
+
gas: `0x${string}`;
|
196
|
+
nonce: `0x${string}`;
|
197
|
+
value: `0x${string}`;
|
198
|
+
blockHash: `0x${string}` | null;
|
199
|
+
blockNumber: `0x${string}` | null;
|
200
|
+
hash: `0x${string}`;
|
201
|
+
input: `0x${string}`;
|
202
|
+
transactionIndex: `0x${string}` | null;
|
203
|
+
typeHex: `0x${string}` | null;
|
204
|
+
gasPrice: `0x${string}`;
|
205
|
+
maxFeePerBlobGas?: undefined;
|
206
|
+
maxFeePerGas?: undefined;
|
207
|
+
maxPriorityFeePerGas?: undefined;
|
208
|
+
accessList?: undefined;
|
209
|
+
blobVersionedHashes?: undefined;
|
210
|
+
chainId?: `0x${string}` | undefined;
|
211
|
+
yParity?: undefined;
|
212
|
+
type: "0x0";
|
213
|
+
}, "yParity">, "typeHex"> & {
|
166
214
|
isSystemTx?: undefined;
|
167
215
|
mint?: undefined;
|
168
216
|
sourceHash?: undefined;
|
169
217
|
}) | ({
|
170
|
-
|
171
|
-
|
172
|
-
|
218
|
+
r?: `0x${string}` | undefined;
|
219
|
+
s?: `0x${string}` | undefined;
|
220
|
+
v?: `0x${string}` | undefined;
|
221
|
+
yParity?: `0x${string}` | undefined;
|
173
222
|
gasPrice?: `0x${string}` | undefined;
|
174
223
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
175
224
|
maxFeePerGas?: `0x${string}` | undefined;
|
176
225
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
177
|
-
|
226
|
+
to?: `0x${string}` | null | undefined;
|
227
|
+
from?: `0x${string}` | undefined;
|
228
|
+
gas?: `0x${string}` | undefined;
|
229
|
+
nonce?: `0x${string}` | undefined;
|
230
|
+
value?: `0x${string}` | undefined;
|
231
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
232
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
178
233
|
blockHash?: `0x${string}` | null | undefined;
|
179
234
|
blockNumber?: `0x${string}` | null | undefined;
|
180
|
-
from?: `0x${string}` | undefined;
|
181
235
|
hash?: `0x${string}` | undefined;
|
182
236
|
input?: `0x${string}` | undefined;
|
183
|
-
nonce?: `0x${string}` | undefined;
|
184
|
-
r?: `0x${string}` | undefined;
|
185
|
-
s?: `0x${string}` | undefined;
|
186
|
-
to?: `0x${string}` | null | undefined;
|
187
237
|
transactionIndex?: `0x${string}` | null | undefined;
|
188
|
-
v?: `0x${string}` | undefined;
|
189
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
190
238
|
blobVersionedHashes?: undefined;
|
191
239
|
chainId?: `0x${string}` | undefined;
|
192
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
240
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
241
|
+
blockHash: `0x${string}` | null;
|
242
|
+
blockNumber: `0x${string}` | null;
|
243
|
+
from: `0x${string}`;
|
244
|
+
gas: `0x${string}`;
|
245
|
+
hash: `0x${string}`;
|
246
|
+
input: `0x${string}`;
|
247
|
+
nonce: `0x${string}`;
|
248
|
+
r: `0x${string}`;
|
249
|
+
s: `0x${string}`;
|
250
|
+
to: `0x${string}` | null;
|
251
|
+
transactionIndex: `0x${string}` | null;
|
252
|
+
typeHex: `0x${string}` | null;
|
253
|
+
v: `0x${string}`;
|
254
|
+
value: `0x${string}`;
|
255
|
+
yParity: `0x${string}`;
|
256
|
+
gasPrice: `0x${string}`;
|
257
|
+
maxFeePerBlobGas?: undefined;
|
258
|
+
maxFeePerGas?: undefined;
|
259
|
+
maxPriorityFeePerGas?: undefined;
|
260
|
+
accessList: import("../../index.js").AccessList;
|
261
|
+
blobVersionedHashes?: undefined;
|
262
|
+
chainId: `0x${string}`;
|
263
|
+
type: "0x1";
|
264
|
+
}, "yParity">, "typeHex"> & {
|
193
265
|
isSystemTx?: undefined;
|
194
266
|
mint?: undefined;
|
195
267
|
sourceHash?: undefined;
|
196
268
|
}) | ({
|
197
|
-
|
198
|
-
|
199
|
-
|
269
|
+
r?: `0x${string}` | undefined;
|
270
|
+
s?: `0x${string}` | undefined;
|
271
|
+
v?: `0x${string}` | undefined;
|
272
|
+
yParity?: `0x${string}` | undefined;
|
200
273
|
gasPrice?: `0x${string}` | undefined;
|
201
274
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
202
275
|
maxFeePerGas?: `0x${string}` | undefined;
|
203
276
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
204
|
-
|
277
|
+
to?: `0x${string}` | null | undefined;
|
278
|
+
from?: `0x${string}` | undefined;
|
279
|
+
gas?: `0x${string}` | undefined;
|
280
|
+
nonce?: `0x${string}` | undefined;
|
281
|
+
value?: `0x${string}` | undefined;
|
282
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
283
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
205
284
|
blockHash?: `0x${string}` | null | undefined;
|
206
285
|
blockNumber?: `0x${string}` | null | undefined;
|
207
|
-
from?: `0x${string}` | undefined;
|
208
286
|
hash?: `0x${string}` | undefined;
|
209
287
|
input?: `0x${string}` | undefined;
|
210
|
-
nonce?: `0x${string}` | undefined;
|
211
|
-
r?: `0x${string}` | undefined;
|
212
|
-
s?: `0x${string}` | undefined;
|
213
|
-
to?: `0x${string}` | null | undefined;
|
214
288
|
transactionIndex?: `0x${string}` | null | undefined;
|
215
|
-
v?: `0x${string}` | undefined;
|
216
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
217
289
|
blobVersionedHashes?: undefined;
|
218
290
|
chainId?: `0x${string}` | undefined;
|
219
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
291
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
292
|
+
blockHash: `0x${string}` | null;
|
293
|
+
blockNumber: `0x${string}` | null;
|
294
|
+
from: `0x${string}`;
|
295
|
+
gas: `0x${string}`;
|
296
|
+
hash: `0x${string}`;
|
297
|
+
input: `0x${string}`;
|
298
|
+
nonce: `0x${string}`;
|
299
|
+
r: `0x${string}`;
|
300
|
+
s: `0x${string}`;
|
301
|
+
to: `0x${string}` | null;
|
302
|
+
transactionIndex: `0x${string}` | null;
|
303
|
+
typeHex: `0x${string}` | null;
|
304
|
+
v: `0x${string}`;
|
305
|
+
value: `0x${string}`;
|
306
|
+
yParity: `0x${string}`;
|
307
|
+
gasPrice?: undefined;
|
308
|
+
maxFeePerBlobGas?: undefined;
|
309
|
+
maxFeePerGas: `0x${string}`;
|
310
|
+
maxPriorityFeePerGas: `0x${string}`;
|
311
|
+
accessList: import("../../index.js").AccessList;
|
312
|
+
blobVersionedHashes?: undefined;
|
313
|
+
chainId: `0x${string}`;
|
314
|
+
type: "0x2";
|
315
|
+
}, "yParity">, "typeHex"> & {
|
220
316
|
isSystemTx?: undefined;
|
221
317
|
mint?: undefined;
|
222
318
|
sourceHash?: undefined;
|
223
319
|
}) | ({
|
224
|
-
|
225
|
-
|
226
|
-
|
320
|
+
r?: `0x${string}` | undefined;
|
321
|
+
s?: `0x${string}` | undefined;
|
322
|
+
v?: `0x${string}` | undefined;
|
323
|
+
yParity?: `0x${string}` | undefined;
|
227
324
|
gasPrice?: `0x${string}` | undefined;
|
228
325
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
229
326
|
maxFeePerGas?: `0x${string}` | undefined;
|
230
327
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
231
|
-
|
328
|
+
to?: `0x${string}` | null | undefined;
|
329
|
+
from?: `0x${string}` | undefined;
|
330
|
+
gas?: `0x${string}` | undefined;
|
331
|
+
nonce?: `0x${string}` | undefined;
|
332
|
+
value?: `0x${string}` | undefined;
|
333
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
334
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
232
335
|
blockHash?: `0x${string}` | null | undefined;
|
233
336
|
blockNumber?: `0x${string}` | null | undefined;
|
234
|
-
from?: `0x${string}` | undefined;
|
235
337
|
hash?: `0x${string}` | undefined;
|
236
338
|
input?: `0x${string}` | undefined;
|
237
|
-
nonce?: `0x${string}` | undefined;
|
238
|
-
r?: `0x${string}` | undefined;
|
239
|
-
s?: `0x${string}` | undefined;
|
240
|
-
to?: `0x${string}` | null | undefined;
|
241
339
|
transactionIndex?: `0x${string}` | null | undefined;
|
242
|
-
v?: `0x${string}` | undefined;
|
243
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
244
340
|
blobVersionedHashes?: undefined;
|
245
341
|
chainId?: `0x${string}` | undefined;
|
246
342
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -249,107 +345,179 @@ export declare const pgnTestnet: {
|
|
249
345
|
sourceHash: `0x${string}`;
|
250
346
|
type: "0x7e";
|
251
347
|
}) | ({
|
252
|
-
|
253
|
-
|
254
|
-
|
348
|
+
r?: `0x${string}` | undefined;
|
349
|
+
s?: `0x${string}` | undefined;
|
350
|
+
v?: `0x${string}` | undefined;
|
351
|
+
yParity?: `0x${string}` | undefined;
|
255
352
|
gasPrice?: `0x${string}` | undefined;
|
256
353
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
257
354
|
maxFeePerGas?: `0x${string}` | undefined;
|
258
355
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
259
|
-
|
356
|
+
to?: `0x${string}` | null | undefined;
|
357
|
+
from?: `0x${string}` | undefined;
|
358
|
+
gas?: `0x${string}` | undefined;
|
359
|
+
nonce?: `0x${string}` | undefined;
|
360
|
+
value?: `0x${string}` | undefined;
|
361
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
362
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
260
363
|
blockHash?: `0x${string}` | null | undefined;
|
261
364
|
blockNumber?: `0x${string}` | null | undefined;
|
262
|
-
from?: `0x${string}` | undefined;
|
263
365
|
hash?: `0x${string}` | undefined;
|
264
366
|
input?: `0x${string}` | undefined;
|
265
|
-
nonce?: `0x${string}` | undefined;
|
266
|
-
r?: `0x${string}` | undefined;
|
267
|
-
s?: `0x${string}` | undefined;
|
268
|
-
to?: `0x${string}` | null | undefined;
|
269
367
|
transactionIndex?: `0x${string}` | null | undefined;
|
270
|
-
v?: `0x${string}` | undefined;
|
271
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
272
368
|
blobVersionedHashes?: undefined;
|
273
369
|
chainId?: `0x${string}` | undefined;
|
274
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
370
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
371
|
+
r: `0x${string}`;
|
372
|
+
s: `0x${string}`;
|
373
|
+
v: `0x${string}`;
|
374
|
+
to: `0x${string}` | null;
|
375
|
+
from: `0x${string}`;
|
376
|
+
gas: `0x${string}`;
|
377
|
+
nonce: `0x${string}`;
|
378
|
+
value: `0x${string}`;
|
379
|
+
blockHash: `0x${string}` | null;
|
380
|
+
blockNumber: `0x${string}` | null;
|
381
|
+
hash: `0x${string}`;
|
382
|
+
input: `0x${string}`;
|
383
|
+
transactionIndex: `0x${string}` | null;
|
384
|
+
typeHex: `0x${string}` | null;
|
385
|
+
gasPrice: `0x${string}`;
|
386
|
+
maxFeePerBlobGas?: undefined;
|
387
|
+
maxFeePerGas?: undefined;
|
388
|
+
maxPriorityFeePerGas?: undefined;
|
389
|
+
accessList?: undefined;
|
390
|
+
blobVersionedHashes?: undefined;
|
391
|
+
chainId?: `0x${string}` | undefined;
|
392
|
+
yParity?: undefined;
|
393
|
+
type: "0x0";
|
394
|
+
}, "yParity">, "typeHex"> & {
|
275
395
|
isSystemTx?: undefined;
|
276
396
|
mint?: undefined;
|
277
397
|
sourceHash?: undefined;
|
278
398
|
}) | ({
|
279
|
-
|
280
|
-
|
281
|
-
|
399
|
+
r?: `0x${string}` | undefined;
|
400
|
+
s?: `0x${string}` | undefined;
|
401
|
+
v?: `0x${string}` | undefined;
|
402
|
+
yParity?: `0x${string}` | undefined;
|
282
403
|
gasPrice?: `0x${string}` | undefined;
|
283
404
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
284
405
|
maxFeePerGas?: `0x${string}` | undefined;
|
285
406
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
286
|
-
|
407
|
+
to?: `0x${string}` | null | undefined;
|
408
|
+
from?: `0x${string}` | undefined;
|
409
|
+
gas?: `0x${string}` | undefined;
|
410
|
+
nonce?: `0x${string}` | undefined;
|
411
|
+
value?: `0x${string}` | undefined;
|
412
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
413
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
287
414
|
blockHash?: `0x${string}` | null | undefined;
|
288
415
|
blockNumber?: `0x${string}` | null | undefined;
|
289
|
-
from?: `0x${string}` | undefined;
|
290
416
|
hash?: `0x${string}` | undefined;
|
291
417
|
input?: `0x${string}` | undefined;
|
292
|
-
nonce?: `0x${string}` | undefined;
|
293
|
-
r?: `0x${string}` | undefined;
|
294
|
-
s?: `0x${string}` | undefined;
|
295
|
-
to?: `0x${string}` | null | undefined;
|
296
418
|
transactionIndex?: `0x${string}` | null | undefined;
|
297
|
-
v?: `0x${string}` | undefined;
|
298
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
299
419
|
blobVersionedHashes?: undefined;
|
300
420
|
chainId?: `0x${string}` | undefined;
|
301
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
421
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
422
|
+
blockHash: `0x${string}` | null;
|
423
|
+
blockNumber: `0x${string}` | null;
|
424
|
+
from: `0x${string}`;
|
425
|
+
gas: `0x${string}`;
|
426
|
+
hash: `0x${string}`;
|
427
|
+
input: `0x${string}`;
|
428
|
+
nonce: `0x${string}`;
|
429
|
+
r: `0x${string}`;
|
430
|
+
s: `0x${string}`;
|
431
|
+
to: `0x${string}` | null;
|
432
|
+
transactionIndex: `0x${string}` | null;
|
433
|
+
typeHex: `0x${string}` | null;
|
434
|
+
v: `0x${string}`;
|
435
|
+
value: `0x${string}`;
|
436
|
+
yParity: `0x${string}`;
|
437
|
+
gasPrice: `0x${string}`;
|
438
|
+
maxFeePerBlobGas?: undefined;
|
439
|
+
maxFeePerGas?: undefined;
|
440
|
+
maxPriorityFeePerGas?: undefined;
|
441
|
+
accessList: import("../../index.js").AccessList;
|
442
|
+
blobVersionedHashes?: undefined;
|
443
|
+
chainId: `0x${string}`;
|
444
|
+
type: "0x1";
|
445
|
+
}, "yParity">, "typeHex"> & {
|
302
446
|
isSystemTx?: undefined;
|
303
447
|
mint?: undefined;
|
304
448
|
sourceHash?: undefined;
|
305
449
|
}) | ({
|
306
|
-
|
307
|
-
|
308
|
-
|
450
|
+
r?: `0x${string}` | undefined;
|
451
|
+
s?: `0x${string}` | undefined;
|
452
|
+
v?: `0x${string}` | undefined;
|
453
|
+
yParity?: `0x${string}` | undefined;
|
309
454
|
gasPrice?: `0x${string}` | undefined;
|
310
455
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
311
456
|
maxFeePerGas?: `0x${string}` | undefined;
|
312
457
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
313
|
-
|
458
|
+
to?: `0x${string}` | null | undefined;
|
459
|
+
from?: `0x${string}` | undefined;
|
460
|
+
gas?: `0x${string}` | undefined;
|
461
|
+
nonce?: `0x${string}` | undefined;
|
462
|
+
value?: `0x${string}` | undefined;
|
463
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
464
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
314
465
|
blockHash?: `0x${string}` | null | undefined;
|
315
466
|
blockNumber?: `0x${string}` | null | undefined;
|
316
|
-
from?: `0x${string}` | undefined;
|
317
467
|
hash?: `0x${string}` | undefined;
|
318
468
|
input?: `0x${string}` | undefined;
|
319
|
-
nonce?: `0x${string}` | undefined;
|
320
|
-
r?: `0x${string}` | undefined;
|
321
|
-
s?: `0x${string}` | undefined;
|
322
|
-
to?: `0x${string}` | null | undefined;
|
323
469
|
transactionIndex?: `0x${string}` | null | undefined;
|
324
|
-
v?: `0x${string}` | undefined;
|
325
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
326
470
|
blobVersionedHashes?: undefined;
|
327
471
|
chainId?: `0x${string}` | undefined;
|
328
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
472
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
473
|
+
blockHash: `0x${string}` | null;
|
474
|
+
blockNumber: `0x${string}` | null;
|
475
|
+
from: `0x${string}`;
|
476
|
+
gas: `0x${string}`;
|
477
|
+
hash: `0x${string}`;
|
478
|
+
input: `0x${string}`;
|
479
|
+
nonce: `0x${string}`;
|
480
|
+
r: `0x${string}`;
|
481
|
+
s: `0x${string}`;
|
482
|
+
to: `0x${string}` | null;
|
483
|
+
transactionIndex: `0x${string}` | null;
|
484
|
+
typeHex: `0x${string}` | null;
|
485
|
+
v: `0x${string}`;
|
486
|
+
value: `0x${string}`;
|
487
|
+
yParity: `0x${string}`;
|
488
|
+
gasPrice?: undefined;
|
489
|
+
maxFeePerBlobGas?: undefined;
|
490
|
+
maxFeePerGas: `0x${string}`;
|
491
|
+
maxPriorityFeePerGas: `0x${string}`;
|
492
|
+
accessList: import("../../index.js").AccessList;
|
493
|
+
blobVersionedHashes?: undefined;
|
494
|
+
chainId: `0x${string}`;
|
495
|
+
type: "0x2";
|
496
|
+
}, "yParity">, "typeHex"> & {
|
329
497
|
isSystemTx?: undefined;
|
330
498
|
mint?: undefined;
|
331
499
|
sourceHash?: undefined;
|
332
500
|
}) | ({
|
333
|
-
|
334
|
-
|
335
|
-
|
501
|
+
r?: `0x${string}` | undefined;
|
502
|
+
s?: `0x${string}` | undefined;
|
503
|
+
v?: `0x${string}` | undefined;
|
504
|
+
yParity?: `0x${string}` | undefined;
|
336
505
|
gasPrice?: `0x${string}` | undefined;
|
337
506
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
338
507
|
maxFeePerGas?: `0x${string}` | undefined;
|
339
508
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
340
|
-
|
509
|
+
to?: `0x${string}` | null | undefined;
|
510
|
+
from?: `0x${string}` | undefined;
|
511
|
+
gas?: `0x${string}` | undefined;
|
512
|
+
nonce?: `0x${string}` | undefined;
|
513
|
+
value?: `0x${string}` | undefined;
|
514
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
515
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
341
516
|
blockHash?: `0x${string}` | null | undefined;
|
342
517
|
blockNumber?: `0x${string}` | null | undefined;
|
343
|
-
from?: `0x${string}` | undefined;
|
344
518
|
hash?: `0x${string}` | undefined;
|
345
519
|
input?: `0x${string}` | undefined;
|
346
|
-
nonce?: `0x${string}` | undefined;
|
347
|
-
r?: `0x${string}` | undefined;
|
348
|
-
s?: `0x${string}` | undefined;
|
349
|
-
to?: `0x${string}` | null | undefined;
|
350
520
|
transactionIndex?: `0x${string}` | null | undefined;
|
351
|
-
v?: `0x${string}` | undefined;
|
352
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
353
521
|
blobVersionedHashes?: undefined;
|
354
522
|
chainId?: `0x${string}` | undefined;
|
355
523
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -358,134 +526,230 @@ export declare const pgnTestnet: {
|
|
358
526
|
sourceHash: `0x${string}`;
|
359
527
|
type: "0x7e";
|
360
528
|
}) | ({
|
361
|
-
|
362
|
-
|
363
|
-
|
529
|
+
r?: `0x${string}` | undefined;
|
530
|
+
s?: `0x${string}` | undefined;
|
531
|
+
v?: `0x${string}` | undefined;
|
532
|
+
yParity?: `0x${string}` | undefined;
|
364
533
|
gasPrice?: `0x${string}` | undefined;
|
365
534
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
366
535
|
maxFeePerGas?: `0x${string}` | undefined;
|
367
536
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
368
|
-
|
537
|
+
to?: `0x${string}` | null | undefined;
|
538
|
+
from?: `0x${string}` | undefined;
|
539
|
+
gas?: `0x${string}` | undefined;
|
540
|
+
nonce?: `0x${string}` | undefined;
|
541
|
+
value?: `0x${string}` | undefined;
|
542
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
543
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
369
544
|
blockHash?: `0x${string}` | null | undefined;
|
370
545
|
blockNumber?: `0x${string}` | null | undefined;
|
371
|
-
from?: `0x${string}` | undefined;
|
372
546
|
hash?: `0x${string}` | undefined;
|
373
547
|
input?: `0x${string}` | undefined;
|
374
|
-
nonce?: `0x${string}` | undefined;
|
375
|
-
r?: `0x${string}` | undefined;
|
376
|
-
s?: `0x${string}` | undefined;
|
377
|
-
to?: `0x${string}` | null | undefined;
|
378
548
|
transactionIndex?: `0x${string}` | null | undefined;
|
379
|
-
v?: `0x${string}` | undefined;
|
380
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
381
549
|
blobVersionedHashes?: `0x${string}`[] | undefined;
|
382
550
|
chainId?: `0x${string}` | undefined;
|
383
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
551
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
552
|
+
r: `0x${string}`;
|
553
|
+
s: `0x${string}`;
|
554
|
+
v: `0x${string}`;
|
555
|
+
to: `0x${string}` | null;
|
556
|
+
from: `0x${string}`;
|
557
|
+
gas: `0x${string}`;
|
558
|
+
nonce: `0x${string}`;
|
559
|
+
value: `0x${string}`;
|
560
|
+
blockHash: `0x${string}` | null;
|
561
|
+
blockNumber: `0x${string}` | null;
|
562
|
+
hash: `0x${string}`;
|
563
|
+
input: `0x${string}`;
|
564
|
+
transactionIndex: `0x${string}` | null;
|
565
|
+
typeHex: `0x${string}` | null;
|
566
|
+
gasPrice: `0x${string}`;
|
567
|
+
maxFeePerBlobGas?: undefined;
|
568
|
+
maxFeePerGas?: undefined;
|
569
|
+
maxPriorityFeePerGas?: undefined;
|
570
|
+
accessList?: undefined;
|
571
|
+
blobVersionedHashes?: undefined;
|
572
|
+
chainId?: `0x${string}` | undefined;
|
573
|
+
yParity?: undefined;
|
574
|
+
type: "0x0";
|
575
|
+
}, "yParity">, "typeHex"> & {
|
384
576
|
isSystemTx?: undefined;
|
385
577
|
mint?: undefined;
|
386
578
|
sourceHash?: undefined;
|
387
579
|
}) | ({
|
388
|
-
|
389
|
-
|
390
|
-
|
580
|
+
r?: `0x${string}` | undefined;
|
581
|
+
s?: `0x${string}` | undefined;
|
582
|
+
v?: `0x${string}` | undefined;
|
583
|
+
yParity?: `0x${string}` | undefined;
|
391
584
|
gasPrice?: `0x${string}` | undefined;
|
392
585
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
393
586
|
maxFeePerGas?: `0x${string}` | undefined;
|
394
587
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
395
|
-
|
588
|
+
to?: `0x${string}` | null | undefined;
|
589
|
+
from?: `0x${string}` | undefined;
|
590
|
+
gas?: `0x${string}` | undefined;
|
591
|
+
nonce?: `0x${string}` | undefined;
|
592
|
+
value?: `0x${string}` | undefined;
|
593
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
594
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
396
595
|
blockHash?: `0x${string}` | null | undefined;
|
397
596
|
blockNumber?: `0x${string}` | null | undefined;
|
398
|
-
from?: `0x${string}` | undefined;
|
399
597
|
hash?: `0x${string}` | undefined;
|
400
598
|
input?: `0x${string}` | undefined;
|
401
|
-
nonce?: `0x${string}` | undefined;
|
402
|
-
r?: `0x${string}` | undefined;
|
403
|
-
s?: `0x${string}` | undefined;
|
404
|
-
to?: `0x${string}` | null | undefined;
|
405
599
|
transactionIndex?: `0x${string}` | null | undefined;
|
406
|
-
v?: `0x${string}` | undefined;
|
407
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
408
600
|
blobVersionedHashes?: `0x${string}`[] | undefined;
|
409
601
|
chainId?: `0x${string}` | undefined;
|
410
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
602
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
603
|
+
blockHash: `0x${string}` | null;
|
604
|
+
blockNumber: `0x${string}` | null;
|
605
|
+
from: `0x${string}`;
|
606
|
+
gas: `0x${string}`;
|
607
|
+
hash: `0x${string}`;
|
608
|
+
input: `0x${string}`;
|
609
|
+
nonce: `0x${string}`;
|
610
|
+
r: `0x${string}`;
|
611
|
+
s: `0x${string}`;
|
612
|
+
to: `0x${string}` | null;
|
613
|
+
transactionIndex: `0x${string}` | null;
|
614
|
+
typeHex: `0x${string}` | null;
|
615
|
+
v: `0x${string}`;
|
616
|
+
value: `0x${string}`;
|
617
|
+
yParity: `0x${string}`;
|
618
|
+
gasPrice: `0x${string}`;
|
619
|
+
maxFeePerBlobGas?: undefined;
|
620
|
+
maxFeePerGas?: undefined;
|
621
|
+
maxPriorityFeePerGas?: undefined;
|
622
|
+
accessList: import("../../index.js").AccessList;
|
623
|
+
blobVersionedHashes?: undefined;
|
624
|
+
chainId: `0x${string}`;
|
625
|
+
type: "0x1";
|
626
|
+
}, "yParity">, "typeHex"> & {
|
411
627
|
isSystemTx?: undefined;
|
412
628
|
mint?: undefined;
|
413
629
|
sourceHash?: undefined;
|
414
630
|
}) | ({
|
415
|
-
|
416
|
-
|
417
|
-
|
631
|
+
r?: `0x${string}` | undefined;
|
632
|
+
s?: `0x${string}` | undefined;
|
633
|
+
v?: `0x${string}` | undefined;
|
634
|
+
yParity?: `0x${string}` | undefined;
|
418
635
|
gasPrice?: `0x${string}` | undefined;
|
419
636
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
420
637
|
maxFeePerGas?: `0x${string}` | undefined;
|
421
638
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
422
|
-
|
639
|
+
to?: `0x${string}` | null | undefined;
|
640
|
+
from?: `0x${string}` | undefined;
|
641
|
+
gas?: `0x${string}` | undefined;
|
642
|
+
nonce?: `0x${string}` | undefined;
|
643
|
+
value?: `0x${string}` | undefined;
|
644
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
645
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
423
646
|
blockHash?: `0x${string}` | null | undefined;
|
424
647
|
blockNumber?: `0x${string}` | null | undefined;
|
425
|
-
from?: `0x${string}` | undefined;
|
426
648
|
hash?: `0x${string}` | undefined;
|
427
649
|
input?: `0x${string}` | undefined;
|
428
|
-
nonce?: `0x${string}` | undefined;
|
429
|
-
r?: `0x${string}` | undefined;
|
430
|
-
s?: `0x${string}` | undefined;
|
431
|
-
to?: `0x${string}` | null | undefined;
|
432
650
|
transactionIndex?: `0x${string}` | null | undefined;
|
433
|
-
v?: `0x${string}` | undefined;
|
434
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
435
651
|
blobVersionedHashes?: `0x${string}`[] | undefined;
|
436
652
|
chainId?: `0x${string}` | undefined;
|
437
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
653
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
654
|
+
blockHash: `0x${string}` | null;
|
655
|
+
blockNumber: `0x${string}` | null;
|
656
|
+
from: `0x${string}`;
|
657
|
+
gas: `0x${string}`;
|
658
|
+
hash: `0x${string}`;
|
659
|
+
input: `0x${string}`;
|
660
|
+
nonce: `0x${string}`;
|
661
|
+
r: `0x${string}`;
|
662
|
+
s: `0x${string}`;
|
663
|
+
to: `0x${string}` | null;
|
664
|
+
transactionIndex: `0x${string}` | null;
|
665
|
+
typeHex: `0x${string}` | null;
|
666
|
+
v: `0x${string}`;
|
667
|
+
value: `0x${string}`;
|
668
|
+
yParity: `0x${string}`;
|
669
|
+
gasPrice?: undefined;
|
670
|
+
maxFeePerBlobGas?: undefined;
|
671
|
+
maxFeePerGas: `0x${string}`;
|
672
|
+
maxPriorityFeePerGas: `0x${string}`;
|
673
|
+
accessList: import("../../index.js").AccessList;
|
674
|
+
blobVersionedHashes?: undefined;
|
675
|
+
chainId: `0x${string}`;
|
676
|
+
type: "0x2";
|
677
|
+
}, "yParity">, "typeHex"> & {
|
438
678
|
isSystemTx?: undefined;
|
439
679
|
mint?: undefined;
|
440
680
|
sourceHash?: undefined;
|
441
681
|
}) | ({
|
442
|
-
|
443
|
-
|
444
|
-
|
682
|
+
r?: `0x${string}` | undefined;
|
683
|
+
s?: `0x${string}` | undefined;
|
684
|
+
v?: `0x${string}` | undefined;
|
685
|
+
yParity?: `0x${string}` | undefined;
|
445
686
|
gasPrice?: `0x${string}` | undefined;
|
446
687
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
447
688
|
maxFeePerGas?: `0x${string}` | undefined;
|
448
689
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
449
|
-
|
690
|
+
to?: `0x${string}` | null | undefined;
|
691
|
+
from?: `0x${string}` | undefined;
|
692
|
+
gas?: `0x${string}` | undefined;
|
693
|
+
nonce?: `0x${string}` | undefined;
|
694
|
+
value?: `0x${string}` | undefined;
|
695
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
696
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
450
697
|
blockHash?: `0x${string}` | null | undefined;
|
451
698
|
blockNumber?: `0x${string}` | null | undefined;
|
452
|
-
from?: `0x${string}` | undefined;
|
453
699
|
hash?: `0x${string}` | undefined;
|
454
700
|
input?: `0x${string}` | undefined;
|
455
|
-
nonce?: `0x${string}` | undefined;
|
456
|
-
r?: `0x${string}` | undefined;
|
457
|
-
s?: `0x${string}` | undefined;
|
458
|
-
to?: `0x${string}` | null | undefined;
|
459
701
|
transactionIndex?: `0x${string}` | null | undefined;
|
460
|
-
v?: `0x${string}` | undefined;
|
461
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
462
702
|
blobVersionedHashes?: `0x${string}`[] | undefined;
|
463
703
|
chainId?: `0x${string}` | undefined;
|
464
|
-
} & import("../index.js").Omit<import("../index.js").PartialBy<
|
704
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<{
|
705
|
+
blockHash: `0x${string}` | null;
|
706
|
+
blockNumber: `0x${string}` | null;
|
707
|
+
from: `0x${string}`;
|
708
|
+
gas: `0x${string}`;
|
709
|
+
hash: `0x${string}`;
|
710
|
+
input: `0x${string}`;
|
711
|
+
nonce: `0x${string}`;
|
712
|
+
r: `0x${string}`;
|
713
|
+
s: `0x${string}`;
|
714
|
+
to: `0x${string}` | null;
|
715
|
+
transactionIndex: `0x${string}` | null;
|
716
|
+
typeHex: `0x${string}` | null;
|
717
|
+
v: `0x${string}`;
|
718
|
+
value: `0x${string}`;
|
719
|
+
yParity: `0x${string}`;
|
720
|
+
gasPrice?: undefined;
|
721
|
+
maxFeePerBlobGas: `0x${string}`;
|
722
|
+
maxFeePerGas: `0x${string}`;
|
723
|
+
maxPriorityFeePerGas: `0x${string}`;
|
724
|
+
accessList: import("../../index.js").AccessList;
|
725
|
+
blobVersionedHashes: `0x${string}`[];
|
726
|
+
chainId: `0x${string}`;
|
727
|
+
type: "0x3";
|
728
|
+
}, "yParity">, "typeHex"> & {
|
465
729
|
isSystemTx?: undefined;
|
466
730
|
mint?: undefined;
|
467
731
|
sourceHash?: undefined;
|
468
732
|
}) | ({
|
469
|
-
|
470
|
-
|
471
|
-
|
733
|
+
r?: `0x${string}` | undefined;
|
734
|
+
s?: `0x${string}` | undefined;
|
735
|
+
v?: `0x${string}` | undefined;
|
736
|
+
yParity?: `0x${string}` | undefined;
|
472
737
|
gasPrice?: `0x${string}` | undefined;
|
473
738
|
maxFeePerBlobGas?: `0x${string}` | undefined;
|
474
739
|
maxFeePerGas?: `0x${string}` | undefined;
|
475
740
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
476
|
-
|
741
|
+
to?: `0x${string}` | null | undefined;
|
742
|
+
from?: `0x${string}` | undefined;
|
743
|
+
gas?: `0x${string}` | undefined;
|
744
|
+
nonce?: `0x${string}` | undefined;
|
745
|
+
value?: `0x${string}` | undefined;
|
746
|
+
type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
|
747
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
477
748
|
blockHash?: `0x${string}` | null | undefined;
|
478
749
|
blockNumber?: `0x${string}` | null | undefined;
|
479
|
-
from?: `0x${string}` | undefined;
|
480
750
|
hash?: `0x${string}` | undefined;
|
481
751
|
input?: `0x${string}` | undefined;
|
482
|
-
nonce?: `0x${string}` | undefined;
|
483
|
-
r?: `0x${string}` | undefined;
|
484
|
-
s?: `0x${string}` | undefined;
|
485
|
-
to?: `0x${string}` | null | undefined;
|
486
752
|
transactionIndex?: `0x${string}` | null | undefined;
|
487
|
-
v?: `0x${string}` | undefined;
|
488
|
-
accessList?: import("../../index.js").AccessList | undefined;
|
489
753
|
blobVersionedHashes?: `0x${string}`[] | undefined;
|
490
754
|
chainId?: `0x${string}` | undefined;
|
491
755
|
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
@@ -494,20 +758,20 @@ export declare const pgnTestnet: {
|
|
494
758
|
sourceHash: `0x${string}`;
|
495
759
|
type: "0x7e";
|
496
760
|
})) => ({
|
761
|
+
r: `0x${string}`;
|
762
|
+
s: `0x${string}`;
|
763
|
+
v: bigint;
|
764
|
+
to: `0x${string}` | null;
|
765
|
+
from: `0x${string}`;
|
497
766
|
gas: bigint;
|
767
|
+
nonce: number;
|
498
768
|
value: bigint;
|
499
769
|
blockHash: `0x${string}` | null;
|
500
770
|
blockNumber: bigint | null;
|
501
|
-
from: `0x${string}`;
|
502
771
|
hash: `0x${string}`;
|
503
772
|
input: `0x${string}`;
|
504
|
-
nonce: number;
|
505
|
-
r: `0x${string}`;
|
506
|
-
s: `0x${string}`;
|
507
|
-
to: `0x${string}` | null;
|
508
773
|
transactionIndex: number | null;
|
509
774
|
typeHex: `0x${string}` | null;
|
510
|
-
v: bigint;
|
511
775
|
gasPrice: bigint;
|
512
776
|
maxFeePerBlobGas?: undefined;
|
513
777
|
maxFeePerGas?: undefined;
|
@@ -521,20 +785,20 @@ export declare const pgnTestnet: {
|
|
521
785
|
mint?: undefined;
|
522
786
|
sourceHash?: undefined;
|
523
787
|
} | {
|
788
|
+
r: `0x${string}`;
|
789
|
+
s: `0x${string}`;
|
790
|
+
v: bigint;
|
791
|
+
to: `0x${string}` | null;
|
792
|
+
from: `0x${string}`;
|
524
793
|
gas: bigint;
|
794
|
+
nonce: number;
|
525
795
|
value: bigint;
|
526
796
|
blockHash: `0x${string}` | null;
|
527
797
|
blockNumber: bigint | null;
|
528
|
-
from: `0x${string}`;
|
529
798
|
hash: `0x${string}`;
|
530
799
|
input: `0x${string}`;
|
531
|
-
nonce: number;
|
532
|
-
r: `0x${string}`;
|
533
|
-
s: `0x${string}`;
|
534
|
-
to: `0x${string}` | null;
|
535
800
|
transactionIndex: number | null;
|
536
801
|
typeHex: `0x${string}` | null;
|
537
|
-
v: bigint;
|
538
802
|
gasPrice: undefined;
|
539
803
|
maxFeePerBlobGas?: undefined;
|
540
804
|
maxFeePerGas: bigint;
|