viem 2.0.0-alpha.9 → 2.0.0-beta.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 +2138 -0
- package/LICENSE +21 -0
- package/README.md +215 -0
- package/_cjs/accounts/generateMnemonic.js.map +1 -1
- package/_cjs/accounts/generatePrivateKey.js.map +1 -1
- package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
- package/_cjs/accounts/index.js.map +1 -1
- package/_cjs/accounts/mnemonicToAccount.js.map +1 -1
- package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
- package/_cjs/accounts/toAccount.js.map +1 -1
- package/_cjs/accounts/utils/parseAccount.js.map +1 -1
- package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -1
- package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -1
- package/_cjs/accounts/utils/sign.js.map +1 -1
- package/_cjs/accounts/utils/signMessage.js.map +1 -1
- package/_cjs/accounts/utils/signTransaction.js.map +1 -1
- package/_cjs/accounts/utils/signTypedData.js.map +1 -1
- package/_cjs/actions/ens/getEnsAddress.js +4 -3
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
- package/_cjs/actions/ens/getEnsAvatar.js +2 -1
- package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
- package/_cjs/actions/ens/getEnsName.js +4 -3
- package/_cjs/actions/ens/getEnsName.js.map +1 -1
- package/_cjs/actions/ens/getEnsResolver.js +4 -3
- package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
- package/_cjs/actions/ens/getEnsText.js +4 -3
- package/_cjs/actions/ens/getEnsText.js.map +1 -1
- package/_cjs/actions/getContract.js +36 -7
- package/_cjs/actions/getContract.js.map +1 -1
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/public/call.js +5 -5
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/createBlockFilter.js.map +1 -1
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
- package/_cjs/actions/public/createEventFilter.js.map +1 -1
- package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -1
- package/_cjs/actions/public/estimateContractGas.js +11 -2
- package/_cjs/actions/public/estimateContractGas.js.map +1 -1
- package/_cjs/actions/public/estimateFeesPerGas.js +3 -2
- package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js +3 -3
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +5 -4
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_cjs/actions/public/getBalance.js.map +1 -1
- package/_cjs/actions/public/getBlock.js.map +1 -1
- package/_cjs/actions/public/getBlockNumber.js.map +1 -1
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getBytecode.js.map +1 -1
- package/_cjs/actions/public/getChainId.js.map +1 -1
- package/_cjs/actions/public/getContractEvents.js +27 -0
- package/_cjs/actions/public/getContractEvents.js.map +1 -0
- package/_cjs/actions/public/getFeeHistory.js.map +1 -1
- package/_cjs/actions/public/getFilterChanges.js.map +1 -1
- package/_cjs/actions/public/getFilterLogs.js.map +1 -1
- package/_cjs/actions/public/getGasPrice.js.map +1 -1
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/getProof.js +16 -0
- package/_cjs/actions/public/getProof.js.map +1 -0
- package/_cjs/actions/public/getStorageAt.js.map +1 -1
- package/_cjs/actions/public/getTransaction.js.map +1 -1
- package/_cjs/actions/public/getTransactionConfirmations.js +3 -2
- package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_cjs/actions/public/getTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/multicall.js +4 -3
- package/_cjs/actions/public/multicall.js.map +1 -1
- package/_cjs/actions/public/readContract.js +7 -2
- package/_cjs/actions/public/readContract.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js +5 -2
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/actions/public/uninstallFilter.js.map +1 -1
- package/_cjs/actions/public/verifyHash.js +2 -1
- package/_cjs/actions/public/verifyHash.js.map +1 -1
- package/_cjs/actions/public/verifyMessage.js.map +1 -1
- package/_cjs/actions/public/verifyTypedData.js.map +1 -1
- package/_cjs/actions/public/waitForTransactionReceipt.js +6 -5
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/watchBlockNumber.js +2 -1
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
- package/_cjs/actions/public/watchBlocks.js +4 -3
- package/_cjs/actions/public/watchBlocks.js.map +1 -1
- package/_cjs/actions/public/watchContractEvent.js +9 -11
- package/_cjs/actions/public/watchContractEvent.js.map +1 -1
- package/_cjs/actions/public/watchEvent.js +6 -5
- package/_cjs/actions/public/watchEvent.js.map +1 -1
- package/_cjs/actions/public/watchPendingTransactions.js +4 -3
- package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
- package/_cjs/actions/test/dropTransaction.js.map +1 -1
- package/_cjs/actions/test/getAutomine.js.map +1 -1
- package/_cjs/actions/test/getTxpoolContent.js.map +1 -1
- package/_cjs/actions/test/getTxpoolStatus.js.map +1 -1
- package/_cjs/actions/test/impersonateAccount.js.map +1 -1
- package/_cjs/actions/test/increaseTime.js.map +1 -1
- package/_cjs/actions/test/inspectTxpool.js.map +1 -1
- package/_cjs/actions/test/mine.js.map +1 -1
- package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -1
- package/_cjs/actions/test/reset.js.map +1 -1
- package/_cjs/actions/test/revert.js.map +1 -1
- package/_cjs/actions/test/sendUnsignedTransaction.js +3 -3
- package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/_cjs/actions/test/setAutomine.js.map +1 -1
- package/_cjs/actions/test/setBalance.js.map +1 -1
- package/_cjs/actions/test/setBlockGasLimit.js.map +1 -1
- package/_cjs/actions/test/setBlockTimestampInterval.js +6 -1
- package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -1
- package/_cjs/actions/test/setCode.js.map +1 -1
- package/_cjs/actions/test/setCoinbase.js.map +1 -1
- package/_cjs/actions/test/setIntervalMining.js +6 -1
- package/_cjs/actions/test/setIntervalMining.js.map +1 -1
- package/_cjs/actions/test/setLoggingEnabled.js.map +1 -1
- package/_cjs/actions/test/setMinGasPrice.js.map +1 -1
- package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
- package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -1
- package/_cjs/actions/test/setNonce.js.map +1 -1
- package/_cjs/actions/test/setRpcUrl.js.map +1 -1
- package/_cjs/actions/test/setStorageAt.js.map +1 -1
- package/_cjs/actions/test/snapshot.js.map +1 -1
- package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -1
- package/_cjs/actions/wallet/addChain.js.map +1 -1
- package/_cjs/actions/wallet/deployContract.js.map +1 -1
- package/_cjs/actions/wallet/getAddresses.js +2 -0
- package/_cjs/actions/wallet/getAddresses.js.map +1 -1
- package/_cjs/actions/wallet/getPermissions.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +4 -3
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
- package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
- package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js +10 -8
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signMessage.js.map +1 -1
- package/_cjs/actions/wallet/signTransaction.js +5 -4
- package/_cjs/actions/wallet/signTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signTypedData.js.map +1 -1
- package/_cjs/actions/wallet/switchChain.js.map +1 -1
- package/_cjs/actions/wallet/watchAsset.js.map +1 -1
- package/_cjs/actions/wallet/writeContract.js +3 -2
- package/_cjs/actions/wallet/writeContract.js.map +1 -1
- package/_cjs/chains/celo/formatters.js +34 -5
- package/_cjs/chains/celo/formatters.js.map +1 -1
- package/_cjs/chains/celo/parsers.js +55 -0
- package/_cjs/chains/celo/parsers.js.map +1 -1
- package/_cjs/chains/celo/serializers.js +70 -6
- package/_cjs/chains/celo/serializers.js.map +1 -1
- package/_cjs/chains/definitions/arbitrum.js +2 -15
- package/_cjs/chains/definitions/arbitrum.js.map +1 -1
- package/_cjs/chains/definitions/arbitrumGoerli.js +4 -16
- package/_cjs/chains/definitions/arbitrumGoerli.js.map +1 -1
- package/_cjs/chains/definitions/arbitrumNova.js +2 -15
- package/_cjs/chains/definitions/arbitrumNova.js.map +1 -1
- package/_cjs/chains/definitions/arbitrumSepolia.js +32 -0
- package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -0
- package/_cjs/chains/definitions/astarZkatana.js +42 -0
- package/_cjs/chains/definitions/astarZkatana.js.map +1 -0
- package/_cjs/chains/definitions/aurora.js +2 -6
- package/_cjs/chains/definitions/aurora.js.map +1 -1
- package/_cjs/chains/definitions/auroraTestnet.js +2 -6
- package/_cjs/chains/definitions/auroraTestnet.js.map +1 -1
- package/_cjs/chains/definitions/avalanche.js +2 -5
- package/_cjs/chains/definitions/avalanche.js.map +1 -1
- package/_cjs/chains/definitions/avalancheFuji.js +2 -5
- package/_cjs/chains/definitions/avalancheFuji.js.map +1 -1
- package/_cjs/chains/definitions/base.js +2 -19
- package/_cjs/chains/definitions/base.js.map +1 -1
- package/_cjs/chains/definitions/baseGoerli.js +3 -18
- package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
- package/_cjs/chains/definitions/baseSepolia.js +33 -0
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -0
- package/_cjs/chains/definitions/bearNetworkChainMainnet.js +2 -4
- package/_cjs/chains/definitions/bearNetworkChainMainnet.js.map +1 -1
- package/_cjs/chains/definitions/bearNetworkChainTestnet.js +2 -4
- package/_cjs/chains/definitions/bearNetworkChainTestnet.js.map +1 -1
- package/_cjs/chains/definitions/boba.js +2 -5
- package/_cjs/chains/definitions/boba.js.map +1 -1
- package/_cjs/chains/definitions/bronos.js +2 -4
- package/_cjs/chains/definitions/bronos.js.map +1 -1
- package/_cjs/chains/definitions/bronosTestnet.js +2 -4
- package/_cjs/chains/definitions/bronosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/bsc.js +2 -5
- package/_cjs/chains/definitions/bsc.js.map +1 -1
- package/_cjs/chains/definitions/bscTestnet.js +2 -5
- package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
- package/_cjs/chains/definitions/bxn.js +2 -6
- package/_cjs/chains/definitions/bxn.js.map +1 -1
- package/_cjs/chains/definitions/bxnTestnet.js +2 -6
- package/_cjs/chains/definitions/bxnTestnet.js.map +1 -1
- package/_cjs/chains/definitions/canto.js +2 -4
- package/_cjs/chains/definitions/canto.js.map +1 -1
- package/_cjs/chains/definitions/celo.js +2 -11
- package/_cjs/chains/definitions/celo.js.map +1 -1
- package/_cjs/chains/definitions/celoAlfajores.js +2 -11
- package/_cjs/chains/definitions/celoAlfajores.js.map +1 -1
- package/_cjs/chains/definitions/celoCannoli.js +2 -7
- package/_cjs/chains/definitions/celoCannoli.js.map +1 -1
- package/_cjs/chains/definitions/classic.js +2 -4
- package/_cjs/chains/definitions/classic.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpace.js +2 -6
- package/_cjs/chains/definitions/confluxESpace.js.map +1 -1
- package/_cjs/chains/definitions/coreDao.js +27 -0
- package/_cjs/chains/definitions/coreDao.js.map +1 -0
- package/_cjs/chains/definitions/cronos.js +2 -4
- package/_cjs/chains/definitions/cronos.js.map +1 -1
- package/_cjs/chains/definitions/cronosTestnet.js +2 -4
- package/_cjs/chains/definitions/cronosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/crossbell.js +2 -6
- package/_cjs/chains/definitions/crossbell.js.map +1 -1
- package/_cjs/chains/definitions/dfk.js +2 -10
- package/_cjs/chains/definitions/dfk.js.map +1 -1
- package/_cjs/chains/definitions/dogechain.js +2 -8
- package/_cjs/chains/definitions/dogechain.js.map +1 -1
- package/_cjs/chains/definitions/edgeware.js +2 -5
- package/_cjs/chains/definitions/edgeware.js.map +1 -1
- package/_cjs/chains/definitions/edgewareTestnet.js +2 -8
- package/_cjs/chains/definitions/edgewareTestnet.js.map +1 -1
- package/_cjs/chains/definitions/ekta.js +2 -4
- package/_cjs/chains/definitions/ekta.js.map +1 -1
- package/_cjs/chains/definitions/ektaTestnet.js +2 -4
- package/_cjs/chains/definitions/ektaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/eon.js +2 -4
- package/_cjs/chains/definitions/eon.js.map +1 -1
- package/_cjs/chains/definitions/eos.js +2 -8
- package/_cjs/chains/definitions/eos.js.map +1 -1
- package/_cjs/chains/definitions/eosTestnet.js +2 -8
- package/_cjs/chains/definitions/eosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/evmos.js +2 -4
- package/_cjs/chains/definitions/evmos.js.map +1 -1
- package/_cjs/chains/definitions/evmosTestnet.js +2 -4
- package/_cjs/chains/definitions/evmosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/fantom.js +2 -5
- package/_cjs/chains/definitions/fantom.js.map +1 -1
- package/_cjs/chains/definitions/fantomTestnet.js +2 -5
- package/_cjs/chains/definitions/fantomTestnet.js.map +1 -1
- package/_cjs/chains/definitions/fibo.js +2 -4
- package/_cjs/chains/definitions/fibo.js.map +1 -1
- package/_cjs/chains/definitions/filecoin.js +2 -7
- package/_cjs/chains/definitions/filecoin.js.map +1 -1
- package/_cjs/chains/definitions/filecoinCalibration.js +2 -4
- package/_cjs/chains/definitions/filecoinCalibration.js.map +1 -1
- package/_cjs/chains/definitions/filecoinHyperspace.js +2 -5
- package/_cjs/chains/definitions/filecoinHyperspace.js.map +1 -1
- package/_cjs/chains/definitions/flare.js +2 -4
- package/_cjs/chains/definitions/flare.js.map +1 -1
- package/_cjs/chains/definitions/flareTestnet.js +2 -4
- package/_cjs/chains/definitions/flareTestnet.js.map +1 -1
- package/_cjs/chains/definitions/foundry.js +2 -7
- package/_cjs/chains/definitions/foundry.js.map +1 -1
- package/_cjs/chains/definitions/fuse.js +8 -4
- package/_cjs/chains/definitions/fuse.js.map +1 -1
- package/_cjs/chains/definitions/fuseSparknet.js +2 -4
- package/_cjs/chains/definitions/fuseSparknet.js.map +1 -1
- package/_cjs/chains/definitions/gnosis.js +2 -8
- package/_cjs/chains/definitions/gnosis.js.map +1 -1
- package/_cjs/chains/definitions/gnosisChiado.js +2 -4
- package/_cjs/chains/definitions/gnosisChiado.js.map +1 -1
- package/_cjs/chains/definitions/gobi.js +2 -4
- package/_cjs/chains/definitions/gobi.js.map +1 -1
- package/_cjs/chains/definitions/goerli.js +2 -18
- package/_cjs/chains/definitions/goerli.js.map +1 -1
- package/_cjs/chains/definitions/haqqMainnet.js +2 -6
- package/_cjs/chains/definitions/haqqMainnet.js.map +1 -1
- package/_cjs/chains/definitions/haqqTestedge2.js +2 -6
- package/_cjs/chains/definitions/haqqTestedge2.js.map +1 -1
- package/_cjs/chains/definitions/hardhat.js +2 -4
- package/_cjs/chains/definitions/hardhat.js.map +1 -1
- package/_cjs/chains/definitions/harmonyOne.js +2 -4
- package/_cjs/chains/definitions/harmonyOne.js.map +1 -1
- package/_cjs/chains/definitions/holesky.js +8 -7
- package/_cjs/chains/definitions/holesky.js.map +1 -1
- package/_cjs/chains/definitions/iotex.js +2 -7
- package/_cjs/chains/definitions/iotex.js.map +1 -1
- package/_cjs/chains/definitions/iotexTestnet.js +2 -7
- package/_cjs/chains/definitions/iotexTestnet.js.map +1 -1
- package/_cjs/chains/definitions/klaytn.js +2 -5
- package/_cjs/chains/definitions/klaytn.js.map +1 -1
- package/_cjs/chains/definitions/kroma.js +2 -6
- package/_cjs/chains/definitions/kroma.js.map +1 -1
- package/_cjs/chains/definitions/kromaSepolia.js +2 -6
- package/_cjs/chains/definitions/kromaSepolia.js.map +1 -1
- package/_cjs/chains/definitions/linea.js +2 -19
- package/_cjs/chains/definitions/linea.js.map +1 -1
- package/_cjs/chains/definitions/lineaTestnet.js +2 -19
- package/_cjs/chains/definitions/lineaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/localhost.js +2 -4
- package/_cjs/chains/definitions/localhost.js.map +1 -1
- package/_cjs/chains/definitions/mainnet.js +2 -18
- package/_cjs/chains/definitions/mainnet.js.map +1 -1
- package/_cjs/chains/definitions/manta.js +35 -0
- package/_cjs/chains/definitions/manta.js.map +1 -0
- package/_cjs/chains/definitions/mantaTestnet.js +36 -0
- package/_cjs/chains/definitions/mantaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/mantle.js +2 -8
- package/_cjs/chains/definitions/mantle.js.map +1 -1
- package/_cjs/chains/definitions/mantleTestnet.js +2 -8
- package/_cjs/chains/definitions/mantleTestnet.js.map +1 -1
- package/_cjs/chains/definitions/meter.js +2 -4
- package/_cjs/chains/definitions/meter.js.map +1 -1
- package/_cjs/chains/definitions/meterTestnet.js +2 -4
- package/_cjs/chains/definitions/meterTestnet.js.map +1 -1
- package/_cjs/chains/definitions/metis.js +2 -4
- package/_cjs/chains/definitions/metis.js.map +1 -1
- package/_cjs/chains/definitions/metisGoerli.js +2 -4
- package/_cjs/chains/definitions/metisGoerli.js.map +1 -1
- package/_cjs/chains/definitions/mev.js +2 -6
- package/_cjs/chains/definitions/mev.js.map +1 -1
- package/_cjs/chains/definitions/mevTestnet.js +2 -6
- package/_cjs/chains/definitions/mevTestnet.js.map +1 -1
- package/_cjs/chains/definitions/modeTestnet.js +8 -6
- package/_cjs/chains/definitions/modeTestnet.js.map +1 -1
- package/_cjs/chains/definitions/moonbaseAlpha.js +2 -11
- package/_cjs/chains/definitions/moonbaseAlpha.js.map +1 -1
- package/_cjs/chains/definitions/moonbeam.js +2 -11
- package/_cjs/chains/definitions/moonbeam.js.map +1 -1
- package/_cjs/chains/definitions/moonbeamDev.js +20 -0
- package/_cjs/chains/definitions/moonbeamDev.js.map +1 -0
- package/_cjs/chains/definitions/moonriver.js +2 -11
- package/_cjs/chains/definitions/moonriver.js.map +1 -1
- package/_cjs/chains/definitions/neonDevnet.js +2 -6
- package/_cjs/chains/definitions/neonDevnet.js.map +1 -1
- package/_cjs/chains/definitions/nexi.js +2 -10
- package/_cjs/chains/definitions/nexi.js.map +1 -1
- package/_cjs/chains/definitions/nexilix.js +2 -5
- package/_cjs/chains/definitions/nexilix.js.map +1 -1
- package/_cjs/chains/definitions/oasys.js +2 -6
- package/_cjs/chains/definitions/oasys.js.map +1 -1
- package/_cjs/chains/definitions/okc.js +2 -4
- package/_cjs/chains/definitions/okc.js.map +1 -1
- package/_cjs/chains/definitions/opBNB.js +2 -4
- package/_cjs/chains/definitions/opBNB.js.map +1 -1
- package/_cjs/chains/definitions/opBNBTestnet.js +2 -4
- package/_cjs/chains/definitions/opBNBTestnet.js.map +1 -1
- package/_cjs/chains/definitions/optimism.js +2 -19
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/optimismGoerli.js +2 -19
- package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
- package/_cjs/chains/definitions/optimismSepolia.js +30 -0
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -0
- package/_cjs/chains/definitions/plinga.js +2 -6
- package/_cjs/chains/definitions/plinga.js.map +1 -1
- package/_cjs/chains/definitions/polygon.js +2 -18
- package/_cjs/chains/definitions/polygon.js.map +1 -1
- package/_cjs/chains/definitions/polygonMumbai.js +2 -18
- package/_cjs/chains/definitions/polygonMumbai.js.map +1 -1
- package/_cjs/chains/definitions/polygonZkEvm.js +2 -6
- package/_cjs/chains/definitions/polygonZkEvm.js.map +1 -1
- package/_cjs/chains/definitions/polygonZkEvmTestnet.js +2 -10
- package/_cjs/chains/definitions/polygonZkEvmTestnet.js.map +1 -1
- package/_cjs/chains/definitions/pulsechain.js +2 -7
- package/_cjs/chains/definitions/pulsechain.js.map +1 -1
- package/_cjs/chains/definitions/pulsechainV4.js +2 -7
- package/_cjs/chains/definitions/pulsechainV4.js.map +1 -1
- package/_cjs/chains/definitions/qMainnet.js +2 -4
- package/_cjs/chains/definitions/qMainnet.js.map +1 -1
- package/_cjs/chains/definitions/qTestnet.js +2 -4
- package/_cjs/chains/definitions/qTestnet.js.map +1 -1
- package/_cjs/chains/definitions/rollux.js +2 -4
- package/_cjs/chains/definitions/rollux.js.map +1 -1
- package/_cjs/chains/definitions/rolluxTestnet.js +2 -4
- package/_cjs/chains/definitions/rolluxTestnet.js.map +1 -1
- package/_cjs/chains/definitions/ronin.js +2 -6
- package/_cjs/chains/definitions/ronin.js.map +1 -1
- package/_cjs/chains/definitions/saigon.js +2 -6
- package/_cjs/chains/definitions/saigon.js.map +1 -1
- package/_cjs/chains/definitions/scroll.js +29 -0
- package/_cjs/chains/definitions/scroll.js.map +1 -0
- package/_cjs/chains/definitions/scrollSepolia.js +2 -7
- package/_cjs/chains/definitions/scrollSepolia.js.map +1 -1
- package/_cjs/chains/definitions/scrollTestnet.js +2 -7
- package/_cjs/chains/definitions/scrollTestnet.js.map +1 -1
- package/_cjs/chains/definitions/sepolia.js +3 -19
- package/_cjs/chains/definitions/sepolia.js.map +1 -1
- package/_cjs/chains/definitions/shardeumSphinx.js +2 -6
- package/_cjs/chains/definitions/shardeumSphinx.js.map +1 -1
- package/_cjs/chains/definitions/skale/brawl.js +2 -11
- package/_cjs/chains/definitions/skale/brawl.js.map +1 -1
- package/_cjs/chains/definitions/skale/calypso.js +2 -13
- package/_cjs/chains/definitions/skale/calypso.js.map +1 -1
- package/_cjs/chains/definitions/skale/calypsoTestnet.js +2 -15
- package/_cjs/chains/definitions/skale/calypsoTestnet.js.map +1 -1
- package/_cjs/chains/definitions/skale/chaosTestnet.js +2 -15
- package/_cjs/chains/definitions/skale/chaosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/skale/cryptoBlades.js +2 -13
- package/_cjs/chains/definitions/skale/cryptoBlades.js.map +1 -1
- package/_cjs/chains/definitions/skale/cryptoColosseum.js +2 -11
- package/_cjs/chains/definitions/skale/cryptoColosseum.js.map +1 -1
- package/_cjs/chains/definitions/skale/europa.js +2 -11
- package/_cjs/chains/definitions/skale/europa.js.map +1 -1
- package/_cjs/chains/definitions/skale/europaTestnet.js +2 -13
- package/_cjs/chains/definitions/skale/europaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/skale/exorde.js +2 -11
- package/_cjs/chains/definitions/skale/exorde.js.map +1 -1
- package/_cjs/chains/definitions/skale/humanProtocol.js +2 -11
- package/_cjs/chains/definitions/skale/humanProtocol.js.map +1 -1
- package/_cjs/chains/definitions/skale/nebula.js +2 -11
- package/_cjs/chains/definitions/skale/nebula.js.map +1 -1
- package/_cjs/chains/definitions/skale/nebulaTestnet.js +2 -13
- package/_cjs/chains/definitions/skale/nebulaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/skale/razor.js +2 -11
- package/_cjs/chains/definitions/skale/razor.js.map +1 -1
- package/_cjs/chains/definitions/skale/titan.js +2 -11
- package/_cjs/chains/definitions/skale/titan.js.map +1 -1
- package/_cjs/chains/definitions/skale/titanTestnet.js +2 -15
- package/_cjs/chains/definitions/skale/titanTestnet.js.map +1 -1
- package/_cjs/chains/definitions/songbird.js +2 -4
- package/_cjs/chains/definitions/songbird.js.map +1 -1
- package/_cjs/chains/definitions/songbirdTestnet.js +2 -4
- package/_cjs/chains/definitions/songbirdTestnet.js.map +1 -1
- package/_cjs/chains/definitions/syscoin.js +2 -7
- package/_cjs/chains/definitions/syscoin.js.map +1 -1
- package/_cjs/chains/definitions/syscoinTestnet.js +2 -7
- package/_cjs/chains/definitions/syscoinTestnet.js.map +1 -1
- package/_cjs/chains/definitions/taikoJolnir.js +2 -6
- package/_cjs/chains/definitions/taikoJolnir.js.map +1 -1
- package/_cjs/chains/definitions/taikoTestnetSepolia.js +2 -6
- package/_cjs/chains/definitions/taikoTestnetSepolia.js.map +1 -1
- package/_cjs/chains/definitions/taraxa.js +2 -6
- package/_cjs/chains/definitions/taraxa.js.map +1 -1
- package/_cjs/chains/definitions/taraxaTestnet.js +2 -6
- package/_cjs/chains/definitions/taraxaTestnet.js.map +1 -1
- package/_cjs/chains/definitions/telos.js +2 -4
- package/_cjs/chains/definitions/telos.js.map +1 -1
- package/_cjs/chains/definitions/telosTestnet.js +2 -4
- package/_cjs/chains/definitions/telosTestnet.js.map +1 -1
- package/_cjs/chains/definitions/thunderTestnet.js +2 -6
- package/_cjs/chains/definitions/thunderTestnet.js.map +1 -1
- package/_cjs/chains/definitions/vechain.js +2 -6
- package/_cjs/chains/definitions/vechain.js.map +1 -1
- package/_cjs/chains/definitions/wanchain.js +2 -13
- package/_cjs/chains/definitions/wanchain.js.map +1 -1
- package/_cjs/chains/definitions/wanchainTestnet.js +2 -10
- package/_cjs/chains/definitions/wanchainTestnet.js.map +1 -1
- package/_cjs/chains/definitions/xdc.js +2 -4
- package/_cjs/chains/definitions/xdc.js.map +1 -1
- package/_cjs/chains/definitions/xdcTestnet.js +2 -4
- package/_cjs/chains/definitions/xdcTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zetachainAthensTestnet.js +2 -6
- package/_cjs/chains/definitions/zetachainAthensTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zhejiang.js +2 -14
- package/_cjs/chains/definitions/zhejiang.js.map +1 -1
- package/_cjs/chains/definitions/zkSync.js +6 -6
- package/_cjs/chains/definitions/zkSync.js.map +1 -1
- package/_cjs/chains/definitions/zkSyncTestnet.js +6 -6
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zora.js +2 -8
- package/_cjs/chains/definitions/zora.js.map +1 -1
- package/_cjs/chains/definitions/zoraSepolia.js +40 -0
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -0
- package/_cjs/chains/definitions/zoraTestnet.js +2 -8
- package/_cjs/chains/definitions/zoraTestnet.js.map +1 -1
- package/_cjs/chains/index.js +24 -3
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/chains/utils.js +11 -1
- package/_cjs/chains/utils.js.map +1 -1
- package/_cjs/chains/zksync/formatters.js +124 -0
- package/_cjs/chains/zksync/formatters.js.map +1 -0
- package/_cjs/chains/zksync/serializers.js +74 -0
- package/_cjs/chains/zksync/serializers.js.map +1 -0
- package/_cjs/chains/zksync/types.js +3 -0
- package/_cjs/chains/zksync/types.js.map +1 -0
- package/_cjs/clients/createClient.js.map +1 -1
- package/_cjs/clients/createPublicClient.js.map +1 -1
- package/_cjs/clients/createTestClient.js.map +1 -1
- package/_cjs/clients/createWalletClient.js.map +1 -1
- package/_cjs/clients/decorators/public.js +4 -0
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/clients/transports/createTransport.js.map +1 -1
- package/_cjs/clients/transports/custom.js.map +1 -1
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/http.js +2 -0
- package/_cjs/clients/transports/http.js.map +1 -1
- package/_cjs/clients/transports/webSocket.js.map +1 -1
- package/_cjs/ens/index.js.map +1 -1
- package/_cjs/errors/abi.js.map +1 -1
- package/_cjs/errors/account.js.map +1 -1
- package/_cjs/errors/address.js.map +1 -1
- package/_cjs/errors/base.js.map +1 -1
- package/_cjs/errors/block.js.map +1 -1
- package/_cjs/errors/ccip.js.map +1 -1
- package/_cjs/errors/chain.js.map +1 -1
- package/_cjs/errors/contract.js.map +1 -1
- package/_cjs/errors/cursor.js +29 -0
- package/_cjs/errors/cursor.js.map +1 -0
- package/_cjs/errors/data.js.map +1 -1
- package/_cjs/errors/encoding.js +1 -1
- package/_cjs/errors/encoding.js.map +1 -1
- package/_cjs/errors/ens.js.map +1 -1
- package/_cjs/errors/estimateGas.js.map +1 -1
- package/_cjs/errors/fee.js.map +1 -1
- package/_cjs/errors/log.js.map +1 -1
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/request.js.map +1 -1
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/transaction.js.map +1 -1
- package/_cjs/errors/transport.js.map +1 -1
- package/_cjs/errors/utils.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_cjs/index.js +52 -10
- package/_cjs/index.js.map +1 -1
- package/_cjs/types/eip1193.js.map +1 -1
- package/_cjs/types/proof.js +3 -0
- package/_cjs/types/proof.js.map +1 -0
- package/_cjs/types/withdrawal.js +3 -0
- package/_cjs/types/withdrawal.js.map +1 -0
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeDeployData.js.map +1 -1
- package/_cjs/utils/abi/decodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/decodeEventLog.js +9 -11
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
- package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodePacked.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js +3 -3
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/getContractAddress.js +8 -3
- package/_cjs/utils/address/getContractAddress.js.map +1 -1
- package/_cjs/utils/address/isAddress.js.map +1 -1
- package/_cjs/utils/address/isAddressEqual.js.map +1 -1
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/chain/assertCurrentChain.js +12 -0
- package/_cjs/utils/chain/assertCurrentChain.js.map +1 -0
- package/_cjs/utils/chain/defineChain.js +13 -0
- package/_cjs/utils/chain/defineChain.js.map +1 -0
- package/_cjs/utils/chain/extractChain.js +8 -0
- package/_cjs/utils/chain/extractChain.js.map +1 -0
- package/_cjs/utils/{chain.js → chain/getChainContractAddress.js} +3 -20
- package/_cjs/utils/chain/getChainContractAddress.js.map +1 -0
- package/_cjs/utils/contract/extractFunctionParts.js.map +1 -1
- package/_cjs/utils/cursor.js +134 -0
- package/_cjs/utils/cursor.js.map +1 -0
- package/_cjs/utils/data/concat.js.map +1 -1
- package/_cjs/utils/data/isBytes.js.map +1 -1
- package/_cjs/utils/data/isBytesEqual.js.map +1 -1
- package/_cjs/utils/data/isHex.js.map +1 -1
- package/_cjs/utils/data/pad.js.map +1 -1
- package/_cjs/utils/data/size.js.map +1 -1
- package/_cjs/utils/data/slice.js.map +1 -1
- package/_cjs/utils/data/trim.js.map +1 -1
- package/_cjs/utils/encoding/fromBytes.js +4 -4
- package/_cjs/utils/encoding/fromBytes.js.map +1 -1
- package/_cjs/utils/encoding/fromHex.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js +55 -76
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/encoding/toBytes.js +26 -8
- package/_cjs/utils/encoding/toBytes.js.map +1 -1
- package/_cjs/utils/encoding/toHex.js +3 -3
- package/_cjs/utils/encoding/toHex.js.map +1 -1
- package/_cjs/utils/encoding/toRlp.js +94 -24
- package/_cjs/utils/encoding/toRlp.js.map +1 -1
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/ens/encodeLabelhash.js.map +1 -1
- package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
- package/_cjs/utils/ens/errors.js.map +1 -1
- package/_cjs/utils/ens/labelhash.js.map +1 -1
- package/_cjs/utils/ens/namehash.js.map +1 -1
- package/_cjs/utils/ens/normalize.js.map +1 -1
- package/_cjs/utils/ens/packetToBytes.js.map +1 -1
- package/_cjs/utils/errors/getCallError.js +6 -3
- package/_cjs/utils/errors/getCallError.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js +14 -13
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getEstimateGasError.js +6 -3
- package/_cjs/utils/errors/getEstimateGasError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js +3 -1
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/errors/getTransactionError.js +6 -3
- package/_cjs/utils/errors/getTransactionError.js.map +1 -1
- package/_cjs/utils/formatters/block.js.map +1 -1
- package/_cjs/utils/formatters/extract.js +15 -7
- package/_cjs/utils/formatters/extract.js.map +1 -1
- package/_cjs/utils/formatters/feeHistory.js.map +1 -1
- package/_cjs/utils/formatters/formatter.js.map +1 -1
- package/_cjs/utils/formatters/log.js.map +1 -1
- package/_cjs/utils/formatters/proof.js +22 -0
- package/_cjs/utils/formatters/proof.js.map +1 -0
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
- package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
- package/_cjs/utils/getAction.js +8 -0
- package/_cjs/utils/getAction.js.map +1 -0
- package/_cjs/utils/hash/getEventSelector.js +5 -6
- package/_cjs/utils/hash/getEventSelector.js.map +1 -1
- package/_cjs/utils/hash/getEventSignature.js +9 -0
- package/_cjs/utils/hash/getEventSignature.js.map +1 -0
- package/_cjs/utils/hash/getFunctionSelector.js +5 -6
- package/_cjs/utils/hash/getFunctionSelector.js.map +1 -1
- package/_cjs/utils/hash/getFunctionSignature.js +15 -0
- package/_cjs/utils/hash/getFunctionSignature.js.map +1 -0
- package/_cjs/utils/hash/hashFunction.js +2 -4
- package/_cjs/utils/hash/hashFunction.js.map +1 -1
- package/_cjs/utils/hash/isHash.js.map +1 -1
- package/_cjs/utils/hash/keccak256.js.map +1 -1
- package/_cjs/utils/index.js +14 -8
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/poll.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js +3 -1
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/withRetry.js.map +1 -1
- package/_cjs/utils/promise/withTimeout.js +1 -1
- package/_cjs/utils/promise/withTimeout.js.map +1 -1
- package/_cjs/utils/rpc.js +3 -6
- package/_cjs/utils/rpc.js.map +1 -1
- package/_cjs/utils/signature/compactSignatureToHex.js +10 -0
- package/_cjs/utils/signature/compactSignatureToHex.js.map +1 -0
- package/_cjs/utils/signature/compactSignatureToSignature.js +15 -0
- package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -0
- package/_cjs/utils/signature/hashMessage.js.map +1 -1
- package/_cjs/utils/signature/hashTypedData.js.map +1 -1
- package/_cjs/utils/signature/hexToCompactSignature.js +14 -0
- package/_cjs/utils/signature/hexToCompactSignature.js.map +1 -0
- package/_cjs/utils/signature/hexToSignature.js.map +1 -1
- package/_cjs/utils/signature/recoverAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -1
- package/_cjs/utils/signature/recoverPublicKey.js.map +1 -1
- package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -1
- package/_cjs/utils/signature/signatureToCompactSignature.js +17 -0
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -0
- package/_cjs/utils/signature/signatureToHex.js.map +1 -1
- package/_cjs/utils/signature/verifyMessage.js.map +1 -1
- package/_cjs/utils/signature/verifyTypedData.js.map +1 -1
- package/_cjs/utils/stringify.js.map +1 -1
- package/_cjs/utils/transaction/assertRequest.js.map +1 -1
- package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
- package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_cjs/utils/typedData.js.map +1 -1
- package/_cjs/utils/unit/formatEther.js.map +1 -1
- package/_cjs/utils/unit/formatGwei.js.map +1 -1
- package/_cjs/utils/unit/formatUnits.js.map +1 -1
- package/_cjs/utils/unit/parseEther.js.map +1 -1
- package/_cjs/utils/unit/parseGwei.js.map +1 -1
- package/_cjs/utils/unit/parseUnits.js.map +1 -1
- package/_esm/accounts/generateMnemonic.js.map +1 -1
- package/_esm/accounts/generatePrivateKey.js.map +1 -1
- package/_esm/accounts/hdKeyToAccount.js +1 -1
- package/_esm/accounts/hdKeyToAccount.js.map +1 -1
- package/_esm/accounts/index.js +10 -10
- package/_esm/accounts/index.js.map +1 -1
- package/_esm/accounts/mnemonicToAccount.js +1 -1
- package/_esm/accounts/mnemonicToAccount.js.map +1 -1
- package/_esm/accounts/privateKeyToAccount.js +3 -3
- package/_esm/accounts/privateKeyToAccount.js.map +1 -1
- package/_esm/accounts/toAccount.js +2 -2
- package/_esm/accounts/toAccount.js.map +1 -1
- package/_esm/accounts/utils/parseAccount.js.map +1 -1
- package/_esm/accounts/utils/privateKeyToAddress.js +2 -2
- package/_esm/accounts/utils/privateKeyToAddress.js.map +1 -1
- package/_esm/accounts/utils/publicKeyToAddress.js +2 -2
- package/_esm/accounts/utils/publicKeyToAddress.js.map +1 -1
- package/_esm/accounts/utils/sign.js.map +1 -1
- package/_esm/accounts/utils/signMessage.js +2 -2
- package/_esm/accounts/utils/signMessage.js.map +1 -1
- package/_esm/accounts/utils/signTransaction.js +1 -1
- package/_esm/accounts/utils/signTransaction.js.map +1 -1
- package/_esm/accounts/utils/signTypedData.js +2 -2
- package/_esm/accounts/utils/signTypedData.js.map +1 -1
- package/_esm/actions/ens/getEnsAddress.js +6 -5
- package/_esm/actions/ens/getEnsAddress.js.map +1 -1
- package/_esm/actions/ens/getEnsAvatar.js +4 -3
- package/_esm/actions/ens/getEnsAvatar.js.map +1 -1
- package/_esm/actions/ens/getEnsName.js +4 -3
- package/_esm/actions/ens/getEnsName.js.map +1 -1
- package/_esm/actions/ens/getEnsResolver.js +4 -3
- package/_esm/actions/ens/getEnsResolver.js.map +1 -1
- package/_esm/actions/ens/getEnsText.js +6 -5
- package/_esm/actions/ens/getEnsText.js.map +1 -1
- package/_esm/actions/getContract.js +37 -8
- package/_esm/actions/getContract.js.map +1 -1
- package/_esm/actions/index.js +8 -8
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/public/call.js +11 -11
- package/_esm/actions/public/call.js.map +1 -1
- package/_esm/actions/public/createBlockFilter.js.map +1 -1
- package/_esm/actions/public/createContractEventFilter.js +1 -1
- package/_esm/actions/public/createContractEventFilter.js.map +1 -1
- package/_esm/actions/public/createEventFilter.js +1 -1
- package/_esm/actions/public/createEventFilter.js.map +1 -1
- package/_esm/actions/public/createPendingTransactionFilter.js.map +1 -1
- package/_esm/actions/public/estimateContractGas.js +15 -6
- package/_esm/actions/public/estimateContractGas.js.map +1 -1
- package/_esm/actions/public/estimateFeesPerGas.js +4 -3
- package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_esm/actions/public/estimateGas.js +6 -6
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +7 -6
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_esm/actions/public/getBalance.js +1 -1
- package/_esm/actions/public/getBalance.js.map +1 -1
- package/_esm/actions/public/getBlock.js +2 -2
- package/_esm/actions/public/getBlock.js.map +1 -1
- package/_esm/actions/public/getBlockNumber.js.map +1 -1
- package/_esm/actions/public/getBlockTransactionCount.js +2 -2
- package/_esm/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_esm/actions/public/getBytecode.js +1 -1
- package/_esm/actions/public/getBytecode.js.map +1 -1
- package/_esm/actions/public/getChainId.js +1 -1
- package/_esm/actions/public/getChainId.js.map +1 -1
- package/_esm/actions/public/getContractEvents.js +49 -0
- package/_esm/actions/public/getContractEvents.js.map +1 -0
- package/_esm/actions/public/getFeeHistory.js +2 -2
- package/_esm/actions/public/getFeeHistory.js.map +1 -1
- package/_esm/actions/public/getFilterChanges.js +2 -2
- package/_esm/actions/public/getFilterChanges.js.map +1 -1
- package/_esm/actions/public/getFilterLogs.js +2 -2
- package/_esm/actions/public/getFilterLogs.js.map +1 -1
- package/_esm/actions/public/getGasPrice.js.map +1 -1
- package/_esm/actions/public/getLogs.js +3 -3
- package/_esm/actions/public/getLogs.js.map +1 -1
- package/_esm/actions/public/getProof.js +37 -0
- package/_esm/actions/public/getProof.js.map +1 -0
- package/_esm/actions/public/getStorageAt.js +1 -1
- package/_esm/actions/public/getStorageAt.js.map +1 -1
- package/_esm/actions/public/getTransaction.js +1 -1
- package/_esm/actions/public/getTransaction.js.map +1 -1
- package/_esm/actions/public/getTransactionConfirmations.js +5 -4
- package/_esm/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_esm/actions/public/getTransactionCount.js +2 -2
- package/_esm/actions/public/getTransactionCount.js.map +1 -1
- package/_esm/actions/public/getTransactionReceipt.js +1 -1
- package/_esm/actions/public/getTransactionReceipt.js.map +1 -1
- package/_esm/actions/public/multicall.js +6 -5
- package/_esm/actions/public/multicall.js.map +1 -1
- package/_esm/actions/public/readContract.js +10 -5
- package/_esm/actions/public/readContract.js.map +1 -1
- package/_esm/actions/public/simulateContract.js +9 -6
- package/_esm/actions/public/simulateContract.js.map +1 -1
- package/_esm/actions/public/uninstallFilter.js.map +1 -1
- package/_esm/actions/public/verifyHash.js +3 -2
- package/_esm/actions/public/verifyHash.js.map +1 -1
- package/_esm/actions/public/verifyMessage.js +1 -1
- package/_esm/actions/public/verifyMessage.js.map +1 -1
- package/_esm/actions/public/verifyTypedData.js +2 -2
- package/_esm/actions/public/verifyTypedData.js.map +1 -1
- package/_esm/actions/public/waitForTransactionReceipt.js +7 -6
- package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_esm/actions/public/watchBlockNumber.js +2 -1
- package/_esm/actions/public/watchBlockNumber.js.map +1 -1
- package/_esm/actions/public/watchBlocks.js +4 -3
- package/_esm/actions/public/watchBlocks.js.map +1 -1
- package/_esm/actions/public/watchContractEvent.js +9 -11
- package/_esm/actions/public/watchContractEvent.js.map +1 -1
- package/_esm/actions/public/watchEvent.js +6 -5
- package/_esm/actions/public/watchEvent.js.map +1 -1
- package/_esm/actions/public/watchPendingTransactions.js +4 -3
- package/_esm/actions/public/watchPendingTransactions.js.map +1 -1
- package/_esm/actions/test/dropTransaction.js.map +1 -1
- package/_esm/actions/test/getAutomine.js.map +1 -1
- package/_esm/actions/test/getTxpoolContent.js.map +1 -1
- package/_esm/actions/test/getTxpoolStatus.js.map +1 -1
- package/_esm/actions/test/impersonateAccount.js.map +1 -1
- package/_esm/actions/test/increaseTime.js.map +1 -1
- package/_esm/actions/test/inspectTxpool.js.map +1 -1
- package/_esm/actions/test/mine.js.map +1 -1
- package/_esm/actions/test/removeBlockTimestampInterval.js.map +1 -1
- package/_esm/actions/test/reset.js.map +1 -1
- package/_esm/actions/test/revert.js.map +1 -1
- package/_esm/actions/test/sendUnsignedTransaction.js +3 -3
- package/_esm/actions/test/sendUnsignedTransaction.js.map +1 -1
- package/_esm/actions/test/setAutomine.js.map +1 -1
- package/_esm/actions/test/setBalance.js.map +1 -1
- package/_esm/actions/test/setBlockGasLimit.js.map +1 -1
- package/_esm/actions/test/setBlockTimestampInterval.js +6 -1
- package/_esm/actions/test/setBlockTimestampInterval.js.map +1 -1
- package/_esm/actions/test/setCode.js.map +1 -1
- package/_esm/actions/test/setCoinbase.js.map +1 -1
- package/_esm/actions/test/setIntervalMining.js +6 -1
- package/_esm/actions/test/setIntervalMining.js.map +1 -1
- package/_esm/actions/test/setLoggingEnabled.js.map +1 -1
- package/_esm/actions/test/setMinGasPrice.js.map +1 -1
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
- package/_esm/actions/test/setNextBlockTimestamp.js.map +1 -1
- package/_esm/actions/test/setNonce.js.map +1 -1
- package/_esm/actions/test/setRpcUrl.js.map +1 -1
- package/_esm/actions/test/setStorageAt.js.map +1 -1
- package/_esm/actions/test/snapshot.js.map +1 -1
- package/_esm/actions/test/stopImpersonatingAccount.js.map +1 -1
- package/_esm/actions/wallet/addChain.js +1 -1
- package/_esm/actions/wallet/addChain.js.map +1 -1
- package/_esm/actions/wallet/deployContract.js.map +1 -1
- package/_esm/actions/wallet/getAddresses.js +3 -1
- package/_esm/actions/wallet/getAddresses.js.map +1 -1
- package/_esm/actions/wallet/getPermissions.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +9 -8
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/requestAddresses.js.map +1 -1
- package/_esm/actions/wallet/requestPermissions.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/signMessage.js +2 -2
- package/_esm/actions/wallet/signMessage.js.map +1 -1
- package/_esm/actions/wallet/signTransaction.js +6 -5
- package/_esm/actions/wallet/signTransaction.js.map +1 -1
- package/_esm/actions/wallet/signTypedData.js +2 -2
- package/_esm/actions/wallet/signTypedData.js.map +1 -1
- package/_esm/actions/wallet/switchChain.js +1 -1
- package/_esm/actions/wallet/switchChain.js.map +1 -1
- package/_esm/actions/wallet/watchAsset.js.map +1 -1
- package/_esm/actions/wallet/writeContract.js +4 -3
- package/_esm/actions/wallet/writeContract.js.map +1 -1
- package/_esm/chains/celo/formatters.js +34 -5
- package/_esm/chains/celo/formatters.js.map +1 -1
- package/_esm/chains/celo/parsers.js +56 -1
- package/_esm/chains/celo/parsers.js.map +1 -1
- package/_esm/chains/celo/serializers.js +73 -7
- package/_esm/chains/celo/serializers.js.map +1 -1
- package/_esm/chains/definitions/arbitrum.js +1 -14
- package/_esm/chains/definitions/arbitrum.js.map +1 -1
- package/_esm/chains/definitions/arbitrumGoerli.js +3 -15
- package/_esm/chains/definitions/arbitrumGoerli.js.map +1 -1
- package/_esm/chains/definitions/arbitrumNova.js +1 -14
- package/_esm/chains/definitions/arbitrumNova.js.map +1 -1
- package/_esm/chains/definitions/arbitrumSepolia.js +29 -0
- package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -0
- package/_esm/chains/definitions/astarZkatana.js +39 -0
- package/_esm/chains/definitions/astarZkatana.js.map +1 -0
- package/_esm/chains/definitions/aurora.js +1 -5
- package/_esm/chains/definitions/aurora.js.map +1 -1
- package/_esm/chains/definitions/auroraTestnet.js +1 -5
- package/_esm/chains/definitions/auroraTestnet.js.map +1 -1
- package/_esm/chains/definitions/avalanche.js +1 -4
- package/_esm/chains/definitions/avalanche.js.map +1 -1
- package/_esm/chains/definitions/avalancheFuji.js +1 -4
- package/_esm/chains/definitions/avalancheFuji.js.map +1 -1
- package/_esm/chains/definitions/base.js +1 -18
- package/_esm/chains/definitions/base.js.map +1 -1
- package/_esm/chains/definitions/baseGoerli.js +3 -18
- package/_esm/chains/definitions/baseGoerli.js.map +1 -1
- package/_esm/chains/definitions/baseSepolia.js +30 -0
- package/_esm/chains/definitions/baseSepolia.js.map +1 -0
- package/_esm/chains/definitions/bearNetworkChainMainnet.js +1 -3
- package/_esm/chains/definitions/bearNetworkChainMainnet.js.map +1 -1
- package/_esm/chains/definitions/bearNetworkChainTestnet.js +1 -3
- package/_esm/chains/definitions/bearNetworkChainTestnet.js.map +1 -1
- package/_esm/chains/definitions/boba.js +1 -4
- package/_esm/chains/definitions/boba.js.map +1 -1
- package/_esm/chains/definitions/bronos.js +1 -3
- package/_esm/chains/definitions/bronos.js.map +1 -1
- package/_esm/chains/definitions/bronosTestnet.js +1 -3
- package/_esm/chains/definitions/bronosTestnet.js.map +1 -1
- package/_esm/chains/definitions/bsc.js +1 -4
- package/_esm/chains/definitions/bsc.js.map +1 -1
- package/_esm/chains/definitions/bscTestnet.js +1 -4
- package/_esm/chains/definitions/bscTestnet.js.map +1 -1
- package/_esm/chains/definitions/bxn.js +1 -5
- package/_esm/chains/definitions/bxn.js.map +1 -1
- package/_esm/chains/definitions/bxnTestnet.js +1 -5
- package/_esm/chains/definitions/bxnTestnet.js.map +1 -1
- package/_esm/chains/definitions/canto.js +1 -3
- package/_esm/chains/definitions/canto.js.map +1 -1
- package/_esm/chains/definitions/celo.js +1 -10
- package/_esm/chains/definitions/celo.js.map +1 -1
- package/_esm/chains/definitions/celoAlfajores.js +1 -10
- package/_esm/chains/definitions/celoAlfajores.js.map +1 -1
- package/_esm/chains/definitions/celoCannoli.js +1 -6
- package/_esm/chains/definitions/celoCannoli.js.map +1 -1
- package/_esm/chains/definitions/classic.js +1 -3
- package/_esm/chains/definitions/classic.js.map +1 -1
- package/_esm/chains/definitions/confluxESpace.js +1 -5
- package/_esm/chains/definitions/confluxESpace.js.map +1 -1
- package/_esm/chains/definitions/coreDao.js +24 -0
- package/_esm/chains/definitions/coreDao.js.map +1 -0
- package/_esm/chains/definitions/cronos.js +1 -3
- package/_esm/chains/definitions/cronos.js.map +1 -1
- package/_esm/chains/definitions/cronosTestnet.js +1 -3
- package/_esm/chains/definitions/cronosTestnet.js.map +1 -1
- package/_esm/chains/definitions/crossbell.js +1 -5
- package/_esm/chains/definitions/crossbell.js.map +1 -1
- package/_esm/chains/definitions/dfk.js +1 -9
- package/_esm/chains/definitions/dfk.js.map +1 -1
- package/_esm/chains/definitions/dogechain.js +1 -7
- package/_esm/chains/definitions/dogechain.js.map +1 -1
- package/_esm/chains/definitions/edgeware.js +1 -4
- package/_esm/chains/definitions/edgeware.js.map +1 -1
- package/_esm/chains/definitions/edgewareTestnet.js +1 -7
- package/_esm/chains/definitions/edgewareTestnet.js.map +1 -1
- package/_esm/chains/definitions/ekta.js +1 -3
- package/_esm/chains/definitions/ekta.js.map +1 -1
- package/_esm/chains/definitions/ektaTestnet.js +1 -3
- package/_esm/chains/definitions/ektaTestnet.js.map +1 -1
- package/_esm/chains/definitions/eon.js +1 -3
- package/_esm/chains/definitions/eon.js.map +1 -1
- package/_esm/chains/definitions/eos.js +1 -7
- package/_esm/chains/definitions/eos.js.map +1 -1
- package/_esm/chains/definitions/eosTestnet.js +1 -7
- package/_esm/chains/definitions/eosTestnet.js.map +1 -1
- package/_esm/chains/definitions/evmos.js +1 -3
- package/_esm/chains/definitions/evmos.js.map +1 -1
- package/_esm/chains/definitions/evmosTestnet.js +1 -3
- package/_esm/chains/definitions/evmosTestnet.js.map +1 -1
- package/_esm/chains/definitions/fantom.js +1 -4
- package/_esm/chains/definitions/fantom.js.map +1 -1
- package/_esm/chains/definitions/fantomTestnet.js +1 -4
- package/_esm/chains/definitions/fantomTestnet.js.map +1 -1
- package/_esm/chains/definitions/fibo.js +1 -3
- package/_esm/chains/definitions/fibo.js.map +1 -1
- package/_esm/chains/definitions/filecoin.js +1 -6
- package/_esm/chains/definitions/filecoin.js.map +1 -1
- package/_esm/chains/definitions/filecoinCalibration.js +1 -3
- package/_esm/chains/definitions/filecoinCalibration.js.map +1 -1
- package/_esm/chains/definitions/filecoinHyperspace.js +1 -4
- package/_esm/chains/definitions/filecoinHyperspace.js.map +1 -1
- package/_esm/chains/definitions/flare.js +1 -3
- package/_esm/chains/definitions/flare.js.map +1 -1
- package/_esm/chains/definitions/flareTestnet.js +1 -3
- package/_esm/chains/definitions/flareTestnet.js.map +1 -1
- package/_esm/chains/definitions/foundry.js +1 -6
- package/_esm/chains/definitions/foundry.js.map +1 -1
- package/_esm/chains/definitions/fuse.js +7 -3
- package/_esm/chains/definitions/fuse.js.map +1 -1
- package/_esm/chains/definitions/fuseSparknet.js +1 -3
- package/_esm/chains/definitions/fuseSparknet.js.map +1 -1
- package/_esm/chains/definitions/gnosis.js +1 -7
- package/_esm/chains/definitions/gnosis.js.map +1 -1
- package/_esm/chains/definitions/gnosisChiado.js +1 -3
- package/_esm/chains/definitions/gnosisChiado.js.map +1 -1
- package/_esm/chains/definitions/gobi.js +1 -3
- package/_esm/chains/definitions/gobi.js.map +1 -1
- package/_esm/chains/definitions/goerli.js +1 -17
- package/_esm/chains/definitions/goerli.js.map +1 -1
- package/_esm/chains/definitions/haqqMainnet.js +1 -5
- package/_esm/chains/definitions/haqqMainnet.js.map +1 -1
- package/_esm/chains/definitions/haqqTestedge2.js +1 -5
- package/_esm/chains/definitions/haqqTestedge2.js.map +1 -1
- package/_esm/chains/definitions/hardhat.js +1 -3
- package/_esm/chains/definitions/hardhat.js.map +1 -1
- package/_esm/chains/definitions/harmonyOne.js +1 -3
- package/_esm/chains/definitions/harmonyOne.js.map +1 -1
- package/_esm/chains/definitions/holesky.js +7 -6
- package/_esm/chains/definitions/holesky.js.map +1 -1
- package/_esm/chains/definitions/iotex.js +1 -6
- package/_esm/chains/definitions/iotex.js.map +1 -1
- package/_esm/chains/definitions/iotexTestnet.js +1 -6
- package/_esm/chains/definitions/iotexTestnet.js.map +1 -1
- package/_esm/chains/definitions/klaytn.js +1 -4
- package/_esm/chains/definitions/klaytn.js.map +1 -1
- package/_esm/chains/definitions/kroma.js +1 -5
- package/_esm/chains/definitions/kroma.js.map +1 -1
- package/_esm/chains/definitions/kromaSepolia.js +1 -5
- package/_esm/chains/definitions/kromaSepolia.js.map +1 -1
- package/_esm/chains/definitions/linea.js +1 -18
- package/_esm/chains/definitions/linea.js.map +1 -1
- package/_esm/chains/definitions/lineaTestnet.js +1 -18
- package/_esm/chains/definitions/lineaTestnet.js.map +1 -1
- package/_esm/chains/definitions/localhost.js +1 -3
- package/_esm/chains/definitions/localhost.js.map +1 -1
- package/_esm/chains/definitions/mainnet.js +1 -17
- package/_esm/chains/definitions/mainnet.js.map +1 -1
- package/_esm/chains/definitions/manta.js +32 -0
- package/_esm/chains/definitions/manta.js.map +1 -0
- package/_esm/chains/definitions/mantaTestnet.js +33 -0
- package/_esm/chains/definitions/mantaTestnet.js.map +1 -0
- package/_esm/chains/definitions/mantle.js +1 -7
- package/_esm/chains/definitions/mantle.js.map +1 -1
- package/_esm/chains/definitions/mantleTestnet.js +1 -7
- package/_esm/chains/definitions/mantleTestnet.js.map +1 -1
- package/_esm/chains/definitions/meter.js +1 -3
- package/_esm/chains/definitions/meter.js.map +1 -1
- package/_esm/chains/definitions/meterTestnet.js +1 -3
- package/_esm/chains/definitions/meterTestnet.js.map +1 -1
- package/_esm/chains/definitions/metis.js +1 -3
- package/_esm/chains/definitions/metis.js.map +1 -1
- package/_esm/chains/definitions/metisGoerli.js +1 -3
- package/_esm/chains/definitions/metisGoerli.js.map +1 -1
- package/_esm/chains/definitions/mev.js +1 -5
- package/_esm/chains/definitions/mev.js.map +1 -1
- package/_esm/chains/definitions/mevTestnet.js +1 -5
- package/_esm/chains/definitions/mevTestnet.js.map +1 -1
- package/_esm/chains/definitions/modeTestnet.js +7 -5
- package/_esm/chains/definitions/modeTestnet.js.map +1 -1
- package/_esm/chains/definitions/moonbaseAlpha.js +1 -10
- package/_esm/chains/definitions/moonbaseAlpha.js.map +1 -1
- package/_esm/chains/definitions/moonbeam.js +1 -10
- package/_esm/chains/definitions/moonbeam.js.map +1 -1
- package/_esm/chains/definitions/moonbeamDev.js +17 -0
- package/_esm/chains/definitions/moonbeamDev.js.map +1 -0
- package/_esm/chains/definitions/moonriver.js +1 -10
- package/_esm/chains/definitions/moonriver.js.map +1 -1
- package/_esm/chains/definitions/neonDevnet.js +1 -5
- package/_esm/chains/definitions/neonDevnet.js.map +1 -1
- package/_esm/chains/definitions/nexi.js +1 -9
- package/_esm/chains/definitions/nexi.js.map +1 -1
- package/_esm/chains/definitions/nexilix.js +1 -4
- package/_esm/chains/definitions/nexilix.js.map +1 -1
- package/_esm/chains/definitions/oasys.js +1 -5
- package/_esm/chains/definitions/oasys.js.map +1 -1
- package/_esm/chains/definitions/okc.js +1 -3
- package/_esm/chains/definitions/okc.js.map +1 -1
- package/_esm/chains/definitions/opBNB.js +1 -3
- package/_esm/chains/definitions/opBNB.js.map +1 -1
- package/_esm/chains/definitions/opBNBTestnet.js +1 -3
- package/_esm/chains/definitions/opBNBTestnet.js.map +1 -1
- package/_esm/chains/definitions/optimism.js +1 -18
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/optimismGoerli.js +1 -18
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
- package/_esm/chains/definitions/optimismSepolia.js +27 -0
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -0
- package/_esm/chains/definitions/plinga.js +1 -5
- package/_esm/chains/definitions/plinga.js.map +1 -1
- package/_esm/chains/definitions/polygon.js +1 -17
- package/_esm/chains/definitions/polygon.js.map +1 -1
- package/_esm/chains/definitions/polygonMumbai.js +1 -17
- package/_esm/chains/definitions/polygonMumbai.js.map +1 -1
- package/_esm/chains/definitions/polygonZkEvm.js +1 -5
- package/_esm/chains/definitions/polygonZkEvm.js.map +1 -1
- package/_esm/chains/definitions/polygonZkEvmTestnet.js +1 -9
- package/_esm/chains/definitions/polygonZkEvmTestnet.js.map +1 -1
- package/_esm/chains/definitions/pulsechain.js +1 -6
- package/_esm/chains/definitions/pulsechain.js.map +1 -1
- package/_esm/chains/definitions/pulsechainV4.js +1 -6
- package/_esm/chains/definitions/pulsechainV4.js.map +1 -1
- package/_esm/chains/definitions/qMainnet.js +1 -3
- package/_esm/chains/definitions/qMainnet.js.map +1 -1
- package/_esm/chains/definitions/qTestnet.js +1 -3
- package/_esm/chains/definitions/qTestnet.js.map +1 -1
- package/_esm/chains/definitions/rollux.js +1 -3
- package/_esm/chains/definitions/rollux.js.map +1 -1
- package/_esm/chains/definitions/rolluxTestnet.js +1 -3
- package/_esm/chains/definitions/rolluxTestnet.js.map +1 -1
- package/_esm/chains/definitions/ronin.js +1 -5
- package/_esm/chains/definitions/ronin.js.map +1 -1
- package/_esm/chains/definitions/saigon.js +1 -5
- package/_esm/chains/definitions/saigon.js.map +1 -1
- package/_esm/chains/definitions/scroll.js +26 -0
- package/_esm/chains/definitions/scroll.js.map +1 -0
- package/_esm/chains/definitions/scrollSepolia.js +1 -6
- package/_esm/chains/definitions/scrollSepolia.js.map +1 -1
- package/_esm/chains/definitions/scrollTestnet.js +1 -6
- package/_esm/chains/definitions/scrollTestnet.js.map +1 -1
- package/_esm/chains/definitions/sepolia.js +2 -18
- package/_esm/chains/definitions/sepolia.js.map +1 -1
- package/_esm/chains/definitions/shardeumSphinx.js +1 -5
- package/_esm/chains/definitions/shardeumSphinx.js.map +1 -1
- package/_esm/chains/definitions/skale/brawl.js +1 -10
- package/_esm/chains/definitions/skale/brawl.js.map +1 -1
- package/_esm/chains/definitions/skale/calypso.js +1 -12
- package/_esm/chains/definitions/skale/calypso.js.map +1 -1
- package/_esm/chains/definitions/skale/calypsoTestnet.js +1 -14
- package/_esm/chains/definitions/skale/calypsoTestnet.js.map +1 -1
- package/_esm/chains/definitions/skale/chaosTestnet.js +1 -14
- package/_esm/chains/definitions/skale/chaosTestnet.js.map +1 -1
- package/_esm/chains/definitions/skale/cryptoBlades.js +1 -12
- package/_esm/chains/definitions/skale/cryptoBlades.js.map +1 -1
- package/_esm/chains/definitions/skale/cryptoColosseum.js +1 -10
- package/_esm/chains/definitions/skale/cryptoColosseum.js.map +1 -1
- package/_esm/chains/definitions/skale/europa.js +1 -10
- package/_esm/chains/definitions/skale/europa.js.map +1 -1
- package/_esm/chains/definitions/skale/europaTestnet.js +1 -12
- package/_esm/chains/definitions/skale/europaTestnet.js.map +1 -1
- package/_esm/chains/definitions/skale/exorde.js +1 -10
- package/_esm/chains/definitions/skale/exorde.js.map +1 -1
- package/_esm/chains/definitions/skale/humanProtocol.js +1 -10
- package/_esm/chains/definitions/skale/humanProtocol.js.map +1 -1
- package/_esm/chains/definitions/skale/nebula.js +1 -10
- package/_esm/chains/definitions/skale/nebula.js.map +1 -1
- package/_esm/chains/definitions/skale/nebulaTestnet.js +1 -12
- package/_esm/chains/definitions/skale/nebulaTestnet.js.map +1 -1
- package/_esm/chains/definitions/skale/razor.js +1 -10
- package/_esm/chains/definitions/skale/razor.js.map +1 -1
- package/_esm/chains/definitions/skale/titan.js +1 -10
- package/_esm/chains/definitions/skale/titan.js.map +1 -1
- package/_esm/chains/definitions/skale/titanTestnet.js +1 -14
- package/_esm/chains/definitions/skale/titanTestnet.js.map +1 -1
- package/_esm/chains/definitions/songbird.js +1 -3
- package/_esm/chains/definitions/songbird.js.map +1 -1
- package/_esm/chains/definitions/songbirdTestnet.js +1 -3
- package/_esm/chains/definitions/songbirdTestnet.js.map +1 -1
- package/_esm/chains/definitions/syscoin.js +1 -6
- package/_esm/chains/definitions/syscoin.js.map +1 -1
- package/_esm/chains/definitions/syscoinTestnet.js +1 -6
- package/_esm/chains/definitions/syscoinTestnet.js.map +1 -1
- package/_esm/chains/definitions/taikoJolnir.js +1 -5
- package/_esm/chains/definitions/taikoJolnir.js.map +1 -1
- package/_esm/chains/definitions/taikoTestnetSepolia.js +1 -5
- package/_esm/chains/definitions/taikoTestnetSepolia.js.map +1 -1
- package/_esm/chains/definitions/taraxa.js +1 -5
- package/_esm/chains/definitions/taraxa.js.map +1 -1
- package/_esm/chains/definitions/taraxaTestnet.js +1 -5
- package/_esm/chains/definitions/taraxaTestnet.js.map +1 -1
- package/_esm/chains/definitions/telos.js +1 -3
- package/_esm/chains/definitions/telos.js.map +1 -1
- package/_esm/chains/definitions/telosTestnet.js +1 -3
- package/_esm/chains/definitions/telosTestnet.js.map +1 -1
- package/_esm/chains/definitions/thunderTestnet.js +1 -5
- package/_esm/chains/definitions/thunderTestnet.js.map +1 -1
- package/_esm/chains/definitions/vechain.js +1 -5
- package/_esm/chains/definitions/vechain.js.map +1 -1
- package/_esm/chains/definitions/wanchain.js +1 -12
- package/_esm/chains/definitions/wanchain.js.map +1 -1
- package/_esm/chains/definitions/wanchainTestnet.js +1 -9
- package/_esm/chains/definitions/wanchainTestnet.js.map +1 -1
- package/_esm/chains/definitions/xdc.js +1 -3
- package/_esm/chains/definitions/xdc.js.map +1 -1
- package/_esm/chains/definitions/xdcTestnet.js +1 -3
- package/_esm/chains/definitions/xdcTestnet.js.map +1 -1
- package/_esm/chains/definitions/zetachainAthensTestnet.js +1 -5
- package/_esm/chains/definitions/zetachainAthensTestnet.js.map +1 -1
- package/_esm/chains/definitions/zhejiang.js +1 -13
- package/_esm/chains/definitions/zhejiang.js.map +1 -1
- package/_esm/chains/definitions/zkSync.js +5 -5
- package/_esm/chains/definitions/zkSync.js.map +1 -1
- package/_esm/chains/definitions/zkSyncTestnet.js +5 -5
- package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_esm/chains/definitions/zora.js +1 -7
- package/_esm/chains/definitions/zora.js.map +1 -1
- package/_esm/chains/definitions/zoraSepolia.js +37 -0
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -0
- package/_esm/chains/definitions/zoraTestnet.js +1 -7
- package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
- package/_esm/chains/index.js +10 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/utils.js +5 -0
- package/_esm/chains/utils.js.map +1 -1
- package/_esm/chains/zksync/formatters.js +122 -0
- package/_esm/chains/zksync/formatters.js.map +1 -0
- package/_esm/chains/zksync/serializers.js +71 -0
- package/_esm/chains/zksync/serializers.js.map +1 -0
- package/_esm/chains/zksync/types.js +2 -0
- package/_esm/chains/zksync/types.js.map +1 -0
- package/_esm/clients/createClient.js.map +1 -1
- package/_esm/clients/createPublicClient.js +1 -1
- package/_esm/clients/createPublicClient.js.map +1 -1
- package/_esm/clients/createTestClient.js +1 -1
- package/_esm/clients/createTestClient.js.map +1 -1
- package/_esm/clients/createWalletClient.js +1 -1
- package/_esm/clients/createWalletClient.js.map +1 -1
- package/_esm/clients/decorators/public.js +4 -0
- package/_esm/clients/decorators/public.js.map +1 -1
- package/_esm/clients/transports/createTransport.js.map +1 -1
- package/_esm/clients/transports/custom.js.map +1 -1
- package/_esm/clients/transports/fallback.js.map +1 -1
- package/_esm/clients/transports/http.js +3 -1
- package/_esm/clients/transports/http.js.map +1 -1
- package/_esm/clients/transports/webSocket.js +1 -1
- package/_esm/clients/transports/webSocket.js.map +1 -1
- package/_esm/ens/index.js.map +1 -1
- package/_esm/errors/abi.js.map +1 -1
- package/_esm/errors/account.js.map +1 -1
- package/_esm/errors/address.js.map +1 -1
- package/_esm/errors/base.js.map +1 -1
- package/_esm/errors/block.js.map +1 -1
- package/_esm/errors/ccip.js.map +1 -1
- package/_esm/errors/chain.js.map +1 -1
- package/_esm/errors/contract.js.map +1 -1
- package/_esm/errors/cursor.js +24 -0
- package/_esm/errors/cursor.js.map +1 -0
- package/_esm/errors/data.js.map +1 -1
- package/_esm/errors/encoding.js +4 -1
- package/_esm/errors/encoding.js.map +1 -1
- package/_esm/errors/ens.js.map +1 -1
- package/_esm/errors/estimateGas.js.map +1 -1
- package/_esm/errors/fee.js.map +1 -1
- package/_esm/errors/log.js.map +1 -1
- package/_esm/errors/node.js +0 -9
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/request.js.map +1 -1
- package/_esm/errors/rpc.js +0 -103
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/errors/transaction.js.map +1 -1
- package/_esm/errors/transport.js.map +1 -1
- package/_esm/errors/utils.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_esm/index.js +52 -41
- package/_esm/index.js.map +1 -1
- package/_esm/types/eip1193.js +0 -2
- package/_esm/types/eip1193.js.map +1 -1
- package/_esm/types/proof.js +2 -0
- package/_esm/types/proof.js.map +1 -0
- package/_esm/types/withdrawal.js +2 -0
- package/_esm/types/withdrawal.js.map +1 -0
- package/_esm/utils/abi/decodeAbiParameters.js +2 -3
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/decodeDeployData.js +1 -1
- package/_esm/utils/abi/decodeDeployData.js.map +1 -1
- package/_esm/utils/abi/decodeErrorResult.js +2 -2
- package/_esm/utils/abi/decodeErrorResult.js.map +1 -1
- package/_esm/utils/abi/decodeEventLog.js +11 -13
- package/_esm/utils/abi/decodeEventLog.js.map +1 -1
- package/_esm/utils/abi/decodeFunctionData.js +2 -2
- package/_esm/utils/abi/decodeFunctionData.js.map +1 -1
- package/_esm/utils/abi/decodeFunctionResult.js +1 -1
- package/_esm/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_esm/utils/abi/encodeAbiParameters.js +2 -4
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/encodeDeployData.js +1 -1
- package/_esm/utils/abi/encodeDeployData.js.map +1 -1
- package/_esm/utils/abi/encodeErrorResult.js +2 -2
- package/_esm/utils/abi/encodeErrorResult.js.map +1 -1
- package/_esm/utils/abi/encodeEventTopics.js +4 -4
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/abi/encodeFunctionData.js +3 -3
- package/_esm/utils/abi/encodeFunctionData.js.map +1 -1
- package/_esm/utils/abi/encodeFunctionResult.js +1 -1
- package/_esm/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_esm/utils/abi/encodePacked.js +2 -2
- package/_esm/utils/abi/encodePacked.js.map +1 -1
- package/_esm/utils/abi/formatAbiItem.js +1 -1
- package/_esm/utils/abi/formatAbiItem.js.map +1 -1
- package/_esm/utils/abi/formatAbiItemWithArgs.js.map +1 -1
- package/_esm/utils/abi/getAbiItem.js +3 -3
- package/_esm/utils/abi/getAbiItem.js.map +1 -1
- package/_esm/utils/address/getAddress.js +1 -1
- package/_esm/utils/address/getAddress.js.map +1 -1
- package/_esm/utils/address/getContractAddress.js +8 -3
- package/_esm/utils/address/getContractAddress.js.map +1 -1
- package/_esm/utils/address/isAddress.js.map +1 -1
- package/_esm/utils/address/isAddressEqual.js +1 -1
- package/_esm/utils/address/isAddressEqual.js.map +1 -1
- package/_esm/utils/buildRequest.js +1 -1
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_esm/utils/ccip.js.map +1 -1
- package/_esm/utils/chain/assertCurrentChain.js +8 -0
- package/_esm/utils/chain/assertCurrentChain.js.map +1 -0
- package/_esm/utils/chain/defineChain.js +9 -0
- package/_esm/utils/chain/defineChain.js.map +1 -0
- package/_esm/utils/chain/extractChain.js +4 -0
- package/_esm/utils/chain/extractChain.js.map +1 -0
- package/_esm/utils/chain/getChainContractAddress.js +22 -0
- package/_esm/utils/chain/getChainContractAddress.js.map +1 -0
- package/_esm/utils/contract/extractFunctionParts.js.map +1 -1
- package/_esm/utils/cursor.js +130 -0
- package/_esm/utils/cursor.js.map +1 -0
- package/_esm/utils/data/concat.js.map +1 -1
- package/_esm/utils/data/isBytes.js.map +1 -1
- package/_esm/utils/data/isBytesEqual.js.map +1 -1
- package/_esm/utils/data/isHex.js.map +1 -1
- package/_esm/utils/data/pad.js +1 -1
- package/_esm/utils/data/pad.js.map +1 -1
- package/_esm/utils/data/size.js.map +1 -1
- package/_esm/utils/data/slice.js +1 -1
- package/_esm/utils/data/slice.js.map +1 -1
- package/_esm/utils/data/trim.js.map +1 -1
- package/_esm/utils/encoding/fromBytes.js +5 -5
- package/_esm/utils/encoding/fromBytes.js.map +1 -1
- package/_esm/utils/encoding/fromHex.js.map +1 -1
- package/_esm/utils/encoding/fromRlp.js +55 -76
- package/_esm/utils/encoding/fromRlp.js.map +1 -1
- package/_esm/utils/encoding/toBytes.js +28 -9
- package/_esm/utils/encoding/toBytes.js.map +1 -1
- package/_esm/utils/encoding/toHex.js +4 -4
- package/_esm/utils/encoding/toHex.js.map +1 -1
- package/_esm/utils/encoding/toRlp.js +92 -23
- package/_esm/utils/encoding/toRlp.js.map +1 -1
- package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_esm/utils/ens/avatar/utils.js +1 -1
- package/_esm/utils/ens/avatar/utils.js.map +1 -1
- package/_esm/utils/ens/encodeLabelhash.js.map +1 -1
- package/_esm/utils/ens/encodedLabelToLabelhash.js.map +1 -1
- package/_esm/utils/ens/errors.js.map +1 -1
- package/_esm/utils/ens/labelhash.js +2 -2
- package/_esm/utils/ens/labelhash.js.map +1 -1
- package/_esm/utils/ens/namehash.js +2 -2
- package/_esm/utils/ens/namehash.js.map +1 -1
- package/_esm/utils/ens/normalize.js.map +1 -1
- package/_esm/utils/ens/packetToBytes.js +2 -2
- package/_esm/utils/ens/packetToBytes.js.map +1 -1
- package/_esm/utils/errors/getCallError.js +8 -5
- package/_esm/utils/errors/getCallError.js.map +1 -1
- package/_esm/utils/errors/getContractError.js +14 -13
- package/_esm/utils/errors/getContractError.js.map +1 -1
- package/_esm/utils/errors/getEstimateGasError.js +8 -5
- package/_esm/utils/errors/getEstimateGasError.js.map +1 -1
- package/_esm/utils/errors/getNodeError.js +3 -1
- package/_esm/utils/errors/getNodeError.js.map +1 -1
- package/_esm/utils/errors/getTransactionError.js +8 -5
- package/_esm/utils/errors/getTransactionError.js.map +1 -1
- package/_esm/utils/formatters/block.js.map +1 -1
- package/_esm/utils/formatters/extract.js +16 -9
- package/_esm/utils/formatters/extract.js.map +1 -1
- package/_esm/utils/formatters/feeHistory.js.map +1 -1
- package/_esm/utils/formatters/formatter.js.map +1 -1
- package/_esm/utils/formatters/log.js.map +1 -1
- package/_esm/utils/formatters/proof.js +18 -0
- package/_esm/utils/formatters/proof.js.map +1 -0
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_esm/utils/formatters/transactionReceipt.js.map +1 -1
- package/_esm/utils/formatters/transactionRequest.js.map +1 -1
- package/_esm/utils/getAction.js +4 -0
- package/_esm/utils/getAction.js.map +1 -0
- package/_esm/utils/hash/getEventSelector.js +5 -6
- package/_esm/utils/hash/getEventSelector.js.map +1 -1
- package/_esm/utils/hash/getEventSignature.js +5 -0
- package/_esm/utils/hash/getEventSignature.js.map +1 -0
- package/_esm/utils/hash/getFunctionSelector.js +5 -6
- package/_esm/utils/hash/getFunctionSelector.js.map +1 -1
- package/_esm/utils/hash/getFunctionSignature.js +11 -0
- package/_esm/utils/hash/getFunctionSignature.js.map +1 -0
- package/_esm/utils/hash/hashFunction.js +3 -5
- package/_esm/utils/hash/hashFunction.js.map +1 -1
- package/_esm/utils/hash/isHash.js.map +1 -1
- package/_esm/utils/hash/keccak256.js.map +1 -1
- package/_esm/utils/index.js +33 -28
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/observe.js.map +1 -1
- package/_esm/utils/poll.js.map +1 -1
- package/_esm/utils/promise/createBatchScheduler.js +3 -1
- package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
- package/_esm/utils/promise/withCache.js.map +1 -1
- package/_esm/utils/promise/withRetry.js.map +1 -1
- package/_esm/utils/promise/withTimeout.js +1 -1
- package/_esm/utils/promise/withTimeout.js.map +1 -1
- package/_esm/utils/rpc.js +4 -8
- package/_esm/utils/rpc.js.map +1 -1
- package/_esm/utils/signature/compactSignatureToHex.js +19 -0
- package/_esm/utils/signature/compactSignatureToHex.js.map +1 -0
- package/_esm/utils/signature/compactSignatureToSignature.js +28 -0
- package/_esm/utils/signature/compactSignatureToSignature.js.map +1 -0
- package/_esm/utils/signature/hashMessage.js +1 -1
- package/_esm/utils/signature/hashMessage.js.map +1 -1
- package/_esm/utils/signature/hashTypedData.js +2 -2
- package/_esm/utils/signature/hashTypedData.js.map +1 -1
- package/_esm/utils/signature/hexToCompactSignature.js +20 -0
- package/_esm/utils/signature/hexToCompactSignature.js.map +1 -0
- package/_esm/utils/signature/hexToSignature.js +1 -1
- package/_esm/utils/signature/hexToSignature.js.map +1 -1
- package/_esm/utils/signature/recoverAddress.js.map +1 -1
- package/_esm/utils/signature/recoverMessageAddress.js +1 -1
- package/_esm/utils/signature/recoverMessageAddress.js.map +1 -1
- package/_esm/utils/signature/recoverPublicKey.js.map +1 -1
- package/_esm/utils/signature/recoverTypedDataAddress.js +1 -1
- package/_esm/utils/signature/recoverTypedDataAddress.js.map +1 -1
- package/_esm/utils/signature/signatureToCompactSignature.js +30 -0
- package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -0
- package/_esm/utils/signature/signatureToHex.js +1 -1
- package/_esm/utils/signature/signatureToHex.js.map +1 -1
- package/_esm/utils/signature/verifyMessage.js +2 -2
- package/_esm/utils/signature/verifyMessage.js.map +1 -1
- package/_esm/utils/signature/verifyTypedData.js +1 -1
- package/_esm/utils/signature/verifyTypedData.js.map +1 -1
- package/_esm/utils/stringify.js.map +1 -1
- package/_esm/utils/transaction/assertRequest.js +4 -4
- package/_esm/utils/transaction/assertRequest.js.map +1 -1
- package/_esm/utils/transaction/assertTransaction.js +3 -3
- package/_esm/utils/transaction/assertTransaction.js.map +1 -1
- package/_esm/utils/transaction/getSerializedTransactionType.js +1 -1
- package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -1
- package/_esm/utils/transaction/getTransactionType.js +1 -1
- package/_esm/utils/transaction/getTransactionType.js.map +1 -1
- package/_esm/utils/transaction/parseTransaction.js +2 -2
- package/_esm/utils/transaction/parseTransaction.js.map +1 -1
- package/_esm/utils/transaction/serializeAccessList.js +2 -2
- package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js +2 -2
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/utils/typedData.js +1 -1
- package/_esm/utils/typedData.js.map +1 -1
- package/_esm/utils/unit/formatEther.js.map +1 -1
- package/_esm/utils/unit/formatGwei.js.map +1 -1
- package/_esm/utils/unit/formatUnits.js.map +1 -1
- package/_esm/utils/unit/parseEther.js.map +1 -1
- package/_esm/utils/unit/parseGwei.js.map +1 -1
- package/_esm/utils/unit/parseUnits.js.map +1 -1
- package/_types/accounts/generateMnemonic.d.ts +2 -0
- package/_types/accounts/generateMnemonic.d.ts.map +1 -1
- package/_types/accounts/generatePrivateKey.d.ts +3 -0
- package/_types/accounts/generatePrivateKey.d.ts.map +1 -1
- package/_types/accounts/hdKeyToAccount.d.ts +4 -0
- package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/index.d.ts +14 -14
- package/_types/accounts/index.d.ts.map +1 -1
- package/_types/accounts/mnemonicToAccount.d.ts +3 -0
- package/_types/accounts/mnemonicToAccount.d.ts.map +1 -1
- package/_types/accounts/privateKeyToAccount.d.ts +8 -0
- package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/toAccount.d.ts +4 -0
- package/_types/accounts/toAccount.d.ts.map +1 -1
- package/_types/accounts/utils/parseAccount.d.ts +2 -0
- package/_types/accounts/utils/parseAccount.d.ts.map +1 -1
- package/_types/accounts/utils/privateKeyToAddress.d.ts +4 -0
- package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -1
- package/_types/accounts/utils/publicKeyToAddress.d.ts +4 -0
- package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -1
- package/_types/accounts/utils/sign.d.ts +3 -0
- package/_types/accounts/utils/sign.d.ts.map +1 -1
- package/_types/accounts/utils/signMessage.d.ts +5 -0
- package/_types/accounts/utils/signMessage.d.ts.map +1 -1
- package/_types/accounts/utils/signTransaction.d.ts +4 -0
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
- package/_types/accounts/utils/signTypedData.d.ts +5 -0
- package/_types/accounts/utils/signTypedData.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAddress.d.ts +9 -0
- package/_types/actions/ens/getEnsAddress.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAvatar.d.ts +4 -1
- package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -1
- package/_types/actions/ens/getEnsName.d.ts +6 -1
- package/_types/actions/ens/getEnsName.d.ts.map +1 -1
- package/_types/actions/ens/getEnsResolver.d.ts +5 -0
- package/_types/actions/ens/getEnsResolver.d.ts.map +1 -1
- package/_types/actions/ens/getEnsText.d.ts +8 -1
- package/_types/actions/ens/getEnsText.d.ts.map +1 -1
- package/_types/actions/getContract.d.ts +69 -26
- package/_types/actions/getContract.d.ts.map +1 -1
- package/_types/actions/index.d.ts +79 -79
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/public/call.d.ts +15 -1
- package/_types/actions/public/call.d.ts.map +1 -1
- package/_types/actions/public/createBlockFilter.d.ts +3 -0
- package/_types/actions/public/createBlockFilter.d.ts.map +1 -1
- package/_types/actions/public/createContractEventFilter.d.ts +6 -1
- package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
- package/_types/actions/public/createEventFilter.d.ts +5 -0
- package/_types/actions/public/createEventFilter.d.ts.map +1 -1
- package/_types/actions/public/createPendingTransactionFilter.d.ts +3 -0
- package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -1
- package/_types/actions/public/estimateContractGas.d.ts +5 -1
- package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
- package/_types/actions/public/estimateFeesPerGas.d.ts +5 -0
- package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
- package/_types/actions/public/estimateGas.d.ts +6 -0
- package/_types/actions/public/estimateGas.d.ts.map +1 -1
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +7 -0
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
- package/_types/actions/public/getBalance.d.ts +4 -0
- package/_types/actions/public/getBalance.d.ts.map +1 -1
- package/_types/actions/public/getBlock.d.ts +5 -0
- package/_types/actions/public/getBlock.d.ts.map +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +3 -0
- package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
- package/_types/actions/public/getBlockTransactionCount.d.ts +5 -0
- package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -1
- package/_types/actions/public/getBytecode.d.ts +4 -0
- package/_types/actions/public/getBytecode.d.ts.map +1 -1
- package/_types/actions/public/getChainId.d.ts +4 -0
- package/_types/actions/public/getChainId.d.ts.map +1 -1
- package/_types/actions/public/getContractEvents.d.ts +66 -0
- package/_types/actions/public/getContractEvents.d.ts.map +1 -0
- package/_types/actions/public/getFeeHistory.d.ts +4 -0
- package/_types/actions/public/getFeeHistory.d.ts.map +1 -1
- package/_types/actions/public/getFilterChanges.d.ts +5 -0
- package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
- package/_types/actions/public/getFilterLogs.d.ts +5 -0
- package/_types/actions/public/getFilterLogs.d.ts.map +1 -1
- package/_types/actions/public/getGasPrice.d.ts +3 -0
- package/_types/actions/public/getGasPrice.d.ts.map +1 -1
- package/_types/actions/public/getLogs.d.ts +7 -0
- package/_types/actions/public/getLogs.d.ts.map +1 -1
- package/_types/actions/public/getProof.d.ts +57 -0
- package/_types/actions/public/getProof.d.ts.map +1 -0
- package/_types/actions/public/getStorageAt.d.ts +4 -0
- package/_types/actions/public/getStorageAt.d.ts.map +1 -1
- package/_types/actions/public/getTransaction.d.ts +4 -0
- package/_types/actions/public/getTransaction.d.ts.map +1 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts +4 -0
- package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -1
- package/_types/actions/public/getTransactionCount.d.ts +5 -0
- package/_types/actions/public/getTransactionCount.d.ts.map +1 -1
- package/_types/actions/public/getTransactionReceipt.d.ts +4 -0
- package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -1
- package/_types/actions/public/multicall.d.ts +7 -0
- package/_types/actions/public/multicall.d.ts.map +1 -1
- package/_types/actions/public/readContract.d.ts +5 -1
- package/_types/actions/public/readContract.d.ts.map +1 -1
- package/_types/actions/public/simulateContract.d.ts +21 -9
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/actions/public/uninstallFilter.d.ts +3 -0
- package/_types/actions/public/uninstallFilter.d.ts.map +1 -1
- package/_types/actions/public/verifyHash.d.ts +7 -1
- package/_types/actions/public/verifyHash.d.ts.map +1 -1
- package/_types/actions/public/verifyMessage.d.ts +4 -1
- package/_types/actions/public/verifyMessage.d.ts.map +1 -1
- package/_types/actions/public/verifyTypedData.d.ts +4 -1
- package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts +7 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
- package/_types/actions/public/watchBlockNumber.d.ts +3 -0
- package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
- package/_types/actions/public/watchBlocks.d.ts +4 -0
- package/_types/actions/public/watchBlocks.d.ts.map +1 -1
- package/_types/actions/public/watchContractEvent.d.ts +6 -2
- package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
- package/_types/actions/public/watchEvent.d.ts +4 -0
- package/_types/actions/public/watchEvent.d.ts.map +1 -1
- package/_types/actions/public/watchPendingTransactions.d.ts +4 -0
- package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -1
- package/_types/actions/test/dropTransaction.d.ts +3 -0
- package/_types/actions/test/dropTransaction.d.ts.map +1 -1
- package/_types/actions/test/getAutomine.d.ts +3 -0
- package/_types/actions/test/getAutomine.d.ts.map +1 -1
- package/_types/actions/test/getTxpoolContent.d.ts +3 -0
- package/_types/actions/test/getTxpoolContent.d.ts.map +1 -1
- package/_types/actions/test/getTxpoolStatus.d.ts +3 -0
- package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -1
- package/_types/actions/test/impersonateAccount.d.ts +3 -0
- package/_types/actions/test/impersonateAccount.d.ts.map +1 -1
- package/_types/actions/test/increaseTime.d.ts +3 -0
- package/_types/actions/test/increaseTime.d.ts.map +1 -1
- package/_types/actions/test/inspectTxpool.d.ts +3 -0
- package/_types/actions/test/inspectTxpool.d.ts.map +1 -1
- package/_types/actions/test/mine.d.ts +3 -0
- package/_types/actions/test/mine.d.ts.map +1 -1
- package/_types/actions/test/removeBlockTimestampInterval.d.ts +3 -0
- package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -1
- package/_types/actions/test/reset.d.ts +3 -0
- package/_types/actions/test/reset.d.ts.map +1 -1
- package/_types/actions/test/revert.d.ts +3 -0
- package/_types/actions/test/revert.d.ts.map +1 -1
- package/_types/actions/test/sendUnsignedTransaction.d.ts +3 -0
- package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -1
- package/_types/actions/test/setAutomine.d.ts +3 -0
- package/_types/actions/test/setAutomine.d.ts.map +1 -1
- package/_types/actions/test/setBalance.d.ts +3 -0
- package/_types/actions/test/setBalance.d.ts.map +1 -1
- package/_types/actions/test/setBlockGasLimit.d.ts +3 -0
- package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -1
- package/_types/actions/test/setBlockTimestampInterval.d.ts +3 -0
- package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -1
- package/_types/actions/test/setCode.d.ts +3 -0
- package/_types/actions/test/setCode.d.ts.map +1 -1
- package/_types/actions/test/setCoinbase.d.ts +3 -0
- package/_types/actions/test/setCoinbase.d.ts.map +1 -1
- package/_types/actions/test/setIntervalMining.d.ts +3 -0
- package/_types/actions/test/setIntervalMining.d.ts.map +1 -1
- package/_types/actions/test/setLoggingEnabled.d.ts +3 -0
- package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -1
- package/_types/actions/test/setMinGasPrice.d.ts +3 -0
- package/_types/actions/test/setMinGasPrice.d.ts.map +1 -1
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +3 -0
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -1
- package/_types/actions/test/setNextBlockTimestamp.d.ts +3 -0
- package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -1
- package/_types/actions/test/setNonce.d.ts +3 -0
- package/_types/actions/test/setNonce.d.ts.map +1 -1
- package/_types/actions/test/setRpcUrl.d.ts +3 -0
- package/_types/actions/test/setRpcUrl.d.ts.map +1 -1
- package/_types/actions/test/setStorageAt.d.ts +3 -0
- package/_types/actions/test/setStorageAt.d.ts.map +1 -1
- package/_types/actions/test/snapshot.d.ts +3 -0
- package/_types/actions/test/snapshot.d.ts.map +1 -1
- package/_types/actions/test/stopImpersonatingAccount.d.ts +3 -0
- package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -1
- package/_types/actions/wallet/addChain.d.ts +4 -0
- package/_types/actions/wallet/addChain.d.ts.map +1 -1
- package/_types/actions/wallet/deployContract.d.ts +3 -1
- package/_types/actions/wallet/deployContract.d.ts.map +1 -1
- package/_types/actions/wallet/getAddresses.d.ts +4 -0
- package/_types/actions/wallet/getAddresses.d.ts.map +1 -1
- package/_types/actions/wallet/getPermissions.d.ts +3 -0
- package/_types/actions/wallet/getPermissions.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +9 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/requestAddresses.d.ts +3 -0
- package/_types/actions/wallet/requestAddresses.d.ts.map +1 -1
- package/_types/actions/wallet/requestPermissions.d.ts +3 -0
- package/_types/actions/wallet/requestPermissions.d.ts.map +1 -1
- package/_types/actions/wallet/sendRawTransaction.d.ts +3 -0
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts +12 -1
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signMessage.d.ts +6 -0
- package/_types/actions/wallet/signMessage.d.ts.map +1 -1
- package/_types/actions/wallet/signTransaction.d.ts +10 -1
- package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signTypedData.d.ts +9 -0
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
- package/_types/actions/wallet/switchChain.d.ts +4 -0
- package/_types/actions/wallet/switchChain.d.ts.map +1 -1
- package/_types/actions/wallet/watchAsset.d.ts +3 -0
- package/_types/actions/wallet/watchAsset.d.ts.map +1 -1
- package/_types/actions/wallet/writeContract.d.ts +5 -2
- package/_types/actions/wallet/writeContract.d.ts.map +1 -1
- package/_types/chains/celo/formatters.d.ts +218 -30
- package/_types/chains/celo/formatters.d.ts.map +1 -1
- package/_types/chains/celo/parsers.d.ts.map +1 -1
- package/_types/chains/celo/serializers.d.ts +3 -1
- package/_types/chains/celo/serializers.d.ts.map +1 -1
- package/_types/chains/celo/types.d.ts +39 -7
- package/_types/chains/celo/types.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrum.d.ts +19 -33
- package/_types/chains/definitions/arbitrum.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumGoerli.d.ts +21 -32
- package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumNova.d.ts +19 -33
- package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumSepolia.d.ts +32 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/astarZkatana.d.ts +40 -0
- package/_types/chains/definitions/astarZkatana.d.ts.map +1 -0
- package/_types/chains/definitions/aurora.d.ts +23 -24
- package/_types/chains/definitions/aurora.d.ts.map +1 -1
- package/_types/chains/definitions/auroraTestnet.d.ts +23 -25
- package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/avalanche.d.ts +19 -25
- package/_types/chains/definitions/avalanche.d.ts.map +1 -1
- package/_types/chains/definitions/avalancheFuji.d.ts +19 -26
- package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +30 -1032
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +30 -1030
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +539 -0
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +23 -17
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +23 -18
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/boba.d.ts +19 -25
- package/_types/chains/definitions/boba.d.ts.map +1 -1
- package/_types/chains/definitions/bronos.d.ts +23 -17
- package/_types/chains/definitions/bronos.d.ts.map +1 -1
- package/_types/chains/definitions/bronosTestnet.d.ts +23 -18
- package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bsc.d.ts +19 -25
- package/_types/chains/definitions/bsc.d.ts.map +1 -1
- package/_types/chains/definitions/bscTestnet.d.ts +19 -26
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bxn.d.ts +23 -17
- package/_types/chains/definitions/bxn.d.ts.map +1 -1
- package/_types/chains/definitions/bxnTestnet.d.ts +23 -17
- package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/canto.d.ts +19 -21
- package/_types/chains/definitions/canto.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +232 -1430
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +232 -1430
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +232 -1423
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/classic.d.ts +23 -17
- package/_types/chains/definitions/classic.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpace.d.ts +19 -21
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
- package/_types/chains/definitions/coreDao.d.ts +32 -0
- package/_types/chains/definitions/coreDao.d.ts.map +1 -0
- package/_types/chains/definitions/cronos.d.ts +19 -21
- package/_types/chains/definitions/cronos.d.ts.map +1 -1
- package/_types/chains/definitions/cronosTestnet.d.ts +19 -22
- package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/crossbell.d.ts +19 -21
- package/_types/chains/definitions/crossbell.d.ts.map +1 -1
- package/_types/chains/definitions/dfk.d.ts +23 -21
- package/_types/chains/definitions/dfk.d.ts.map +1 -1
- package/_types/chains/definitions/dogechain.d.ts +23 -21
- package/_types/chains/definitions/dogechain.d.ts.map +1 -1
- package/_types/chains/definitions/edgeware.d.ts +19 -25
- package/_types/chains/definitions/edgeware.d.ts.map +1 -1
- package/_types/chains/definitions/edgewareTestnet.d.ts +23 -21
- package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ekta.d.ts +23 -17
- package/_types/chains/definitions/ekta.d.ts.map +1 -1
- package/_types/chains/definitions/ektaTestnet.d.ts +23 -18
- package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/eon.d.ts +16 -18
- package/_types/chains/definitions/eon.d.ts.map +1 -1
- package/_types/chains/definitions/eos.d.ts +19 -25
- package/_types/chains/definitions/eos.d.ts.map +1 -1
- package/_types/chains/definitions/eosTestnet.d.ts +19 -26
- package/_types/chains/definitions/eosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/evmos.d.ts +23 -17
- package/_types/chains/definitions/evmos.d.ts.map +1 -1
- package/_types/chains/definitions/evmosTestnet.d.ts +23 -17
- package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fantom.d.ts +19 -25
- package/_types/chains/definitions/fantom.d.ts.map +1 -1
- package/_types/chains/definitions/fantomTestnet.d.ts +19 -25
- package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fibo.d.ts +23 -17
- package/_types/chains/definitions/fibo.d.ts.map +1 -1
- package/_types/chains/definitions/filecoin.d.ts +23 -29
- package/_types/chains/definitions/filecoin.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinCalibration.d.ts +23 -17
- package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinHyperspace.d.ts +23 -21
- package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -1
- package/_types/chains/definitions/flare.d.ts +23 -17
- package/_types/chains/definitions/flare.d.ts.map +1 -1
- package/_types/chains/definitions/flareTestnet.d.ts +23 -18
- package/_types/chains/definitions/flareTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/foundry.d.ts +27 -12
- package/_types/chains/definitions/foundry.d.ts.map +1 -1
- package/_types/chains/definitions/fuse.d.ts +21 -17
- package/_types/chains/definitions/fuse.d.ts.map +1 -1
- package/_types/chains/definitions/fuseSparknet.d.ts +23 -17
- package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -1
- package/_types/chains/definitions/gnosis.d.ts +19 -25
- package/_types/chains/definitions/gnosis.d.ts.map +1 -1
- package/_types/chains/definitions/gnosisChiado.d.ts +23 -18
- package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
- package/_types/chains/definitions/gobi.d.ts +16 -19
- package/_types/chains/definitions/gobi.d.ts.map +1 -1
- package/_types/chains/definitions/goerli.d.ts +19 -34
- package/_types/chains/definitions/goerli.d.ts.map +1 -1
- package/_types/chains/definitions/haqqMainnet.d.ts +23 -17
- package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/haqqTestedge2.d.ts +23 -17
- package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -1
- package/_types/chains/definitions/hardhat.d.ts +27 -11
- package/_types/chains/definitions/hardhat.d.ts.map +1 -1
- package/_types/chains/definitions/harmonyOne.d.ts +19 -21
- package/_types/chains/definitions/harmonyOne.d.ts.map +1 -1
- package/_types/chains/definitions/holesky.d.ts +26 -14
- package/_types/chains/definitions/holesky.d.ts.map +1 -1
- package/_types/chains/definitions/iotex.d.ts +23 -18
- package/_types/chains/definitions/iotex.d.ts.map +1 -1
- package/_types/chains/definitions/iotexTestnet.d.ts +23 -18
- package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/klaytn.d.ts +23 -21
- package/_types/chains/definitions/klaytn.d.ts.map +1 -1
- package/_types/chains/definitions/kroma.d.ts +23 -18
- package/_types/chains/definitions/kroma.d.ts.map +1 -1
- package/_types/chains/definitions/kromaSepolia.d.ts +23 -18
- package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/linea.d.ts +20 -36
- package/_types/chains/definitions/linea.d.ts.map +1 -1
- package/_types/chains/definitions/lineaTestnet.d.ts +20 -36
- package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/localhost.d.ts +27 -11
- package/_types/chains/definitions/localhost.d.ts.map +1 -1
- package/_types/chains/definitions/mainnet.d.ts +19 -33
- package/_types/chains/definitions/mainnet.d.ts.map +1 -1
- package/_types/chains/definitions/manta.d.ts +40 -0
- package/_types/chains/definitions/manta.d.ts.map +1 -0
- package/_types/chains/definitions/mantaTestnet.d.ts +40 -0
- package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/mantle.d.ts +19 -25
- package/_types/chains/definitions/mantle.d.ts.map +1 -1
- package/_types/chains/definitions/mantleTestnet.d.ts +23 -22
- package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/meter.d.ts +23 -17
- package/_types/chains/definitions/meter.d.ts.map +1 -1
- package/_types/chains/definitions/meterTestnet.d.ts +23 -17
- package/_types/chains/definitions/meterTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/metis.d.ts +19 -21
- package/_types/chains/definitions/metis.d.ts.map +1 -1
- package/_types/chains/definitions/metisGoerli.d.ts +19 -21
- package/_types/chains/definitions/metisGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/mev.d.ts +19 -21
- package/_types/chains/definitions/mev.d.ts.map +1 -1
- package/_types/chains/definitions/mevTestnet.d.ts +19 -22
- package/_types/chains/definitions/mevTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/modeTestnet.d.ts +21 -18
- package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/moonbaseAlpha.d.ts +20 -28
- package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeam.d.ts +20 -28
- package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeamDev.d.ts +39 -0
- package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -0
- package/_types/chains/definitions/moonriver.d.ts +20 -28
- package/_types/chains/definitions/moonriver.d.ts.map +1 -1
- package/_types/chains/definitions/neonDevnet.d.ts +19 -22
- package/_types/chains/definitions/neonDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/nexi.d.ts +19 -25
- package/_types/chains/definitions/nexi.d.ts.map +1 -1
- package/_types/chains/definitions/nexilix.d.ts +19 -25
- package/_types/chains/definitions/nexilix.d.ts.map +1 -1
- package/_types/chains/definitions/oasys.d.ts +23 -17
- package/_types/chains/definitions/oasys.d.ts.map +1 -1
- package/_types/chains/definitions/okc.d.ts +19 -21
- package/_types/chains/definitions/okc.d.ts.map +1 -1
- package/_types/chains/definitions/opBNB.d.ts +19 -21
- package/_types/chains/definitions/opBNB.d.ts.map +1 -1
- package/_types/chains/definitions/opBNBTestnet.d.ts +19 -22
- package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +30 -1032
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +30 -1033
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +529 -0
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/plinga.d.ts +19 -21
- package/_types/chains/definitions/plinga.d.ts.map +1 -1
- package/_types/chains/definitions/polygon.d.ts +19 -33
- package/_types/chains/definitions/polygon.d.ts.map +1 -1
- package/_types/chains/definitions/polygonMumbai.d.ts +19 -34
- package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvm.d.ts +19 -21
- package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +19 -26
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/pulsechain.d.ts +20 -24
- package/_types/chains/definitions/pulsechain.d.ts.map +1 -1
- package/_types/chains/definitions/pulsechainV4.d.ts +20 -24
- package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -1
- package/_types/chains/definitions/qMainnet.d.ts +23 -17
- package/_types/chains/definitions/qMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/qTestnet.d.ts +23 -18
- package/_types/chains/definitions/qTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/rollux.d.ts +20 -22
- package/_types/chains/definitions/rollux.d.ts.map +1 -1
- package/_types/chains/definitions/rolluxTestnet.d.ts +20 -22
- package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ronin.d.ts +19 -21
- package/_types/chains/definitions/ronin.d.ts.map +1 -1
- package/_types/chains/definitions/saigon.d.ts +19 -22
- package/_types/chains/definitions/saigon.d.ts.map +1 -1
- package/_types/chains/definitions/scroll.d.ts +33 -0
- package/_types/chains/definitions/scroll.d.ts.map +1 -0
- package/_types/chains/definitions/scrollSepolia.d.ts +20 -24
- package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/scrollTestnet.d.ts +23 -19
- package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/sepolia.d.ts +20 -35
- package/_types/chains/definitions/sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/shardeumSphinx.d.ts +23 -18
- package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -1
- package/_types/chains/definitions/skale/brawl.d.ts +16 -23
- package/_types/chains/definitions/skale/brawl.d.ts.map +1 -1
- package/_types/chains/definitions/skale/calypso.d.ts +20 -27
- package/_types/chains/definitions/skale/calypso.d.ts.map +1 -1
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +20 -28
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/chaosTestnet.d.ts +20 -28
- package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +16 -23
- package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -1
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +16 -23
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -1
- package/_types/chains/definitions/skale/europa.d.ts +20 -27
- package/_types/chains/definitions/skale/europa.d.ts.map +1 -1
- package/_types/chains/definitions/skale/europaTestnet.d.ts +20 -28
- package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/exorde.d.ts +16 -23
- package/_types/chains/definitions/skale/exorde.d.ts.map +1 -1
- package/_types/chains/definitions/skale/humanProtocol.d.ts +16 -23
- package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -1
- package/_types/chains/definitions/skale/nebula.d.ts +20 -27
- package/_types/chains/definitions/skale/nebula.d.ts.map +1 -1
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +20 -28
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/razor.d.ts +16 -23
- package/_types/chains/definitions/skale/razor.d.ts.map +1 -1
- package/_types/chains/definitions/skale/titan.d.ts +20 -27
- package/_types/chains/definitions/skale/titan.d.ts.map +1 -1
- package/_types/chains/definitions/skale/titanTestnet.d.ts +20 -28
- package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/songbird.d.ts +23 -17
- package/_types/chains/definitions/songbird.d.ts.map +1 -1
- package/_types/chains/definitions/songbirdTestnet.d.ts +23 -18
- package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/syscoin.d.ts +20 -23
- package/_types/chains/definitions/syscoin.d.ts.map +1 -1
- package/_types/chains/definitions/syscoinTestnet.d.ts +20 -23
- package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +23 -17
- package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -1
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +23 -17
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/taraxa.d.ts +23 -17
- package/_types/chains/definitions/taraxa.d.ts.map +1 -1
- package/_types/chains/definitions/taraxaTestnet.d.ts +23 -18
- package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/telos.d.ts +19 -21
- package/_types/chains/definitions/telos.d.ts.map +1 -1
- package/_types/chains/definitions/telosTestnet.d.ts +23 -18
- package/_types/chains/definitions/telosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/thunderTestnet.d.ts +23 -18
- package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/vechain.d.ts +26 -20
- package/_types/chains/definitions/vechain.d.ts.map +1 -1
- package/_types/chains/definitions/wanchain.d.ts +19 -25
- package/_types/chains/definitions/wanchain.d.ts.map +1 -1
- package/_types/chains/definitions/wanchainTestnet.d.ts +19 -26
- package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/xdc.d.ts +26 -20
- package/_types/chains/definitions/xdc.d.ts.map +1 -1
- package/_types/chains/definitions/xdcTestnet.d.ts +26 -20
- package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +23 -18
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zhejiang.d.ts +23 -26
- package/_types/chains/definitions/zhejiang.d.ts.map +1 -1
- package/_types/chains/definitions/zkSync.d.ts +503 -20
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +503 -21
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +31 -1022
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +535 -0
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/zoraTestnet.d.ts +31 -1023
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +11 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/optimism/formatters.d.ts +10 -8
- package/_types/chains/optimism/formatters.d.ts.map +1 -1
- package/_types/chains/utils.d.ts +7 -1
- package/_types/chains/utils.d.ts.map +1 -1
- package/_types/chains/zksync/formatters.d.ts +487 -0
- package/_types/chains/zksync/formatters.d.ts.map +1 -0
- package/_types/chains/zksync/serializers.d.ts +9 -0
- package/_types/chains/zksync/serializers.d.ts.map +1 -0
- package/_types/chains/zksync/types.d.ts +158 -0
- package/_types/chains/zksync/types.d.ts.map +1 -0
- package/_types/clients/createClient.d.ts +9 -2
- package/_types/clients/createClient.d.ts.map +1 -1
- package/_types/clients/createPublicClient.d.ts +3 -1
- package/_types/clients/createPublicClient.d.ts.map +1 -1
- package/_types/clients/createTestClient.d.ts +3 -1
- package/_types/clients/createTestClient.d.ts.map +1 -1
- package/_types/clients/createWalletClient.d.ts +3 -1
- package/_types/clients/createWalletClient.d.ts.map +1 -1
- package/_types/clients/decorators/public.d.ts +58 -5
- package/_types/clients/decorators/public.d.ts.map +1 -1
- package/_types/clients/transports/createTransport.d.ts +2 -0
- package/_types/clients/transports/createTransport.d.ts.map +1 -1
- package/_types/clients/transports/custom.d.ts +3 -1
- package/_types/clients/transports/custom.d.ts.map +1 -1
- package/_types/clients/transports/fallback.d.ts +3 -1
- package/_types/clients/transports/fallback.d.ts.map +1 -1
- package/_types/clients/transports/http.d.ts +5 -1
- package/_types/clients/transports/http.d.ts.map +1 -1
- package/_types/clients/transports/webSocket.d.ts +4 -3
- package/_types/clients/transports/webSocket.d.ts.map +1 -1
- package/_types/ens/index.d.ts +8 -8
- package/_types/ens/index.d.ts.map +1 -1
- package/_types/errors/abi.d.ts +75 -0
- package/_types/errors/abi.d.ts.map +1 -1
- package/_types/errors/account.d.ts +3 -0
- package/_types/errors/account.d.ts.map +1 -1
- package/_types/errors/address.d.ts +3 -0
- package/_types/errors/address.d.ts.map +1 -1
- package/_types/errors/base.d.ts +3 -0
- package/_types/errors/base.d.ts.map +1 -1
- package/_types/errors/block.d.ts +3 -0
- package/_types/errors/block.d.ts.map +1 -1
- package/_types/errors/ccip.d.ts +9 -0
- package/_types/errors/ccip.d.ts.map +1 -1
- package/_types/errors/chain.d.ts +15 -0
- package/_types/errors/chain.d.ts.map +1 -1
- package/_types/errors/contract.d.ts +15 -0
- package/_types/errors/contract.d.ts.map +1 -1
- package/_types/errors/cursor.d.ts +21 -0
- package/_types/errors/cursor.d.ts.map +1 -0
- package/_types/errors/data.d.ts +6 -0
- package/_types/errors/data.d.ts.map +1 -1
- package/_types/errors/encoding.d.ts +29 -2
- package/_types/errors/encoding.d.ts.map +1 -1
- package/_types/errors/ens.d.ts +12 -0
- package/_types/errors/ens.d.ts.map +1 -1
- package/_types/errors/estimateGas.d.ts +3 -0
- package/_types/errors/estimateGas.d.ts.map +1 -1
- package/_types/errors/fee.d.ts +9 -0
- package/_types/errors/fee.d.ts.map +1 -1
- package/_types/errors/log.d.ts +3 -0
- package/_types/errors/log.d.ts.map +1 -1
- package/_types/errors/node.d.ts +37 -0
- package/_types/errors/node.d.ts.map +1 -1
- package/_types/errors/request.d.ts +12 -0
- package/_types/errors/request.d.ts.map +1 -1
- package/_types/errors/rpc.d.ts +81 -0
- package/_types/errors/rpc.d.ts.map +1 -1
- package/_types/errors/transaction.d.ts +30 -0
- package/_types/errors/transaction.d.ts.map +1 -1
- package/_types/errors/transport.d.ts +3 -0
- package/_types/errors/transport.d.ts.map +1 -1
- package/_types/errors/utils.d.ts +3 -0
- package/_types/errors/utils.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 +188 -176
- package/_types/index.d.ts.map +1 -1
- package/_types/types/block.d.ts +5 -0
- package/_types/types/block.d.ts.map +1 -1
- package/_types/types/chain.d.ts +19 -25
- package/_types/types/chain.d.ts.map +1 -1
- package/_types/types/contract.d.ts +2 -2
- package/_types/types/contract.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +24 -1
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/types/misc.d.ts +4 -0
- package/_types/types/misc.d.ts.map +1 -1
- package/_types/types/proof.d.ts +18 -0
- package/_types/types/proof.d.ts.map +1 -0
- package/_types/types/rpc.d.ts +2 -0
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +2 -2
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/types/withdrawal.d.ts +8 -0
- package/_types/types/withdrawal.d.ts.map +1 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts +20 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/decodeDeployData.d.ts +4 -0
- package/_types/utils/abi/decodeDeployData.d.ts.map +1 -1
- package/_types/utils/abi/decodeErrorResult.d.ts +6 -0
- package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -1
- package/_types/utils/abi/decodeEventLog.d.ts +8 -2
- package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionData.d.ts +7 -0
- package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionResult.d.ts +5 -0
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeAbiParameters.d.ts +21 -0
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/encodeDeployData.d.ts +5 -0
- package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
- package/_types/utils/abi/encodeErrorResult.d.ts +7 -0
- package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts +11 -0
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionData.d.ts +8 -0
- package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionResult.d.ts +5 -0
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/encodePacked.d.ts +9 -0
- package/_types/utils/abi/encodePacked.d.ts.map +1 -1
- package/_types/utils/abi/formatAbiItem.d.ts +5 -0
- package/_types/utils/abi/formatAbiItem.d.ts.map +1 -1
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts +2 -0
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -1
- package/_types/utils/abi/getAbiItem.d.ts +6 -0
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
- package/_types/utils/address/getAddress.d.ts +6 -0
- package/_types/utils/address/getAddress.d.ts.map +1 -1
- package/_types/utils/address/getContractAddress.d.ts +15 -0
- package/_types/utils/address/getContractAddress.d.ts.map +1 -1
- package/_types/utils/address/isAddress.d.ts +2 -0
- package/_types/utils/address/isAddress.d.ts.map +1 -1
- package/_types/utils/address/isAddressEqual.d.ts +4 -0
- package/_types/utils/address/isAddressEqual.d.ts.map +1 -1
- package/_types/utils/buildRequest.d.ts +8 -0
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/_types/utils/ccip.d.ts +3 -0
- package/_types/utils/ccip.d.ts.map +1 -1
- package/_types/utils/chain/assertCurrentChain.d.ts +10 -0
- package/_types/utils/chain/assertCurrentChain.d.ts.map +1 -0
- package/_types/utils/chain/defineChain.d.ts +4 -0
- package/_types/utils/chain/defineChain.d.ts.map +1 -0
- package/_types/utils/chain/extractChain.d.ts +10 -0
- package/_types/utils/chain/extractChain.d.ts.map +1 -0
- package/_types/utils/chain/getChainContractAddress.d.ts +9 -0
- package/_types/utils/chain/getChainContractAddress.d.ts.map +1 -0
- package/_types/utils/contract/extractFunctionParts.d.ts +5 -0
- package/_types/utils/contract/extractFunctionParts.d.ts.map +1 -1
- package/_types/utils/cursor.d.ts +37 -0
- package/_types/utils/cursor.d.ts.map +1 -0
- package/_types/utils/data/concat.d.ts +7 -3
- package/_types/utils/data/concat.d.ts.map +1 -1
- package/_types/utils/data/isBytes.d.ts +2 -0
- package/_types/utils/data/isBytes.d.ts.map +1 -1
- package/_types/utils/data/isBytesEqual.d.ts +4 -0
- package/_types/utils/data/isBytesEqual.d.ts.map +1 -1
- package/_types/utils/data/isHex.d.ts +2 -0
- package/_types/utils/data/isHex.d.ts.map +1 -1
- package/_types/utils/data/pad.d.ts +5 -0
- package/_types/utils/data/pad.d.ts.map +1 -1
- package/_types/utils/data/size.d.ts +3 -0
- package/_types/utils/data/size.d.ts.map +1 -1
- package/_types/utils/data/slice.d.ts +9 -0
- package/_types/utils/data/slice.d.ts.map +1 -1
- package/_types/utils/data/trim.d.ts +2 -0
- package/_types/utils/data/trim.d.ts.map +1 -1
- package/_types/utils/encoding/fromBytes.d.ts +13 -5
- package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
- package/_types/utils/encoding/fromHex.d.ts +11 -0
- package/_types/utils/encoding/fromHex.d.ts.map +1 -1
- package/_types/utils/encoding/fromRlp.d.ts +17 -2
- package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
- package/_types/utils/encoding/toBytes.d.ts +12 -3
- package/_types/utils/encoding/toBytes.d.ts.map +1 -1
- package/_types/utils/encoding/toHex.d.ts +9 -0
- package/_types/utils/encoding/toHex.d.ts.map +1 -1
- package/_types/utils/encoding/toRlp.d.ts +11 -3
- package/_types/utils/encoding/toRlp.d.ts.map +1 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +4 -0
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
- package/_types/utils/ens/avatar/utils.d.ts +11 -0
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
- package/_types/utils/ens/encodeLabelhash.d.ts +2 -0
- package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -1
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts +3 -0
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -1
- package/_types/utils/ens/errors.d.ts +2 -0
- package/_types/utils/ens/errors.d.ts.map +1 -1
- package/_types/utils/ens/labelhash.d.ts +6 -0
- package/_types/utils/ens/labelhash.d.ts.map +1 -1
- package/_types/utils/ens/namehash.d.ts +7 -0
- package/_types/utils/ens/namehash.d.ts.map +1 -1
- package/_types/utils/ens/normalize.d.ts +2 -0
- package/_types/utils/ens/normalize.d.ts.map +1 -1
- package/_types/utils/ens/packetToBytes.d.ts +5 -0
- package/_types/utils/ens/packetToBytes.d.ts.map +1 -1
- package/_types/utils/errors/getCallError.d.ts +8 -4
- package/_types/utils/errors/getCallError.d.ts.map +1 -1
- package/_types/utils/errors/getContractError.d.ts +7 -4
- package/_types/utils/errors/getContractError.d.ts.map +1 -1
- package/_types/utils/errors/getEstimateGasError.d.ts +8 -4
- package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -1
- package/_types/utils/errors/getNodeError.d.ts +3 -2
- package/_types/utils/errors/getNodeError.d.ts.map +1 -1
- package/_types/utils/errors/getTransactionError.d.ts +7 -3
- package/_types/utils/errors/getTransactionError.d.ts.map +1 -1
- package/_types/utils/formatters/block.d.ts +5 -1
- package/_types/utils/formatters/block.d.ts.map +1 -1
- package/_types/utils/formatters/extract.d.ts +4 -2
- package/_types/utils/formatters/extract.d.ts.map +1 -1
- package/_types/utils/formatters/feeHistory.d.ts +2 -0
- package/_types/utils/formatters/feeHistory.d.ts.map +1 -1
- package/_types/utils/formatters/formatter.d.ts +3 -1
- package/_types/utils/formatters/formatter.d.ts.map +1 -1
- package/_types/utils/formatters/log.d.ts +2 -0
- package/_types/utils/formatters/log.d.ts.map +1 -1
- package/_types/utils/formatters/proof.d.ts +6 -0
- package/_types/utils/formatters/proof.d.ts.map +1 -0
- package/_types/utils/formatters/transaction.d.ts +5 -1
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionReceipt.d.ts +5 -1
- package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +5 -1
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
- package/_types/utils/getAction.d.ts +3 -0
- package/_types/utils/getAction.d.ts.map +1 -0
- package/_types/utils/hash/getEventSelector.d.ts +5 -2
- package/_types/utils/hash/getEventSelector.d.ts.map +1 -1
- package/_types/utils/hash/getEventSignature.d.ts +6 -0
- package/_types/utils/hash/getEventSignature.d.ts.map +1 -0
- package/_types/utils/hash/getFunctionSelector.d.ts +6 -0
- package/_types/utils/hash/getFunctionSelector.d.ts.map +1 -1
- package/_types/utils/hash/getFunctionSignature.d.ts +7 -0
- package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -0
- package/_types/utils/hash/hashFunction.d.ts +7 -0
- package/_types/utils/hash/hashFunction.d.ts.map +1 -1
- package/_types/utils/hash/isHash.d.ts +4 -0
- package/_types/utils/hash/isHash.d.ts.map +1 -1
- package/_types/utils/hash/keccak256.d.ts +5 -0
- package/_types/utils/hash/keccak256.d.ts.map +1 -1
- package/_types/utils/index.d.ts +83 -78
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/observe.d.ts +2 -0
- package/_types/utils/observe.d.ts.map +1 -1
- package/_types/utils/poll.d.ts +2 -0
- package/_types/utils/poll.d.ts.map +1 -1
- package/_types/utils/promise/createBatchScheduler.d.ts +5 -1
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
- package/_types/utils/promise/withCache.d.ts +2 -0
- package/_types/utils/promise/withCache.d.ts.map +1 -1
- package/_types/utils/promise/withRetry.d.ts +2 -0
- package/_types/utils/promise/withRetry.d.ts.map +1 -1
- package/_types/utils/promise/withTimeout.d.ts +3 -1
- package/_types/utils/promise/withTimeout.d.ts.map +1 -1
- package/_types/utils/rpc.d.ts +10 -3
- package/_types/utils/rpc.d.ts.map +1 -1
- package/_types/utils/signature/compactSignatureToHex.d.ts +19 -0
- package/_types/utils/signature/compactSignatureToHex.d.ts.map +1 -0
- package/_types/utils/signature/compactSignatureToSignature.d.ts +24 -0
- package/_types/utils/signature/compactSignatureToSignature.d.ts.map +1 -0
- package/_types/utils/signature/hashMessage.d.ts +5 -0
- package/_types/utils/signature/hashMessage.d.ts.map +1 -1
- package/_types/utils/signature/hashTypedData.d.ts +13 -0
- package/_types/utils/signature/hashTypedData.d.ts.map +1 -1
- package/_types/utils/signature/hexToCompactSignature.d.ts +16 -0
- package/_types/utils/signature/hexToCompactSignature.d.ts.map +1 -0
- package/_types/utils/signature/hexToSignature.d.ts +3 -0
- package/_types/utils/signature/hexToSignature.d.ts.map +1 -1
- package/_types/utils/signature/recoverAddress.d.ts +2 -0
- package/_types/utils/signature/recoverAddress.d.ts.map +1 -1
- package/_types/utils/signature/recoverMessageAddress.d.ts +4 -0
- package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -1
- package/_types/utils/signature/recoverPublicKey.d.ts +4 -0
- package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -1
- package/_types/utils/signature/recoverTypedDataAddress.d.ts +4 -0
- package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -1
- package/_types/utils/signature/signatureToCompactSignature.d.ts +23 -0
- package/_types/utils/signature/signatureToCompactSignature.d.ts.map +1 -0
- package/_types/utils/signature/signatureToHex.d.ts +4 -0
- package/_types/utils/signature/signatureToHex.d.ts.map +1 -1
- package/_types/utils/signature/verifyMessage.d.ts +5 -0
- package/_types/utils/signature/verifyMessage.d.ts.map +1 -1
- package/_types/utils/signature/verifyTypedData.d.ts +5 -0
- package/_types/utils/signature/verifyTypedData.d.ts.map +1 -1
- package/_types/utils/stringify.d.ts +2 -0
- package/_types/utils/stringify.d.ts.map +1 -1
- package/_types/utils/transaction/assertRequest.d.ts +6 -0
- package/_types/utils/transaction/assertRequest.d.ts.map +1 -1
- package/_types/utils/transaction/assertTransaction.d.ts +9 -0
- package/_types/utils/transaction/assertTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts +5 -0
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/getTransactionType.d.ts +3 -0
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/parseTransaction.d.ts +19 -2
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
- package/_types/utils/transaction/serializeAccessList.d.ts +5 -0
- package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts +13 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/_types/utils/typedData.d.ts +8 -0
- package/_types/utils/typedData.d.ts.map +1 -1
- package/_types/utils/unit/formatEther.d.ts +2 -0
- package/_types/utils/unit/formatEther.d.ts.map +1 -1
- package/_types/utils/unit/formatGwei.d.ts +2 -0
- package/_types/utils/unit/formatGwei.d.ts.map +1 -1
- package/_types/utils/unit/formatUnits.d.ts +2 -0
- package/_types/utils/unit/formatUnits.d.ts.map +1 -1
- package/_types/utils/unit/parseEther.d.ts +3 -0
- package/_types/utils/unit/parseEther.d.ts.map +1 -1
- package/_types/utils/unit/parseGwei.d.ts +3 -0
- package/_types/utils/unit/parseGwei.d.ts.map +1 -1
- package/_types/utils/unit/parseUnits.d.ts +2 -0
- package/_types/utils/unit/parseUnits.d.ts.map +1 -1
- package/accounts/generateMnemonic.ts +3 -0
- package/accounts/generatePrivateKey.ts +4 -1
- package/accounts/hdKeyToAccount.ts +11 -2
- package/accounts/index.ts +46 -11
- package/accounts/mnemonicToAccount.ts +7 -1
- package/accounts/privateKeyToAccount.ts +25 -6
- package/accounts/toAccount.ts +14 -2
- package/accounts/utils/parseAccount.ts +3 -0
- package/accounts/utils/privateKeyToAddress.ts +14 -2
- package/accounts/utils/publicKeyToAddress.ts +14 -2
- package/accounts/utils/sign.ts +5 -1
- package/accounts/utils/signMessage.ts +17 -3
- package/accounts/utils/signTransaction.ts +12 -2
- package/accounts/utils/signTypedData.ts +16 -3
- package/actions/ens/getEnsAddress.ts +36 -9
- package/actions/ens/getEnsAvatar.ts +20 -3
- package/actions/ens/getEnsName.ts +23 -4
- package/actions/ens/getEnsResolver.ts +21 -4
- package/actions/ens/getEnsText.ts +33 -7
- package/actions/getContract.ts +258 -83
- package/actions/index.ts +111 -10
- package/actions/public/call.ts +65 -15
- package/actions/public/createBlockFilter.ts +4 -0
- package/actions/public/createContractEventFilter.ts +14 -2
- package/actions/public/createEventFilter.ts +13 -1
- package/actions/public/createPendingTransactionFilter.ts +6 -0
- package/actions/public/estimateContractGas.ts +36 -6
- package/actions/public/estimateFeesPerGas.ts +19 -4
- package/actions/public/estimateGas.ts +25 -7
- package/actions/public/estimateMaxPriorityFeePerGas.ts +27 -8
- package/actions/public/getBalance.ts +11 -1
- package/actions/public/getBlock.ts +16 -2
- package/actions/public/getBlockNumber.ts +4 -0
- package/actions/public/getBlockTransactionCount.ts +16 -2
- package/actions/public/getBytecode.ts +11 -1
- package/actions/public/getChainId.ts +11 -1
- package/actions/public/getContractEvents.ts +169 -0
- package/actions/public/getFeeHistory.ts +14 -2
- package/actions/public/getFilterChanges.ts +16 -2
- package/actions/public/getFilterLogs.ts +16 -2
- package/actions/public/getGasPrice.ts +4 -0
- package/actions/public/getLogs.ts +23 -3
- package/actions/public/getProof.ts +93 -0
- package/actions/public/getStorageAt.ts +11 -1
- package/actions/public/getTransaction.ts +11 -1
- package/actions/public/getTransactionConfirmations.ts +17 -4
- package/actions/public/getTransactionCount.ts +16 -2
- package/actions/public/getTransactionReceipt.ts +11 -1
- package/actions/public/multicall.ts +32 -6
- package/actions/public/readContract.ts +29 -6
- package/actions/public/simulateContract.ts +68 -15
- package/actions/public/uninstallFilter.ts +4 -0
- package/actions/public/verifyHash.ts +23 -4
- package/actions/public/verifyMessage.ts +13 -2
- package/actions/public/verifyTypedData.ts +16 -3
- package/actions/public/waitForTransactionReceipt.ts +36 -9
- package/actions/public/watchBlockNumber.ts +9 -2
- package/actions/public/watchBlocks.ts +18 -5
- package/actions/public/watchContractEvent.ts +33 -22
- package/actions/public/watchEvent.ts +20 -7
- package/actions/public/watchPendingTransactions.ts +15 -5
- package/actions/test/dropTransaction.ts +4 -0
- package/actions/test/getAutomine.ts +4 -0
- package/actions/test/getTxpoolContent.ts +4 -0
- package/actions/test/getTxpoolStatus.ts +4 -0
- package/actions/test/impersonateAccount.ts +4 -0
- package/actions/test/increaseTime.ts +4 -0
- package/actions/test/inspectTxpool.ts +4 -0
- package/actions/test/mine.ts +4 -0
- package/actions/test/removeBlockTimestampInterval.ts +4 -0
- package/actions/test/reset.ts +4 -0
- package/actions/test/revert.ts +4 -0
- package/actions/test/sendUnsignedTransaction.ts +8 -4
- package/actions/test/setAutomine.ts +4 -0
- package/actions/test/setBalance.ts +4 -0
- package/actions/test/setBlockGasLimit.ts +4 -0
- package/actions/test/setBlockTimestampInterval.ts +10 -1
- package/actions/test/setCode.ts +4 -0
- package/actions/test/setCoinbase.ts +4 -0
- package/actions/test/setIntervalMining.ts +10 -1
- package/actions/test/setLoggingEnabled.ts +4 -0
- package/actions/test/setMinGasPrice.ts +4 -0
- package/actions/test/setNextBlockBaseFeePerGas.ts +4 -0
- package/actions/test/setNextBlockTimestamp.ts +4 -0
- package/actions/test/setNonce.ts +4 -0
- package/actions/test/setRpcUrl.ts +4 -0
- package/actions/test/setStorageAt.ts +4 -0
- package/actions/test/snapshot.ts +4 -0
- package/actions/test/stopImpersonatingAccount.ts +4 -0
- package/actions/wallet/addChain.ts +11 -1
- package/actions/wallet/deployContract.ts +4 -0
- package/actions/wallet/getAddresses.ts +12 -1
- package/actions/wallet/getPermissions.ts +4 -0
- package/actions/wallet/prepareTransactionRequest.ts +45 -10
- package/actions/wallet/requestAddresses.ts +4 -0
- package/actions/wallet/requestPermissions.ts +4 -0
- package/actions/wallet/sendRawTransaction.ts +5 -1
- package/actions/wallet/sendTransaction.ts +54 -14
- package/actions/wallet/signMessage.ts +19 -2
- package/actions/wallet/signTransaction.ts +31 -7
- package/actions/wallet/signTypedData.ts +26 -4
- package/actions/wallet/switchChain.ts +11 -1
- package/actions/wallet/watchAsset.ts +3 -0
- package/actions/wallet/writeContract.ts +19 -13
- package/chains/celo/formatters.ts +39 -5
- package/chains/celo/parsers.ts +82 -1
- package/chains/celo/serializers.ts +121 -9
- package/chains/celo/types.ts +60 -2
- package/chains/definitions/arbitrum.ts +1 -14
- package/chains/definitions/arbitrumGoerli.ts +3 -15
- package/chains/definitions/arbitrumNova.ts +1 -14
- package/chains/definitions/arbitrumSepolia.ts +29 -0
- package/chains/definitions/astarZkatana.ts +39 -0
- package/chains/definitions/aurora.ts +1 -5
- package/chains/definitions/auroraTestnet.ts +1 -5
- package/chains/definitions/avalanche.ts +1 -4
- package/chains/definitions/avalancheFuji.ts +1 -4
- package/chains/definitions/base.ts +20 -40
- package/chains/definitions/baseGoerli.ts +21 -39
- package/chains/definitions/baseSepolia.ts +30 -0
- package/chains/definitions/bearNetworkChainMainnet.ts +1 -3
- package/chains/definitions/bearNetworkChainTestnet.ts +1 -3
- package/chains/definitions/boba.ts +1 -4
- package/chains/definitions/bronos.ts +1 -3
- package/chains/definitions/bronosTestnet.ts +1 -3
- package/chains/definitions/bsc.ts +1 -4
- package/chains/definitions/bscTestnet.ts +1 -4
- package/chains/definitions/bxn.ts +1 -5
- package/chains/definitions/bxnTestnet.ts +1 -5
- package/chains/definitions/canto.ts +1 -3
- package/chains/definitions/celo.ts +25 -37
- package/chains/definitions/celoAlfajores.ts +26 -38
- package/chains/definitions/celoCannoli.ts +26 -34
- package/chains/definitions/classic.ts +1 -3
- package/chains/definitions/confluxESpace.ts +1 -5
- package/chains/definitions/coreDao.ts +24 -0
- package/chains/definitions/cronos.ts +1 -3
- package/chains/definitions/cronosTestnet.ts +1 -3
- package/chains/definitions/crossbell.ts +1 -5
- package/chains/definitions/dfk.ts +1 -9
- package/chains/definitions/dogechain.ts +1 -7
- package/chains/definitions/edgeware.ts +1 -4
- package/chains/definitions/edgewareTestnet.ts +1 -7
- package/chains/definitions/ekta.ts +1 -3
- package/chains/definitions/ektaTestnet.ts +1 -3
- package/chains/definitions/eon.ts +1 -3
- package/chains/definitions/eos.ts +1 -7
- package/chains/definitions/eosTestnet.ts +1 -7
- package/chains/definitions/evmos.ts +1 -3
- package/chains/definitions/evmosTestnet.ts +1 -3
- package/chains/definitions/fantom.ts +1 -4
- package/chains/definitions/fantomTestnet.ts +1 -4
- package/chains/definitions/fibo.ts +1 -3
- package/chains/definitions/filecoin.ts +1 -6
- package/chains/definitions/filecoinCalibration.ts +1 -3
- package/chains/definitions/filecoinHyperspace.ts +1 -4
- package/chains/definitions/flare.ts +1 -3
- package/chains/definitions/flareTestnet.ts +1 -3
- package/chains/definitions/foundry.ts +1 -6
- package/chains/definitions/fuse.ts +7 -3
- package/chains/definitions/fuseSparknet.ts +1 -3
- package/chains/definitions/gnosis.ts +1 -7
- package/chains/definitions/gnosisChiado.ts +1 -3
- package/chains/definitions/gobi.ts +1 -3
- package/chains/definitions/goerli.ts +1 -17
- package/chains/definitions/haqqMainnet.ts +1 -5
- package/chains/definitions/haqqTestedge2.ts +1 -5
- package/chains/definitions/hardhat.ts +1 -3
- package/chains/definitions/harmonyOne.ts +1 -3
- package/chains/definitions/holesky.ts +7 -6
- package/chains/definitions/iotex.ts +1 -6
- package/chains/definitions/iotexTestnet.ts +1 -6
- package/chains/definitions/klaytn.ts +1 -4
- package/chains/definitions/kroma.ts +1 -5
- package/chains/definitions/kromaSepolia.ts +1 -5
- package/chains/definitions/linea.ts +1 -18
- package/chains/definitions/lineaTestnet.ts +1 -18
- package/chains/definitions/localhost.ts +1 -3
- package/chains/definitions/mainnet.ts +3 -19
- package/chains/definitions/manta.ts +32 -0
- package/chains/definitions/mantaTestnet.ts +33 -0
- package/chains/definitions/mantle.ts +1 -7
- package/chains/definitions/mantleTestnet.ts +1 -7
- package/chains/definitions/meter.ts +1 -3
- package/chains/definitions/meterTestnet.ts +1 -3
- package/chains/definitions/metis.ts +1 -3
- package/chains/definitions/metisGoerli.ts +1 -3
- package/chains/definitions/mev.ts +1 -5
- package/chains/definitions/mevTestnet.ts +1 -5
- package/chains/definitions/modeTestnet.ts +7 -5
- package/chains/definitions/moonbaseAlpha.ts +1 -10
- package/chains/definitions/moonbeam.ts +1 -10
- package/chains/definitions/moonbeamDev.ts +17 -0
- package/chains/definitions/moonriver.ts +1 -10
- package/chains/definitions/neonDevnet.ts +1 -5
- package/chains/definitions/nexi.ts +1 -9
- package/chains/definitions/nexilix.ts +1 -4
- package/chains/definitions/oasys.ts +1 -5
- package/chains/definitions/okc.ts +1 -3
- package/chains/definitions/opBNB.ts +1 -4
- package/chains/definitions/opBNBTestnet.ts +1 -3
- package/chains/definitions/optimism.ts +20 -40
- package/chains/definitions/optimismGoerli.ts +21 -41
- package/chains/definitions/optimismSepolia.ts +27 -0
- package/chains/definitions/plinga.ts +1 -5
- package/chains/definitions/polygon.ts +1 -17
- package/chains/definitions/polygonMumbai.ts +1 -17
- package/chains/definitions/polygonZkEvm.ts +1 -5
- package/chains/definitions/polygonZkEvmTestnet.ts +1 -9
- package/chains/definitions/pulsechain.ts +1 -6
- package/chains/definitions/pulsechainV4.ts +1 -6
- package/chains/definitions/qMainnet.ts +1 -3
- package/chains/definitions/qTestnet.ts +1 -3
- package/chains/definitions/rollux.ts +1 -3
- package/chains/definitions/rolluxTestnet.ts +1 -3
- package/chains/definitions/ronin.ts +1 -5
- package/chains/definitions/saigon.ts +1 -5
- package/chains/definitions/scroll.ts +26 -0
- package/chains/definitions/scrollSepolia.ts +1 -6
- package/chains/definitions/scrollTestnet.ts +1 -6
- package/chains/definitions/sepolia.ts +2 -18
- package/chains/definitions/shardeumSphinx.ts +1 -5
- package/chains/definitions/skale/brawl.ts +1 -10
- package/chains/definitions/skale/calypso.ts +1 -12
- package/chains/definitions/skale/calypsoTestnet.ts +1 -14
- package/chains/definitions/skale/chaosTestnet.ts +1 -14
- package/chains/definitions/skale/cryptoBlades.ts +1 -12
- package/chains/definitions/skale/cryptoColosseum.ts +1 -10
- package/chains/definitions/skale/europa.ts +1 -10
- package/chains/definitions/skale/europaTestnet.ts +1 -12
- package/chains/definitions/skale/exorde.ts +1 -10
- package/chains/definitions/skale/humanProtocol.ts +1 -10
- package/chains/definitions/skale/nebula.ts +1 -10
- package/chains/definitions/skale/nebulaTestnet.ts +1 -12
- package/chains/definitions/skale/razor.ts +1 -10
- package/chains/definitions/skale/titan.ts +1 -10
- package/chains/definitions/skale/titanTestnet.ts +1 -14
- package/chains/definitions/songbird.ts +1 -3
- package/chains/definitions/songbirdTestnet.ts +1 -3
- package/chains/definitions/syscoin.ts +1 -6
- package/chains/definitions/syscoinTestnet.ts +1 -6
- package/chains/definitions/taikoJolnir.ts +1 -5
- package/chains/definitions/taikoTestnetSepolia.ts +1 -5
- package/chains/definitions/taraxa.ts +1 -5
- package/chains/definitions/taraxaTestnet.ts +1 -5
- package/chains/definitions/telos.ts +1 -3
- package/chains/definitions/telosTestnet.ts +1 -3
- package/chains/definitions/thunderTestnet.ts +1 -5
- package/chains/definitions/vechain.ts +1 -5
- package/chains/definitions/wanchain.ts +1 -12
- package/chains/definitions/wanchainTestnet.ts +1 -9
- package/chains/definitions/xdc.ts +1 -3
- package/chains/definitions/xdcTestnet.ts +1 -3
- package/chains/definitions/zetachainAthensTestnet.ts +1 -5
- package/chains/definitions/zhejiang.ts +1 -13
- package/chains/definitions/zkSync.ts +5 -5
- package/chains/definitions/zkSyncTestnet.ts +5 -5
- package/chains/definitions/zora.ts +23 -32
- package/chains/definitions/zoraSepolia.ts +37 -0
- package/chains/definitions/zoraTestnet.ts +26 -35
- package/chains/index.ts +11 -1
- package/chains/utils.ts +54 -0
- package/chains/zksync/formatters.ts +142 -0
- package/chains/zksync/serializers.ts +124 -0
- package/chains/zksync/types.ts +317 -0
- package/clients/createClient.ts +43 -2
- package/clients/createPublicClient.ts +9 -1
- package/clients/createTestClient.ts +9 -1
- package/clients/createWalletClient.ts +9 -1
- package/clients/decorators/public.ts +100 -7
- package/clients/decorators/wallet.ts +2 -2
- package/clients/transports/createTransport.ts +3 -0
- package/clients/transports/custom.ts +4 -0
- package/clients/transports/fallback.ts +4 -0
- package/clients/transports/http.ts +14 -1
- package/clients/transports/webSocket.ts +11 -3
- package/ens/index.ts +8 -3
- package/errors/abi.ts +87 -0
- package/errors/account.ts +3 -0
- package/errors/address.ts +3 -0
- package/errors/base.ts +1 -0
- package/errors/block.ts +3 -0
- package/errors/ccip.ts +11 -0
- package/errors/chain.ts +17 -0
- package/errors/contract.ts +18 -0
- package/errors/cursor.ts +23 -0
- package/errors/data.ts +6 -0
- package/errors/encoding.ts +30 -3
- package/errors/ens.ts +14 -0
- package/errors/estimateGas.ts +3 -0
- package/errors/fee.ts +9 -0
- package/errors/log.ts +3 -0
- package/errors/node.ts +38 -1
- package/errors/request.ts +12 -0
- package/errors/rpc.ts +81 -0
- package/errors/transaction.ts +35 -0
- package/errors/transport.ts +3 -0
- package/errors/utils.ts +2 -0
- package/errors/version.ts +1 -1
- package/index.ts +578 -79
- package/package.json +37 -45
- package/types/block.ts +5 -0
- package/types/chain.ts +25 -35
- package/types/contract.ts +7 -7
- package/types/eip1193.ts +24 -0
- package/types/misc.ts +4 -3
- package/types/proof.ts +20 -0
- package/types/rpc.ts +2 -0
- package/types/transaction.ts +2 -2
- package/types/utils.ts +1 -1
- package/types/withdrawal.ts +8 -0
- package/utils/abi/decodeAbiParameters.ts +70 -5
- package/utils/abi/decodeDeployData.ts +13 -1
- package/utils/abi/decodeErrorResult.ts +21 -5
- package/utils/abi/decodeEventLog.ts +37 -16
- package/utils/abi/decodeFunctionData.ts +19 -5
- package/utils/abi/decodeFunctionResult.ts +15 -2
- package/utils/abi/encodeAbiParameters.ts +87 -7
- package/utils/abi/encodeDeployData.ts +13 -3
- package/utils/abi/encodeErrorResult.ts +20 -5
- package/utils/abi/encodeEventTopics.ts +36 -9
- package/utils/abi/encodeFunctionData.ts +25 -6
- package/utils/abi/encodeFunctionResult.ts +13 -2
- package/utils/abi/encodePacked.ts +35 -5
- package/utils/abi/formatAbiItem.ts +14 -1
- package/utils/abi/formatAbiItemWithArgs.ts +3 -0
- package/utils/abi/getAbiItem.ts +16 -4
- package/utils/address/getAddress.ts +16 -3
- package/utils/address/getContractAddress.ts +49 -22
- package/utils/address/isAddress.ts +3 -0
- package/utils/address/isAddressEqual.ts +8 -2
- package/utils/buildRequest.ts +62 -2
- package/utils/ccip.ts +6 -1
- package/utils/chain/assertCurrentChain.ts +27 -0
- package/utils/chain/defineChain.ts +14 -0
- package/utils/chain/extractChain.ts +33 -0
- package/utils/chain/getChainContractAddress.ts +41 -0
- package/utils/contract/extractFunctionParts.ts +10 -0
- package/utils/cursor.ts +182 -0
- package/utils/data/concat.ts +15 -5
- package/utils/data/isBytes.ts +3 -0
- package/utils/data/isBytesEqual.ts +8 -2
- package/utils/data/isHex.ts +3 -0
- package/utils/data/pad.ts +11 -1
- package/utils/data/size.ts +4 -1
- package/utils/data/slice.ts +33 -3
- package/utils/data/trim.ts +3 -0
- package/utils/encoding/fromBytes.ts +44 -8
- package/utils/encoding/fromHex.ts +35 -3
- package/utils/encoding/fromRlp.ts +96 -97
- package/utils/encoding/toBytes.ts +67 -14
- package/utils/encoding/toHex.ts +28 -6
- package/utils/encoding/toRlp.ts +114 -30
- package/utils/ens/avatar/parseAvatarRecord.ts +21 -0
- package/utils/ens/avatar/utils.ts +41 -1
- package/utils/ens/encodeLabelhash.ts +3 -0
- package/utils/ens/encodedLabelToLabelhash.ts +4 -1
- package/utils/ens/errors.ts +3 -0
- package/utils/ens/labelhash.ts +18 -4
- package/utils/ens/namehash.ts +23 -5
- package/utils/ens/normalize.ts +3 -0
- package/utils/ens/packetToBytes.ts +16 -3
- package/utils/errors/getCallError.ts +29 -8
- package/utils/errors/getContractError.ts +35 -19
- package/utils/errors/getEstimateGasError.ts +27 -8
- package/utils/errors/getNodeError.ts +49 -17
- package/utils/errors/getTransactionError.ts +27 -8
- package/utils/formatters/block.ts +6 -1
- package/utils/formatters/extract.ts +23 -9
- package/utils/formatters/feeHistory.ts +3 -0
- package/utils/formatters/formatter.ts +4 -1
- package/utils/formatters/log.ts +3 -0
- package/utils/formatters/proof.ts +24 -0
- package/utils/formatters/transaction.ts +6 -1
- package/utils/formatters/transactionReceipt.ts +8 -1
- package/utils/formatters/transactionRequest.ts +8 -1
- package/utils/getAction.ts +13 -0
- package/utils/hash/getEventSelector.ts +13 -6
- package/utils/hash/getEventSignature.ts +15 -0
- package/utils/hash/getFunctionSelector.ts +19 -6
- package/utils/hash/getFunctionSignature.ts +29 -0
- package/utils/hash/hashFunction.ts +23 -9
- package/utils/hash/isHash.ts +5 -2
- package/utils/hash/keccak256.ts +10 -3
- package/utils/index.ts +252 -47
- package/utils/observe.ts +3 -0
- package/utils/poll.ts +3 -0
- package/utils/promise/createBatchScheduler.ts +13 -0
- package/utils/promise/withCache.ts +4 -0
- package/utils/promise/withRetry.ts +3 -0
- package/utils/promise/withTimeout.ts +6 -2
- package/utils/rpc.ts +31 -10
- package/utils/signature/compactSignatureToHex.ts +29 -0
- package/utils/signature/compactSignatureToSignature.ts +37 -0
- package/utils/signature/hashMessage.ts +16 -3
- package/utils/signature/hashTypedData.ts +46 -4
- package/utils/signature/hexToCompactSignature.ts +28 -0
- package/utils/signature/hexToSignature.ts +7 -1
- package/utils/signature/recoverAddress.ts +4 -0
- package/utils/signature/recoverMessageAddress.ts +12 -2
- package/utils/signature/recoverPublicKey.ts +9 -2
- package/utils/signature/recoverTypedDataAddress.ts +12 -2
- package/utils/signature/signatureToCompactSignature.ts +44 -0
- package/utils/signature/signatureToHex.ts +11 -2
- package/utils/signature/verifyMessage.ts +16 -3
- package/utils/signature/verifyTypedData.ts +12 -2
- package/utils/stringify.ts +4 -0
- package/utils/transaction/assertRequest.ts +27 -4
- package/utils/transaction/assertTransaction.ts +42 -5
- package/utils/transaction/getSerializedTransactionType.ts +13 -3
- package/utils/transaction/getTransactionType.ts +9 -1
- package/utils/transaction/parseTransaction.ts +71 -6
- package/utils/transaction/serializeAccessList.ts +16 -3
- package/utils/transaction/serializeTransaction.ts +48 -5
- package/utils/typedData.ts +22 -4
- package/utils/unit/formatEther.ts +3 -1
- package/utils/unit/formatGwei.ts +3 -1
- package/utils/unit/formatUnits.ts +4 -0
- package/utils/unit/parseEther.ts +4 -1
- package/utils/unit/parseGwei.ts +4 -1
- package/utils/unit/parseUnits.ts +4 -0
- package/_cjs/abi/index.js +0 -17
- package/_cjs/abi/index.js.map +0 -1
- package/_cjs/contract/index.js +0 -52
- package/_cjs/contract/index.js.map +0 -1
- package/_cjs/public/index.js +0 -61
- package/_cjs/public/index.js.map +0 -1
- package/_cjs/test/index.js +0 -60
- package/_cjs/test/index.js.map +0 -1
- package/_cjs/utils/chain.js.map +0 -1
- package/_cjs/wallet/index.js +0 -24
- package/_cjs/wallet/index.js.map +0 -1
- package/_esm/abi/index.js +0 -7
- package/_esm/abi/index.js.map +0 -1
- package/_esm/contract/index.js +0 -26
- package/_esm/contract/index.js.map +0 -1
- package/_esm/public/index.js +0 -30
- package/_esm/public/index.js.map +0 -1
- package/_esm/test/index.js +0 -30
- package/_esm/test/index.js.map +0 -1
- package/_esm/utils/chain.js +0 -37
- package/_esm/utils/chain.js.map +0 -1
- package/_esm/wallet/index.js +0 -12
- package/_esm/wallet/index.js.map +0 -1
- package/_types/abi/index.d.ts +0 -6
- package/_types/abi/index.d.ts.map +0 -1
- package/_types/contract/index.d.ts +0 -30
- package/_types/contract/index.d.ts.map +0 -1
- package/_types/public/index.d.ts +0 -33
- package/_types/public/index.d.ts.map +0 -1
- package/_types/test/index.d.ts +0 -29
- package/_types/test/index.d.ts.map +0 -1
- package/_types/utils/chain.d.ts +0 -14
- package/_types/utils/chain.d.ts.map +0 -1
- package/_types/wallet/index.d.ts +0 -11
- package/_types/wallet/index.d.ts.map +0 -1
- package/abi/index.ts +0 -25
- package/abi/package.json +0 -6
- package/actions/wallet/__snapshots__/deployContract.test.ts.snap +0 -21
- package/contract/index.ts +0 -112
- package/contract/package.json +0 -6
- package/public/index.ts +0 -141
- package/public/package.json +0 -6
- package/test/index.ts +0 -85
- package/test/package.json +0 -6
- package/utils/chain.ts +0 -79
- package/wallet/index.ts +0 -46
- package/wallet/package.json +0 -6
@@ -1,8 +1,13 @@
|
|
1
1
|
import type { Address } from 'abitype';
|
2
|
-
import type {
|
2
|
+
import type { JsonRpcAccount } from '../accounts/types.js';
|
3
|
+
import type { ParseAccountErrorType } from '../accounts/utils/parseAccount.js';
|
4
|
+
import type { ErrorType } from '../errors/utils.js';
|
5
|
+
import type { Account } from '../types/account.js';
|
3
6
|
import type { Chain } from '../types/chain.js';
|
4
7
|
import type { EIP1193RequestFn, EIP1474Methods, RpcSchema } from '../types/eip1193.js';
|
5
8
|
import type { Prettify } from '../types/utils.js';
|
9
|
+
import type { PublicActions } from './decorators/public.js';
|
10
|
+
import type { WalletActions } from './decorators/wallet.js';
|
6
11
|
import type { Transport } from './transports/createTransport.js';
|
7
12
|
export type ClientConfig<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | Address | undefined = Account | Address | undefined> = {
|
8
13
|
/** The Account to use for the Client. This will be used for Actions that require an account as an argument. */
|
@@ -33,8 +38,9 @@ export type ClientConfig<transport extends Transport = Transport, chain extends
|
|
33
38
|
/** The type of client. */
|
34
39
|
type?: string | undefined;
|
35
40
|
};
|
41
|
+
type ExtendableProtectedActions = Pick<PublicActions, 'call' | 'createContractEventFilter' | 'createEventFilter' | 'estimateContractGas' | 'estimateGas' | 'getBlock' | 'getBlockNumber' | 'getChainId' | 'getContractEvents' | 'getEnsText' | 'getFilterChanges' | 'getGasPrice' | 'getLogs' | 'getTransaction' | 'getTransactionCount' | 'getTransactionReceipt' | 'prepareTransactionRequest' | 'readContract' | 'sendRawTransaction' | 'simulateContract' | 'uninstallFilter' | 'watchBlockNumber' | 'watchContractEvent'> & Pick<WalletActions, 'sendTransaction' | 'writeContract'>;
|
36
42
|
export type Client<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, rpcSchema extends RpcSchema | undefined = undefined, extended extends Extended | undefined = Extended | undefined> = Client_Base<transport, chain, account, rpcSchema> & (extended extends Extended ? extended : unknown) & {
|
37
|
-
extend: <const client extends Extended
|
43
|
+
extend: <const client extends Extended & Partial<ExtendableProtectedActions>>(fn: (client: Client<transport, chain, account, rpcSchema, extended>) => client) => Client<transport, chain, account, rpcSchema, Prettify<client> & (extended extends Extended ? extended : unknown)>;
|
38
44
|
};
|
39
45
|
type Client_Base<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, rpcSchema extends RpcSchema | undefined = undefined> = {
|
40
46
|
/** The Account of the Client. */
|
@@ -71,6 +77,7 @@ export type MulticallBatchOptions = {
|
|
71
77
|
/** The maximum number of milliseconds to wait before sending a batch. @default 0 */
|
72
78
|
wait?: number | undefined;
|
73
79
|
};
|
80
|
+
export type CreateClientErrorType = ParseAccountErrorType | ErrorType;
|
74
81
|
/**
|
75
82
|
* Creates a base client with the given transport.
|
76
83
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createClient.d.ts","sourceRoot":"","sources":["../../clients/createClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"createClient.d.ts","sourceRoot":"","sources":["../../clients/createClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CA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oF;IACpF,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,qBAAqB,GAAG,SAAS,CAAA;AAErE;;GAEG;AACH,wBAAgB,YAAY,CAC1B,SAAS,SAAS,SAAS,EAC3B,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAC3C,gBAAgB,SAAS,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,EAElE,UAAU,EAAE,YAAY,CAAC,SAAS,EAAE,KAAK,EAAE,gBAAgB,CAAC,GAC3D,QAAQ,CACT,MAAM,CACJ,SAAS,EACT,KAAK,EACL,gBAAgB,SAAS,OAAO,GAC5B,QAAQ,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,GAC1C,gBAAgB,CACrB,CACF,CAAA"}
|
@@ -1,11 +1,13 @@
|
|
1
|
+
import type { ErrorType } from '../errors/utils.js';
|
1
2
|
import type { Chain } from '../types/chain.js';
|
2
3
|
import type { PublicRpcSchema } from '../types/eip1193.js';
|
3
4
|
import type { Prettify } from '../types/utils.js';
|
4
|
-
import { type Client, type ClientConfig } from './createClient.js';
|
5
|
+
import { type Client, type ClientConfig, type CreateClientErrorType } from './createClient.js';
|
5
6
|
import { type PublicActions } from './decorators/public.js';
|
6
7
|
import type { Transport } from './transports/createTransport.js';
|
7
8
|
export type PublicClientConfig<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined> = Prettify<Pick<ClientConfig<transport, chain>, 'batch' | 'cacheTime' | 'chain' | 'key' | 'name' | 'pollingInterval' | 'transport'>>;
|
8
9
|
export type PublicClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined> = Prettify<Client<transport, chain, undefined, PublicRpcSchema, PublicActions<transport, chain>>>;
|
10
|
+
export type CreatePublicClientErrorType = CreateClientErrorType | ErrorType;
|
9
11
|
/**
|
10
12
|
* Creates a Public Client with a given [Transport](https://viem.sh/docs/clients/intro.html) configured for a [Chain](https://viem.sh/docs/clients/chains.html).
|
11
13
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createPublicClient.d.ts","sourceRoot":"","sources":["../../clients/createPublicClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,
|
1
|
+
{"version":3,"file":"createPublicClient.d.ts","sourceRoot":"","sources":["../../clients/createPublicClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EACL,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAE3B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAA;AAEhE,MAAM,MAAM,kBAAkB,CAC5B,SAAS,SAAS,SAAS,GAAG,SAAS,EACvC,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,IACjD,QAAQ,CACV,IAAI,CACF,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,EAC5B,OAAO,GACP,WAAW,GACX,OAAO,GACP,KAAK,GACL,MAAM,GACN,iBAAiB,GACjB,WAAW,CACd,CACF,CAAA;AAED,MAAM,MAAM,YAAY,CACtB,SAAS,SAAS,SAAS,GAAG,SAAS,EACvC,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,IACjD,QAAQ,CACV,MAAM,CACJ,SAAS,EACT,KAAK,EACL,SAAS,EACT,eAAe,EACf,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,CAChC,CACF,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,qBAAqB,GAAG,SAAS,CAAA;AAE3E;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,SAAS,SAAS,EAC3B,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAE3C,UAAU,EAAE,kBAAkB,CAAC,SAAS,EAAE,KAAK,CAAC,GAC/C,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,CAAA"}
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import type { Address } from 'abitype';
|
2
2
|
import type { Account } from '../accounts/types.js';
|
3
|
+
import type { ErrorType } from '../errors/utils.js';
|
3
4
|
import type { ParseAccount } from '../types/account.js';
|
4
5
|
import type { Chain } from '../types/chain.js';
|
5
6
|
import type { TestRpcSchema } from '../types/eip1193.js';
|
6
7
|
import type { Prettify } from '../types/utils.js';
|
7
|
-
import { type Client, type ClientConfig } from './createClient.js';
|
8
|
+
import { type Client, type ClientConfig, type CreateClientErrorType } from './createClient.js';
|
8
9
|
import { type TestActions } from './decorators/test.js';
|
9
10
|
import type { Transport } from './transports/createTransport.js';
|
10
11
|
export type TestClientMode = 'anvil' | 'hardhat' | 'ganache';
|
@@ -15,6 +16,7 @@ export type TestClientConfig<mode extends TestClientMode = TestClientMode, trans
|
|
15
16
|
export type TestClient<TMode extends TestClientMode = TestClientMode, transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, TIncludeActions extends boolean = true> = Prettify<{
|
16
17
|
mode: TMode;
|
17
18
|
} & Client<transport, chain, TAccount, TestRpcSchema<TMode>, TIncludeActions extends true ? TestActions : Record<string, unknown>>>;
|
19
|
+
export type CreateTestClientErrorType = CreateClientErrorType | ErrorType;
|
18
20
|
/**
|
19
21
|
* @description Creates a test client with a given transport.
|
20
22
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createTestClient.d.ts","sourceRoot":"","sources":["../../clients/createTestClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,
|
1
|
+
{"version":3,"file":"createTestClient.d.ts","sourceRoot":"","sources":["../../clients/createTestClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EACL,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAE3B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,KAAK,WAAW,EAAe,MAAM,sBAAsB,CAAA;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAA;AAEhE,MAAM,MAAM,cAAc,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,mDAAmD;AACjG,SAAS,SAAS,SAAS,EAC3B,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAC3C,gBAAgB,SAAS,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,EAElE,UAAU,EAAE,gBAAgB,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,gBAAgB,CAAC,GACrE,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAA"}
|
@@ -1,14 +1,16 @@
|
|
1
1
|
import type { Address } from 'abitype';
|
2
2
|
import type { Account } from '../accounts/types.js';
|
3
|
+
import type { ErrorType } from '../errors/utils.js';
|
3
4
|
import type { ParseAccount } from '../types/account.js';
|
4
5
|
import type { Chain } from '../types/chain.js';
|
5
6
|
import type { WalletRpcSchema } from '../types/eip1193.js';
|
6
7
|
import type { Prettify } from '../types/utils.js';
|
7
|
-
import { type Client, type ClientConfig } from './createClient.js';
|
8
|
+
import { type Client, type ClientConfig, type CreateClientErrorType } from './createClient.js';
|
8
9
|
import { type WalletActions } from './decorators/wallet.js';
|
9
10
|
import type { Transport } from './transports/createTransport.js';
|
10
11
|
export type WalletClientConfig<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | Address | undefined = Account | Address | undefined> = Prettify<Pick<ClientConfig<transport, chain, accountOrAddress>, 'account' | 'cacheTime' | 'chain' | 'key' | 'name' | 'pollingInterval' | 'transport'>>;
|
11
12
|
export type WalletClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined> = Prettify<Client<transport, chain, account, WalletRpcSchema, WalletActions<chain, account>>>;
|
13
|
+
export type CreateWalletClientErrorType = CreateClientErrorType | ErrorType;
|
12
14
|
/**
|
13
15
|
* Creates a Wallet Client with a given [Transport](https://viem.sh/docs/clients/intro.html) configured for a [Chain](https://viem.sh/docs/clients/chains.html).
|
14
16
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createWalletClient.d.ts","sourceRoot":"","sources":["../../clients/createWalletClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,
|
1
|
+
{"version":3,"file":"createWalletClient.d.ts","sourceRoot":"","sources":["../../clients/createWalletClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EACL,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAE3B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAA;AAEhE,MAAM,MAAM,kBAAkB,CAC5B,SAAS,SAAS,SAAS,GAAG,SAAS,EACvC,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACnD,gBAAgB,SAAS,OAAO,GAAG,OAAO,GAAG,SAAS,GAClD,OAAO,GACP,OAAO,GACP,SAAS,IACX,QAAQ,CACV,IAAI,CACF,YAAY,CAAC,SAAS,EAAE,KAAK,EAAE,gBAAgB,CAAC,EAC9C,SAAS,GACT,WAAW,GACX,OAAO,GACP,KAAK,GACL,MAAM,GACN,iBAAiB,GACjB,WAAW,CACd,CACF,CAAA;AAED,MAAM,MAAM,YAAY,CACtB,SAAS,SAAS,SAAS,GAAG,SAAS,EACvC,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACnD,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACvD,QAAQ,CACV,MAAM,CACJ,SAAS,EACT,KAAK,EACL,OAAO,EACP,eAAe,EACf,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,CAC9B,CACF,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,qBAAqB,GAAG,SAAS,CAAA;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,SAAS,SAAS,EAC3B,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAC3C,gBAAgB,SAAS,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,EAElE,UAAU,EAAE,kBAAkB,CAAC,SAAS,EAAE,KAAK,EAAE,gBAAgB,CAAC,GACjE,YAAY,CAAC,SAAS,EAAE,KAAK,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAA"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Abi, AbiEvent } from 'abitype';
|
1
|
+
import type { Abi, AbiEvent, Address } from 'abitype';
|
2
2
|
import { type GetEnsAddressParameters, type GetEnsAddressReturnType } from '../../actions/ens/getEnsAddress.js';
|
3
3
|
import { type GetEnsAvatarParameters, type GetEnsAvatarReturnType } from '../../actions/ens/getEnsAvatar.js';
|
4
4
|
import { type GetEnsNameParameters, type GetEnsNameReturnType } from '../../actions/ens/getEnsName.js';
|
@@ -19,11 +19,13 @@ import { type GetBlockNumberParameters, type GetBlockNumberReturnType } from '..
|
|
19
19
|
import { type GetBlockTransactionCountParameters, type GetBlockTransactionCountReturnType } from '../../actions/public/getBlockTransactionCount.js';
|
20
20
|
import { type GetBytecodeParameters, type GetBytecodeReturnType } from '../../actions/public/getBytecode.js';
|
21
21
|
import { type GetChainIdReturnType } from '../../actions/public/getChainId.js';
|
22
|
+
import { type GetContractEventsParameters, type GetContractEventsReturnType } from '../../actions/public/getContractEvents.js';
|
22
23
|
import { type GetFeeHistoryParameters, type GetFeeHistoryReturnType } from '../../actions/public/getFeeHistory.js';
|
23
24
|
import { type GetFilterChangesParameters, type GetFilterChangesReturnType } from '../../actions/public/getFilterChanges.js';
|
24
25
|
import { type GetFilterLogsParameters, type GetFilterLogsReturnType } from '../../actions/public/getFilterLogs.js';
|
25
26
|
import { type GetGasPriceReturnType } from '../../actions/public/getGasPrice.js';
|
26
27
|
import { type GetLogsParameters, type GetLogsReturnType } from '../../actions/public/getLogs.js';
|
28
|
+
import { type GetProofParameters, type GetProofReturnType } from '../../actions/public/getProof.js';
|
27
29
|
import { type GetStorageAtParameters, type GetStorageAtReturnType } from '../../actions/public/getStorageAt.js';
|
28
30
|
import { type GetTransactionParameters, type GetTransactionReturnType } from '../../actions/public/getTransaction.js';
|
29
31
|
import { type GetTransactionConfirmationsParameters, type GetTransactionConfirmationsReturnType } from '../../actions/public/getTransactionConfirmations.js';
|
@@ -354,6 +356,32 @@ export type PublicActions<TTransport extends Transport = Transport, TChain exten
|
|
354
356
|
* // 1
|
355
357
|
*/
|
356
358
|
getChainId: () => Promise<GetChainIdReturnType>;
|
359
|
+
/**
|
360
|
+
* Returns a list of event logs emitted by a contract.
|
361
|
+
*
|
362
|
+
* - Docs: https://viem.sh/docs/actions/public/getContractEvents.html
|
363
|
+
* - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs)
|
364
|
+
*
|
365
|
+
* @param client - Client to use
|
366
|
+
* @param parameters - {@link GetContractEventsParameters}
|
367
|
+
* @returns A list of event logs. {@link GetContractEventsReturnType}
|
368
|
+
*
|
369
|
+
* @example
|
370
|
+
* import { createPublicClient, http } from 'viem'
|
371
|
+
* import { mainnet } from 'viem/chains'
|
372
|
+
* import { wagmiAbi } from './abi'
|
373
|
+
*
|
374
|
+
* const client = createPublicClient({
|
375
|
+
* chain: mainnet,
|
376
|
+
* transport: http(),
|
377
|
+
* })
|
378
|
+
* const logs = await client.getContractEvents(client, {
|
379
|
+
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
380
|
+
* abi: wagmiAbi,
|
381
|
+
* eventName: 'Transfer'
|
382
|
+
* })
|
383
|
+
*/
|
384
|
+
getContractEvents: <const abi extends Abi | readonly unknown[], eventName extends ContractEventName<abi> | undefined = undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined>(args: GetContractEventsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<GetContractEventsReturnType<abi, eventName, strict, fromBlock, toBlock>>;
|
357
385
|
/**
|
358
386
|
* Gets address for ENS name.
|
359
387
|
*
|
@@ -541,7 +569,7 @@ export type PublicActions<TTransport extends Transport = Transport, TChain exten
|
|
541
569
|
* const maxPriorityFeePerGas = await client.estimateFeesPerGas()
|
542
570
|
* // { maxFeePerGas: ..., maxPriorityFeePerGas: ... }
|
543
571
|
*/
|
544
|
-
estimateFeesPerGas: <TChainOverride extends Chain | undefined, TType extends FeeValuesType = 'eip1559'>(args?: EstimateFeesPerGasParameters<TChain, TChainOverride, TType>) => Promise<EstimateFeesPerGasReturnType>;
|
572
|
+
estimateFeesPerGas: <TChainOverride extends Chain | undefined = undefined, TType extends FeeValuesType = 'eip1559'>(args?: EstimateFeesPerGasParameters<TChain, TChainOverride, TType>) => Promise<EstimateFeesPerGasReturnType>;
|
545
573
|
/**
|
546
574
|
* Returns a list of logs or hashes based on a [Filter](/docs/glossary/terms#filter) since the last time it was called.
|
547
575
|
*
|
@@ -688,6 +716,31 @@ export type PublicActions<TTransport extends Transport = Transport, TChain exten
|
|
688
716
|
* const logs = await client.getLogs()
|
689
717
|
*/
|
690
718
|
getLogs: <const TAbiEvent extends AbiEvent | undefined = undefined, const TAbiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = TAbiEvent extends AbiEvent ? [TAbiEvent] : undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined>(args?: GetLogsParameters<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock>) => Promise<GetLogsReturnType<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock>>;
|
719
|
+
/**
|
720
|
+
* Returns the account and storage values of the specified account including the Merkle-proof.
|
721
|
+
*
|
722
|
+
* - Docs: https://viem.sh/docs/actions/public/getProof.html
|
723
|
+
* - JSON-RPC Methods:
|
724
|
+
* - Calls [`eth_getProof`](https://eips.ethereum.org/EIPS/eip-1186)
|
725
|
+
*
|
726
|
+
* @param client - Client to use
|
727
|
+
* @param parameters - {@link GetProofParameters}
|
728
|
+
* @returns Proof data. {@link GetProofReturnType}
|
729
|
+
*
|
730
|
+
* @example
|
731
|
+
* import { createPublicClient, http } from 'viem'
|
732
|
+
* import { mainnet } from 'viem/chains'
|
733
|
+
*
|
734
|
+
* const client = createPublicClient({
|
735
|
+
* chain: mainnet,
|
736
|
+
* transport: http(),
|
737
|
+
* })
|
738
|
+
* const block = await client.getProof({
|
739
|
+
* address: '0x...',
|
740
|
+
* storageKeys: ['0x...'],
|
741
|
+
* })
|
742
|
+
*/
|
743
|
+
getProof: (args: GetProofParameters) => Promise<GetProofReturnType>;
|
691
744
|
/**
|
692
745
|
* Returns an estimate for the max priority fee per gas (in wei) for a transaction
|
693
746
|
* to be included in the next block.
|
@@ -708,7 +761,7 @@ export type PublicActions<TTransport extends Transport = Transport, TChain exten
|
|
708
761
|
* const maxPriorityFeePerGas = await client.estimateMaxPriorityFeePerGas()
|
709
762
|
* // 10000000n
|
710
763
|
*/
|
711
|
-
estimateMaxPriorityFeePerGas: <TChainOverride extends Chain | undefined>(args?: EstimateMaxPriorityFeePerGasParameters<TChain, TChainOverride>) => Promise<EstimateMaxPriorityFeePerGasReturnType>;
|
764
|
+
estimateMaxPriorityFeePerGas: <TChainOverride extends Chain | undefined = undefined>(args?: EstimateMaxPriorityFeePerGasParameters<TChain, TChainOverride>) => Promise<EstimateMaxPriorityFeePerGasReturnType>;
|
712
765
|
/**
|
713
766
|
* Returns the value from a storage slot at a given address.
|
714
767
|
*
|
@@ -900,7 +953,7 @@ export type PublicActions<TTransport extends Transport = Transport, TChain exten
|
|
900
953
|
* value: 1n,
|
901
954
|
* })
|
902
955
|
*/
|
903
|
-
prepareTransactionRequest: <TChainOverride extends Chain | undefined>(args: PrepareTransactionRequestParameters<TChain, TAccount, TChainOverride>) => Promise<PrepareTransactionRequestReturnType>;
|
956
|
+
prepareTransactionRequest: <TChainOverride extends Chain | undefined = undefined>(args: PrepareTransactionRequestParameters<TChain, TAccount, TChainOverride>) => Promise<PrepareTransactionRequestReturnType>;
|
904
957
|
/**
|
905
958
|
* Calls a read-only function on a contract, and returns the response.
|
906
959
|
*
|
@@ -988,7 +1041,7 @@ export type PublicActions<TTransport extends Transport = Transport, TChain exten
|
|
988
1041
|
* account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
|
989
1042
|
* })
|
990
1043
|
*/
|
991
|
-
simulateContract: <const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'>, args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>,
|
1044
|
+
simulateContract: <const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'>, args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>, chainOverride extends Chain | undefined, accountOverride extends Account | Address | undefined = undefined>(args: SimulateContractParameters<abi, functionName, args, TChain, chainOverride, accountOverride>) => Promise<SimulateContractReturnType<abi, functionName, args, TChain, TAccount, chainOverride, accountOverride>>;
|
992
1045
|
verifyMessage: (args: VerifyMessageParameters) => Promise<VerifyMessageReturnType>;
|
993
1046
|
verifyTypedData: (args: VerifyTypedDataParameters) => Promise<VerifyTypedDataReturnType>;
|
994
1047
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../clients/decorators/public.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAE7B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAE5B,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAE1B,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAE9B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAE1B,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EACL,KAAK,2BAA2B,EAEjC,MAAM,2CAA2C,CAAA;AAClD,OAAO,EACL,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,EAEzC,MAAM,mDAAmD,CAAA;AAC1D,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAEjC,MAAM,2CAA2C,CAAA;AAClD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,CAAC,KACjD,kCAAkC,CAAA;CACxC,CAAA;AAED,wBAAgB,aAAa,CAC3B,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACpD,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EAE1D,MAAM,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,GAC3C,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,CAuD7C"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
1
2
|
import type { Chain } from '../../types/chain.js';
|
2
3
|
import type { EIP1193RequestFn } from '../../types/eip1193.js';
|
3
4
|
import type { ClientConfig } from '../createClient.js';
|
@@ -27,6 +28,7 @@ export type Transport<TType extends string = string, TRpcAttributes = Record<str
|
|
27
28
|
request: TEIP1193RequestFn;
|
28
29
|
value?: TRpcAttributes;
|
29
30
|
};
|
31
|
+
export type CreateTransportErrorType = ErrorType;
|
30
32
|
/**
|
31
33
|
* @description Creates an transport intended to be used with a client.
|
32
34
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createTransport.d.ts","sourceRoot":"","sources":["../../../clients/transports/createTransport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAE9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,MAAM,MAAM,eAAe,CACzB,KAAK,SAAS,MAAM,GAAG,MAAM,EAC7B,iBAAiB,SAAS,gBAAgB,GAAG,gBAAgB,IAC3D;IACF,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,gCAAgC;IAChC,GAAG,EAAE,MAAM,CAAA;IACX,4EAA4E;IA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AAA;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAAA;AAEhD;;GAEG;AACH,wBAAgB,eAAe,CAC7B,KAAK,SAAS,MAAM,EACpB,cAAc,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAE1C,EACE,GAAG,EACH,IAAI,EACJ,OAAO,EACP,UAAc,EACd,UAAgB,EAChB,OAAO,EACP,IAAI,GACL,EAAE,eAAe,CAAC,KAAK,CAAC,EACzB,KAAK,CAAC,EAAE,cAAc,GACrB,UAAU,CAAC,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC,CAM9C"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
2
|
+
import { type CreateTransportErrorType, type Transport, type TransportConfig } from './createTransport.js';
|
2
3
|
type EthereumProvider = {
|
3
4
|
request(...args: any): Promise<any>;
|
4
5
|
};
|
@@ -13,6 +14,7 @@ export type CustomTransportConfig = {
|
|
13
14
|
retryDelay?: TransportConfig['retryDelay'];
|
14
15
|
};
|
15
16
|
export type CustomTransport = Transport<'custom', {}, EthereumProvider['request']>;
|
17
|
+
export type CustomTransportErrorType = CreateTransportErrorType | ErrorType;
|
16
18
|
/**
|
17
19
|
* @description Creates a custom transport given an EIP-1193 compliant `request` attribute.
|
18
20
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"custom.d.ts","sourceRoot":"","sources":["../../../clients/transports/custom.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,eAAe,EAErB,MAAM,sBAAsB,CAAA;AAE7B,KAAK,gBAAgB,GAAG;IAAE,OAAO,CAAC,GAAG,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;CAAE,CAAA;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,gCAAgC;IAChC,GAAG,CAA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F,gBAAgB,CAAC,SAAS,CAAC,CAC5B,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,GAAG,SAAS,CAAA;AAE3E;;GAEG;AACH,wBAAgB,MAAM,CAAC,SAAS,SAAS,gBAAgB,EACvD,QAAQ,EAAE,SAAS,EACnB,MAAM,GAAE,qBAA0B,GACjC,eAAe,CAWjB"}
|
@@ -1,5 +1,6 @@
|
|
1
|
+
import type { ErrorType } from '../../errors/utils.js';
|
1
2
|
import type { Chain } from '../../types/chain.js';
|
2
|
-
import { type Transport, type TransportConfig } from './createTransport.js';
|
3
|
+
import { type CreateTransportErrorType, type Transport, type TransportConfig } from './createTransport.js';
|
3
4
|
export type OnResponseFn = (args: {
|
4
5
|
method: string;
|
5
6
|
params: unknown[];
|
@@ -61,6 +62,7 @@ export type FallbackTransport = Transport<'fallback', {
|
|
61
62
|
onResponse: (fn: OnResponseFn) => void;
|
62
63
|
transports: ReturnType<Transport>[];
|
63
64
|
}>;
|
65
|
+
export type FallbackTransportErrorType = CreateTransportErrorType | ErrorType;
|
64
66
|
export declare function fallback(transports_: Transport[], config?: FallbackTransportConfig): FallbackTransport;
|
65
67
|
export declare function rankTransports({ chain, interval, onTransports, sampleCount, timeout, transports, weights, }: {
|
66
68
|
chain?: Chain;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fallback.d.ts","sourceRoot":"","sources":["../../../clients/transports/fallback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAIjD,OAAO,EACL,KAAK,SAAS,EACd,KAAK,eAAe,EAErB,MAAM,sBAAsB,CAAA;AAE7B,MAAM,MAAM,YAAY,GAAG,CACzB,IAAI,EAAE;IACJ,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,OAAO,EAAE,CAAA;IACjB,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;CACjC,GAAG,CACA;IACE,KAAK,CAAC,EAAE,KA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S,EAAE,KAAK,IAAI,CAAA;IAC/C,WAAW,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAA;IACxC,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;IAChC,UAAU,EAAE,SAAS,EAAE,CAAA;IACvB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;CACjC,QAwEA"}
|
@@ -1,5 +1,7 @@
|
|
1
|
+
import { type UrlRequiredErrorType } from '../../errors/transport.js';
|
2
|
+
import type { ErrorType } from '../../errors/utils.js';
|
1
3
|
import { type HttpOptions } from '../../utils/rpc.js';
|
2
|
-
import { type Transport, type TransportConfig } from './createTransport.js';
|
4
|
+
import { type CreateTransportErrorType, type Transport, type TransportConfig } from './createTransport.js';
|
3
5
|
export type BatchOptions = {
|
4
6
|
/** The maximum number of JSON-RPC requests to send in a batch. @default 1_000 */
|
5
7
|
batchSize?: number;
|
@@ -29,8 +31,10 @@ export type HttpTransportConfig = {
|
|
29
31
|
timeout?: TransportConfig['timeout'];
|
30
32
|
};
|
31
33
|
export type HttpTransport = Transport<'http', {
|
34
|
+
fetchOptions?: HttpTransportConfig['fetchOptions'];
|
32
35
|
url?: string;
|
33
36
|
}>;
|
37
|
+
export type HttpTransportErrorType = CreateTransportErrorType | UrlRequiredErrorType | ErrorType;
|
34
38
|
/**
|
35
39
|
* @description Creates a HTTP transport that connects to a JSON-RPC API.
|
36
40
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../clients/transports/http.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../clients/transports/http.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEtD,OAAO,EAAE,KAAK,WAAW,EAAwB,MAAM,oBAAoB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ErrorType } from '../../errors/utils.js';
|
3
3
|
import type { Hash } from '../../types/misc.js';
|
4
4
|
import { type RpcResponse } from '../../utils/rpc.js';
|
5
|
-
import { type Transport, type TransportConfig } from './createTransport.js';
|
5
|
+
import { type CreateTransportErrorType, type Transport, type TransportConfig } from './createTransport.js';
|
6
6
|
type WebSocketTransportSubscribeParameters = {
|
7
7
|
onData: (data: RpcResponse) => void;
|
8
8
|
onError?: (error: any) => void;
|
@@ -36,6 +36,7 @@ export type WebSocketTransport = Transport<'webSocket', {
|
|
36
36
|
getSocket(): Promise<WebSocket>;
|
37
37
|
subscribe: WebSocketTransportSubscribe['subscribe'];
|
38
38
|
}>;
|
39
|
+
export type WebSocketTransportErrorType = CreateTransportErrorType | UrlRequiredErrorType | ErrorType;
|
39
40
|
/**
|
40
41
|
* @description Creates a WebSocket transport that connects to a JSON-RPC API.
|
41
42
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"webSocket.d.ts","sourceRoot":"","sources":["../../../clients/transports/webSocket.ts"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"webSocket.d.ts","sourceRoot":"","sources":["../../../clients/transports/webSocket.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,oBAAoB,CAAA;AACrE,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,KAAK,eAAe,EAErB,MAAM,sBAAsB,CAAA;AAE7B,KAAK,qCAAqC,GAAG;IAC3C,MAAM,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAA;IACnC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC/B,CAAA;AAED,KAAK,qCAAqC,GAAG;IAC3C,cAAc,EAAE,IAAI,CAAA;IACpB,WAAW,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAA;CACjD,CAAA;AAED,KAAK,2BAA2B,GAAG;IACjC,SAAS,CACP,IAAI,EAAE,qCAAqC,GAAG;QAC5C;;;WAGG;QACH,MAAM,EAAE,CAAC,UAAU,CAAC,CAAA;KACrB,GACA,OAAO,CAAC,qCAAqC,CAAC,CAAA;CAClD,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,0CAA0C;IAC1C,GAAG,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAA;IAC5B,2CAA2C;IAC3C,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,wCAAwC;IACxC,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAA;IAC1C,8CAA8C;IAC9C,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAA;IAC1C,wEAAwE;IACxE,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,SAAS,CACxC,WAAW,EACX;IACE,SAAS,IAAI,OAAO,CAAC,SAAS,CAAC,CAAA;IAC/B,SAAS,EAAE,2BAA2B,CAAC,WAAW,CAAC,CAAA;CACpD,CACF,CAAA;AAED,MAAM,MAAM,2BAA2B,GACnC,wBAAwB,GACxB,oBAAoB,GACpB,SAAS,CAAA;AAEb;;GAEG;AACH,wBAAgB,SAAS;AACvB,uEAAuE;AACvE,GAAG,CAAC,EAAE,MAAM,EACZ,MAAM,GAAE,wBAA6B,GACpC,kBAAkB,CA8EpB"}
|
package/_types/ens/index.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
export { normalize } from '../utils/ens/normalize.js';
|
2
|
-
export { type GetEnsAddressParameters, type GetEnsAddressReturnType, getEnsAddress, } from '../actions/ens/getEnsAddress.js';
|
3
|
-
export { type GetEnsAvatarParameters, type GetEnsAvatarReturnType, getEnsAvatar, } from '../actions/ens/getEnsAvatar.js';
|
4
|
-
export { type GetEnsNameParameters, type GetEnsNameReturnType, getEnsName, } from '../actions/ens/getEnsName.js';
|
5
|
-
export { type GetEnsResolverParameters, type GetEnsResolverReturnType, getEnsResolver, } from '../actions/ens/getEnsResolver.js';
|
6
|
-
export { type GetEnsTextParameters, type GetEnsTextReturnType, getEnsText, } from '../actions/ens/getEnsText.js';
|
7
|
-
export { labelhash } from '../utils/ens/labelhash.js';
|
8
|
-
export { namehash } from '../utils/ens/namehash.js';
|
1
|
+
export { type NormalizeErrorType, normalize } from '../utils/ens/normalize.js';
|
2
|
+
export { type GetEnsAddressErrorType, type GetEnsAddressParameters, type GetEnsAddressReturnType, getEnsAddress, } from '../actions/ens/getEnsAddress.js';
|
3
|
+
export { type GetEnsAvatarErrorType, type GetEnsAvatarParameters, type GetEnsAvatarReturnType, getEnsAvatar, } from '../actions/ens/getEnsAvatar.js';
|
4
|
+
export { type GetEnsNameErrorType, type GetEnsNameParameters, type GetEnsNameReturnType, getEnsName, } from '../actions/ens/getEnsName.js';
|
5
|
+
export { type GetEnsResolverErrorType, type GetEnsResolverParameters, type GetEnsResolverReturnType, getEnsResolver, } from '../actions/ens/getEnsResolver.js';
|
6
|
+
export { type GetEnsTextErrorType, type GetEnsTextParameters, type GetEnsTextReturnType, getEnsText, } from '../actions/ens/getEnsText.js';
|
7
|
+
export { type LabelhashErrorType, labelhash } from '../utils/ens/labelhash.js';
|
8
|
+
export { type NamehashErrorType, namehash } from '../utils/ens/namehash.js';
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC9E,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,aAAa,GACd,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,YAAY,GACb,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,UAAU,GACX,MAAM,8BAA8B,CAAA;AACrC,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,cAAc,GACf,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,UAAU,GACX,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,KAAK,kBAAkB,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC9E,OAAO,EAAE,KAAK,iBAAiB,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA"}
|