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