viem 2.7.5 → 2.7.6
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/_cjs/errors/version.js +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/_test/generated.d.ts +428 -0
- package/_types/_test/generated.d.ts.map +1 -0
- package/_types/accounts/generateMnemonic.d.ts +12 -0
- package/_types/accounts/generateMnemonic.d.ts.map +1 -0
- package/_types/accounts/generatePrivateKey.d.ts +11 -0
- package/_types/accounts/generatePrivateKey.d.ts.map +1 -0
- package/_types/accounts/hdKeyToAccount.d.ts +13 -0
- package/_types/accounts/hdKeyToAccount.d.ts.map +1 -0
- package/_types/accounts/index.d.ts +27 -0
- package/_types/accounts/index.d.ts.map +1 -0
- package/_types/accounts/mnemonicToAccount.d.ts +11 -0
- package/_types/accounts/mnemonicToAccount.d.ts.map +1 -0
- package/_types/accounts/privateKeyToAccount.d.ts +17 -0
- package/_types/accounts/privateKeyToAccount.d.ts.map +1 -0
- package/_types/accounts/toAccount.d.ts +15 -0
- package/_types/accounts/toAccount.d.ts.map +1 -0
- package/_types/accounts/types.d.ts +50 -0
- package/_types/accounts/types.d.ts.map +1 -0
- package/_types/accounts/utils/parseAccount.d.ts +6 -0
- package/_types/accounts/utils/parseAccount.d.ts.map +1 -0
- package/_types/accounts/utils/privateKeyToAddress.d.ts +15 -0
- package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -0
- package/_types/accounts/utils/publicKeyToAddress.d.ts +15 -0
- package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -0
- package/_types/accounts/utils/sign.d.ts +19 -0
- package/_types/accounts/utils/sign.d.ts.map +1 -0
- package/_types/accounts/utils/signMessage.d.ts +21 -0
- package/_types/accounts/utils/signMessage.d.ts.map +1 -0
- package/_types/accounts/utils/signTransaction.d.ts +16 -0
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -0
- package/_types/accounts/utils/signTypedData.d.ts +21 -0
- package/_types/accounts/utils/signTypedData.d.ts.map +1 -0
- package/_types/actions/ens/getEnsAddress.d.ts +58 -0
- package/_types/actions/ens/getEnsAddress.d.ts.map +1 -0
- package/_types/actions/ens/getEnsAvatar.d.ts +44 -0
- package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -0
- package/_types/actions/ens/getEnsName.d.ts +50 -0
- package/_types/actions/ens/getEnsName.d.ts.map +1 -0
- package/_types/actions/ens/getEnsResolver.d.ts +48 -0
- package/_types/actions/ens/getEnsResolver.d.ts.map +1 -0
- package/_types/actions/ens/getEnsText.d.ts +57 -0
- package/_types/actions/ens/getEnsText.d.ts.map +1 -0
- package/_types/actions/getContract.d.ts +360 -0
- package/_types/actions/getContract.d.ts.map +1 -0
- package/_types/actions/index.d.ts +91 -0
- package/_types/actions/index.d.ts.map +1 -0
- package/_types/actions/public/call.d.ts +83 -0
- package/_types/actions/public/call.d.ts.map +1 -0
- package/_types/actions/public/createBlockFilter.d.ts +31 -0
- package/_types/actions/public/createBlockFilter.d.ts.map +1 -0
- package/_types/actions/public/createContractEventFilter.d.ts +55 -0
- package/_types/actions/public/createContractEventFilter.d.ts.map +1 -0
- package/_types/actions/public/createEventFilter.d.ts +81 -0
- package/_types/actions/public/createEventFilter.d.ts.map +1 -0
- package/_types/actions/public/createPendingTransactionFilter.d.ts +31 -0
- package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -0
- package/_types/actions/public/estimateContractGas.d.ts +43 -0
- package/_types/actions/public/estimateContractGas.d.ts.map +1 -0
- package/_types/actions/public/estimateFeesPerGas.d.ts +53 -0
- package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -0
- package/_types/actions/public/estimateGas.d.ts +57 -0
- package/_types/actions/public/estimateGas.d.ts.map +1 -0
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +44 -0
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -0
- package/_types/actions/public/getBalance.d.ts +59 -0
- package/_types/actions/public/getBalance.d.ts.map +1 -0
- package/_types/actions/public/getBlock.d.ts +62 -0
- package/_types/actions/public/getBlock.d.ts.map +1 -0
- package/_types/actions/public/getBlockNumber.d.ts +58 -0
- package/_types/actions/public/getBlockNumber.d.ts.map +1 -0
- package/_types/actions/public/getBlockTransactionCount.d.ts +52 -0
- package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -0
- package/_types/actions/public/getBytecode.d.ts +45 -0
- package/_types/actions/public/getBytecode.d.ts.map +1 -0
- package/_types/actions/public/getChainId.d.ts +32 -0
- package/_types/actions/public/getChainId.d.ts.map +1 -0
- 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 +57 -0
- package/_types/actions/public/getFeeHistory.d.ts.map +1 -0
- package/_types/actions/public/getFilterChanges.d.ts +101 -0
- package/_types/actions/public/getFilterChanges.d.ts.map +1 -0
- package/_types/actions/public/getFilterLogs.d.ts +45 -0
- package/_types/actions/public/getFilterLogs.d.ts.map +1 -0
- package/_types/actions/public/getGasPrice.d.ts +30 -0
- package/_types/actions/public/getGasPrice.d.ts.map +1 -0
- package/_types/actions/public/getLogs.d.ts +78 -0
- package/_types/actions/public/getLogs.d.ts.map +1 -0
- 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 +47 -0
- package/_types/actions/public/getStorageAt.d.ts.map +1 -0
- package/_types/actions/public/getTransaction.d.ts +70 -0
- package/_types/actions/public/getTransaction.d.ts.map +1 -0
- package/_types/actions/public/getTransactionConfirmations.d.ts +45 -0
- package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -0
- package/_types/actions/public/getTransactionCount.d.ts +49 -0
- package/_types/actions/public/getTransactionCount.d.ts.map +1 -0
- package/_types/actions/public/getTransactionReceipt.d.ts +40 -0
- package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -0
- package/_types/actions/public/multicall.d.ts +73 -0
- package/_types/actions/public/multicall.d.ts.map +1 -0
- package/_types/actions/public/readContract.d.ts +46 -0
- package/_types/actions/public/readContract.d.ts.map +1 -0
- package/_types/actions/public/simulateContract.d.ts +67 -0
- package/_types/actions/public/simulateContract.d.ts.map +1 -0
- package/_types/actions/public/uninstallFilter.d.ts +37 -0
- package/_types/actions/public/uninstallFilter.d.ts.map +1 -0
- package/_types/actions/public/verifyHash.d.ts +30 -0
- package/_types/actions/public/verifyHash.d.ts.map +1 -0
- package/_types/actions/public/verifyMessage.d.ts +31 -0
- package/_types/actions/public/verifyMessage.d.ts.map +1 -0
- package/_types/actions/public/verifyTypedData.d.ts +28 -0
- package/_types/actions/public/verifyTypedData.d.ts.map +1 -0
- package/_types/actions/public/waitForTransactionReceipt.d.ts +90 -0
- package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -0
- package/_types/actions/public/watchBlockNumber.d.ts +58 -0
- package/_types/actions/public/watchBlockNumber.d.ts.map +1 -0
- package/_types/actions/public/watchBlocks.d.ts +66 -0
- package/_types/actions/public/watchBlocks.d.ts.map +1 -0
- package/_types/actions/public/watchContractEvent.d.ts +64 -0
- package/_types/actions/public/watchContractEvent.d.ts.map +1 -0
- package/_types/actions/public/watchEvent.d.ts +79 -0
- package/_types/actions/public/watchEvent.d.ts.map +1 -0
- package/_types/actions/public/watchPendingTransactions.d.ts +49 -0
- package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -0
- package/_types/actions/test/dropTransaction.d.ts +36 -0
- package/_types/actions/test/dropTransaction.d.ts.map +1 -0
- package/_types/actions/test/dumpState.d.ts +31 -0
- package/_types/actions/test/dumpState.d.ts.map +1 -0
- package/_types/actions/test/getAutomine.d.ts +30 -0
- package/_types/actions/test/getAutomine.d.ts.map +1 -0
- package/_types/actions/test/getTxpoolContent.d.ts +37 -0
- package/_types/actions/test/getTxpoolContent.d.ts.map +1 -0
- package/_types/actions/test/getTxpoolStatus.d.ts +33 -0
- package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -0
- package/_types/actions/test/impersonateAccount.d.ts +36 -0
- package/_types/actions/test/impersonateAccount.d.ts.map +1 -0
- package/_types/actions/test/increaseTime.d.ts +35 -0
- package/_types/actions/test/increaseTime.d.ts.map +1 -0
- package/_types/actions/test/inspectTxpool.d.ts +34 -0
- package/_types/actions/test/inspectTxpool.d.ts.map +1 -0
- package/_types/actions/test/loadState.d.ts +34 -0
- package/_types/actions/test/loadState.d.ts.map +1 -0
- package/_types/actions/test/mine.d.ts +35 -0
- package/_types/actions/test/mine.d.ts.map +1 -0
- package/_types/actions/test/removeBlockTimestampInterval.d.ts +28 -0
- package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -0
- package/_types/actions/test/reset.d.ts +35 -0
- package/_types/actions/test/reset.d.ts.map +1 -0
- package/_types/actions/test/revert.d.ts +34 -0
- package/_types/actions/test/revert.d.ts.map +1 -0
- package/_types/actions/test/sendUnsignedTransaction.d.ts +38 -0
- package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -0
- package/_types/actions/test/setAutomine.d.ts +28 -0
- package/_types/actions/test/setAutomine.d.ts.map +1 -0
- package/_types/actions/test/setBalance.d.ts +39 -0
- package/_types/actions/test/setBalance.d.ts.map +1 -0
- package/_types/actions/test/setBlockGasLimit.d.ts +33 -0
- package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -0
- package/_types/actions/test/setBlockTimestampInterval.d.ts +33 -0
- package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -0
- package/_types/actions/test/setCode.d.ts +40 -0
- package/_types/actions/test/setCode.d.ts.map +1 -0
- package/_types/actions/test/setCoinbase.d.ts +36 -0
- package/_types/actions/test/setCoinbase.d.ts.map +1 -0
- package/_types/actions/test/setIntervalMining.d.ts +33 -0
- package/_types/actions/test/setIntervalMining.d.ts.map +1 -0
- package/_types/actions/test/setLoggingEnabled.d.ts +28 -0
- package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -0
- package/_types/actions/test/setMinGasPrice.d.ts +37 -0
- package/_types/actions/test/setMinGasPrice.d.ts.map +1 -0
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +35 -0
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -0
- package/_types/actions/test/setNextBlockTimestamp.d.ts +33 -0
- package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -0
- package/_types/actions/test/setNonce.d.ts +39 -0
- package/_types/actions/test/setNonce.d.ts.map +1 -0
- package/_types/actions/test/setRpcUrl.d.ts +29 -0
- package/_types/actions/test/setRpcUrl.d.ts.map +1 -0
- package/_types/actions/test/setStorageAt.d.ts +43 -0
- package/_types/actions/test/setStorageAt.d.ts.map +1 -0
- package/_types/actions/test/snapshot.d.ts +28 -0
- package/_types/actions/test/snapshot.d.ts.map +1 -0
- package/_types/actions/test/stopImpersonatingAccount.d.ts +36 -0
- package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -0
- package/_types/actions/wallet/addChain.d.ts +33 -0
- package/_types/actions/wallet/addChain.d.ts.map +1 -0
- package/_types/actions/wallet/deployContract.d.ts +50 -0
- package/_types/actions/wallet/deployContract.d.ts.map +1 -0
- package/_types/actions/wallet/getAddresses.d.ts +32 -0
- package/_types/actions/wallet/getAddresses.d.ts.map +1 -0
- package/_types/actions/wallet/getPermissions.d.ts +31 -0
- package/_types/actions/wallet/getPermissions.d.ts.map +1 -0
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +72 -0
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -0
- package/_types/actions/wallet/requestAddresses.d.ts +35 -0
- package/_types/actions/wallet/requestAddresses.d.ts.map +1 -0
- package/_types/actions/wallet/requestPermissions.d.ts +40 -0
- package/_types/actions/wallet/requestPermissions.d.ts.map +1 -0
- package/_types/actions/wallet/sendRawTransaction.d.ts +41 -0
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -0
- package/_types/actions/wallet/sendTransaction.d.ts +69 -0
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -0
- package/_types/actions/wallet/signMessage.d.ts +64 -0
- package/_types/actions/wallet/signMessage.d.ts.map +1 -0
- package/_types/actions/wallet/signTransaction.d.ts +64 -0
- package/_types/actions/wallet/signTransaction.d.ts.map +1 -0
- package/_types/actions/wallet/signTypedData.d.ts +119 -0
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -0
- package/_types/actions/wallet/switchChain.d.ts +34 -0
- package/_types/actions/wallet/switchChain.d.ts.map +1 -0
- package/_types/actions/wallet/watchAsset.d.ts +40 -0
- package/_types/actions/wallet/watchAsset.d.ts.map +1 -0
- package/_types/actions/wallet/writeContract.d.ts +71 -0
- package/_types/actions/wallet/writeContract.d.ts.map +1 -0
- package/_types/chains/celo/chainConfig.d.ts +1201 -0
- package/_types/chains/celo/chainConfig.d.ts.map +1 -0
- package/_types/chains/celo/formatters.d.ts +1198 -0
- package/_types/chains/celo/formatters.d.ts.map +1 -0
- package/_types/chains/celo/index.d.ts +5 -0
- package/_types/chains/celo/index.d.ts.map +1 -0
- package/_types/chains/celo/parsers.d.ts +6 -0
- package/_types/chains/celo/parsers.d.ts.map +1 -0
- package/_types/chains/celo/serializers.d.ts +12 -0
- package/_types/chains/celo/serializers.d.ts.map +1 -0
- package/_types/chains/celo/types.d.ts +126 -0
- package/_types/chains/celo/types.d.ts.map +1 -0
- package/_types/chains/celo/utils.d.ts +7 -0
- package/_types/chains/celo/utils.d.ts.map +1 -0
- package/_types/chains/definitions/acala.d.ts +42 -0
- package/_types/chains/definitions/acala.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrum.d.ts +34 -0
- package/_types/chains/definitions/arbitrum.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrumGoerli.d.ts +33 -0
- package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrumNova.d.ts +34 -0
- package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts +34 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/astar.d.ts +34 -0
- package/_types/chains/definitions/astar.d.ts.map +1 -0
- package/_types/chains/definitions/astarZkatana.d.ts +34 -0
- package/_types/chains/definitions/astarZkatana.d.ts.map +1 -0
- package/_types/chains/definitions/aurora.d.ts +34 -0
- package/_types/chains/definitions/aurora.d.ts.map +1 -0
- package/_types/chains/definitions/auroraTestnet.d.ts +36 -0
- package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/avalanche.d.ts +34 -0
- package/_types/chains/definitions/avalanche.d.ts.map +1 -0
- package/_types/chains/definitions/avalancheFuji.d.ts +34 -0
- package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -0
- package/_types/chains/definitions/bahamut.d.ts +42 -0
- package/_types/chains/definitions/bahamut.d.ts.map +1 -0
- package/_types/chains/definitions/base.d.ts +811 -0
- package/_types/chains/definitions/base.d.ts.map +1 -0
- package/_types/chains/definitions/baseGoerli.d.ts +810 -0
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/baseSepolia.d.ts +812 -0
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +36 -0
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +36 -0
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/berachainTestnet.d.ts +35 -0
- package/_types/chains/definitions/berachainTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/bitTorrent.d.ts +40 -0
- package/_types/chains/definitions/bitTorrent.d.ts.map +1 -0
- package/_types/chains/definitions/bitTorrentTestnet.d.ts +40 -0
- package/_types/chains/definitions/bitTorrentTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/blastSepolia.d.ts +35 -0
- package/_types/chains/definitions/blastSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/boba.d.ts +33 -0
- package/_types/chains/definitions/boba.d.ts.map +1 -0
- package/_types/chains/definitions/bronos.d.ts +35 -0
- package/_types/chains/definitions/bronos.d.ts.map +1 -0
- package/_types/chains/definitions/bronosTestnet.d.ts +35 -0
- package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/bsc.d.ts +34 -0
- package/_types/chains/definitions/bsc.d.ts.map +1 -0
- package/_types/chains/definitions/bscTestnet.d.ts +34 -0
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/bxn.d.ts +36 -0
- package/_types/chains/definitions/bxn.d.ts.map +1 -0
- package/_types/chains/definitions/bxnTestnet.d.ts +36 -0
- package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/canto.d.ts +33 -0
- package/_types/chains/definitions/canto.d.ts.map +1 -0
- package/_types/chains/definitions/celo.d.ts +1230 -0
- package/_types/chains/definitions/celo.d.ts.map +1 -0
- package/_types/chains/definitions/celoAlfajores.d.ts +1230 -0
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -0
- package/_types/chains/definitions/chiliz.d.ts +37 -0
- package/_types/chains/definitions/chiliz.d.ts.map +1 -0
- package/_types/chains/definitions/classic.d.ts +35 -0
- package/_types/chains/definitions/classic.d.ts.map +1 -0
- package/_types/chains/definitions/confluxESpace.d.ts +34 -0
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +35 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/coreDao.d.ts +33 -0
- package/_types/chains/definitions/coreDao.d.ts.map +1 -0
- package/_types/chains/definitions/cronos.d.ts +34 -0
- package/_types/chains/definitions/cronos.d.ts.map +1 -0
- package/_types/chains/definitions/cronosTestnet.d.ts +33 -0
- package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/crossbell.d.ts +34 -0
- package/_types/chains/definitions/crossbell.d.ts.map +1 -0
- package/_types/chains/definitions/defichainEvm.d.ts +37 -0
- package/_types/chains/definitions/defichainEvm.d.ts.map +1 -0
- package/_types/chains/definitions/defichainEvmTestnet.d.ts +37 -0
- package/_types/chains/definitions/defichainEvmTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/dfk.d.ts +35 -0
- package/_types/chains/definitions/dfk.d.ts.map +1 -0
- package/_types/chains/definitions/dogechain.d.ts +36 -0
- package/_types/chains/definitions/dogechain.d.ts.map +1 -0
- package/_types/chains/definitions/edgeware.d.ts +34 -0
- package/_types/chains/definitions/edgeware.d.ts.map +1 -0
- package/_types/chains/definitions/edgewareTestnet.d.ts +36 -0
- package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/ekta.d.ts +36 -0
- package/_types/chains/definitions/ekta.d.ts.map +1 -0
- package/_types/chains/definitions/ektaTestnet.d.ts +36 -0
- package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/eon.d.ts +28 -0
- package/_types/chains/definitions/eon.d.ts.map +1 -0
- package/_types/chains/definitions/eos.d.ts +34 -0
- package/_types/chains/definitions/eos.d.ts.map +1 -0
- package/_types/chains/definitions/eosTestnet.d.ts +34 -0
- package/_types/chains/definitions/eosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/evmos.d.ts +35 -0
- package/_types/chains/definitions/evmos.d.ts.map +1 -0
- package/_types/chains/definitions/evmosTestnet.d.ts +35 -0
- package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/fantom.d.ts +34 -0
- package/_types/chains/definitions/fantom.d.ts.map +1 -0
- package/_types/chains/definitions/fantomSonicTestnet.d.ts +36 -0
- package/_types/chains/definitions/fantomSonicTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/fantomTestnet.d.ts +34 -0
- package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/fibo.d.ts +35 -0
- package/_types/chains/definitions/fibo.d.ts.map +1 -0
- package/_types/chains/definitions/filecoin.d.ts +33 -0
- package/_types/chains/definitions/filecoin.d.ts.map +1 -0
- package/_types/chains/definitions/filecoinCalibration.d.ts +35 -0
- package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -0
- package/_types/chains/definitions/filecoinHyperspace.d.ts +35 -0
- package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -0
- package/_types/chains/definitions/flare.d.ts +36 -0
- package/_types/chains/definitions/flare.d.ts.map +1 -0
- package/_types/chains/definitions/flareTestnet.d.ts +36 -0
- package/_types/chains/definitions/flareTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/foundry.d.ts +42 -0
- package/_types/chains/definitions/foundry.d.ts.map +1 -0
- package/_types/chains/definitions/fuse.d.ts +34 -0
- package/_types/chains/definitions/fuse.d.ts.map +1 -0
- package/_types/chains/definitions/fuseSparknet.d.ts +36 -0
- package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -0
- package/_types/chains/definitions/gnosis.d.ts +35 -0
- package/_types/chains/definitions/gnosis.d.ts.map +1 -0
- package/_types/chains/definitions/gnosisChiado.d.ts +35 -0
- package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -0
- package/_types/chains/definitions/gobi.d.ts +28 -0
- package/_types/chains/definitions/gobi.d.ts.map +1 -0
- package/_types/chains/definitions/goerli.d.ts +41 -0
- package/_types/chains/definitions/goerli.d.ts.map +1 -0
- package/_types/chains/definitions/haqqMainnet.d.ts +36 -0
- package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/haqqTestedge2.d.ts +36 -0
- package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -0
- package/_types/chains/definitions/hardhat.d.ts +41 -0
- package/_types/chains/definitions/hardhat.d.ts.map +1 -0
- package/_types/chains/definitions/harmonyOne.d.ts +33 -0
- package/_types/chains/definitions/harmonyOne.d.ts.map +1 -0
- package/_types/chains/definitions/hedera.d.ts +36 -0
- package/_types/chains/definitions/hedera.d.ts.map +1 -0
- package/_types/chains/definitions/hederaPreviewnet.d.ts +36 -0
- package/_types/chains/definitions/hederaPreviewnet.d.ts.map +1 -0
- package/_types/chains/definitions/hederaTestnet.d.ts +36 -0
- package/_types/chains/definitions/hederaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/holesky.d.ts +41 -0
- package/_types/chains/definitions/holesky.d.ts.map +1 -0
- package/_types/chains/definitions/iotex.d.ts +34 -0
- package/_types/chains/definitions/iotex.d.ts.map +1 -0
- package/_types/chains/definitions/iotexTestnet.d.ts +36 -0
- package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/jbc.d.ts +38 -0
- package/_types/chains/definitions/jbc.d.ts.map +1 -0
- package/_types/chains/definitions/karura.d.ts +42 -0
- package/_types/chains/definitions/karura.d.ts.map +1 -0
- package/_types/chains/definitions/kava.d.ts +35 -0
- package/_types/chains/definitions/kava.d.ts.map +1 -0
- package/_types/chains/definitions/kavaTestnet.d.ts +35 -0
- package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/kcc.d.ts +37 -0
- package/_types/chains/definitions/kcc.d.ts.map +1 -0
- package/_types/chains/definitions/klaytn.d.ts +33 -0
- package/_types/chains/definitions/klaytn.d.ts.map +1 -0
- package/_types/chains/definitions/klaytnBaobab.d.ts +34 -0
- package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -0
- package/_types/chains/definitions/kroma.d.ts +36 -0
- package/_types/chains/definitions/kroma.d.ts.map +1 -0
- package/_types/chains/definitions/kromaSepolia.d.ts +36 -0
- package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/lightlinkPegasus.d.ts +36 -0
- package/_types/chains/definitions/lightlinkPegasus.d.ts.map +1 -0
- package/_types/chains/definitions/lightlinkPhoenix.d.ts +36 -0
- package/_types/chains/definitions/lightlinkPhoenix.d.ts.map +1 -0
- package/_types/chains/definitions/linea.d.ts +35 -0
- package/_types/chains/definitions/linea.d.ts.map +1 -0
- package/_types/chains/definitions/lineaTestnet.d.ts +35 -0
- package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/localhost.d.ts +41 -0
- package/_types/chains/definitions/localhost.d.ts.map +1 -0
- package/_types/chains/definitions/lukso.d.ts +38 -0
- package/_types/chains/definitions/lukso.d.ts.map +1 -0
- package/_types/chains/definitions/mainnet.d.ts +41 -0
- package/_types/chains/definitions/mainnet.d.ts.map +1 -0
- package/_types/chains/definitions/mandala.d.ts +42 -0
- package/_types/chains/definitions/mandala.d.ts.map +1 -0
- package/_types/chains/definitions/manta.d.ts +35 -0
- package/_types/chains/definitions/manta.d.ts.map +1 -0
- package/_types/chains/definitions/mantaTestnet.d.ts +35 -0
- package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/mantle.d.ts +34 -0
- package/_types/chains/definitions/mantle.d.ts.map +1 -0
- package/_types/chains/definitions/mantleTestnet.d.ts +34 -0
- package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/metachain.d.ts +33 -0
- package/_types/chains/definitions/metachain.d.ts.map +1 -0
- package/_types/chains/definitions/meter.d.ts +35 -0
- package/_types/chains/definitions/meter.d.ts.map +1 -0
- package/_types/chains/definitions/meterTestnet.d.ts +35 -0
- package/_types/chains/definitions/meterTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/metis.d.ts +34 -0
- package/_types/chains/definitions/metis.d.ts.map +1 -0
- package/_types/chains/definitions/metisGoerli.d.ts +34 -0
- package/_types/chains/definitions/metisGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/mev.d.ts +33 -0
- package/_types/chains/definitions/mev.d.ts.map +1 -0
- package/_types/chains/definitions/mevTestnet.d.ts +33 -0
- package/_types/chains/definitions/mevTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/modeTestnet.d.ts +34 -0
- package/_types/chains/definitions/modeTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/moonbaseAlpha.d.ts +35 -0
- package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -0
- package/_types/chains/definitions/moonbeam.d.ts +35 -0
- package/_types/chains/definitions/moonbeam.d.ts.map +1 -0
- package/_types/chains/definitions/moonbeamDev.d.ts +42 -0
- package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -0
- package/_types/chains/definitions/moonriver.d.ts +35 -0
- package/_types/chains/definitions/moonriver.d.ts.map +1 -0
- package/_types/chains/definitions/neonDevnet.d.ts +33 -0
- package/_types/chains/definitions/neonDevnet.d.ts.map +1 -0
- package/_types/chains/definitions/neonMainnet.d.ts +34 -0
- package/_types/chains/definitions/neonMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/nexi.d.ts +34 -0
- package/_types/chains/definitions/nexi.d.ts.map +1 -0
- package/_types/chains/definitions/nexilix.d.ts +33 -0
- package/_types/chains/definitions/nexilix.d.ts.map +1 -0
- package/_types/chains/definitions/oasisTestnet.d.ts +40 -0
- package/_types/chains/definitions/oasisTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/oasys.d.ts +36 -0
- package/_types/chains/definitions/oasys.d.ts.map +1 -0
- package/_types/chains/definitions/okc.d.ts +33 -0
- package/_types/chains/definitions/okc.d.ts.map +1 -0
- package/_types/chains/definitions/oortmainnetDev.d.ts +39 -0
- package/_types/chains/definitions/oortmainnetDev.d.ts.map +1 -0
- package/_types/chains/definitions/opBNB.d.ts +33 -0
- package/_types/chains/definitions/opBNB.d.ts.map +1 -0
- package/_types/chains/definitions/opBNBTestnet.d.ts +33 -0
- package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/optimism.d.ts +810 -0
- package/_types/chains/definitions/optimism.d.ts.map +1 -0
- package/_types/chains/definitions/optimismGoerli.d.ts +810 -0
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -0
- package/_types/chains/definitions/optimismSepolia.d.ts +810 -0
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/palm.d.ts +34 -0
- package/_types/chains/definitions/palm.d.ts.map +1 -0
- package/_types/chains/definitions/palmTestnet.d.ts +34 -0
- package/_types/chains/definitions/palmTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/pgn.d.ts +796 -0
- package/_types/chains/definitions/pgn.d.ts.map +1 -0
- package/_types/chains/definitions/pgnTestnet.d.ts +791 -0
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/plinga.d.ts +33 -0
- package/_types/chains/definitions/plinga.d.ts.map +1 -0
- package/_types/chains/definitions/polygon.d.ts +34 -0
- package/_types/chains/definitions/polygon.d.ts.map +1 -0
- package/_types/chains/definitions/polygonMumbai.d.ts +34 -0
- package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -0
- package/_types/chains/definitions/polygonZkEvm.d.ts +34 -0
- package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -0
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +34 -0
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/pulsechain.d.ts +38 -0
- package/_types/chains/definitions/pulsechain.d.ts.map +1 -0
- package/_types/chains/definitions/pulsechainV4.d.ts +38 -0
- package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -0
- package/_types/chains/definitions/qMainnet.d.ts +36 -0
- package/_types/chains/definitions/qMainnet.d.ts.map +1 -0
- package/_types/chains/definitions/qTestnet.d.ts +36 -0
- package/_types/chains/definitions/qTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/rollux.d.ts +35 -0
- package/_types/chains/definitions/rollux.d.ts.map +1 -0
- package/_types/chains/definitions/rolluxTestnet.d.ts +35 -0
- package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/ronin.d.ts +33 -0
- package/_types/chains/definitions/ronin.d.ts.map +1 -0
- package/_types/chains/definitions/rootstock.d.ts +34 -0
- package/_types/chains/definitions/rootstock.d.ts.map +1 -0
- package/_types/chains/definitions/saigon.d.ts +33 -0
- package/_types/chains/definitions/saigon.d.ts.map +1 -0
- package/_types/chains/definitions/sapphire.d.ts +36 -0
- package/_types/chains/definitions/sapphire.d.ts.map +1 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts +38 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/scroll.d.ts +35 -0
- package/_types/chains/definitions/scroll.d.ts.map +1 -0
- package/_types/chains/definitions/scrollSepolia.d.ts +34 -0
- package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/scrollTestnet.d.ts +37 -0
- package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/sepolia.d.ts +41 -0
- package/_types/chains/definitions/sepolia.d.ts.map +1 -0
- package/_types/chains/definitions/shardeumSphinx.d.ts +35 -0
- package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -0
- package/_types/chains/definitions/shibarium.d.ts +34 -0
- package/_types/chains/definitions/shibarium.d.ts.map +1 -0
- package/_types/chains/definitions/shimmer.d.ts +37 -0
- package/_types/chains/definitions/shimmer.d.ts.map +1 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts +37 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/brawl.d.ts +29 -0
- package/_types/chains/definitions/skale/brawl.d.ts.map +1 -0
- package/_types/chains/definitions/skale/calypso.d.ts +34 -0
- package/_types/chains/definitions/skale/calypso.d.ts.map +1 -0
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +34 -0
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/chaosTestnet.d.ts +34 -0
- package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +29 -0
- package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -0
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +29 -0
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -0
- package/_types/chains/definitions/skale/europa.d.ts +34 -0
- package/_types/chains/definitions/skale/europa.d.ts.map +1 -0
- package/_types/chains/definitions/skale/europaTestnet.d.ts +34 -0
- package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/exorde.d.ts +29 -0
- package/_types/chains/definitions/skale/exorde.d.ts.map +1 -0
- package/_types/chains/definitions/skale/humanProtocol.d.ts +29 -0
- package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -0
- package/_types/chains/definitions/skale/nebula.d.ts +34 -0
- package/_types/chains/definitions/skale/nebula.d.ts.map +1 -0
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +34 -0
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/razor.d.ts +29 -0
- package/_types/chains/definitions/skale/razor.d.ts.map +1 -0
- package/_types/chains/definitions/skale/titan.d.ts +34 -0
- package/_types/chains/definitions/skale/titan.d.ts.map +1 -0
- package/_types/chains/definitions/skale/titanTestnet.d.ts +34 -0
- package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/songbird.d.ts +36 -0
- package/_types/chains/definitions/songbird.d.ts.map +1 -0
- package/_types/chains/definitions/songbirdTestnet.d.ts +36 -0
- package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/spicy.d.ts +38 -0
- package/_types/chains/definitions/spicy.d.ts.map +1 -0
- package/_types/chains/definitions/syscoin.d.ts +35 -0
- package/_types/chains/definitions/syscoin.d.ts.map +1 -0
- package/_types/chains/definitions/syscoinTestnet.d.ts +34 -0
- package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/taikoJolnir.d.ts +33 -0
- package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -0
- package/_types/chains/definitions/taikoKatla.d.ts +39 -0
- package/_types/chains/definitions/taikoKatla.d.ts.map +1 -0
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +35 -0
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/taraxa.d.ts +35 -0
- package/_types/chains/definitions/taraxa.d.ts.map +1 -0
- package/_types/chains/definitions/taraxaTestnet.d.ts +35 -0
- package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/telos.d.ts +33 -0
- package/_types/chains/definitions/telos.d.ts.map +1 -0
- package/_types/chains/definitions/telosTestnet.d.ts +35 -0
- package/_types/chains/definitions/telosTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/tenet.d.ts +37 -0
- package/_types/chains/definitions/tenet.d.ts.map +1 -0
- package/_types/chains/definitions/thunderTestnet.d.ts +35 -0
- package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/vechain.d.ts +39 -0
- package/_types/chains/definitions/vechain.d.ts.map +1 -0
- package/_types/chains/definitions/wanchain.d.ts +33 -0
- package/_types/chains/definitions/wanchain.d.ts.map +1 -0
- package/_types/chains/definitions/wanchainTestnet.d.ts +33 -0
- package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/wemix.d.ts +39 -0
- package/_types/chains/definitions/wemix.d.ts.map +1 -0
- package/_types/chains/definitions/wemixTestnet.d.ts +40 -0
- package/_types/chains/definitions/wemixTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/x1Testnet.d.ts +33 -0
- package/_types/chains/definitions/x1Testnet.d.ts.map +1 -0
- package/_types/chains/definitions/xdc.d.ts +39 -0
- package/_types/chains/definitions/xdc.d.ts.map +1 -0
- package/_types/chains/definitions/xdcTestnet.d.ts +35 -0
- package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +35 -0
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zhejiang.d.ts +35 -0
- package/_types/chains/definitions/zhejiang.d.ts.map +1 -0
- package/_types/chains/definitions/zilliqa.d.ts +36 -0
- package/_types/chains/definitions/zilliqa.d.ts.map +1 -0
- package/_types/chains/definitions/zilliqaTestnet.d.ts +36 -0
- package/_types/chains/definitions/zilliqaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zkFair.d.ts +38 -0
- package/_types/chains/definitions/zkFair.d.ts.map +1 -0
- package/_types/chains/definitions/zkFairTestnet.d.ts +39 -0
- package/_types/chains/definitions/zkFairTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zkSync.d.ts +650 -0
- package/_types/chains/definitions/zkSync.d.ts.map +1 -0
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +649 -0
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts +650 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zora.d.ts +811 -0
- package/_types/chains/definitions/zora.d.ts.map +1 -0
- package/_types/chains/definitions/zoraSepolia.d.ts +812 -0
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -0
- package/_types/chains/definitions/zoraTestnet.d.ts +806 -0
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -0
- package/_types/chains/index.d.ts +205 -0
- package/_types/chains/index.d.ts.map +1 -0
- package/_types/chains/opStack/abis.d.ts +1010 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -0
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +65 -0
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -0
- package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts +50 -0
- package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts +48 -0
- package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts +80 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +39 -0
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts +50 -0
- package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts +45 -0
- package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts +51 -0
- package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts +43 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts +43 -0
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts +63 -0
- package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts +37 -0
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts +36 -0
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts +49 -0
- package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getL2Output.d.ts +44 -0
- package/_types/chains/opStack/actions/getL2Output.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToFinalize.d.ts +57 -0
- package/_types/chains/opStack/actions/getTimeToFinalize.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts +61 -0
- package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToProve.d.ts +50 -0
- package/_types/chains/opStack/actions/getTimeToProve.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts +48 -0
- package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts.map +1 -0
- package/_types/chains/opStack/actions/initiateWithdrawal.d.ts +77 -0
- package/_types/chains/opStack/actions/initiateWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/proveWithdrawal.d.ts +67 -0
- package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/waitForNextL2Output.d.ts +55 -0
- package/_types/chains/opStack/actions/waitForNextL2Output.d.ts.map +1 -0
- package/_types/chains/opStack/actions/waitToFinalize.d.ts +45 -0
- package/_types/chains/opStack/actions/waitToFinalize.d.ts.map +1 -0
- package/_types/chains/opStack/actions/waitToProve.d.ts +55 -0
- package/_types/chains/opStack/actions/waitToProve.d.ts.map +1 -0
- package/_types/chains/opStack/chainConfig.d.ts +773 -0
- package/_types/chains/opStack/chainConfig.d.ts.map +1 -0
- package/_types/chains/opStack/chains.d.ts +12 -0
- package/_types/chains/opStack/chains.d.ts.map +1 -0
- package/_types/chains/opStack/contracts.d.ts +25 -0
- package/_types/chains/opStack/contracts.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/publicL1.d.ts +401 -0
- package/_types/chains/opStack/decorators/publicL1.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts +312 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts +136 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/walletL2.d.ts +79 -0
- package/_types/chains/opStack/decorators/walletL2.d.ts.map +1 -0
- package/_types/chains/opStack/errors/withdrawal.d.ts +12 -0
- package/_types/chains/opStack/errors/withdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/formatters.d.ts +751 -0
- package/_types/chains/opStack/formatters.d.ts.map +1 -0
- package/_types/chains/opStack/index.d.ts +42 -0
- package/_types/chains/opStack/index.d.ts.map +1 -0
- package/_types/chains/opStack/parsers.d.ts +8 -0
- package/_types/chains/opStack/parsers.d.ts.map +1 -0
- package/_types/chains/opStack/serializers.d.ts +12 -0
- package/_types/chains/opStack/serializers.d.ts.map +1 -0
- package/_types/chains/opStack/types/block.d.ts +13 -0
- package/_types/chains/opStack/types/block.d.ts.map +1 -0
- package/_types/chains/opStack/types/chain.d.ts +9 -0
- package/_types/chains/opStack/types/chain.d.ts.map +1 -0
- package/_types/chains/opStack/types/contract.d.ts +14 -0
- package/_types/chains/opStack/types/contract.d.ts.map +1 -0
- package/_types/chains/opStack/types/deposit.d.ts +25 -0
- package/_types/chains/opStack/types/deposit.d.ts.map +1 -0
- package/_types/chains/opStack/types/transaction.d.ts +60 -0
- package/_types/chains/opStack/types/transaction.d.ts.map +1 -0
- package/_types/chains/opStack/types/withdrawal.d.ts +22 -0
- package/_types/chains/opStack/types/withdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +446 -0
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +1 -0
- package/_types/chains/opStack/utils/extractWithdrawalMessageLogs.d.ts +137 -0
- package/_types/chains/opStack/utils/extractWithdrawalMessageLogs.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +12 -0
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +11 -0
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getSourceHash.d.ts +28 -0
- package/_types/chains/opStack/utils/getSourceHash.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getWithdrawalHashStorageSlot.d.ts +11 -0
- package/_types/chains/opStack/utils/getWithdrawalHashStorageSlot.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getWithdrawals.d.ts +12 -0
- package/_types/chains/opStack/utils/getWithdrawals.d.ts.map +1 -0
- package/_types/chains/opStack/utils/opaqueDataToDepositData.d.ts +15 -0
- package/_types/chains/opStack/utils/opaqueDataToDepositData.d.ts.map +1 -0
- package/_types/chains/utils.d.ts +5 -0
- package/_types/chains/utils.d.ts.map +1 -0
- package/_types/chains/zksync/actions/sendEip712Transaction.d.ts +50 -0
- package/_types/chains/zksync/actions/sendEip712Transaction.d.ts.map +1 -0
- package/_types/chains/zksync/actions/sendTransaction.d.ts +54 -0
- package/_types/chains/zksync/actions/sendTransaction.d.ts.map +1 -0
- package/_types/chains/zksync/actions/signEip712Transaction.d.ts +54 -0
- package/_types/chains/zksync/actions/signEip712Transaction.d.ts.map +1 -0
- package/_types/chains/zksync/actions/signTransaction.d.ts +56 -0
- package/_types/chains/zksync/actions/signTransaction.d.ts.map +1 -0
- package/_types/chains/zksync/chainConfig.d.ts +621 -0
- package/_types/chains/zksync/chainConfig.d.ts.map +1 -0
- package/_types/chains/zksync/chains.d.ts +4 -0
- package/_types/chains/zksync/chains.d.ts.map +1 -0
- package/_types/chains/zksync/decorators/eip712.d.ts +151 -0
- package/_types/chains/zksync/decorators/eip712.d.ts.map +1 -0
- package/_types/chains/zksync/errors/transaction.d.ts +9 -0
- package/_types/chains/zksync/errors/transaction.d.ts.map +1 -0
- package/_types/chains/zksync/formatters.d.ts +617 -0
- package/_types/chains/zksync/formatters.d.ts.map +1 -0
- package/_types/chains/zksync/index.d.ts +15 -0
- package/_types/chains/zksync/index.d.ts.map +1 -0
- package/_types/chains/zksync/serializers.d.ts +8 -0
- package/_types/chains/zksync/serializers.d.ts.map +1 -0
- package/_types/chains/zksync/types/block.d.ts +15 -0
- package/_types/chains/zksync/types/block.d.ts.map +1 -0
- package/_types/chains/zksync/types/chain.d.ts +9 -0
- package/_types/chains/zksync/types/chain.d.ts.map +1 -0
- package/_types/chains/zksync/types/eip712.d.ts +27 -0
- package/_types/chains/zksync/types/eip712.d.ts.map +1 -0
- package/_types/chains/zksync/types/fee.d.ts +6 -0
- package/_types/chains/zksync/types/fee.d.ts.map +1 -0
- package/_types/chains/zksync/types/log.d.ts +41 -0
- package/_types/chains/zksync/types/log.d.ts.map +1 -0
- package/_types/chains/zksync/types/transaction.d.ts +122 -0
- package/_types/chains/zksync/types/transaction.d.ts.map +1 -0
- package/_types/chains/zksync/utils/assertEip712Request.d.ts +8 -0
- package/_types/chains/zksync/utils/assertEip712Request.d.ts.map +1 -0
- package/_types/chains/zksync/utils/assertEip712Transaction.d.ts +3 -0
- package/_types/chains/zksync/utils/assertEip712Transaction.d.ts.map +1 -0
- package/_types/chains/zksync/utils/getEip712Domain.d.ts +4 -0
- package/_types/chains/zksync/utils/getEip712Domain.d.ts.map +1 -0
- package/_types/chains/zksync/utils/isEip712Transaction.d.ts +3 -0
- package/_types/chains/zksync/utils/isEip712Transaction.d.ts.map +1 -0
- package/_types/clients/createClient.d.ts +86 -0
- package/_types/clients/createClient.d.ts.map +1 -0
- package/_types/clients/createPublicClient.d.ts +31 -0
- package/_types/clients/createPublicClient.d.ts.map +1 -0
- package/_types/clients/createTestClient.d.ts +45 -0
- package/_types/clients/createTestClient.d.ts.map +1 -0
- package/_types/clients/createWalletClient.d.ts +51 -0
- package/_types/clients/createWalletClient.d.ts.map +1 -0
- package/_types/clients/decorators/public.d.ts +1252 -0
- package/_types/clients/decorators/public.d.ts.map +1 -0
- package/_types/clients/decorators/test.d.ts +640 -0
- package/_types/clients/decorators/test.d.ts.map +1 -0
- package/_types/clients/decorators/wallet.d.ts +561 -0
- package/_types/clients/decorators/wallet.d.ts.map +1 -0
- package/_types/clients/transports/createTransport.d.ts +36 -0
- package/_types/clients/transports/createTransport.d.ts.map +1 -0
- package/_types/clients/transports/custom.d.ts +23 -0
- package/_types/clients/transports/custom.d.ts.map +1 -0
- package/_types/clients/transports/fallback.d.ts +77 -0
- package/_types/clients/transports/fallback.d.ts.map +1 -0
- package/_types/clients/transports/http.d.ts +44 -0
- package/_types/clients/transports/http.d.ts.map +1 -0
- package/_types/clients/transports/ipc.d.ts +46 -0
- package/_types/clients/transports/ipc.d.ts.map +1 -0
- package/_types/clients/transports/webSocket.d.ts +52 -0
- package/_types/clients/transports/webSocket.d.ts.map +1 -0
- package/_types/constants/abis.d.ts +1130 -0
- package/_types/constants/abis.d.ts.map +1 -0
- package/_types/constants/address.d.ts +2 -0
- package/_types/constants/address.d.ts.map +1 -0
- package/_types/constants/bytes.d.ts +2 -0
- package/_types/constants/bytes.d.ts.map +1 -0
- package/_types/constants/contract.d.ts +2 -0
- package/_types/constants/contract.d.ts.map +1 -0
- package/_types/constants/contracts.d.ts +2 -0
- package/_types/constants/contracts.d.ts.map +1 -0
- package/_types/constants/number.d.ts +97 -0
- package/_types/constants/number.d.ts.map +1 -0
- package/_types/constants/solidity.d.ts +15 -0
- package/_types/constants/solidity.d.ts.map +1 -0
- package/_types/constants/strings.d.ts +2 -0
- package/_types/constants/strings.d.ts.map +1 -0
- package/_types/constants/unit.d.ts +13 -0
- package/_types/constants/unit.d.ts.map +1 -0
- package/_types/ens/index.d.ts +9 -0
- package/_types/ens/index.d.ts.map +1 -0
- package/_types/errors/abi.d.ts +267 -0
- package/_types/errors/abi.d.ts.map +1 -0
- package/_types/errors/account.d.ts +11 -0
- package/_types/errors/account.d.ts.map +1 -0
- package/_types/errors/address.d.ts +11 -0
- package/_types/errors/address.d.ts.map +1 -0
- package/_types/errors/base.d.ts +27 -0
- package/_types/errors/base.d.ts.map +1 -0
- package/_types/errors/block.d.ts +13 -0
- package/_types/errors/block.d.ts.map +1 -0
- package/_types/errors/ccip.d.ts +38 -0
- package/_types/errors/ccip.d.ts.map +1 -0
- package/_types/errors/chain.d.ts +50 -0
- package/_types/errors/chain.d.ts.map +1 -0
- package/_types/errors/contract.d.ts +79 -0
- package/_types/errors/contract.d.ts.map +1 -0
- package/_types/errors/cursor.d.ts +31 -0
- package/_types/errors/cursor.d.ts.map +1 -0
- package/_types/errors/data.d.ts +35 -0
- package/_types/errors/data.d.ts.map +1 -0
- package/_types/errors/encoding.d.ts +47 -0
- package/_types/errors/encoding.d.ts.map +1 -0
- package/_types/errors/ens.d.ts +38 -0
- package/_types/errors/ens.d.ts.map +1 -0
- package/_types/errors/estimateGas.d.ts +17 -0
- package/_types/errors/estimateGas.d.ts.map +1 -0
- package/_types/errors/fee.d.ts +25 -0
- package/_types/errors/fee.d.ts.map +1 -0
- package/_types/errors/log.d.ts +9 -0
- package/_types/errors/log.d.ts.map +1 -0
- package/_types/errors/node.d.ts +142 -0
- package/_types/errors/node.d.ts.map +1 -0
- package/_types/errors/request.d.ts +73 -0
- package/_types/errors/request.d.ts.map +1 -0
- package/_types/errors/rpc.d.ts +302 -0
- package/_types/errors/rpc.d.ts.map +1 -0
- package/_types/errors/stateOverride.d.ts +21 -0
- package/_types/errors/stateOverride.d.ts.map +1 -0
- package/_types/errors/transaction.d.ts +109 -0
- package/_types/errors/transaction.d.ts.map +1 -0
- package/_types/errors/transport.d.ts +8 -0
- package/_types/errors/transport.d.ts.map +1 -0
- package/_types/errors/utils.d.ts +8 -0
- package/_types/errors/utils.d.ts.map +1 -0
- package/_types/errors/version.d.ts +2 -0
- package/_types/errors/version.d.ts.map +1 -0
- package/_types/index.d.ts +246 -0
- package/_types/index.d.ts.map +1 -0
- package/_types/node/index.d.ts +3 -0
- package/_types/node/index.d.ts.map +1 -0
- package/_types/types/account.d.ts +15 -0
- package/_types/types/account.d.ts.map +1 -0
- package/_types/types/block.d.ts +71 -0
- package/_types/types/block.d.ts.map +1 -0
- package/_types/types/chain.d.ts +162 -0
- package/_types/types/chain.d.ts.map +1 -0
- package/_types/types/contract.d.ts +119 -0
- package/_types/types/contract.d.ts.map +1 -0
- package/_types/types/eip1193.d.ts +1288 -0
- package/_types/types/eip1193.d.ts.map +1 -0
- package/_types/types/ens.d.ts +5 -0
- package/_types/types/ens.d.ts.map +1 -0
- package/_types/types/fee.d.ts +36 -0
- package/_types/types/fee.d.ts.map +1 -0
- package/_types/types/filter.d.ts +40 -0
- package/_types/types/filter.d.ts.map +1 -0
- package/_types/types/log.d.ts +55 -0
- package/_types/types/log.d.ts.map +1 -0
- package/_types/types/misc.d.ts +18 -0
- package/_types/types/misc.d.ts.map +1 -0
- package/_types/types/multicall.d.ts +58 -0
- package/_types/types/multicall.d.ts.map +1 -0
- package/_types/types/proof.d.ts +18 -0
- package/_types/types/proof.d.ts.map +1 -0
- package/_types/types/rpc.d.ts +78 -0
- package/_types/types/rpc.d.ts.map +1 -0
- package/_types/types/stateOverride.d.ts +20 -0
- package/_types/types/stateOverride.d.ts.map +1 -0
- package/_types/types/transaction.d.ts +173 -0
- package/_types/types/transaction.d.ts.map +1 -0
- package/_types/types/transport.d.ts +24 -0
- package/_types/types/transport.d.ts.map +1 -0
- package/_types/types/typedData.d.ts +25 -0
- package/_types/types/typedData.d.ts.map +1 -0
- package/_types/types/utils.d.ts +171 -0
- package/_types/types/utils.d.ts.map +1 -0
- package/_types/types/window.d.ts +7 -0
- package/_types/types/window.d.ts.map +1 -0
- package/_types/types/withdrawal.d.ts +8 -0
- package/_types/types/withdrawal.d.ts.map +1 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts +24 -0
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -0
- package/_types/utils/abi/decodeDeployData.d.ts +18 -0
- package/_types/utils/abi/decodeDeployData.d.ts.map +1 -0
- package/_types/utils/abi/decodeErrorResult.d.ts +27 -0
- package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -0
- package/_types/utils/abi/decodeEventLog.d.ts +33 -0
- package/_types/utils/abi/decodeEventLog.d.ts.map +1 -0
- package/_types/utils/abi/decodeFunctionData.d.ts +26 -0
- package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -0
- package/_types/utils/abi/decodeFunctionResult.d.ts +26 -0
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -0
- package/_types/utils/abi/encodeAbiParameters.d.ts +30 -0
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -0
- package/_types/utils/abi/encodeDeployData.d.ts +22 -0
- package/_types/utils/abi/encodeDeployData.d.ts.map +1 -0
- package/_types/utils/abi/encodeErrorResult.d.ts +24 -0
- package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -0
- package/_types/utils/abi/encodeEventTopics.d.ts +26 -0
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -0
- package/_types/utils/abi/encodeFunctionData.d.ts +28 -0
- package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -0
- package/_types/utils/abi/encodeFunctionResult.d.ts +22 -0
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -0
- package/_types/utils/abi/encodePacked.d.ts +20 -0
- package/_types/utils/abi/encodePacked.d.ts.map +1 -0
- package/_types/utils/abi/formatAbiItem.d.ts +14 -0
- package/_types/utils/abi/formatAbiItem.d.ts.map +1 -0
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts +10 -0
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -0
- package/_types/utils/abi/getAbiItem.d.ts +23 -0
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -0
- package/_types/utils/abi/parseEventLogs.d.ts +43 -0
- package/_types/utils/abi/parseEventLogs.d.ts.map +1 -0
- package/_types/utils/accounts.d.ts +3 -0
- package/_types/utils/accounts.d.ts.map +1 -0
- package/_types/utils/address/getAddress.d.ts +10 -0
- package/_types/utils/address/getAddress.d.ts.map +1 -0
- package/_types/utils/address/getContractAddress.d.ts +35 -0
- package/_types/utils/address/getContractAddress.d.ts.map +1 -0
- package/_types/utils/address/isAddress.d.ts +5 -0
- package/_types/utils/address/isAddress.d.ts.map +1 -0
- package/_types/utils/address/isAddressEqual.d.ts +7 -0
- package/_types/utils/address/isAddressEqual.d.ts.map +1 -0
- package/_types/utils/buildRequest.d.ts +11 -0
- package/_types/utils/buildRequest.d.ts.map +1 -0
- package/_types/utils/ccip.d.ts +40 -0
- package/_types/utils/ccip.d.ts.map +1 -0
- 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/cursor.d.ts +47 -0
- package/_types/utils/cursor.d.ts.map +1 -0
- package/_types/utils/data/concat.d.ts +10 -0
- package/_types/utils/data/concat.d.ts.map +1 -0
- package/_types/utils/data/isBytes.d.ts +5 -0
- package/_types/utils/data/isBytes.d.ts.map +1 -0
- package/_types/utils/data/isBytesEqual.d.ts +7 -0
- package/_types/utils/data/isBytesEqual.d.ts.map +1 -0
- package/_types/utils/data/isHex.d.ts +7 -0
- package/_types/utils/data/isHex.d.ts.map +1 -0
- package/_types/utils/data/pad.d.ts +16 -0
- package/_types/utils/data/pad.d.ts.map +1 -0
- package/_types/utils/data/size.d.ts +12 -0
- package/_types/utils/data/size.d.ts.map +1 -0
- package/_types/utils/data/slice.d.ts +42 -0
- package/_types/utils/data/slice.d.ts.map +1 -0
- package/_types/utils/data/trim.d.ts +10 -0
- package/_types/utils/data/trim.d.ts.map +1 -0
- package/_types/utils/encoding/fromBytes.d.ts +117 -0
- package/_types/utils/encoding/fromBytes.d.ts.map +1 -0
- package/_types/utils/encoding/fromHex.d.ts +149 -0
- package/_types/utils/encoding/fromHex.d.ts.map +1 -0
- package/_types/utils/encoding/fromRlp.d.ts +21 -0
- package/_types/utils/encoding/fromRlp.d.ts.map +1 -0
- package/_types/utils/encoding/toBytes.d.ts +134 -0
- package/_types/utils/encoding/toBytes.d.ts.map +1 -0
- package/_types/utils/encoding/toHex.d.ts +148 -0
- package/_types/utils/encoding/toHex.d.ts.map +1 -0
- package/_types/utils/encoding/toRlp.d.ts +16 -0
- package/_types/utils/encoding/toRlp.d.ts.map +1 -0
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +13 -0
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -0
- package/_types/utils/ens/avatar/utils.d.ts +48 -0
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -0
- package/_types/utils/ens/encodeLabelhash.d.ts +5 -0
- package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -0
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts +6 -0
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -0
- package/_types/utils/ens/errors.d.ts +4 -0
- package/_types/utils/ens/errors.d.ts.map +1 -0
- package/_types/utils/ens/labelhash.d.ts +17 -0
- package/_types/utils/ens/labelhash.d.ts.map +1 -0
- package/_types/utils/ens/namehash.d.ts +20 -0
- package/_types/utils/ens/namehash.d.ts.map +1 -0
- package/_types/utils/ens/normalize.d.ts +14 -0
- package/_types/utils/ens/normalize.d.ts.map +1 -0
- package/_types/utils/ens/packetToBytes.d.ts +8 -0
- package/_types/utils/ens/packetToBytes.d.ts.map +1 -0
- package/_types/utils/errors/getCallError.d.ts +13 -0
- package/_types/utils/errors/getCallError.d.ts.map +1 -0
- package/_types/utils/errors/getContractError.d.ts +15 -0
- package/_types/utils/errors/getContractError.d.ts.map +1 -0
- package/_types/utils/errors/getEstimateGasError.d.ts +15 -0
- package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -0
- package/_types/utils/errors/getNodeError.d.ts +8 -0
- package/_types/utils/errors/getNodeError.d.ts.map +1 -0
- package/_types/utils/errors/getTransactionError.d.ts +16 -0
- package/_types/utils/errors/getTransactionError.d.ts.map +1 -0
- package/_types/utils/filters/createFilterRequestScope.d.ts +22 -0
- package/_types/utils/filters/createFilterRequestScope.d.ts.map +1 -0
- package/_types/utils/formatters/block.d.ts +28 -0
- package/_types/utils/formatters/block.d.ts.map +1 -0
- package/_types/utils/formatters/extract.d.ts +10 -0
- package/_types/utils/formatters/extract.d.ts.map +1 -0
- package/_types/utils/formatters/feeHistory.d.ts +6 -0
- package/_types/utils/formatters/feeHistory.d.ts.map +1 -0
- package/_types/utils/formatters/formatter.d.ts +12 -0
- package/_types/utils/formatters/formatter.d.ts.map +1 -0
- package/_types/utils/formatters/log.d.ts +9 -0
- package/_types/utils/formatters/log.d.ts.map +1 -0
- 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 +415 -0
- package/_types/utils/formatters/transaction.d.ts.map +1 -0
- package/_types/utils/formatters/transactionReceipt.d.ts +18 -0
- package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -0
- package/_types/utils/formatters/transactionRequest.d.ts +24 -0
- package/_types/utils/formatters/transactionRequest.d.ts.map +1 -0
- package/_types/utils/getAction.d.ts +10 -0
- package/_types/utils/getAction.d.ts.map +1 -0
- package/_types/utils/hash/hashSignature.d.ts +6 -0
- package/_types/utils/hash/hashSignature.d.ts.map +1 -0
- package/_types/utils/hash/isHash.d.ts +7 -0
- package/_types/utils/hash/isHash.d.ts.map +1 -0
- package/_types/utils/hash/keccak256.d.ts +11 -0
- package/_types/utils/hash/keccak256.d.ts.map +1 -0
- package/_types/utils/hash/normalizeSignature.d.ts +6 -0
- package/_types/utils/hash/normalizeSignature.d.ts.map +1 -0
- package/_types/utils/hash/ripemd160.d.ts +11 -0
- package/_types/utils/hash/ripemd160.d.ts.map +1 -0
- package/_types/utils/hash/sha256.d.ts +11 -0
- package/_types/utils/hash/sha256.d.ts.map +1 -0
- package/_types/utils/hash/toEventHash.d.ts +2 -0
- package/_types/utils/hash/toEventHash.d.ts.map +1 -0
- package/_types/utils/hash/toEventSelector.d.ts +12 -0
- package/_types/utils/hash/toEventSelector.d.ts.map +1 -0
- package/_types/utils/hash/toEventSignature.d.ts +2 -0
- package/_types/utils/hash/toEventSignature.d.ts.map +1 -0
- package/_types/utils/hash/toFunctionHash.d.ts +2 -0
- package/_types/utils/hash/toFunctionHash.d.ts.map +1 -0
- package/_types/utils/hash/toFunctionSelector.d.ts +14 -0
- package/_types/utils/hash/toFunctionSelector.d.ts.map +1 -0
- package/_types/utils/hash/toFunctionSignature.d.ts +2 -0
- package/_types/utils/hash/toFunctionSignature.d.ts.map +1 -0
- package/_types/utils/hash/toSignature.d.ts +23 -0
- package/_types/utils/hash/toSignature.d.ts.map +1 -0
- package/_types/utils/hash/toSignatureHash.d.ts +10 -0
- package/_types/utils/hash/toSignatureHash.d.ts.map +1 -0
- package/_types/utils/index.d.ts +109 -0
- package/_types/utils/index.d.ts.map +1 -0
- package/_types/utils/observe.d.ts +19 -0
- package/_types/utils/observe.d.ts.map +1 -0
- package/_types/utils/poll.d.ts +15 -0
- package/_types/utils/poll.d.ts.map +1 -0
- package/_types/utils/promise/createBatchScheduler.d.ts +21 -0
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -0
- package/_types/utils/promise/withCache.d.ts +38 -0
- package/_types/utils/promise/withCache.d.ts.map +1 -0
- package/_types/utils/promise/withRetry.d.ts +15 -0
- package/_types/utils/promise/withRetry.d.ts.map +1 -0
- package/_types/utils/promise/withTimeout.d.ts +10 -0
- package/_types/utils/promise/withTimeout.d.ts.map +1 -0
- package/_types/utils/regex.d.ts +4 -0
- package/_types/utils/regex.d.ts.map +1 -0
- package/_types/utils/rpc/compat.d.ts +78 -0
- package/_types/utils/rpc/compat.d.ts.map +1 -0
- package/_types/utils/rpc/http.d.ts +20 -0
- package/_types/utils/rpc/http.d.ts.map +1 -0
- package/_types/utils/rpc/id.d.ts +11 -0
- package/_types/utils/rpc/id.d.ts.map +1 -0
- package/_types/utils/rpc/ipc.d.ts +8 -0
- package/_types/utils/rpc/ipc.d.ts.map +1 -0
- package/_types/utils/rpc/socket.d.ts +45 -0
- package/_types/utils/rpc/socket.d.ts.map +1 -0
- package/_types/utils/rpc/webSocket.d.ts +3 -0
- package/_types/utils/rpc/webSocket.d.ts.map +1 -0
- 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 +11 -0
- package/_types/utils/signature/hashMessage.d.ts.map +1 -0
- package/_types/utils/signature/hashTypedData.d.ts +29 -0
- package/_types/utils/signature/hashTypedData.d.ts.map +1 -0
- 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 +16 -0
- package/_types/utils/signature/hexToSignature.d.ts.map +1 -0
- package/_types/utils/signature/recoverAddress.d.ts +11 -0
- package/_types/utils/signature/recoverAddress.d.ts.map +1 -0
- package/_types/utils/signature/recoverMessageAddress.d.ts +13 -0
- package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -0
- package/_types/utils/signature/recoverPublicKey.d.ts +12 -0
- package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -0
- package/_types/utils/signature/recoverTypedDataAddress.d.ts +13 -0
- package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -0
- 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 +21 -0
- package/_types/utils/signature/signatureToHex.d.ts.map +1 -0
- package/_types/utils/signature/verifyMessage.d.ts +30 -0
- package/_types/utils/signature/verifyMessage.d.ts.map +1 -0
- package/_types/utils/signature/verifyTypedData.d.ts +29 -0
- package/_types/utils/signature/verifyTypedData.d.ts.map +1 -0
- package/_types/utils/stringify.d.ts +4 -0
- package/_types/utils/stringify.d.ts.map +1 -0
- package/_types/utils/transaction/assertRequest.d.ts +11 -0
- package/_types/utils/transaction/assertRequest.d.ts.map +1 -0
- package/_types/utils/transaction/assertTransaction.d.ts +14 -0
- package/_types/utils/transaction/assertTransaction.d.ts.map +1 -0
- package/_types/utils/transaction/getSerializedTransactionType.d.ts +9 -0
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -0
- package/_types/utils/transaction/getTransactionType.d.ts +7 -0
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -0
- package/_types/utils/transaction/parseTransaction.d.ts +26 -0
- package/_types/utils/transaction/parseTransaction.d.ts.map +1 -0
- package/_types/utils/transaction/serializeAccessList.d.ts +10 -0
- package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -0
- package/_types/utils/transaction/serializeTransaction.d.ts +19 -0
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -0
- package/_types/utils/typedData.d.ts +19 -0
- package/_types/utils/typedData.d.ts.map +1 -0
- package/_types/utils/uid.d.ts +2 -0
- package/_types/utils/uid.d.ts.map +1 -0
- package/_types/utils/unit/formatEther.d.ts +15 -0
- package/_types/utils/unit/formatEther.d.ts.map +1 -0
- package/_types/utils/unit/formatGwei.d.ts +15 -0
- package/_types/utils/unit/formatGwei.d.ts.map +1 -0
- package/_types/utils/unit/formatUnits.d.ts +15 -0
- package/_types/utils/unit/formatUnits.d.ts.map +1 -0
- package/_types/utils/unit/parseEther.d.ts +16 -0
- package/_types/utils/unit/parseEther.d.ts.map +1 -0
- package/_types/utils/unit/parseGwei.d.ts +16 -0
- package/_types/utils/unit/parseGwei.d.ts.map +1 -0
- package/_types/utils/unit/parseUnits.d.ts +15 -0
- package/_types/utils/unit/parseUnits.d.ts.map +1 -0
- package/_types/utils/wait.d.ts +2 -0
- package/_types/utils/wait.d.ts.map +1 -0
- package/_types/window/index.d.ts +2 -0
- package/_types/window/index.d.ts.map +1 -0
- package/errors/version.ts +1 -1
- package/package.json +15 -46
@@ -0,0 +1,1288 @@
|
|
1
|
+
import type { Address } from 'abitype';
|
2
|
+
import type { BlockTag } from './block.js';
|
3
|
+
import type { Hash, Hex, LogTopic } from './misc.js';
|
4
|
+
import type { RpcStateOverride } from './rpc.js';
|
5
|
+
import type { Quantity, RpcBlock as Block, RpcBlockIdentifier as BlockIdentifier, RpcBlockNumber as BlockNumber, RpcFeeHistory as FeeHistory, RpcLog as Log, RpcProof as Proof, RpcTransaction as Transaction, RpcTransactionReceipt as TransactionReceipt, RpcTransactionRequest as TransactionRequest, RpcUncle as Uncle } from './rpc.js';
|
6
|
+
import type { Prettify } from './utils.js';
|
7
|
+
export type EIP1474Methods = [...PublicRpcSchema, ...WalletRpcSchema];
|
8
|
+
export type EIP1193Provider = Prettify<EIP1193Events & {
|
9
|
+
request: EIP1193RequestFn<EIP1474Methods>;
|
10
|
+
}>;
|
11
|
+
export type ProviderRpcErrorType = ProviderRpcError & {
|
12
|
+
name: 'ProviderRpcError';
|
13
|
+
};
|
14
|
+
export declare class ProviderRpcError extends Error {
|
15
|
+
code: number;
|
16
|
+
details: string;
|
17
|
+
constructor(code: number, message: string);
|
18
|
+
}
|
19
|
+
export type ProviderConnectInfo = {
|
20
|
+
chainId: string;
|
21
|
+
};
|
22
|
+
export type ProviderMessage = {
|
23
|
+
type: string;
|
24
|
+
data: unknown;
|
25
|
+
};
|
26
|
+
export type EIP1193EventMap = {
|
27
|
+
accountsChanged(accounts: Address[]): void;
|
28
|
+
chainChanged(chainId: string): void;
|
29
|
+
connect(connectInfo: ProviderConnectInfo): void;
|
30
|
+
disconnect(error: ProviderRpcError): void;
|
31
|
+
message(message: ProviderMessage): void;
|
32
|
+
};
|
33
|
+
export type EIP1193Events = {
|
34
|
+
on<TEvent extends keyof EIP1193EventMap>(event: TEvent, listener: EIP1193EventMap[TEvent]): void;
|
35
|
+
removeListener<TEvent extends keyof EIP1193EventMap>(event: TEvent, listener: EIP1193EventMap[TEvent]): void;
|
36
|
+
};
|
37
|
+
export type AddEthereumChainParameter = {
|
38
|
+
/** A 0x-prefixed hexadecimal string */
|
39
|
+
chainId: string;
|
40
|
+
/** The chain name. */
|
41
|
+
chainName: string;
|
42
|
+
/** Native currency for the chain. */
|
43
|
+
nativeCurrency?: {
|
44
|
+
name: string;
|
45
|
+
symbol: string;
|
46
|
+
decimals: number;
|
47
|
+
};
|
48
|
+
rpcUrls: readonly string[];
|
49
|
+
blockExplorerUrls?: string[];
|
50
|
+
iconUrls?: string[];
|
51
|
+
};
|
52
|
+
export type NetworkSync = {
|
53
|
+
/** The current block number */
|
54
|
+
currentBlock: Quantity;
|
55
|
+
/** Number of latest block on the network */
|
56
|
+
highestBlock: Quantity;
|
57
|
+
/** Block number at which syncing started */
|
58
|
+
startingBlock: Quantity;
|
59
|
+
};
|
60
|
+
export type WalletPermissionCaveat = {
|
61
|
+
type: string;
|
62
|
+
value: any;
|
63
|
+
};
|
64
|
+
export type WalletPermission = {
|
65
|
+
caveats: WalletPermissionCaveat[];
|
66
|
+
date: number;
|
67
|
+
id: string;
|
68
|
+
invoker: `http://${string}` | `https://${string}`;
|
69
|
+
parentCapability: 'eth_accounts' | string;
|
70
|
+
};
|
71
|
+
export type WatchAssetParams = {
|
72
|
+
/** Token type. */
|
73
|
+
type: 'ERC20';
|
74
|
+
options: {
|
75
|
+
/** The address of the token contract */
|
76
|
+
address: string;
|
77
|
+
/** A ticker symbol or shorthand, up to 11 characters */
|
78
|
+
symbol: string;
|
79
|
+
/** The number of token decimals */
|
80
|
+
decimals: number;
|
81
|
+
/** A string url of the token logo */
|
82
|
+
image?: string;
|
83
|
+
};
|
84
|
+
};
|
85
|
+
export type PublicRpcSchema = [
|
86
|
+
/**
|
87
|
+
* @description Returns the version of the current client
|
88
|
+
*
|
89
|
+
* @example
|
90
|
+
* provider.request({ method: 'web3_clientVersion' })
|
91
|
+
* // => 'MetaMask/v1.0.0'
|
92
|
+
*/
|
93
|
+
{
|
94
|
+
Method: 'web3_clientVersion';
|
95
|
+
Parameters?: undefined;
|
96
|
+
ReturnType: string;
|
97
|
+
},
|
98
|
+
/**
|
99
|
+
* @description Hashes data using the Keccak-256 algorithm
|
100
|
+
*
|
101
|
+
* @example
|
102
|
+
* provider.request({ method: 'web3_sha3', params: ['0x68656c6c6f20776f726c64'] })
|
103
|
+
* // => '0xc94770007dda54cF92009BFF0dE90c06F603a09f'
|
104
|
+
*/
|
105
|
+
{
|
106
|
+
Method: 'web3_sha3';
|
107
|
+
Parameters: [data: Hash];
|
108
|
+
ReturnType: string;
|
109
|
+
},
|
110
|
+
/**
|
111
|
+
* @description Determines if this client is listening for new network connections
|
112
|
+
*
|
113
|
+
* @example
|
114
|
+
* provider.request({ method: 'net_listening' })
|
115
|
+
* // => true
|
116
|
+
*/
|
117
|
+
{
|
118
|
+
Method: 'net_listening';
|
119
|
+
Parameters?: undefined;
|
120
|
+
ReturnType: boolean;
|
121
|
+
},
|
122
|
+
/**
|
123
|
+
* @description Returns the number of peers currently connected to this client
|
124
|
+
*
|
125
|
+
* @example
|
126
|
+
* provider.request({ method: 'net_peerCount' })
|
127
|
+
* // => '0x1'
|
128
|
+
*/
|
129
|
+
{
|
130
|
+
Method: 'net_peerCount';
|
131
|
+
Parameters?: undefined;
|
132
|
+
ReturnType: Quantity;
|
133
|
+
},
|
134
|
+
/**
|
135
|
+
* @description Returns the chain ID associated with the current network
|
136
|
+
*
|
137
|
+
* @example
|
138
|
+
* provider.request({ method: 'net_version' })
|
139
|
+
* // => '1'
|
140
|
+
*/
|
141
|
+
{
|
142
|
+
Method: 'net_version';
|
143
|
+
Parameters?: undefined;
|
144
|
+
ReturnType: Quantity;
|
145
|
+
},
|
146
|
+
/**
|
147
|
+
* @description Returns the current blob price of gas expressed in wei
|
148
|
+
*
|
149
|
+
* @example
|
150
|
+
* provider.request({ method: 'eth_blobGasPrice' })
|
151
|
+
* // => '0x09184e72a000'
|
152
|
+
*/
|
153
|
+
{
|
154
|
+
Method: 'eth_blobGasPrice';
|
155
|
+
Parameters?: undefined;
|
156
|
+
ReturnType: Quantity;
|
157
|
+
},
|
158
|
+
/**
|
159
|
+
* @description Returns the number of the most recent block seen by this client
|
160
|
+
*
|
161
|
+
* @example
|
162
|
+
* provider.request({ method: 'eth_blockNumber' })
|
163
|
+
* // => '0x1b4'
|
164
|
+
*/
|
165
|
+
{
|
166
|
+
Method: 'eth_blockNumber';
|
167
|
+
Parameters?: undefined;
|
168
|
+
ReturnType: Quantity;
|
169
|
+
},
|
170
|
+
/**
|
171
|
+
* @description Executes a new message call immediately without submitting a transaction to the network
|
172
|
+
*
|
173
|
+
* @example
|
174
|
+
* provider.request({ method: 'eth_call', params: [{ to: '0x...', data: '0x...' }] })
|
175
|
+
* // => '0x...'
|
176
|
+
*/
|
177
|
+
{
|
178
|
+
Method: 'eth_call';
|
179
|
+
Parameters: [transaction: Partial<TransactionRequest>] | [
|
180
|
+
transaction: Partial<TransactionRequest>,
|
181
|
+
block: BlockNumber | BlockTag | BlockIdentifier
|
182
|
+
] | [
|
183
|
+
transaction: Partial<TransactionRequest>,
|
184
|
+
block: BlockNumber | BlockTag | BlockIdentifier,
|
185
|
+
stateOverrideSet: RpcStateOverride
|
186
|
+
];
|
187
|
+
ReturnType: Hex;
|
188
|
+
},
|
189
|
+
/**
|
190
|
+
* @description Returns the chain ID associated with the current network
|
191
|
+
* @example
|
192
|
+
* provider.request({ method: 'eth_chainId' })
|
193
|
+
* // => '1'
|
194
|
+
*/
|
195
|
+
{
|
196
|
+
Method: 'eth_chainId';
|
197
|
+
Parameters?: undefined;
|
198
|
+
ReturnType: Quantity;
|
199
|
+
},
|
200
|
+
/**
|
201
|
+
* @description Returns the client coinbase address.
|
202
|
+
* @example
|
203
|
+
* provider.request({ method: 'eth_coinbase' })
|
204
|
+
* // => '0x...'
|
205
|
+
*/
|
206
|
+
{
|
207
|
+
Method: 'eth_coinbase';
|
208
|
+
Parameters?: undefined;
|
209
|
+
ReturnType: Address;
|
210
|
+
},
|
211
|
+
/**
|
212
|
+
* @description Estimates the gas necessary to complete a transaction without submitting it to the network
|
213
|
+
*
|
214
|
+
* @example
|
215
|
+
* provider.request({
|
216
|
+
* method: 'eth_estimateGas',
|
217
|
+
* params: [{ from: '0x...', to: '0x...', value: '0x...' }]
|
218
|
+
* })
|
219
|
+
* // => '0x5208'
|
220
|
+
*/
|
221
|
+
{
|
222
|
+
Method: 'eth_estimateGas';
|
223
|
+
Parameters: [transaction: TransactionRequest] | [transaction: TransactionRequest, block: BlockNumber | BlockTag];
|
224
|
+
ReturnType: Quantity;
|
225
|
+
},
|
226
|
+
/**
|
227
|
+
* @description Returns a collection of historical gas information
|
228
|
+
*
|
229
|
+
* @example
|
230
|
+
* provider.request({
|
231
|
+
* method: 'eth_feeHistory',
|
232
|
+
* params: ['4', 'latest', ['25', '75']]
|
233
|
+
* })
|
234
|
+
* // => {
|
235
|
+
* // oldestBlock: '0x1',
|
236
|
+
* // baseFeePerGas: ['0x1', '0x2', '0x3', '0x4'],
|
237
|
+
* // gasUsedRatio: ['0x1', '0x2', '0x3', '0x4'],
|
238
|
+
* // reward: [['0x1', '0x2'], ['0x3', '0x4'], ['0x5', '0x6'], ['0x7', '0x8']]
|
239
|
+
* // }
|
240
|
+
* */
|
241
|
+
{
|
242
|
+
Method: 'eth_feeHistory';
|
243
|
+
Parameters: [
|
244
|
+
/** Number of blocks in the requested range. Between 1 and 1024 blocks can be requested in a single query. Less than requested may be returned if not all blocks are available. */
|
245
|
+
blockCount: Quantity,
|
246
|
+
/** Highest number block of the requested range. */
|
247
|
+
newestBlock: BlockNumber | BlockTag,
|
248
|
+
/** A monotonically increasing list of percentile values to sample from each block's effective priority fees per gas in ascending order, weighted by gas used. */
|
249
|
+
rewardPercentiles: number[] | undefined
|
250
|
+
];
|
251
|
+
ReturnType: FeeHistory;
|
252
|
+
},
|
253
|
+
/**
|
254
|
+
* @description Returns the current price of gas expressed in wei
|
255
|
+
*
|
256
|
+
* @example
|
257
|
+
* provider.request({ method: 'eth_gasPrice' })
|
258
|
+
* // => '0x09184e72a000'
|
259
|
+
*/
|
260
|
+
{
|
261
|
+
Method: 'eth_gasPrice';
|
262
|
+
Parameters?: undefined;
|
263
|
+
ReturnType: Quantity;
|
264
|
+
},
|
265
|
+
/**
|
266
|
+
* @description Returns the balance of an address in wei
|
267
|
+
*
|
268
|
+
* @example
|
269
|
+
* provider.request({ method: 'eth_getBalance', params: ['0x...', 'latest'] })
|
270
|
+
* // => '0x12a05...'
|
271
|
+
*/
|
272
|
+
{
|
273
|
+
Method: 'eth_getBalance';
|
274
|
+
Parameters: [
|
275
|
+
address: Address,
|
276
|
+
block: BlockNumber | BlockTag | BlockIdentifier
|
277
|
+
];
|
278
|
+
ReturnType: Quantity;
|
279
|
+
},
|
280
|
+
/**
|
281
|
+
* @description Returns information about a block specified by hash
|
282
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
283
|
+
* @example
|
284
|
+
* provider.request({ method: 'eth_getBlockByHash', params: ['0x...', true] })
|
285
|
+
* // => {
|
286
|
+
* // number: '0x1b4',
|
287
|
+
* // hash: '0x...',
|
288
|
+
* // parentHash: '0x...',
|
289
|
+
* // ...
|
290
|
+
* // }
|
291
|
+
*/
|
292
|
+
{
|
293
|
+
Method: 'eth_getBlockByHash';
|
294
|
+
Parameters: [
|
295
|
+
/** hash of a block */
|
296
|
+
hash: Hash,
|
297
|
+
/** true will pull full transaction objects, false will pull transaction hashes */
|
298
|
+
includeTransactionObjects: boolean
|
299
|
+
];
|
300
|
+
ReturnType: Block | null;
|
301
|
+
},
|
302
|
+
/**
|
303
|
+
* @description Returns information about a block specified by number
|
304
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
305
|
+
* @example
|
306
|
+
* provider.request({ method: 'eth_getBlockByNumber', params: ['0x1b4', true] })
|
307
|
+
* // => {
|
308
|
+
* // number: '0x1b4',
|
309
|
+
* // hash: '0x...',
|
310
|
+
* // parentHash: '0x...',
|
311
|
+
* // ...
|
312
|
+
* // }
|
313
|
+
*/
|
314
|
+
{
|
315
|
+
Method: 'eth_getBlockByNumber';
|
316
|
+
Parameters: [
|
317
|
+
/** block number, or one of "latest", "safe", "finalized", "earliest" or "pending" */
|
318
|
+
block: BlockNumber | BlockTag,
|
319
|
+
/** true will pull full transaction objects, false will pull transaction hashes */
|
320
|
+
includeTransactionObjects: boolean
|
321
|
+
];
|
322
|
+
ReturnType: Block | null;
|
323
|
+
},
|
324
|
+
/**
|
325
|
+
* @description Returns the number of transactions in a block specified by block hash
|
326
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
327
|
+
* @example
|
328
|
+
* provider.request({ method: 'eth_getBlockTransactionCountByHash', params: ['0x...'] })
|
329
|
+
* // => '0x1'
|
330
|
+
*/
|
331
|
+
{
|
332
|
+
Method: 'eth_getBlockTransactionCountByHash';
|
333
|
+
Parameters: [hash: Hash];
|
334
|
+
ReturnType: Quantity;
|
335
|
+
},
|
336
|
+
/**
|
337
|
+
* @description Returns the number of transactions in a block specified by block number
|
338
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
339
|
+
* @example
|
340
|
+
* provider.request({ method: 'eth_getBlockTransactionCountByNumber', params: ['0x1b4'] })
|
341
|
+
* // => '0x1'
|
342
|
+
*/
|
343
|
+
{
|
344
|
+
Method: 'eth_getBlockTransactionCountByNumber';
|
345
|
+
Parameters: [block: BlockNumber | BlockTag];
|
346
|
+
ReturnType: Quantity;
|
347
|
+
},
|
348
|
+
/**
|
349
|
+
* @description Returns the contract code stored at a given address
|
350
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
351
|
+
* @example
|
352
|
+
* provider.request({ method: 'eth_getCode', params: ['0x...', 'latest'] })
|
353
|
+
* // => '0x...'
|
354
|
+
*/
|
355
|
+
{
|
356
|
+
Method: 'eth_getCode';
|
357
|
+
Parameters: [
|
358
|
+
address: Address,
|
359
|
+
block: BlockNumber | BlockTag | BlockIdentifier
|
360
|
+
];
|
361
|
+
ReturnType: Hex;
|
362
|
+
},
|
363
|
+
/**
|
364
|
+
* @description Returns a list of all logs based on filter ID since the last log retrieval
|
365
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
366
|
+
* @example
|
367
|
+
* provider.request({ method: 'eth_getFilterChanges', params: ['0x...'] })
|
368
|
+
* // => [{ ... }, { ... }]
|
369
|
+
*/
|
370
|
+
{
|
371
|
+
Method: 'eth_getFilterChanges';
|
372
|
+
Parameters: [filterId: Quantity];
|
373
|
+
ReturnType: Log[] | Hex[];
|
374
|
+
},
|
375
|
+
/**
|
376
|
+
* @description Returns a list of all logs based on filter ID
|
377
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
378
|
+
* @example
|
379
|
+
* provider.request({ method: 'eth_getFilterLogs', params: ['0x...'] })
|
380
|
+
* // => [{ ... }, { ... }]
|
381
|
+
*/
|
382
|
+
{
|
383
|
+
Method: 'eth_getFilterLogs';
|
384
|
+
Parameters: [filterId: Quantity];
|
385
|
+
ReturnType: Log[];
|
386
|
+
},
|
387
|
+
/**
|
388
|
+
* @description Returns a list of all logs based on a filter object
|
389
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
390
|
+
* @example
|
391
|
+
* provider.request({ method: 'eth_getLogs', params: [{ fromBlock: '0x...', toBlock: '0x...', address: '0x...', topics: ['0x...'] }] })
|
392
|
+
* // => [{ ... }, { ... }]
|
393
|
+
*/
|
394
|
+
{
|
395
|
+
Method: 'eth_getLogs';
|
396
|
+
Parameters: [
|
397
|
+
{
|
398
|
+
address?: Address | Address[];
|
399
|
+
topics?: LogTopic[];
|
400
|
+
} & ({
|
401
|
+
fromBlock?: BlockNumber | BlockTag;
|
402
|
+
toBlock?: BlockNumber | BlockTag;
|
403
|
+
blockHash?: never;
|
404
|
+
} | {
|
405
|
+
fromBlock?: never;
|
406
|
+
toBlock?: never;
|
407
|
+
blockHash?: Hash;
|
408
|
+
})
|
409
|
+
];
|
410
|
+
ReturnType: Log[];
|
411
|
+
},
|
412
|
+
/**
|
413
|
+
* @description Returns the account and storage values of the specified account including the Merkle-proof.
|
414
|
+
* @link https://eips.ethereum.org/EIPS/eip-1186
|
415
|
+
* @example
|
416
|
+
* provider.request({ method: 'eth_getProof', params: ['0x...', ['0x...'], 'latest'] })
|
417
|
+
* // => {
|
418
|
+
* // ...
|
419
|
+
* // }
|
420
|
+
*/
|
421
|
+
{
|
422
|
+
Method: 'eth_getProof';
|
423
|
+
Parameters: [
|
424
|
+
/** Address of the account. */
|
425
|
+
address: Address,
|
426
|
+
/** An array of storage-keys that should be proofed and included. */
|
427
|
+
storageKeys: Hash[],
|
428
|
+
block: BlockNumber | BlockTag
|
429
|
+
];
|
430
|
+
ReturnType: Proof;
|
431
|
+
},
|
432
|
+
/**
|
433
|
+
* @description Returns the value from a storage position at an address
|
434
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
435
|
+
* @example
|
436
|
+
* provider.request({ method: 'eth_getStorageAt', params: ['0x...', '0x...', 'latest'] })
|
437
|
+
* // => '0x...'
|
438
|
+
*/
|
439
|
+
{
|
440
|
+
Method: 'eth_getStorageAt';
|
441
|
+
Parameters: [
|
442
|
+
address: Address,
|
443
|
+
index: Quantity,
|
444
|
+
block: BlockNumber | BlockTag | BlockIdentifier
|
445
|
+
];
|
446
|
+
ReturnType: Hex;
|
447
|
+
},
|
448
|
+
/**
|
449
|
+
* @description Returns information about a transaction specified by block hash and transaction index
|
450
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
451
|
+
* @example
|
452
|
+
* provider.request({ method: 'eth_getTransactionByBlockHashAndIndex', params: ['0x...', '0x...'] })
|
453
|
+
* // => { ... }
|
454
|
+
*/
|
455
|
+
{
|
456
|
+
Method: 'eth_getTransactionByBlockHashAndIndex';
|
457
|
+
Parameters: [hash: Hash, index: Quantity];
|
458
|
+
ReturnType: Transaction | null;
|
459
|
+
},
|
460
|
+
/**
|
461
|
+
* @description Returns information about a transaction specified by block number and transaction index
|
462
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
463
|
+
* @example
|
464
|
+
* provider.request({ method: 'eth_getTransactionByBlockNumberAndIndex', params: ['0x...', '0x...'] })
|
465
|
+
* // => { ... }
|
466
|
+
*/
|
467
|
+
{
|
468
|
+
Method: 'eth_getTransactionByBlockNumberAndIndex';
|
469
|
+
Parameters: [block: BlockNumber | BlockTag, index: Quantity];
|
470
|
+
ReturnType: Transaction | null;
|
471
|
+
},
|
472
|
+
/**
|
473
|
+
* @description Returns information about a transaction specified by hash
|
474
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
475
|
+
* @example
|
476
|
+
* provider.request({ method: 'eth_getTransactionByHash', params: ['0x...'] })
|
477
|
+
* // => { ... }
|
478
|
+
*/
|
479
|
+
{
|
480
|
+
Method: 'eth_getTransactionByHash';
|
481
|
+
Parameters: [hash: Hash];
|
482
|
+
ReturnType: Transaction | null;
|
483
|
+
},
|
484
|
+
/**
|
485
|
+
* @description Returns the number of transactions sent from an address
|
486
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
487
|
+
* @example
|
488
|
+
* provider.request({ method: 'eth_getTransactionCount', params: ['0x...', 'latest'] })
|
489
|
+
* // => '0x1'
|
490
|
+
*/
|
491
|
+
{
|
492
|
+
Method: 'eth_getTransactionCount';
|
493
|
+
Parameters: [
|
494
|
+
address: Address,
|
495
|
+
block: BlockNumber | BlockTag | BlockIdentifier
|
496
|
+
];
|
497
|
+
ReturnType: Quantity;
|
498
|
+
},
|
499
|
+
/**
|
500
|
+
* @description Returns the receipt of a transaction specified by hash
|
501
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
502
|
+
* @example
|
503
|
+
* provider.request({ method: 'eth_getTransactionReceipt', params: ['0x...'] })
|
504
|
+
* // => { ... }
|
505
|
+
*/
|
506
|
+
{
|
507
|
+
Method: 'eth_getTransactionReceipt';
|
508
|
+
Parameters: [hash: Hash];
|
509
|
+
ReturnType: TransactionReceipt | null;
|
510
|
+
},
|
511
|
+
/**
|
512
|
+
* @description Returns information about an uncle specified by block hash and uncle index position
|
513
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
514
|
+
* @example
|
515
|
+
* provider.request({ method: 'eth_getUncleByBlockHashAndIndex', params: ['0x...', '0x...'] })
|
516
|
+
* // => { ... }
|
517
|
+
*/
|
518
|
+
{
|
519
|
+
Method: 'eth_getUncleByBlockHashAndIndex';
|
520
|
+
Parameters: [hash: Hash, index: Quantity];
|
521
|
+
ReturnType: Uncle | null;
|
522
|
+
},
|
523
|
+
/**
|
524
|
+
* @description Returns information about an uncle specified by block number and uncle index position
|
525
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
526
|
+
* @example
|
527
|
+
* provider.request({ method: 'eth_getUncleByBlockNumberAndIndex', params: ['0x...', '0x...'] })
|
528
|
+
* // => { ... }
|
529
|
+
*/
|
530
|
+
{
|
531
|
+
Method: 'eth_getUncleByBlockNumberAndIndex';
|
532
|
+
Parameters: [block: BlockNumber | BlockTag, index: Quantity];
|
533
|
+
ReturnType: Uncle | null;
|
534
|
+
},
|
535
|
+
/**
|
536
|
+
* @description Returns the number of uncles in a block specified by block hash
|
537
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
538
|
+
* @example
|
539
|
+
* provider.request({ method: 'eth_getUncleCountByBlockHash', params: ['0x...'] })
|
540
|
+
* // => '0x1'
|
541
|
+
*/
|
542
|
+
{
|
543
|
+
Method: 'eth_getUncleCountByBlockHash';
|
544
|
+
Parameters: [hash: Hash];
|
545
|
+
ReturnType: Quantity;
|
546
|
+
},
|
547
|
+
/**
|
548
|
+
* @description Returns the number of uncles in a block specified by block number
|
549
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
550
|
+
* @example
|
551
|
+
* provider.request({ method: 'eth_getUncleCountByBlockNumber', params: ['0x...'] })
|
552
|
+
* // => '0x1'
|
553
|
+
*/
|
554
|
+
{
|
555
|
+
Method: 'eth_getUncleCountByBlockNumber';
|
556
|
+
Parameters: [block: BlockNumber | BlockTag];
|
557
|
+
ReturnType: Quantity;
|
558
|
+
},
|
559
|
+
/**
|
560
|
+
* @description Returns the current maxPriorityFeePerGas in wei.
|
561
|
+
* @link https://ethereum.github.io/execution-apis/api-documentation/
|
562
|
+
* @example
|
563
|
+
* provider.request({ method: 'eth_maxPriorityFeePerGas' })
|
564
|
+
* // => '0x5f5e100'
|
565
|
+
*/
|
566
|
+
{
|
567
|
+
Method: 'eth_maxPriorityFeePerGas';
|
568
|
+
Parameters?: undefined;
|
569
|
+
ReturnType: Quantity;
|
570
|
+
},
|
571
|
+
/**
|
572
|
+
* @description Creates a filter to listen for new blocks that can be used with `eth_getFilterChanges`
|
573
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
574
|
+
* @example
|
575
|
+
* provider.request({ method: 'eth_newBlockFilter' })
|
576
|
+
* // => '0x1'
|
577
|
+
*/
|
578
|
+
{
|
579
|
+
Method: 'eth_newBlockFilter';
|
580
|
+
Parameters?: undefined;
|
581
|
+
ReturnType: Quantity;
|
582
|
+
},
|
583
|
+
/**
|
584
|
+
* @description Creates a filter to listen for specific state changes that can then be used with `eth_getFilterChanges`
|
585
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
586
|
+
* @example
|
587
|
+
* provider.request({ method: 'eth_newFilter', params: [{ fromBlock: '0x...', toBlock: '0x...', address: '0x...', topics: ['0x...'] }] })
|
588
|
+
* // => '0x1'
|
589
|
+
*/
|
590
|
+
{
|
591
|
+
Method: 'eth_newFilter';
|
592
|
+
Parameters: [
|
593
|
+
filter: {
|
594
|
+
fromBlock?: BlockNumber | BlockTag;
|
595
|
+
toBlock?: BlockNumber | BlockTag;
|
596
|
+
address?: Address | Address[];
|
597
|
+
topics?: LogTopic[];
|
598
|
+
}
|
599
|
+
];
|
600
|
+
ReturnType: Quantity;
|
601
|
+
},
|
602
|
+
/**
|
603
|
+
* @description Creates a filter to listen for new pending transactions that can be used with `eth_getFilterChanges`
|
604
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
605
|
+
* @example
|
606
|
+
* provider.request({ method: 'eth_newPendingTransactionFilter' })
|
607
|
+
* // => '0x1'
|
608
|
+
*/
|
609
|
+
{
|
610
|
+
Method: 'eth_newPendingTransactionFilter';
|
611
|
+
Parameters?: undefined;
|
612
|
+
ReturnType: Quantity;
|
613
|
+
},
|
614
|
+
/**
|
615
|
+
* @description Returns the current Ethereum protocol version
|
616
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
617
|
+
* @example
|
618
|
+
* provider.request({ method: 'eth_protocolVersion' })
|
619
|
+
* // => '54'
|
620
|
+
*/
|
621
|
+
{
|
622
|
+
Method: 'eth_protocolVersion';
|
623
|
+
Parameters?: undefined;
|
624
|
+
ReturnType: string;
|
625
|
+
},
|
626
|
+
/**
|
627
|
+
* @description Sends a **signed** transaction to the network
|
628
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
629
|
+
* @example
|
630
|
+
* provider.request({ method: 'eth_sendRawTransaction', params: ['0x...'] })
|
631
|
+
* // => '0x...'
|
632
|
+
*/
|
633
|
+
{
|
634
|
+
Method: 'eth_sendRawTransaction';
|
635
|
+
Parameters: [signedTransaction: Hex];
|
636
|
+
ReturnType: Hash;
|
637
|
+
},
|
638
|
+
/**
|
639
|
+
* @description Destroys a filter based on filter ID
|
640
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
641
|
+
* @example
|
642
|
+
* provider.request({ method: 'eth_uninstallFilter', params: ['0x1'] })
|
643
|
+
* // => true
|
644
|
+
*/
|
645
|
+
{
|
646
|
+
Method: 'eth_uninstallFilter';
|
647
|
+
Parameters: [filterId: Quantity];
|
648
|
+
ReturnType: boolean;
|
649
|
+
}
|
650
|
+
];
|
651
|
+
export type TestRpcSchema<TMode extends string> = [
|
652
|
+
/**
|
653
|
+
* @description Add information about compiled contracts
|
654
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_addcompilationresult
|
655
|
+
*/
|
656
|
+
{
|
657
|
+
Method: `${TMode}_addCompilationResult`;
|
658
|
+
Parameters: any[];
|
659
|
+
ReturnType: any;
|
660
|
+
},
|
661
|
+
/**
|
662
|
+
* @description Remove a transaction from the mempool
|
663
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_droptransaction
|
664
|
+
*/
|
665
|
+
{
|
666
|
+
Method: `${TMode}_dropTransaction`;
|
667
|
+
Parameters: [hash: Hash];
|
668
|
+
ReturnType: void;
|
669
|
+
},
|
670
|
+
/**
|
671
|
+
* @description Serializes the current state (including contracts code, contract's storage, accounts properties, etc.) into a savable data blob.
|
672
|
+
*/
|
673
|
+
{
|
674
|
+
Method: `${TMode}_dumpState`;
|
675
|
+
Parameters?: undefined;
|
676
|
+
ReturnType: Hex;
|
677
|
+
},
|
678
|
+
/**
|
679
|
+
* @description Turn on call traces for transactions that are returned to the user when they execute a transaction (instead of just txhash/receipt).
|
680
|
+
*/
|
681
|
+
{
|
682
|
+
Method: `${TMode}_enableTraces`;
|
683
|
+
Parameters?: undefined;
|
684
|
+
ReturnType: void;
|
685
|
+
},
|
686
|
+
/**
|
687
|
+
* @description Impersonate an account or contract address.
|
688
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_impersonateaccount
|
689
|
+
*/
|
690
|
+
{
|
691
|
+
Method: `${TMode}_impersonateAccount`;
|
692
|
+
Parameters: [address: Address];
|
693
|
+
ReturnType: void;
|
694
|
+
},
|
695
|
+
/**
|
696
|
+
* @description Returns true if automatic mining is enabled, and false otherwise. See [Mining Modes](https://hardhat.org/hardhat-network/explanation/mining-modes) to learn more.
|
697
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_getautomine
|
698
|
+
*/
|
699
|
+
{
|
700
|
+
Method: `${TMode}_getAutomine`;
|
701
|
+
Parameters?: undefined;
|
702
|
+
ReturnType: boolean;
|
703
|
+
},
|
704
|
+
/**
|
705
|
+
* @description Adds state previously dumped with `dumpState` to the current chain.
|
706
|
+
*/
|
707
|
+
{
|
708
|
+
Method: `${TMode}_loadState`;
|
709
|
+
Parameters?: [Hex];
|
710
|
+
ReturnType: void;
|
711
|
+
},
|
712
|
+
/**
|
713
|
+
* @description Advance the block number of the network by a certain number of blocks
|
714
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_mine
|
715
|
+
*/
|
716
|
+
{
|
717
|
+
Method: `${TMode}_mine`;
|
718
|
+
Parameters: [
|
719
|
+
/** Number of blocks to mine. */
|
720
|
+
count: Hex,
|
721
|
+
/** Interval between each block in seconds. */
|
722
|
+
interval: Hex | undefined
|
723
|
+
];
|
724
|
+
ReturnType: void;
|
725
|
+
},
|
726
|
+
/**
|
727
|
+
* @description Resets the fork.
|
728
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_reset
|
729
|
+
*/
|
730
|
+
{
|
731
|
+
Method: `${TMode}_reset`;
|
732
|
+
Parameters: any[];
|
733
|
+
ReturnType: void;
|
734
|
+
},
|
735
|
+
/**
|
736
|
+
* @description Modifies the balance of an account.
|
737
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setbalance
|
738
|
+
*/
|
739
|
+
{
|
740
|
+
Method: `${TMode}_setBalance`;
|
741
|
+
Parameters: [
|
742
|
+
/** The address of the target account. */
|
743
|
+
address: Address,
|
744
|
+
/** Amount to send in wei. */
|
745
|
+
balance: Quantity
|
746
|
+
];
|
747
|
+
ReturnType: void;
|
748
|
+
},
|
749
|
+
/**
|
750
|
+
* @description Modifies the bytecode stored at an account's address.
|
751
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setcode
|
752
|
+
*/
|
753
|
+
{
|
754
|
+
Method: `${TMode}_setCode`;
|
755
|
+
Parameters: [
|
756
|
+
/** The address of the contract. */
|
757
|
+
address: Address,
|
758
|
+
/** Data bytecode. */
|
759
|
+
data: string
|
760
|
+
];
|
761
|
+
ReturnType: void;
|
762
|
+
},
|
763
|
+
/**
|
764
|
+
* @description Sets the coinbase address to be used in new blocks.
|
765
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setcoinbase
|
766
|
+
*/
|
767
|
+
{
|
768
|
+
Method: `${TMode}_setCoinbase`;
|
769
|
+
Parameters: [
|
770
|
+
/** The address to set as the coinbase address. */
|
771
|
+
address: Address
|
772
|
+
];
|
773
|
+
ReturnType: void;
|
774
|
+
},
|
775
|
+
/**
|
776
|
+
* @description Enable or disable logging on the test node network.
|
777
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setcoinbase
|
778
|
+
*/
|
779
|
+
{
|
780
|
+
Method: `${TMode}_setLoggingEnabled`;
|
781
|
+
Parameters: [enabled: boolean];
|
782
|
+
ReturnType: void;
|
783
|
+
},
|
784
|
+
/**
|
785
|
+
* @description Change the minimum gas price accepted by the network (in wei).
|
786
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setmingasprice
|
787
|
+
*/
|
788
|
+
{
|
789
|
+
Method: `${TMode}_setMinGasPrice`;
|
790
|
+
Parameters: [gasPrice: Quantity];
|
791
|
+
ReturnType: void;
|
792
|
+
},
|
793
|
+
/**
|
794
|
+
* @description Sets the base fee of the next block.
|
795
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setnextblockbasefeepergas
|
796
|
+
*/
|
797
|
+
{
|
798
|
+
Method: `${TMode}_setNextBlockBaseFeePerGas`;
|
799
|
+
Parameters: [baseFeePerGas: Quantity];
|
800
|
+
ReturnType: void;
|
801
|
+
},
|
802
|
+
/**
|
803
|
+
* @description Modifies an account's nonce by overwriting it.
|
804
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setnonce
|
805
|
+
*/
|
806
|
+
{
|
807
|
+
Method: `${TMode}_setNonce`;
|
808
|
+
Parameters: [
|
809
|
+
/** The account address. */
|
810
|
+
address: Address,
|
811
|
+
/** The new nonce. */
|
812
|
+
nonce: Quantity
|
813
|
+
];
|
814
|
+
ReturnType: void;
|
815
|
+
},
|
816
|
+
/**
|
817
|
+
* @description Sets the backend RPC URL.
|
818
|
+
*/
|
819
|
+
{
|
820
|
+
Method: `${TMode}_setRpcUrl`;
|
821
|
+
Parameters: [url: string];
|
822
|
+
ReturnType: void;
|
823
|
+
},
|
824
|
+
/**
|
825
|
+
* @description Writes a single position of an account's storage.
|
826
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setstorageat
|
827
|
+
*/
|
828
|
+
{
|
829
|
+
Method: `${TMode}_setStorageAt`;
|
830
|
+
Parameters: [
|
831
|
+
/** The account address. */
|
832
|
+
address: Address,
|
833
|
+
/** The storage position index. */
|
834
|
+
index: Quantity,
|
835
|
+
/** The storage value. */
|
836
|
+
value: Quantity
|
837
|
+
];
|
838
|
+
ReturnType: void;
|
839
|
+
},
|
840
|
+
/**
|
841
|
+
* @description Use this method to stop impersonating an account after having previously used impersonateAccount.
|
842
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#hardhat_stopimpersonatingaccount
|
843
|
+
*/
|
844
|
+
{
|
845
|
+
Method: `${TMode}_stopImpersonatingAccount`;
|
846
|
+
Parameters: [
|
847
|
+
/** The address to stop impersonating. */
|
848
|
+
address: Address
|
849
|
+
];
|
850
|
+
ReturnType: void;
|
851
|
+
},
|
852
|
+
/**
|
853
|
+
* @description Jump forward in time by the given amount of time, in seconds.
|
854
|
+
* @link https://github.com/trufflesuite/ganache/blob/ef1858d5d6f27e4baeb75cccd57fb3dc77a45ae8/src/chains/ethereum/ethereum/RPC-METHODS.md#evm_increasetime
|
855
|
+
*/
|
856
|
+
{
|
857
|
+
Method: `${TMode}_increaseTime`;
|
858
|
+
Parameters: [seconds: number];
|
859
|
+
ReturnType: Quantity;
|
860
|
+
},
|
861
|
+
/**
|
862
|
+
* @description Modifies the balance of an account.
|
863
|
+
* @link https://ganache.dev/#evm_setAccountBalance
|
864
|
+
*/
|
865
|
+
{
|
866
|
+
Method: `evm_setAccountBalance`;
|
867
|
+
Parameters: [
|
868
|
+
/** The address of the target account. */
|
869
|
+
address: Address,
|
870
|
+
/** Amount to send in wei. */
|
871
|
+
value: Quantity
|
872
|
+
];
|
873
|
+
ReturnType: void;
|
874
|
+
},
|
875
|
+
/**
|
876
|
+
* @description Enables or disables, based on the single boolean argument, the automatic mining of new blocks with each new transaction submitted to the network.
|
877
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#evm_setautomine
|
878
|
+
*/
|
879
|
+
{
|
880
|
+
Method: `evm_setAutomine`;
|
881
|
+
Parameters: [boolean];
|
882
|
+
ReturnType: void;
|
883
|
+
},
|
884
|
+
/**
|
885
|
+
* @description Sets the block's gas limit.
|
886
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#evm_setblockgaslimit
|
887
|
+
*/
|
888
|
+
{
|
889
|
+
Method: 'evm_setBlockGasLimit';
|
890
|
+
Parameters: [gasLimit: Quantity];
|
891
|
+
ReturnType: void;
|
892
|
+
},
|
893
|
+
/**
|
894
|
+
* @description Jump forward in time by the given amount of time, in seconds.
|
895
|
+
* @link https://github.com/trufflesuite/ganache/blob/ef1858d5d6f27e4baeb75cccd57fb3dc77a45ae8/src/chains/ethereum/ethereum/RPC-METHODS.md#evm_increasetime
|
896
|
+
*/
|
897
|
+
{
|
898
|
+
Method: `evm_increaseTime`;
|
899
|
+
Parameters: [seconds: Quantity];
|
900
|
+
ReturnType: Quantity;
|
901
|
+
},
|
902
|
+
/**
|
903
|
+
* @description Similar to `evm_increaseTime` but sets a block timestamp `interval`.
|
904
|
+
* The timestamp of the next block will be computed as `lastBlock_timestamp` + `interval`
|
905
|
+
*/
|
906
|
+
{
|
907
|
+
Method: `${TMode}_setBlockTimestampInterval`;
|
908
|
+
Parameters: [seconds: number];
|
909
|
+
ReturnType: void;
|
910
|
+
},
|
911
|
+
/**
|
912
|
+
* @description Removes `setBlockTimestampInterval` if it exists
|
913
|
+
*/
|
914
|
+
{
|
915
|
+
Method: `${TMode}_removeBlockTimestampInterval`;
|
916
|
+
Parameters?: undefined;
|
917
|
+
ReturnType: void;
|
918
|
+
},
|
919
|
+
/**
|
920
|
+
* @description Enables (with a numeric argument greater than 0) or disables (with a numeric argument equal to 0), the automatic mining of blocks at a regular interval of milliseconds, each of which will include all pending transactions.
|
921
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#evm_setintervalmining
|
922
|
+
*/
|
923
|
+
{
|
924
|
+
Method: 'evm_setIntervalMining';
|
925
|
+
Parameters: [number];
|
926
|
+
ReturnType: void;
|
927
|
+
},
|
928
|
+
/**
|
929
|
+
* @description Set the timestamp of the next block.
|
930
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#evm_setnextblocktimestamp
|
931
|
+
*/
|
932
|
+
{
|
933
|
+
Method: 'evm_setNextBlockTimestamp';
|
934
|
+
Parameters: [Quantity];
|
935
|
+
ReturnType: void;
|
936
|
+
},
|
937
|
+
/**
|
938
|
+
* @description Snapshot the state of the blockchain at the current block. Takes no parameters. Returns the id of the snapshot that was created.
|
939
|
+
* @link https://hardhat.org/hardhat-network/docs/reference#evm_snapshot
|
940
|
+
*/
|
941
|
+
{
|
942
|
+
Method: 'evm_snapshot';
|
943
|
+
Parameters?: undefined;
|
944
|
+
ReturnType: Quantity;
|
945
|
+
},
|
946
|
+
/**
|
947
|
+
* @description Revert the state of the blockchain to a previous snapshot. Takes a single parameter, which is the snapshot id to revert to.
|
948
|
+
*/
|
949
|
+
{
|
950
|
+
Method: 'evm_revert';
|
951
|
+
Parameters?: [id: Quantity];
|
952
|
+
ReturnType: void;
|
953
|
+
},
|
954
|
+
/**
|
955
|
+
* @description Enables the automatic mining of new blocks with each new transaction submitted to the network.
|
956
|
+
* @link https://ganache.dev/#miner_start
|
957
|
+
*/
|
958
|
+
{
|
959
|
+
Method: 'miner_start';
|
960
|
+
Parameters?: undefined;
|
961
|
+
ReturnType: void;
|
962
|
+
},
|
963
|
+
/**
|
964
|
+
* @description Disables the automatic mining of new blocks with each new transaction submitted to the network.
|
965
|
+
* @link https://ganache.dev/#miner_stop
|
966
|
+
*/
|
967
|
+
{
|
968
|
+
Method: 'miner_stop';
|
969
|
+
Parameters?: undefined;
|
970
|
+
ReturnType: void;
|
971
|
+
},
|
972
|
+
/**
|
973
|
+
* @link https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool#txpool-content
|
974
|
+
*/
|
975
|
+
{
|
976
|
+
Method: 'txpool_content';
|
977
|
+
Parameters?: undefined;
|
978
|
+
ReturnType: {
|
979
|
+
pending: Record<Address, Record<string, Transaction>>;
|
980
|
+
queued: Record<Address, Record<string, Transaction>>;
|
981
|
+
};
|
982
|
+
},
|
983
|
+
/**
|
984
|
+
* @link https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool#txpool-inspect
|
985
|
+
*/
|
986
|
+
{
|
987
|
+
Method: 'txpool_inspect';
|
988
|
+
Parameters?: undefined;
|
989
|
+
ReturnType: {
|
990
|
+
pending: Record<Address, Record<string, string>>;
|
991
|
+
queued: Record<Address, Record<string, string>>;
|
992
|
+
};
|
993
|
+
},
|
994
|
+
/**
|
995
|
+
* @link https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool#txpool-inspect
|
996
|
+
*/
|
997
|
+
{
|
998
|
+
Method: 'txpool_status';
|
999
|
+
Parameters?: undefined;
|
1000
|
+
ReturnType: {
|
1001
|
+
pending: Quantity;
|
1002
|
+
queued: Quantity;
|
1003
|
+
};
|
1004
|
+
},
|
1005
|
+
/**
|
1006
|
+
* @description Returns whether the client is actively mining new blocks.
|
1007
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
1008
|
+
* @example
|
1009
|
+
* provider.request({ method: 'eth_mining' })
|
1010
|
+
* // => true
|
1011
|
+
*/
|
1012
|
+
{
|
1013
|
+
Method: 'eth_mining';
|
1014
|
+
Parameters?: undefined;
|
1015
|
+
ReturnType: boolean;
|
1016
|
+
},
|
1017
|
+
/**
|
1018
|
+
* @description Advance the block number of the network by a certain number of blocks.
|
1019
|
+
* @link https://ganache.dev/#evm_mine
|
1020
|
+
*/
|
1021
|
+
{
|
1022
|
+
Method: 'evm_mine';
|
1023
|
+
Parameters?: [
|
1024
|
+
{
|
1025
|
+
/** Number of blocks to mine. */
|
1026
|
+
blocks: Hex;
|
1027
|
+
}
|
1028
|
+
];
|
1029
|
+
ReturnType: void;
|
1030
|
+
},
|
1031
|
+
/**
|
1032
|
+
* @description Creates, signs, and sends a new transaction to the network regardless of the signature.
|
1033
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
1034
|
+
* @example
|
1035
|
+
* provider.request({ method: 'eth_sendTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] })
|
1036
|
+
* // => '0x...'
|
1037
|
+
*/
|
1038
|
+
{
|
1039
|
+
Method: 'eth_sendUnsignedTransaction';
|
1040
|
+
Parameters: [transaction: TransactionRequest];
|
1041
|
+
ReturnType: Hash;
|
1042
|
+
}
|
1043
|
+
];
|
1044
|
+
export type WalletRpcSchema = [
|
1045
|
+
/**
|
1046
|
+
* @description Returns a list of addresses owned by this client
|
1047
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
1048
|
+
* @example
|
1049
|
+
* provider.request({ method: 'eth_accounts' })
|
1050
|
+
* // => ['0x0fB69...']
|
1051
|
+
*/
|
1052
|
+
{
|
1053
|
+
Method: 'eth_accounts';
|
1054
|
+
Parameters?: undefined;
|
1055
|
+
ReturnType: Address[];
|
1056
|
+
},
|
1057
|
+
/**
|
1058
|
+
* @description Returns the current chain ID associated with the wallet.
|
1059
|
+
* @example
|
1060
|
+
* provider.request({ method: 'eth_chainId' })
|
1061
|
+
* // => '1'
|
1062
|
+
*/
|
1063
|
+
{
|
1064
|
+
Method: 'eth_chainId';
|
1065
|
+
Parameters?: undefined;
|
1066
|
+
ReturnType: Quantity;
|
1067
|
+
},
|
1068
|
+
/**
|
1069
|
+
* @description Estimates the gas necessary to complete a transaction without submitting it to the network
|
1070
|
+
*
|
1071
|
+
* @example
|
1072
|
+
* provider.request({
|
1073
|
+
* method: 'eth_estimateGas',
|
1074
|
+
* params: [{ from: '0x...', to: '0x...', value: '0x...' }]
|
1075
|
+
* })
|
1076
|
+
* // => '0x5208'
|
1077
|
+
*/
|
1078
|
+
{
|
1079
|
+
Method: 'eth_estimateGas';
|
1080
|
+
Parameters: [transaction: TransactionRequest] | [transaction: TransactionRequest, block: BlockNumber | BlockTag];
|
1081
|
+
ReturnType: Quantity;
|
1082
|
+
},
|
1083
|
+
/**
|
1084
|
+
* @description Requests that the user provides an Ethereum address to be identified by. Typically causes a browser extension popup to appear.
|
1085
|
+
* @link https://eips.ethereum.org/EIPS/eip-1102
|
1086
|
+
* @example
|
1087
|
+
* provider.request({ method: 'eth_requestAccounts' }] })
|
1088
|
+
* // => ['0x...', '0x...']
|
1089
|
+
*/
|
1090
|
+
{
|
1091
|
+
Method: 'eth_requestAccounts';
|
1092
|
+
Parameters?: undefined;
|
1093
|
+
ReturnType: Address[];
|
1094
|
+
},
|
1095
|
+
/**
|
1096
|
+
* @description Creates, signs, and sends a new transaction to the network
|
1097
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
1098
|
+
* @example
|
1099
|
+
* provider.request({ method: 'eth_sendTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] })
|
1100
|
+
* // => '0x...'
|
1101
|
+
*/
|
1102
|
+
{
|
1103
|
+
Method: 'eth_sendTransaction';
|
1104
|
+
Parameters: [transaction: TransactionRequest];
|
1105
|
+
ReturnType: Hash;
|
1106
|
+
},
|
1107
|
+
/**
|
1108
|
+
* @description Sends and already-signed transaction to the network
|
1109
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
1110
|
+
* @example
|
1111
|
+
* provider.request({ method: 'eth_sendRawTransaction', params: ['0x...'] })
|
1112
|
+
* // => '0x...'
|
1113
|
+
*/
|
1114
|
+
{
|
1115
|
+
Method: 'eth_sendRawTransaction';
|
1116
|
+
Parameters: [signedTransaction: Hex];
|
1117
|
+
ReturnType: Hash;
|
1118
|
+
},
|
1119
|
+
/**
|
1120
|
+
* @description Calculates an Ethereum-specific signature in the form of `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`
|
1121
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
1122
|
+
* @example
|
1123
|
+
* provider.request({ method: 'eth_sign', params: ['0x...', '0x...'] })
|
1124
|
+
* // => '0x...'
|
1125
|
+
*/
|
1126
|
+
{
|
1127
|
+
Method: 'eth_sign';
|
1128
|
+
Parameters: [
|
1129
|
+
/** Address to use for signing */
|
1130
|
+
address: Address,
|
1131
|
+
/** Data to sign */
|
1132
|
+
data: Hex
|
1133
|
+
];
|
1134
|
+
ReturnType: Hex;
|
1135
|
+
},
|
1136
|
+
/**
|
1137
|
+
* @description Signs a transaction that can be submitted to the network at a later time using with `eth_sendRawTransaction`
|
1138
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
1139
|
+
* @example
|
1140
|
+
* provider.request({ method: 'eth_signTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] })
|
1141
|
+
* // => '0x...'
|
1142
|
+
*/
|
1143
|
+
{
|
1144
|
+
Method: 'eth_signTransaction';
|
1145
|
+
Parameters: [request: TransactionRequest];
|
1146
|
+
ReturnType: Hex;
|
1147
|
+
},
|
1148
|
+
/**
|
1149
|
+
* @description Calculates an Ethereum-specific signature in the form of `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`
|
1150
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
1151
|
+
* @example
|
1152
|
+
* provider.request({ method: 'eth_signTypedData_v4', params: [{ from: '0x...', data: [{ type: 'string', name: 'message', value: 'hello world' }] }] })
|
1153
|
+
* // => '0x...'
|
1154
|
+
*/
|
1155
|
+
{
|
1156
|
+
Method: 'eth_signTypedData_v4';
|
1157
|
+
Parameters: [
|
1158
|
+
/** Address to use for signing */
|
1159
|
+
address: Address,
|
1160
|
+
/** Message to sign containing type information, a domain separator, and data */
|
1161
|
+
message: string
|
1162
|
+
];
|
1163
|
+
ReturnType: Hex;
|
1164
|
+
},
|
1165
|
+
/**
|
1166
|
+
* @description Returns information about the status of this client’s network synchronization
|
1167
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
1168
|
+
* @example
|
1169
|
+
* provider.request({ method: 'eth_syncing' })
|
1170
|
+
* // => { startingBlock: '0x...', currentBlock: '0x...', highestBlock: '0x...' }
|
1171
|
+
*/
|
1172
|
+
{
|
1173
|
+
Method: 'eth_syncing';
|
1174
|
+
Parameters?: undefined;
|
1175
|
+
ReturnType: NetworkSync | false;
|
1176
|
+
},
|
1177
|
+
/**
|
1178
|
+
* @description Calculates an Ethereum-specific signature in the form of `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`
|
1179
|
+
* @link https://eips.ethereum.org/EIPS/eip-1474
|
1180
|
+
* @example
|
1181
|
+
* provider.request({ method: 'personal_sign', params: ['0x...', '0x...'] })
|
1182
|
+
* // => '0x...'
|
1183
|
+
*/
|
1184
|
+
{
|
1185
|
+
Method: 'personal_sign';
|
1186
|
+
Parameters: [
|
1187
|
+
/** Data to sign */
|
1188
|
+
data: Hex,
|
1189
|
+
/** Address to use for signing */
|
1190
|
+
address: Address
|
1191
|
+
];
|
1192
|
+
ReturnType: Hex;
|
1193
|
+
},
|
1194
|
+
/**
|
1195
|
+
* @description Add an Ethereum chain to the wallet.
|
1196
|
+
* @link https://eips.ethereum.org/EIPS/eip-3085
|
1197
|
+
* @example
|
1198
|
+
* provider.request({ method: 'wallet_addEthereumChain', params: [{ chainId: 1, rpcUrl: 'https://mainnet.infura.io/v3/...' }] })
|
1199
|
+
* // => { ... }
|
1200
|
+
*/
|
1201
|
+
{
|
1202
|
+
Method: 'wallet_addEthereumChain';
|
1203
|
+
Parameters: [chain: AddEthereumChainParameter];
|
1204
|
+
ReturnType: null;
|
1205
|
+
},
|
1206
|
+
/**
|
1207
|
+
* @description Gets the wallets current permissions.
|
1208
|
+
* @link https://eips.ethereum.org/EIPS/eip-2255
|
1209
|
+
* @example
|
1210
|
+
* provider.request({ method: 'wallet_getPermissions' })
|
1211
|
+
* // => { ... }
|
1212
|
+
*/
|
1213
|
+
{
|
1214
|
+
Method: 'wallet_getPermissions';
|
1215
|
+
Parameters?: undefined;
|
1216
|
+
ReturnType: WalletPermission[];
|
1217
|
+
},
|
1218
|
+
/**
|
1219
|
+
* @description Requests the given permissions from the user.
|
1220
|
+
* @link https://eips.ethereum.org/EIPS/eip-2255
|
1221
|
+
* @example
|
1222
|
+
* provider.request({ method: 'wallet_requestPermissions', params: [{ eth_accounts: {} }] })
|
1223
|
+
* // => { ... }
|
1224
|
+
*/
|
1225
|
+
{
|
1226
|
+
Method: 'wallet_requestPermissions';
|
1227
|
+
Parameters: [permissions: {
|
1228
|
+
eth_accounts: Record<string, any>;
|
1229
|
+
}];
|
1230
|
+
ReturnType: WalletPermission[];
|
1231
|
+
},
|
1232
|
+
/**
|
1233
|
+
* @description Switch the wallet to the given Ethereum chain.
|
1234
|
+
* @link https://eips.ethereum.org/EIPS/eip-3326
|
1235
|
+
* @example
|
1236
|
+
* provider.request({ method: 'wallet_switchEthereumChain', params: [{ chainId: '0xf00' }] })
|
1237
|
+
* // => { ... }
|
1238
|
+
*/
|
1239
|
+
{
|
1240
|
+
Method: 'wallet_switchEthereumChain';
|
1241
|
+
Parameters: [chain: {
|
1242
|
+
chainId: string;
|
1243
|
+
}];
|
1244
|
+
ReturnType: null;
|
1245
|
+
},
|
1246
|
+
/**
|
1247
|
+
* @description Requests that the user tracks the token in their wallet. Returns a boolean indicating if the token was successfully added.
|
1248
|
+
* @link https://eips.ethereum.org/EIPS/eip-747
|
1249
|
+
* @example
|
1250
|
+
* provider.request({ method: 'wallet_watchAsset' }] })
|
1251
|
+
* // => true
|
1252
|
+
*/
|
1253
|
+
{
|
1254
|
+
Method: 'wallet_watchAsset';
|
1255
|
+
Parameters: WatchAssetParams;
|
1256
|
+
ReturnType: boolean;
|
1257
|
+
}
|
1258
|
+
];
|
1259
|
+
export type RpcSchema = readonly {
|
1260
|
+
Method: string;
|
1261
|
+
Parameters?: unknown;
|
1262
|
+
ReturnType: unknown;
|
1263
|
+
}[];
|
1264
|
+
export type RpcSchemaOverride = Omit<RpcSchema[number], 'Method'>;
|
1265
|
+
export type EIP1193Parameters<TRpcSchema extends RpcSchema | undefined = undefined> = TRpcSchema extends RpcSchema ? {
|
1266
|
+
[K in keyof TRpcSchema]: Prettify<{
|
1267
|
+
method: TRpcSchema[K] extends TRpcSchema[number] ? TRpcSchema[K]['Method'] : never;
|
1268
|
+
} & (TRpcSchema[K] extends TRpcSchema[number] ? TRpcSchema[K]['Parameters'] extends undefined ? {
|
1269
|
+
params?: never;
|
1270
|
+
} : {
|
1271
|
+
params: TRpcSchema[K]['Parameters'];
|
1272
|
+
} : never)>;
|
1273
|
+
}[number] : {
|
1274
|
+
method: string;
|
1275
|
+
params?: unknown;
|
1276
|
+
};
|
1277
|
+
export type EIP1193RequestOptions = {
|
1278
|
+
retryDelay?: number;
|
1279
|
+
retryCount?: number;
|
1280
|
+
};
|
1281
|
+
type DerivedRpcSchema<TRpcSchema extends RpcSchema | undefined, TRpcSchemaOverride extends RpcSchemaOverride | undefined> = TRpcSchemaOverride extends RpcSchemaOverride ? [TRpcSchemaOverride & {
|
1282
|
+
Method: string;
|
1283
|
+
}] : TRpcSchema;
|
1284
|
+
export type EIP1193RequestFn<TRpcSchema extends RpcSchema | undefined = undefined> = <TRpcSchemaOverride extends RpcSchemaOverride | undefined = undefined, TParameters extends EIP1193Parameters<DerivedRpcSchema<TRpcSchema, TRpcSchemaOverride>> = EIP1193Parameters<DerivedRpcSchema<TRpcSchema, TRpcSchemaOverride>>, _ReturnType = DerivedRpcSchema<TRpcSchema, TRpcSchemaOverride> extends RpcSchema ? Extract<DerivedRpcSchema<TRpcSchema, TRpcSchemaOverride>[number], {
|
1285
|
+
Method: TParameters['method'];
|
1286
|
+
}>['ReturnType'] : unknown>(args: TParameters, options?: EIP1193RequestOptions) => Promise<_ReturnType>;
|
1287
|
+
export {};
|
1288
|
+
//# sourceMappingURL=eip1193.d.ts.map
|