viem 2.0.0-beta.10 → 2.0.0-beta.12
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/errors/version.js.map +1 -1
- package/_cjs/index.js +6 -2
- package/_cjs/index.js.map +1 -1
- 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/chains/index.ts +5 -0
- package/errors/version.ts +1 -1
- package/index.ts +8 -0
- package/package.json +1 -1
- package/_cjs/package.json +0 -1
- package/_esm/accounts/generateMnemonic.js +0 -12
- package/_esm/accounts/generateMnemonic.js.map +0 -1
- package/_esm/accounts/generatePrivateKey.js +0 -11
- package/_esm/accounts/generatePrivateKey.js.map +0 -1
- package/_esm/accounts/hdKeyToAccount.js +0 -17
- package/_esm/accounts/hdKeyToAccount.js.map +0 -1
- package/_esm/accounts/index.js +0 -25
- package/_esm/accounts/index.js.map +0 -1
- package/_esm/accounts/mnemonicToAccount.js +0 -13
- package/_esm/accounts/mnemonicToAccount.js.map +0 -1
- package/_esm/accounts/privateKeyToAccount.js +0 -34
- package/_esm/accounts/privateKeyToAccount.js.map +0 -1
- package/_esm/accounts/toAccount.js +0 -28
- package/_esm/accounts/toAccount.js.map +0 -1
- package/_esm/accounts/types.js +0 -2
- package/_esm/accounts/types.js.map +0 -1
- package/_esm/accounts/utils/parseAccount.js +0 -6
- package/_esm/accounts/utils/parseAccount.js.map +0 -1
- package/_esm/accounts/utils/privateKeyToAddress.js +0 -15
- package/_esm/accounts/utils/privateKeyToAddress.js.map +0 -1
- package/_esm/accounts/utils/publicKeyToAddress.js +0 -14
- package/_esm/accounts/utils/publicKeyToAddress.js.map +0 -1
- package/_esm/accounts/utils/sign.js +0 -19
- package/_esm/accounts/utils/sign.js.map +0 -1
- package/_esm/accounts/utils/signMessage.js +0 -14
- package/_esm/accounts/utils/signMessage.js.map +0 -1
- package/_esm/accounts/utils/signTransaction.js +0 -11
- package/_esm/accounts/utils/signTransaction.js.map +0 -1
- package/_esm/accounts/utils/signTypedData.js +0 -18
- package/_esm/accounts/utils/signTypedData.js.map +0 -1
- package/_esm/actions/ens/getEnsAddress.js +0 -87
- package/_esm/actions/ens/getEnsAddress.js.map +0 -1
- package/_esm/actions/ens/getEnsAvatar.js +0 -49
- package/_esm/actions/ens/getEnsAvatar.js.map +0 -1
- package/_esm/actions/ens/getEnsName.js +0 -63
- package/_esm/actions/ens/getEnsName.js.map +0 -1
- package/_esm/actions/ens/getEnsResolver.js +0 -63
- package/_esm/actions/ens/getEnsResolver.js.map +0 -1
- package/_esm/actions/ens/getEnsText.js +0 -82
- package/_esm/actions/ens/getEnsText.js.map +0 -1
- package/_esm/actions/getContract.js +0 -214
- package/_esm/actions/getContract.js.map +0 -1
- package/_esm/actions/index.js +0 -82
- package/_esm/actions/index.js.map +0 -1
- package/_esm/actions/public/call.js +0 -182
- package/_esm/actions/public/call.js.map +0 -1
- package/_esm/actions/public/createBlockFilter.js +0 -32
- package/_esm/actions/public/createBlockFilter.js.map +0 -1
- package/_esm/actions/public/createContractEventFilter.js +0 -59
- package/_esm/actions/public/createContractEventFilter.js.map +0 -1
- package/_esm/actions/public/createEventFilter.js +0 -67
- package/_esm/actions/public/createEventFilter.js.map +0 -1
- package/_esm/actions/public/createPendingTransactionFilter.js +0 -32
- package/_esm/actions/public/createPendingTransactionFilter.js.map +0 -1
- package/_esm/actions/public/estimateContractGas.js +0 -60
- package/_esm/actions/public/estimateContractGas.js.map +0 -1
- package/_esm/actions/public/estimateFeesPerGas.js +0 -83
- package/_esm/actions/public/estimateFeesPerGas.js.map +0 -1
- package/_esm/actions/public/estimateGas.js +0 -73
- package/_esm/actions/public/estimateGas.js.map +0 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +0 -67
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +0 -1
- package/_esm/actions/public/getBalance.js +0 -45
- package/_esm/actions/public/getBalance.js.map +0 -1
- package/_esm/actions/public/getBlock.js +0 -50
- package/_esm/actions/public/getBlock.js.map +0 -1
- package/_esm/actions/public/getBlockNumber.js +0 -35
- package/_esm/actions/public/getBlockNumber.js.map +0 -1
- package/_esm/actions/public/getBlockTransactionCount.js +0 -43
- package/_esm/actions/public/getBlockTransactionCount.js.map +0 -1
- package/_esm/actions/public/getBytecode.js +0 -35
- package/_esm/actions/public/getBytecode.js.map +0 -1
- package/_esm/actions/public/getChainId.js +0 -29
- package/_esm/actions/public/getChainId.js.map +0 -1
- package/_esm/actions/public/getContractEvents.js +0 -49
- package/_esm/actions/public/getContractEvents.js.map +0 -1
- package/_esm/actions/public/getFeeHistory.js +0 -39
- package/_esm/actions/public/getFeeHistory.js.map +0 -1
- package/_esm/actions/public/getFilterChanges.js +0 -102
- package/_esm/actions/public/getFilterChanges.js.map +0 -1
- package/_esm/actions/public/getFilterLogs.js +0 -45
- package/_esm/actions/public/getFilterLogs.js.map +0 -1
- package/_esm/actions/public/getGasPrice.js +0 -27
- package/_esm/actions/public/getGasPrice.js.map +0 -1
- package/_esm/actions/public/getLogs.js +0 -71
- package/_esm/actions/public/getLogs.js.map +0 -1
- package/_esm/actions/public/getProof.js +0 -37
- package/_esm/actions/public/getProof.js.map +0 -1
- package/_esm/actions/public/getStorageAt.js +0 -34
- package/_esm/actions/public/getStorageAt.js.map +0 -1
- package/_esm/actions/public/getTransaction.js +0 -61
- package/_esm/actions/public/getTransaction.js.map +0 -1
- package/_esm/actions/public/getTransactionConfirmations.js +0 -40
- package/_esm/actions/public/getTransactionConfirmations.js.map +0 -1
- package/_esm/actions/public/getTransactionCount.js +0 -33
- package/_esm/actions/public/getTransactionCount.js.map +0 -1
- package/_esm/actions/public/getTransactionReceipt.js +0 -38
- package/_esm/actions/public/getTransactionReceipt.js.map +0 -1
- package/_esm/actions/public/multicall.js +0 -182
- package/_esm/actions/public/multicall.js.map +0 -1
- package/_esm/actions/public/readContract.js +0 -67
- package/_esm/actions/public/readContract.js.map +0 -1
- package/_esm/actions/public/simulateContract.js +0 -83
- package/_esm/actions/public/simulateContract.js.map +0 -1
- package/_esm/actions/public/uninstallFilter.js +0 -31
- package/_esm/actions/public/uninstallFilter.js.map +0 -1
- package/_esm/actions/public/verifyHash.js +0 -38
- package/_esm/actions/public/verifyHash.js.map +0 -1
- package/_esm/actions/public/verifyMessage.js +0 -23
- package/_esm/actions/public/verifyMessage.js.map +0 -1
- package/_esm/actions/public/verifyTypedData.js +0 -21
- package/_esm/actions/public/verifyTypedData.js.map +0 -1
- package/_esm/actions/public/waitForTransactionReceipt.js +0 -180
- package/_esm/actions/public/waitForTransactionReceipt.js.map +0 -1
- package/_esm/actions/public/watchBlockNumber.js +0 -105
- package/_esm/actions/public/watchBlockNumber.js.map +0 -1
- package/_esm/actions/public/watchBlocks.js +0 -120
- package/_esm/actions/public/watchBlocks.js.map +0 -1
- package/_esm/actions/public/watchContractEvent.js +0 -199
- package/_esm/actions/public/watchContractEvent.js.map +0 -1
- package/_esm/actions/public/watchEvent.js +0 -200
- package/_esm/actions/public/watchEvent.js.map +0 -1
- package/_esm/actions/public/watchPendingTransactions.js +0 -114
- package/_esm/actions/public/watchPendingTransactions.js.map +0 -1
- package/_esm/actions/test/dropTransaction.js +0 -29
- package/_esm/actions/test/dropTransaction.js.map +0 -1
- package/_esm/actions/test/dumpState.js +0 -26
- package/_esm/actions/test/dumpState.js.map +0 -1
- package/_esm/actions/test/getAutomine.js +0 -30
- package/_esm/actions/test/getAutomine.js.map +0 -1
- package/_esm/actions/test/getTxpoolContent.js +0 -26
- package/_esm/actions/test/getTxpoolContent.js.map +0 -1
- package/_esm/actions/test/getTxpoolStatus.js +0 -31
- package/_esm/actions/test/getTxpoolStatus.js.map +0 -1
- package/_esm/actions/test/impersonateAccount.js +0 -29
- package/_esm/actions/test/impersonateAccount.js.map +0 -1
- package/_esm/actions/test/increaseTime.js +0 -30
- package/_esm/actions/test/increaseTime.js.map +0 -1
- package/_esm/actions/test/inspectTxpool.js +0 -26
- package/_esm/actions/test/inspectTxpool.js.map +0 -1
- package/_esm/actions/test/loadState.js +0 -27
- package/_esm/actions/test/loadState.js.map +0 -1
- package/_esm/actions/test/mine.js +0 -34
- package/_esm/actions/test/mine.js.map +0 -1
- package/_esm/actions/test/removeBlockTimestampInterval.js +0 -25
- package/_esm/actions/test/removeBlockTimestampInterval.js.map +0 -1
- package/_esm/actions/test/reset.js +0 -27
- package/_esm/actions/test/reset.js.map +0 -1
- package/_esm/actions/test/revert.js +0 -27
- package/_esm/actions/test/revert.js.map +0 -1
- package/_esm/actions/test/sendUnsignedTransaction.js +0 -52
- package/_esm/actions/test/sendUnsignedTransaction.js.map +0 -1
- package/_esm/actions/test/setAutomine.js +0 -33
- package/_esm/actions/test/setAutomine.js.map +0 -1
- package/_esm/actions/test/setBalance.js +0 -37
- package/_esm/actions/test/setBalance.js.map +0 -1
- package/_esm/actions/test/setBlockGasLimit.js +0 -28
- package/_esm/actions/test/setBlockGasLimit.js.map +0 -1
- package/_esm/actions/test/setBlockTimestampInterval.js +0 -32
- package/_esm/actions/test/setBlockTimestampInterval.js.map +0 -1
- package/_esm/actions/test/setCode.js +0 -30
- package/_esm/actions/test/setCode.js.map +0 -1
- package/_esm/actions/test/setCoinbase.js +0 -29
- package/_esm/actions/test/setCoinbase.js.map +0 -1
- package/_esm/actions/test/setIntervalMining.js +0 -32
- package/_esm/actions/test/setIntervalMining.js.map +0 -1
- package/_esm/actions/test/setLoggingEnabled.js +0 -26
- package/_esm/actions/test/setLoggingEnabled.js.map +0 -1
- package/_esm/actions/test/setMinGasPrice.js +0 -32
- package/_esm/actions/test/setMinGasPrice.js.map +0 -1
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js +0 -30
- package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +0 -1
- package/_esm/actions/test/setNextBlockTimestamp.js +0 -28
- package/_esm/actions/test/setNextBlockTimestamp.js.map +0 -1
- package/_esm/actions/test/setNonce.js +0 -31
- package/_esm/actions/test/setNonce.js.map +0 -1
- package/_esm/actions/test/setRpcUrl.js +0 -27
- package/_esm/actions/test/setRpcUrl.js.map +0 -1
- package/_esm/actions/test/setStorageAt.js +0 -36
- package/_esm/actions/test/setStorageAt.js.map +0 -1
- package/_esm/actions/test/snapshot.js +0 -25
- package/_esm/actions/test/snapshot.js.map +0 -1
- package/_esm/actions/test/stopImpersonatingAccount.js +0 -29
- package/_esm/actions/test/stopImpersonatingAccount.js.map +0 -1
- package/_esm/actions/wallet/addChain.js +0 -38
- package/_esm/actions/wallet/addChain.js.map +0 -1
- package/_esm/actions/wallet/deployContract.js +0 -38
- package/_esm/actions/wallet/deployContract.js.map +0 -1
- package/_esm/actions/wallet/getAddresses.js +0 -28
- package/_esm/actions/wallet/getAddresses.js.map +0 -1
- package/_esm/actions/wallet/getPermissions.js +0 -25
- package/_esm/actions/wallet/getPermissions.js.map +0 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +0 -114
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +0 -1
- package/_esm/actions/wallet/requestAddresses.js +0 -30
- package/_esm/actions/wallet/requestAddresses.js.map +0 -1
- package/_esm/actions/wallet/requestPermissions.js +0 -30
- package/_esm/actions/wallet/requestPermissions.js.map +0 -1
- package/_esm/actions/wallet/sendRawTransaction.js +0 -31
- package/_esm/actions/wallet/sendRawTransaction.js.map +0 -1
- package/_esm/actions/wallet/sendTransaction.js +0 -130
- package/_esm/actions/wallet/sendTransaction.js.map +0 -1
- package/_esm/actions/wallet/signMessage.js +0 -70
- package/_esm/actions/wallet/signMessage.js.map +0 -1
- package/_esm/actions/wallet/signTransaction.js +0 -88
- package/_esm/actions/wallet/signTransaction.js.map +0 -1
- package/_esm/actions/wallet/signTypedData.js +0 -126
- package/_esm/actions/wallet/signTypedData.js.map +0 -1
- package/_esm/actions/wallet/switchChain.js +0 -32
- package/_esm/actions/wallet/switchChain.js.map +0 -1
- package/_esm/actions/wallet/watchAsset.js +0 -36
- package/_esm/actions/wallet/watchAsset.js.map +0 -1
- package/_esm/actions/wallet/writeContract.js +0 -67
- package/_esm/actions/wallet/writeContract.js.map +0 -1
- package/_esm/chains/celo/chainConfig.js +0 -7
- package/_esm/chains/celo/chainConfig.js.map +0 -1
- package/_esm/chains/celo/formatters.js +0 -80
- package/_esm/chains/celo/formatters.js.map +0 -1
- package/_esm/chains/celo/index.js +0 -4
- package/_esm/chains/celo/index.js.map +0 -1
- package/_esm/chains/celo/parsers.js +0 -127
- package/_esm/chains/celo/parsers.js.map +0 -1
- package/_esm/chains/celo/serializers.js +0 -127
- package/_esm/chains/celo/serializers.js.map +0 -1
- package/_esm/chains/celo/types.js +0 -2
- package/_esm/chains/celo/types.js.map +0 -1
- package/_esm/chains/celo/utils.js +0 -50
- package/_esm/chains/celo/utils.js.map +0 -1
- package/_esm/chains/definitions/arbitrum.js +0 -21
- package/_esm/chains/definitions/arbitrum.js.map +0 -1
- package/_esm/chains/definitions/arbitrumGoerli.js +0 -27
- package/_esm/chains/definitions/arbitrumGoerli.js.map +0 -1
- package/_esm/chains/definitions/arbitrumNova.js +0 -21
- package/_esm/chains/definitions/arbitrumNova.js.map +0 -1
- package/_esm/chains/definitions/arbitrumSepolia.js +0 -29
- package/_esm/chains/definitions/arbitrumSepolia.js.map +0 -1
- package/_esm/chains/definitions/astar.js +0 -26
- package/_esm/chains/definitions/astar.js.map +0 -1
- package/_esm/chains/definitions/astarZkatana.js +0 -39
- package/_esm/chains/definitions/astarZkatana.js.map +0 -1
- package/_esm/chains/definitions/aurora.js +0 -23
- package/_esm/chains/definitions/aurora.js.map +0 -1
- package/_esm/chains/definitions/auroraTestnet.js +0 -18
- package/_esm/chains/definitions/auroraTestnet.js.map +0 -1
- package/_esm/chains/definitions/avalanche.js +0 -23
- package/_esm/chains/definitions/avalanche.js.map +0 -1
- package/_esm/chains/definitions/avalancheFuji.js +0 -24
- package/_esm/chains/definitions/avalancheFuji.js.map +0 -1
- package/_esm/chains/definitions/base.js +0 -35
- package/_esm/chains/definitions/base.js.map +0 -1
- package/_esm/chains/definitions/baseGoerli.js +0 -33
- package/_esm/chains/definitions/baseGoerli.js.map +0 -1
- package/_esm/chains/definitions/baseSepolia.js +0 -40
- package/_esm/chains/definitions/baseSepolia.js.map +0 -1
- package/_esm/chains/definitions/bearNetworkChainMainnet.js +0 -17
- package/_esm/chains/definitions/bearNetworkChainMainnet.js.map +0 -1
- package/_esm/chains/definitions/bearNetworkChainTestnet.js +0 -21
- package/_esm/chains/definitions/bearNetworkChainTestnet.js.map +0 -1
- package/_esm/chains/definitions/boba.js +0 -23
- package/_esm/chains/definitions/boba.js.map +0 -1
- package/_esm/chains/definitions/bronos.js +0 -17
- package/_esm/chains/definitions/bronos.js.map +0 -1
- package/_esm/chains/definitions/bronosTestnet.js +0 -18
- package/_esm/chains/definitions/bronosTestnet.js.map +0 -1
- package/_esm/chains/definitions/bsc.js +0 -23
- package/_esm/chains/definitions/bsc.js.map +0 -1
- package/_esm/chains/definitions/bscTestnet.js +0 -25
- package/_esm/chains/definitions/bscTestnet.js.map +0 -1
- package/_esm/chains/definitions/bxn.js +0 -18
- package/_esm/chains/definitions/bxn.js.map +0 -1
- package/_esm/chains/definitions/bxnTestnet.js +0 -22
- package/_esm/chains/definitions/bxnTestnet.js.map +0 -1
- package/_esm/chains/definitions/canto.js +0 -26
- package/_esm/chains/definitions/canto.js.map +0 -1
- package/_esm/chains/definitions/celo.js +0 -29
- package/_esm/chains/definitions/celo.js.map +0 -1
- package/_esm/chains/definitions/celoAlfajores.js +0 -31
- package/_esm/chains/definitions/celoAlfajores.js.map +0 -1
- package/_esm/chains/definitions/celoCannoli.js +0 -31
- package/_esm/chains/definitions/celoCannoli.js.map +0 -1
- package/_esm/chains/definitions/chiliz.js +0 -23
- package/_esm/chains/definitions/chiliz.js.map +0 -1
- package/_esm/chains/definitions/classic.js +0 -20
- package/_esm/chains/definitions/classic.js.map +0 -1
- package/_esm/chains/definitions/confluxESpace.js +0 -25
- package/_esm/chains/definitions/confluxESpace.js.map +0 -1
- package/_esm/chains/definitions/confluxESpaceTestnet.js +0 -31
- package/_esm/chains/definitions/confluxESpaceTestnet.js.map +0 -1
- package/_esm/chains/definitions/coreDao.js +0 -24
- package/_esm/chains/definitions/coreDao.js.map +0 -1
- package/_esm/chains/definitions/cronos.js +0 -23
- package/_esm/chains/definitions/cronos.js.map +0 -1
- package/_esm/chains/definitions/cronosTestnet.js +0 -27
- package/_esm/chains/definitions/cronosTestnet.js.map +0 -1
- package/_esm/chains/definitions/crossbell.js +0 -25
- package/_esm/chains/definitions/crossbell.js.map +0 -1
- package/_esm/chains/definitions/dfk.js +0 -22
- package/_esm/chains/definitions/dfk.js.map +0 -1
- package/_esm/chains/definitions/dogechain.js +0 -20
- package/_esm/chains/definitions/dogechain.js.map +0 -1
- package/_esm/chains/definitions/edgeware.js +0 -23
- package/_esm/chains/definitions/edgeware.js.map +0 -1
- package/_esm/chains/definitions/edgewareTestnet.js +0 -20
- package/_esm/chains/definitions/edgewareTestnet.js.map +0 -1
- package/_esm/chains/definitions/ekta.js +0 -17
- package/_esm/chains/definitions/ekta.js.map +0 -1
- package/_esm/chains/definitions/ektaTestnet.js +0 -18
- package/_esm/chains/definitions/ektaTestnet.js.map +0 -1
- package/_esm/chains/definitions/eon.js +0 -21
- package/_esm/chains/definitions/eon.js.map +0 -1
- package/_esm/chains/definitions/eos.js +0 -26
- package/_esm/chains/definitions/eos.js.map +0 -1
- package/_esm/chains/definitions/eosTestnet.js +0 -27
- package/_esm/chains/definitions/eosTestnet.js.map +0 -1
- package/_esm/chains/definitions/evmos.js +0 -17
- package/_esm/chains/definitions/evmos.js.map +0 -1
- package/_esm/chains/definitions/evmosTestnet.js +0 -20
- package/_esm/chains/definitions/evmosTestnet.js.map +0 -1
- package/_esm/chains/definitions/fantom.js +0 -23
- package/_esm/chains/definitions/fantom.js.map +0 -1
- package/_esm/chains/definitions/fantomTestnet.js +0 -23
- package/_esm/chains/definitions/fantomTestnet.js.map +0 -1
- package/_esm/chains/definitions/fibo.js +0 -17
- package/_esm/chains/definitions/fibo.js.map +0 -1
- package/_esm/chains/definitions/filecoin.js +0 -23
- package/_esm/chains/definitions/filecoin.js.map +0 -1
- package/_esm/chains/definitions/filecoinCalibration.js +0 -17
- package/_esm/chains/definitions/filecoinCalibration.js.map +0 -1
- package/_esm/chains/definitions/filecoinHyperspace.js +0 -17
- package/_esm/chains/definitions/filecoinHyperspace.js.map +0 -1
- package/_esm/chains/definitions/flare.js +0 -20
- package/_esm/chains/definitions/flare.js.map +0 -1
- package/_esm/chains/definitions/flareTestnet.js +0 -21
- package/_esm/chains/definitions/flareTestnet.js.map +0 -1
- package/_esm/chains/definitions/foundry.js +0 -17
- package/_esm/chains/definitions/foundry.js.map +0 -1
- package/_esm/chains/definitions/fuse.js +0 -19
- package/_esm/chains/definitions/fuse.js.map +0 -1
- package/_esm/chains/definitions/fuseSparknet.js +0 -16
- package/_esm/chains/definitions/fuseSparknet.js.map +0 -1
- package/_esm/chains/definitions/gnosis.js +0 -29
- package/_esm/chains/definitions/gnosis.js.map +0 -1
- package/_esm/chains/definitions/gnosisChiado.js +0 -30
- package/_esm/chains/definitions/gnosisChiado.js.map +0 -1
- package/_esm/chains/definitions/gobi.js +0 -19
- package/_esm/chains/definitions/gobi.js.map +0 -1
- package/_esm/chains/definitions/goerli.js +0 -32
- package/_esm/chains/definitions/goerli.js.map +0 -1
- package/_esm/chains/definitions/haqqMainnet.js +0 -22
- package/_esm/chains/definitions/haqqMainnet.js.map +0 -1
- package/_esm/chains/definitions/haqqTestedge2.js +0 -22
- package/_esm/chains/definitions/haqqTestedge2.js.map +0 -1
- package/_esm/chains/definitions/hardhat.js +0 -14
- package/_esm/chains/definitions/hardhat.js.map +0 -1
- package/_esm/chains/definitions/harmonyOne.js +0 -23
- package/_esm/chains/definitions/harmonyOne.js.map +0 -1
- package/_esm/chains/definitions/holesky.js +0 -19
- package/_esm/chains/definitions/holesky.js.map +0 -1
- package/_esm/chains/definitions/iotex.js +0 -20
- package/_esm/chains/definitions/iotex.js.map +0 -1
- package/_esm/chains/definitions/iotexTestnet.js +0 -20
- package/_esm/chains/definitions/iotexTestnet.js.map +0 -1
- package/_esm/chains/definitions/kava.js +0 -26
- package/_esm/chains/definitions/kava.js.map +0 -1
- package/_esm/chains/definitions/kavaTestnet.js +0 -29
- package/_esm/chains/definitions/kavaTestnet.js.map +0 -1
- package/_esm/chains/definitions/klaytn.js +0 -23
- package/_esm/chains/definitions/klaytn.js.map +0 -1
- package/_esm/chains/definitions/klaytnBaobab.js +0 -27
- package/_esm/chains/definitions/klaytnBaobab.js.map +0 -1
- package/_esm/chains/definitions/kroma.js +0 -19
- package/_esm/chains/definitions/kroma.js.map +0 -1
- package/_esm/chains/definitions/kromaSepolia.js +0 -19
- package/_esm/chains/definitions/kromaSepolia.js.map +0 -1
- package/_esm/chains/definitions/linea.js +0 -26
- package/_esm/chains/definitions/linea.js.map +0 -1
- package/_esm/chains/definitions/lineaTestnet.js +0 -26
- package/_esm/chains/definitions/lineaTestnet.js.map +0 -1
- package/_esm/chains/definitions/localhost.js +0 -14
- package/_esm/chains/definitions/localhost.js.map +0 -1
- package/_esm/chains/definitions/lukso.js +0 -28
- package/_esm/chains/definitions/lukso.js.map +0 -1
- package/_esm/chains/definitions/mainnet.js +0 -31
- package/_esm/chains/definitions/mainnet.js.map +0 -1
- package/_esm/chains/definitions/manta.js +0 -32
- package/_esm/chains/definitions/manta.js.map +0 -1
- package/_esm/chains/definitions/mantaTestnet.js +0 -33
- package/_esm/chains/definitions/mantaTestnet.js.map +0 -1
- package/_esm/chains/definitions/mantle.js +0 -26
- package/_esm/chains/definitions/mantle.js.map +0 -1
- package/_esm/chains/definitions/mantleTestnet.js +0 -21
- package/_esm/chains/definitions/mantleTestnet.js.map +0 -1
- package/_esm/chains/definitions/meter.js +0 -17
- package/_esm/chains/definitions/meter.js.map +0 -1
- package/_esm/chains/definitions/meterTestnet.js +0 -20
- package/_esm/chains/definitions/meterTestnet.js.map +0 -1
- package/_esm/chains/definitions/metis.js +0 -26
- package/_esm/chains/definitions/metis.js.map +0 -1
- package/_esm/chains/definitions/metisGoerli.js +0 -26
- package/_esm/chains/definitions/metisGoerli.js.map +0 -1
- package/_esm/chains/definitions/mev.js +0 -28
- package/_esm/chains/definitions/mev.js.map +0 -1
- package/_esm/chains/definitions/mevTestnet.js +0 -29
- package/_esm/chains/definitions/mevTestnet.js.map +0 -1
- package/_esm/chains/definitions/modeTestnet.js +0 -25
- package/_esm/chains/definitions/modeTestnet.js.map +0 -1
- package/_esm/chains/definitions/moonbaseAlpha.js +0 -30
- package/_esm/chains/definitions/moonbaseAlpha.js.map +0 -1
- package/_esm/chains/definitions/moonbeam.js +0 -30
- package/_esm/chains/definitions/moonbeam.js.map +0 -1
- package/_esm/chains/definitions/moonbeamDev.js +0 -17
- package/_esm/chains/definitions/moonbeamDev.js.map +0 -1
- package/_esm/chains/definitions/moonriver.js +0 -30
- package/_esm/chains/definitions/moonriver.js.map +0 -1
- package/_esm/chains/definitions/neonDevnet.js +0 -25
- package/_esm/chains/definitions/neonDevnet.js.map +0 -1
- package/_esm/chains/definitions/neonMainnet.js +0 -24
- package/_esm/chains/definitions/neonMainnet.js.map +0 -1
- package/_esm/chains/definitions/nexi.js +0 -24
- package/_esm/chains/definitions/nexi.js.map +0 -1
- package/_esm/chains/definitions/nexilix.js +0 -23
- package/_esm/chains/definitions/nexilix.js.map +0 -1
- package/_esm/chains/definitions/oasys.js +0 -18
- package/_esm/chains/definitions/oasys.js.map +0 -1
- package/_esm/chains/definitions/okc.js +0 -23
- package/_esm/chains/definitions/okc.js.map +0 -1
- package/_esm/chains/definitions/opBNB.js +0 -23
- package/_esm/chains/definitions/opBNB.js.map +0 -1
- package/_esm/chains/definitions/opBNBTestnet.js +0 -24
- package/_esm/chains/definitions/opBNBTestnet.js.map +0 -1
- package/_esm/chains/definitions/optimism.js +0 -34
- package/_esm/chains/definitions/optimism.js.map +0 -1
- package/_esm/chains/definitions/optimismGoerli.js +0 -35
- package/_esm/chains/definitions/optimismGoerli.js.map +0 -1
- package/_esm/chains/definitions/optimismSepolia.js +0 -35
- package/_esm/chains/definitions/optimismSepolia.js.map +0 -1
- package/_esm/chains/definitions/pgn.js +0 -34
- package/_esm/chains/definitions/pgn.js.map +0 -1
- package/_esm/chains/definitions/pgnTestnet.js +0 -35
- package/_esm/chains/definitions/pgnTestnet.js.map +0 -1
- package/_esm/chains/definitions/plinga.js +0 -24
- package/_esm/chains/definitions/plinga.js.map +0 -1
- package/_esm/chains/definitions/polygon.js +0 -24
- package/_esm/chains/definitions/polygon.js.map +0 -1
- package/_esm/chains/definitions/polygonMumbai.js +0 -25
- package/_esm/chains/definitions/polygonMumbai.js.map +0 -1
- package/_esm/chains/definitions/polygonZkEvm.js +0 -24
- package/_esm/chains/definitions/polygonZkEvm.js.map +0 -1
- package/_esm/chains/definitions/polygonZkEvmTestnet.js +0 -25
- package/_esm/chains/definitions/polygonZkEvmTestnet.js.map +0 -1
- package/_esm/chains/definitions/pulsechain.js +0 -29
- package/_esm/chains/definitions/pulsechain.js.map +0 -1
- package/_esm/chains/definitions/pulsechainV4.js +0 -29
- package/_esm/chains/definitions/pulsechainV4.js.map +0 -1
- package/_esm/chains/definitions/qMainnet.js +0 -20
- package/_esm/chains/definitions/qMainnet.js.map +0 -1
- package/_esm/chains/definitions/qTestnet.js +0 -21
- package/_esm/chains/definitions/qTestnet.js.map +0 -1
- package/_esm/chains/definitions/rollux.js +0 -26
- package/_esm/chains/definitions/rollux.js.map +0 -1
- package/_esm/chains/definitions/rolluxTestnet.js +0 -29
- package/_esm/chains/definitions/rolluxTestnet.js.map +0 -1
- package/_esm/chains/definitions/ronin.js +0 -21
- package/_esm/chains/definitions/ronin.js.map +0 -1
- package/_esm/chains/definitions/rootstock.js +0 -26
- package/_esm/chains/definitions/rootstock.js.map +0 -1
- package/_esm/chains/definitions/saigon.js +0 -25
- package/_esm/chains/definitions/saigon.js.map +0 -1
- package/_esm/chains/definitions/sapphire.js +0 -30
- package/_esm/chains/definitions/sapphire.js.map +0 -1
- package/_esm/chains/definitions/sapphireTestnet.js +0 -25
- package/_esm/chains/definitions/sapphireTestnet.js.map +0 -1
- package/_esm/chains/definitions/scroll.js +0 -26
- package/_esm/chains/definitions/scroll.js.map +0 -1
- package/_esm/chains/definitions/scrollSepolia.js +0 -25
- package/_esm/chains/definitions/scrollSepolia.js.map +0 -1
- package/_esm/chains/definitions/scrollTestnet.js +0 -20
- package/_esm/chains/definitions/scrollTestnet.js.map +0 -1
- package/_esm/chains/definitions/sepolia.js +0 -30
- package/_esm/chains/definitions/sepolia.js.map +0 -1
- package/_esm/chains/definitions/shardeumSphinx.js +0 -19
- package/_esm/chains/definitions/shardeumSphinx.js.map +0 -1
- package/_esm/chains/definitions/shibarium.js +0 -32
- package/_esm/chains/definitions/shibarium.js.map +0 -1
- package/_esm/chains/definitions/shimmer.js +0 -26
- package/_esm/chains/definitions/shimmer.js.map +0 -1
- package/_esm/chains/definitions/shimmerTestnet.js +0 -27
- package/_esm/chains/definitions/shimmerTestnet.js.map +0 -1
- package/_esm/chains/definitions/skale/brawl.js +0 -20
- package/_esm/chains/definitions/skale/brawl.js.map +0 -1
- package/_esm/chains/definitions/skale/calypso.js +0 -27
- package/_esm/chains/definitions/skale/calypso.js.map +0 -1
- package/_esm/chains/definitions/skale/calypsoTestnet.js +0 -30
- package/_esm/chains/definitions/skale/calypsoTestnet.js.map +0 -1
- package/_esm/chains/definitions/skale/chaosTestnet.js +0 -30
- package/_esm/chains/definitions/skale/chaosTestnet.js.map +0 -1
- package/_esm/chains/definitions/skale/cryptoBlades.js +0 -22
- package/_esm/chains/definitions/skale/cryptoBlades.js.map +0 -1
- package/_esm/chains/definitions/skale/cryptoColosseum.js +0 -20
- package/_esm/chains/definitions/skale/cryptoColosseum.js.map +0 -1
- package/_esm/chains/definitions/skale/europa.js +0 -25
- package/_esm/chains/definitions/skale/europa.js.map +0 -1
- package/_esm/chains/definitions/skale/europaTestnet.js +0 -28
- package/_esm/chains/definitions/skale/europaTestnet.js.map +0 -1
- package/_esm/chains/definitions/skale/exorde.js +0 -20
- package/_esm/chains/definitions/skale/exorde.js.map +0 -1
- package/_esm/chains/definitions/skale/humanProtocol.js +0 -20
- package/_esm/chains/definitions/skale/humanProtocol.js.map +0 -1
- package/_esm/chains/definitions/skale/nebula.js +0 -25
- package/_esm/chains/definitions/skale/nebula.js.map +0 -1
- package/_esm/chains/definitions/skale/nebulaTestnet.js +0 -28
- package/_esm/chains/definitions/skale/nebulaTestnet.js.map +0 -1
- package/_esm/chains/definitions/skale/razor.js +0 -20
- package/_esm/chains/definitions/skale/razor.js.map +0 -1
- package/_esm/chains/definitions/skale/titan.js +0 -25
- package/_esm/chains/definitions/skale/titan.js.map +0 -1
- package/_esm/chains/definitions/skale/titanTestnet.js +0 -30
- package/_esm/chains/definitions/skale/titanTestnet.js.map +0 -1
- package/_esm/chains/definitions/songbird.js +0 -20
- package/_esm/chains/definitions/songbird.js.map +0 -1
- package/_esm/chains/definitions/songbirdTestnet.js +0 -21
- package/_esm/chains/definitions/songbirdTestnet.js.map +0 -1
- package/_esm/chains/definitions/spicy.js +0 -31
- package/_esm/chains/definitions/spicy.js.map +0 -1
- package/_esm/chains/definitions/syscoin.js +0 -26
- package/_esm/chains/definitions/syscoin.js.map +0 -1
- package/_esm/chains/definitions/syscoinTestnet.js +0 -26
- package/_esm/chains/definitions/syscoinTestnet.js.map +0 -1
- package/_esm/chains/definitions/taikoJolnir.js +0 -18
- package/_esm/chains/definitions/taikoJolnir.js.map +0 -1
- package/_esm/chains/definitions/taikoTestnetSepolia.js +0 -18
- package/_esm/chains/definitions/taikoTestnetSepolia.js.map +0 -1
- package/_esm/chains/definitions/taraxa.js +0 -18
- package/_esm/chains/definitions/taraxa.js.map +0 -1
- package/_esm/chains/definitions/taraxaTestnet.js +0 -19
- package/_esm/chains/definitions/taraxaTestnet.js.map +0 -1
- package/_esm/chains/definitions/telos.js +0 -26
- package/_esm/chains/definitions/telos.js.map +0 -1
- package/_esm/chains/definitions/telosTestnet.js +0 -21
- package/_esm/chains/definitions/telosTestnet.js.map +0 -1
- package/_esm/chains/definitions/tenet.js +0 -20
- package/_esm/chains/definitions/tenet.js.map +0 -1
- package/_esm/chains/definitions/thunderTestnet.js +0 -19
- package/_esm/chains/definitions/thunderTestnet.js.map +0 -1
- package/_esm/chains/definitions/vechain.js +0 -22
- package/_esm/chains/definitions/vechain.js.map +0 -1
- package/_esm/chains/definitions/wanchain.js +0 -27
- package/_esm/chains/definitions/wanchain.js.map +0 -1
- package/_esm/chains/definitions/wanchainTestnet.js +0 -25
- package/_esm/chains/definitions/wanchainTestnet.js.map +0 -1
- package/_esm/chains/definitions/xdc.js +0 -18
- package/_esm/chains/definitions/xdc.js.map +0 -1
- package/_esm/chains/definitions/xdcTestnet.js +0 -18
- package/_esm/chains/definitions/xdcTestnet.js.map +0 -1
- package/_esm/chains/definitions/zetachainAthensTestnet.js +0 -23
- package/_esm/chains/definitions/zetachainAthensTestnet.js.map +0 -1
- package/_esm/chains/definitions/zhejiang.js +0 -19
- package/_esm/chains/definitions/zhejiang.js.map +0 -1
- package/_esm/chains/definitions/zkSync.js +0 -31
- package/_esm/chains/definitions/zkSync.js.map +0 -1
- package/_esm/chains/definitions/zkSyncTestnet.js +0 -28
- package/_esm/chains/definitions/zkSyncTestnet.js.map +0 -1
- package/_esm/chains/definitions/zora.js +0 -36
- package/_esm/chains/definitions/zora.js.map +0 -1
- package/_esm/chains/definitions/zoraSepolia.js +0 -45
- package/_esm/chains/definitions/zoraSepolia.js.map +0 -1
- package/_esm/chains/definitions/zoraTestnet.js +0 -40
- package/_esm/chains/definitions/zoraTestnet.js.map +0 -1
- package/_esm/chains/index.js +0 -170
- package/_esm/chains/index.js.map +0 -1
- package/_esm/chains/opStack/abis.js +0 -391
- package/_esm/chains/opStack/abis.js.map +0 -1
- package/_esm/chains/opStack/actions/buildDepositTransaction.js +0 -54
- package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +0 -1
- package/_esm/chains/opStack/actions/depositTransaction.js +0 -88
- package/_esm/chains/opStack/actions/depositTransaction.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js +0 -55
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js +0 -55
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js +0 -55
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js +0 -55
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateL1Fee.js +0 -74
- package/_esm/chains/opStack/actions/estimateL1Fee.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateL1Gas.js +0 -74
- package/_esm/chains/opStack/actions/estimateL1Gas.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateTotalFee.js +0 -38
- package/_esm/chains/opStack/actions/estimateTotalFee.js.map +0 -1
- package/_esm/chains/opStack/actions/estimateTotalGas.js +0 -36
- package/_esm/chains/opStack/actions/estimateTotalGas.js.map +0 -1
- package/_esm/chains/opStack/chainConfig.js +0 -9
- package/_esm/chains/opStack/chainConfig.js.map +0 -1
- package/_esm/chains/opStack/chains.js +0 -10
- package/_esm/chains/opStack/chains.js.map +0 -1
- package/_esm/chains/opStack/contracts.js +0 -13
- package/_esm/chains/opStack/contracts.js.map +0 -1
- package/_esm/chains/opStack/decorators/publicL2.js +0 -25
- package/_esm/chains/opStack/decorators/publicL2.js.map +0 -1
- package/_esm/chains/opStack/decorators/walletL1.js +0 -9
- package/_esm/chains/opStack/decorators/walletL1.js.map +0 -1
- package/_esm/chains/opStack/formatters.js +0 -53
- package/_esm/chains/opStack/formatters.js.map +0 -1
- package/_esm/chains/opStack/index.js +0 -22
- package/_esm/chains/opStack/index.js.map +0 -1
- package/_esm/chains/opStack/parsers.js +0 -51
- package/_esm/chains/opStack/parsers.js.map +0 -1
- package/_esm/chains/opStack/serializers.js +0 -47
- package/_esm/chains/opStack/serializers.js.map +0 -1
- package/_esm/chains/opStack/types/block.js +0 -2
- package/_esm/chains/opStack/types/block.js.map +0 -1
- package/_esm/chains/opStack/types/chain.js +0 -2
- package/_esm/chains/opStack/types/chain.js.map +0 -1
- package/_esm/chains/opStack/types/contract.js +0 -2
- package/_esm/chains/opStack/types/contract.js.map +0 -1
- package/_esm/chains/opStack/types/transaction.js +0 -2
- package/_esm/chains/opStack/types/transaction.js.map +0 -1
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js +0 -10
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js.map +0 -1
- package/_esm/chains/opStack/utils/fromOpaqueData.js +0 -25
- package/_esm/chains/opStack/utils/fromOpaqueData.js.map +0 -1
- package/_esm/chains/opStack/utils/getL2TransactionHash.js +0 -25
- package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +0 -1
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js +0 -7
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js.map +0 -1
- package/_esm/chains/opStack/utils/getSourceHash.js +0 -18
- package/_esm/chains/opStack/utils/getSourceHash.js.map +0 -1
- package/_esm/chains/utils.js +0 -5
- package/_esm/chains/utils.js.map +0 -1
- package/_esm/chains/zksync/chainConfig.js +0 -7
- package/_esm/chains/zksync/chainConfig.js.map +0 -1
- package/_esm/chains/zksync/formatters.js +0 -126
- package/_esm/chains/zksync/formatters.js.map +0 -1
- package/_esm/chains/zksync/index.js +0 -3
- package/_esm/chains/zksync/index.js.map +0 -1
- package/_esm/chains/zksync/serializers.js +0 -71
- package/_esm/chains/zksync/serializers.js.map +0 -1
- package/_esm/chains/zksync/types.js +0 -2
- package/_esm/chains/zksync/types.js.map +0 -1
- package/_esm/clients/createClient.js +0 -38
- package/_esm/clients/createClient.js.map +0 -1
- package/_esm/clients/createPublicClient.js +0 -13
- package/_esm/clients/createPublicClient.js.map +0 -1
- package/_esm/clients/createTestClient.js +0 -16
- package/_esm/clients/createTestClient.js.map +0 -1
- package/_esm/clients/createWalletClient.js +0 -14
- package/_esm/clients/createWalletClient.js.map +0 -1
- package/_esm/clients/decorators/public.js +0 -97
- package/_esm/clients/decorators/public.js.map +0 -1
- package/_esm/clients/decorators/test.js +0 -70
- package/_esm/clients/decorators/test.js.map +0 -1
- package/_esm/clients/decorators/wallet.js +0 -38
- package/_esm/clients/decorators/wallet.js.map +0 -1
- package/_esm/clients/transports/createTransport.js +0 -12
- package/_esm/clients/transports/createTransport.js.map +0 -1
- package/_esm/clients/transports/custom.js +0 -16
- package/_esm/clients/transports/custom.js.map +0 -1
- package/_esm/clients/transports/fallback.js +0 -141
- package/_esm/clients/transports/fallback.js.map +0 -1
- package/_esm/clients/transports/http.js +0 -60
- package/_esm/clients/transports/http.js.map +0 -1
- package/_esm/clients/transports/webSocket.js +0 -82
- package/_esm/clients/transports/webSocket.js.map +0 -1
- package/_esm/constants/abis.js +0 -1360
- package/_esm/constants/abis.js.map +0 -1
- package/_esm/constants/address.js +0 -2
- package/_esm/constants/address.js.map +0 -1
- package/_esm/constants/bytes.js +0 -2
- package/_esm/constants/bytes.js.map +0 -1
- package/_esm/constants/contract.js +0 -2
- package/_esm/constants/contract.js.map +0 -1
- package/_esm/constants/contracts.js +0 -2
- package/_esm/constants/contracts.js.map +0 -1
- package/_esm/constants/number.js +0 -97
- package/_esm/constants/number.js.map +0 -1
- package/_esm/constants/solidity.js +0 -33
- package/_esm/constants/solidity.js.map +0 -1
- package/_esm/constants/strings.js +0 -2
- package/_esm/constants/strings.js.map +0 -1
- package/_esm/constants/unit.js +0 -13
- package/_esm/constants/unit.js.map +0 -1
- package/_esm/ens/index.js +0 -9
- package/_esm/ens/index.js.map +0 -1
- package/_esm/errors/abi.js +0 -433
- package/_esm/errors/abi.js.map +0 -1
- package/_esm/errors/account.js +0 -19
- package/_esm/errors/account.js.map +0 -1
- package/_esm/errors/address.js +0 -13
- package/_esm/errors/address.js.map +0 -1
- package/_esm/errors/base.js +0 -79
- package/_esm/errors/base.js.map +0 -1
- package/_esm/errors/block.js +0 -18
- package/_esm/errors/block.js.map +0 -1
- package/_esm/errors/ccip.js +0 -63
- package/_esm/errors/ccip.js.map +0 -1
- package/_esm/errors/chain.js +0 -78
- package/_esm/errors/chain.js.map +0 -1
- package/_esm/errors/contract.js +0 -278
- package/_esm/errors/contract.js.map +0 -1
- package/_esm/errors/cursor.js +0 -24
- package/_esm/errors/cursor.js.map +0 -1
- package/_esm/errors/data.js +0 -26
- package/_esm/errors/data.js.map +0 -1
- package/_esm/errors/encoding.js +0 -57
- package/_esm/errors/encoding.js.map +0 -1
- package/_esm/errors/ens.js +0 -52
- package/_esm/errors/ens.js.map +0 -1
- package/_esm/errors/estimateGas.js +0 -45
- package/_esm/errors/estimateGas.js.map +0 -1
- package/_esm/errors/fee.js +0 -36
- package/_esm/errors/fee.js.map +0 -1
- package/_esm/errors/log.js +0 -13
- package/_esm/errors/log.js.map +0 -1
- package/_esm/errors/node.js +0 -247
- package/_esm/errors/node.js.map +0 -1
- package/_esm/errors/request.js +0 -100
- package/_esm/errors/request.js.map +0 -1
- package/_esm/errors/rpc.js +0 -424
- package/_esm/errors/rpc.js.map +0 -1
- package/_esm/errors/transaction.js +0 -211
- package/_esm/errors/transaction.js.map +0 -1
- package/_esm/errors/transport.js +0 -9
- package/_esm/errors/transport.js.map +0 -1
- package/_esm/errors/utils.js +0 -5
- package/_esm/errors/utils.js.map +0 -1
- package/_esm/errors/version.js +0 -2
- package/_esm/errors/version.js.map +0 -1
- package/_esm/index.js +0 -119
- package/_esm/index.js.map +0 -1
- package/_esm/package.json +0 -1
- package/_esm/types/account.js +0 -2
- package/_esm/types/account.js.map +0 -1
- package/_esm/types/block.js +0 -2
- package/_esm/types/block.js.map +0 -1
- package/_esm/types/chain.js +0 -2
- package/_esm/types/chain.js.map +0 -1
- package/_esm/types/contract.js +0 -2
- package/_esm/types/contract.js.map +0 -1
- package/_esm/types/eip1193.js +0 -20
- package/_esm/types/eip1193.js.map +0 -1
- package/_esm/types/ens.js +0 -2
- package/_esm/types/ens.js.map +0 -1
- package/_esm/types/fee.js +0 -2
- package/_esm/types/fee.js.map +0 -1
- package/_esm/types/filter.js +0 -2
- package/_esm/types/filter.js.map +0 -1
- package/_esm/types/log.js +0 -2
- package/_esm/types/log.js.map +0 -1
- package/_esm/types/misc.js +0 -2
- package/_esm/types/misc.js.map +0 -1
- package/_esm/types/multicall.js +0 -2
- package/_esm/types/multicall.js.map +0 -1
- package/_esm/types/proof.js +0 -2
- package/_esm/types/proof.js.map +0 -1
- package/_esm/types/rpc.js +0 -2
- package/_esm/types/rpc.js.map +0 -1
- package/_esm/types/transaction.js +0 -2
- package/_esm/types/transaction.js.map +0 -1
- package/_esm/types/transport.js +0 -2
- package/_esm/types/transport.js.map +0 -1
- package/_esm/types/typedData.js +0 -2
- package/_esm/types/typedData.js.map +0 -1
- package/_esm/types/utils.js +0 -2
- package/_esm/types/utils.js.map +0 -1
- package/_esm/types/window.js +0 -2
- package/_esm/types/window.js.map +0 -1
- package/_esm/types/withdrawal.js +0 -2
- package/_esm/types/withdrawal.js.map +0 -1
- package/_esm/utils/abi/decodeAbiParameters.js +0 -234
- package/_esm/utils/abi/decodeAbiParameters.js.map +0 -1
- package/_esm/utils/abi/decodeDeployData.js +0 -18
- package/_esm/utils/abi/decodeDeployData.js.map +0 -1
- package/_esm/utils/abi/decodeErrorResult.js +0 -26
- package/_esm/utils/abi/decodeErrorResult.js.map +0 -1
- package/_esm/utils/abi/decodeEventLog.js +0 -83
- package/_esm/utils/abi/decodeEventLog.js.map +0 -1
- package/_esm/utils/abi/decodeFunctionData.js +0 -24
- package/_esm/utils/abi/decodeFunctionData.js.map +0 -1
- package/_esm/utils/abi/decodeFunctionResult.js +0 -25
- package/_esm/utils/abi/decodeFunctionResult.js.map +0 -1
- package/_esm/utils/abi/encodeAbiParameters.js +0 -215
- package/_esm/utils/abi/encodeAbiParameters.js.map +0 -1
- package/_esm/utils/abi/encodeDeployData.js +0 -19
- package/_esm/utils/abi/encodeDeployData.js.map +0 -1
- package/_esm/utils/abi/encodeErrorResult.js +0 -29
- package/_esm/utils/abi/encodeErrorResult.js.map +0 -1
- package/_esm/utils/abi/encodeEventTopics.js +0 -49
- package/_esm/utils/abi/encodeEventTopics.js.map +0 -1
- package/_esm/utils/abi/encodeFunctionData.js +0 -30
- package/_esm/utils/abi/encodeFunctionData.js.map +0 -1
- package/_esm/utils/abi/encodeFunctionResult.js +0 -23
- package/_esm/utils/abi/encodeFunctionResult.js.map +0 -1
- package/_esm/utils/abi/encodePacked.js +0 -69
- package/_esm/utils/abi/encodePacked.js.map +0 -1
- package/_esm/utils/abi/formatAbiItem.js +0 -22
- package/_esm/utils/abi/formatAbiItem.js.map +0 -1
- package/_esm/utils/abi/formatAbiItemWithArgs.js +0 -13
- package/_esm/utils/abi/formatAbiItemWithArgs.js.map +0 -1
- package/_esm/utils/abi/getAbiItem.js +0 -86
- package/_esm/utils/abi/getAbiItem.js.map +0 -1
- package/_esm/utils/abi/parseEventLogs.js +0 -59
- package/_esm/utils/abi/parseEventLogs.js.map +0 -1
- package/_esm/utils/accounts.js +0 -6
- package/_esm/utils/accounts.js.map +0 -1
- package/_esm/utils/address/getAddress.js +0 -26
- package/_esm/utils/address/getAddress.js.map +0 -1
- package/_esm/utils/address/getContractAddress.js +0 -36
- package/_esm/utils/address/getContractAddress.js.map +0 -1
- package/_esm/utils/address/isAddress.js +0 -5
- package/_esm/utils/address/isAddress.js.map +0 -1
- package/_esm/utils/address/isAddressEqual.js +0 -10
- package/_esm/utils/address/isAddressEqual.js.map +0 -1
- package/_esm/utils/buildRequest.js +0 -137
- package/_esm/utils/buildRequest.js.map +0 -1
- package/_esm/utils/ccip.js +0 -119
- package/_esm/utils/ccip.js.map +0 -1
- package/_esm/utils/chain/assertCurrentChain.js +0 -8
- package/_esm/utils/chain/assertCurrentChain.js.map +0 -1
- package/_esm/utils/chain/defineChain.js +0 -9
- package/_esm/utils/chain/defineChain.js.map +0 -1
- package/_esm/utils/chain/extractChain.js +0 -4
- package/_esm/utils/chain/extractChain.js.map +0 -1
- package/_esm/utils/chain/getChainContractAddress.js +0 -22
- package/_esm/utils/chain/getChainContractAddress.js.map +0 -1
- package/_esm/utils/cursor.js +0 -130
- package/_esm/utils/cursor.js.map +0 -1
- package/_esm/utils/data/concat.js +0 -22
- package/_esm/utils/data/concat.js.map +0 -1
- package/_esm/utils/data/isBytes.js +0 -10
- package/_esm/utils/data/isBytes.js.map +0 -1
- package/_esm/utils/data/isBytesEqual.js +0 -9
- package/_esm/utils/data/isBytesEqual.js.map +0 -1
- package/_esm/utils/data/isHex.js +0 -8
- package/_esm/utils/data/isHex.js.map +0 -1
- package/_esm/utils/data/pad.js +0 -36
- package/_esm/utils/data/pad.js.map +0 -1
- package/_esm/utils/data/size.js +0 -13
- package/_esm/utils/data/size.js.map +0 -1
- package/_esm/utils/data/slice.js +0 -69
- package/_esm/utils/data/slice.js.map +0 -1
- package/_esm/utils/data/trim.js +0 -21
- package/_esm/utils/data/trim.js.map +0 -1
- package/_esm/utils/encoding/fromBytes.js +0 -127
- package/_esm/utils/encoding/fromBytes.js.map +0 -1
- package/_esm/utils/encoding/fromHex.js +0 -167
- package/_esm/utils/encoding/fromHex.js.map +0 -1
- package/_esm/utils/encoding/fromRlp.js +0 -63
- package/_esm/utils/encoding/fromRlp.js.map +0 -1
- package/_esm/utils/encoding/toBytes.js +0 -177
- package/_esm/utils/encoding/toBytes.js.map +0 -1
- package/_esm/utils/encoding/toHex.js +0 -177
- package/_esm/utils/encoding/toHex.js.map +0 -1
- package/_esm/utils/encoding/toRlp.js +0 -101
- package/_esm/utils/encoding/toRlp.js.map +0 -1
- package/_esm/utils/ens/avatar/parseAvatarRecord.js +0 -34
- package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +0 -1
- package/_esm/utils/ens/avatar/utils.js +0 -186
- package/_esm/utils/ens/avatar/utils.js.map +0 -1
- package/_esm/utils/ens/encodeLabelhash.js +0 -4
- package/_esm/utils/ens/encodeLabelhash.js.map +0 -1
- package/_esm/utils/ens/encodedLabelToLabelhash.js +0 -14
- package/_esm/utils/ens/encodedLabelToLabelhash.js.map +0 -1
- package/_esm/utils/ens/errors.js +0 -25
- package/_esm/utils/ens/errors.js.map +0 -1
- package/_esm/utils/ens/labelhash.js +0 -20
- package/_esm/utils/ens/labelhash.js.map +0 -1
- package/_esm/utils/ens/namehash.js +0 -32
- package/_esm/utils/ens/namehash.js.map +0 -1
- package/_esm/utils/ens/normalize.js +0 -15
- package/_esm/utils/ens/normalize.js.map +0 -1
- package/_esm/utils/ens/packetToBytes.js +0 -29
- package/_esm/utils/ens/packetToBytes.js.map +0 -1
- package/_esm/utils/errors/getCallError.js +0 -16
- package/_esm/utils/errors/getCallError.js.map +0 -1
- package/_esm/utils/errors/getContractError.js +0 -35
- package/_esm/utils/errors/getContractError.js.map +0 -1
- package/_esm/utils/errors/getEstimateGasError.js +0 -16
- package/_esm/utils/errors/getEstimateGasError.js.map +0 -1
- package/_esm/utils/errors/getNodeError.js +0 -60
- package/_esm/utils/errors/getNodeError.js.map +0 -1
- package/_esm/utils/errors/getTransactionError.js +0 -16
- package/_esm/utils/errors/getTransactionError.js.map +0 -1
- package/_esm/utils/filters/createFilterRequestScope.js +0 -15
- package/_esm/utils/filters/createFilterRequestScope.js.map +0 -1
- package/_esm/utils/formatters/block.js +0 -28
- package/_esm/utils/formatters/block.js.map +0 -1
- package/_esm/utils/formatters/extract.js +0 -23
- package/_esm/utils/formatters/extract.js.map +0 -1
- package/_esm/utils/formatters/feeHistory.js +0 -9
- package/_esm/utils/formatters/feeHistory.js.map +0 -1
- package/_esm/utils/formatters/formatter.js +0 -21
- package/_esm/utils/formatters/formatter.js.map +0 -1
- package/_esm/utils/formatters/log.js +0 -14
- package/_esm/utils/formatters/log.js.map +0 -1
- package/_esm/utils/formatters/proof.js +0 -18
- package/_esm/utils/formatters/proof.js.map +0 -1
- package/_esm/utils/formatters/transaction.js +0 -64
- package/_esm/utils/formatters/transaction.js.map +0 -1
- package/_esm/utils/formatters/transactionReceipt.js +0 -43
- package/_esm/utils/formatters/transactionReceipt.js.map +0 -1
- package/_esm/utils/formatters/transactionRequest.js +0 -35
- package/_esm/utils/formatters/transactionRequest.js.map +0 -1
- package/_esm/utils/getAction.js +0 -14
- package/_esm/utils/getAction.js.map +0 -1
- package/_esm/utils/hash/getEventSelector.js +0 -6
- package/_esm/utils/hash/getEventSelector.js.map +0 -1
- package/_esm/utils/hash/getEventSignature.js +0 -5
- package/_esm/utils/hash/getEventSignature.js.map +0 -1
- package/_esm/utils/hash/getFunctionSelector.js +0 -7
- package/_esm/utils/hash/getFunctionSelector.js.map +0 -1
- package/_esm/utils/hash/getFunctionSignature.js +0 -11
- package/_esm/utils/hash/getFunctionSignature.js.map +0 -1
- package/_esm/utils/hash/hashFunction.js +0 -12
- package/_esm/utils/hash/hashFunction.js.map +0 -1
- package/_esm/utils/hash/isHash.js +0 -6
- package/_esm/utils/hash/isHash.js.map +0 -1
- package/_esm/utils/hash/keccak256.js +0 -12
- package/_esm/utils/hash/keccak256.js.map +0 -1
- package/_esm/utils/hash/normalizeSignature.js +0 -51
- package/_esm/utils/hash/normalizeSignature.js.map +0 -1
- package/_esm/utils/index.js +0 -84
- package/_esm/utils/index.js.map +0 -1
- package/_esm/utils/observe.js +0 -44
- package/_esm/utils/observe.js.map +0 -1
- package/_esm/utils/poll.js +0 -26
- package/_esm/utils/poll.js.map +0 -1
- package/_esm/utils/promise/createBatchScheduler.js +0 -51
- package/_esm/utils/promise/createBatchScheduler.js.map +0 -1
- package/_esm/utils/promise/withCache.js +0 -55
- package/_esm/utils/promise/withCache.js.map +0 -1
- package/_esm/utils/promise/withRetry.js +0 -25
- package/_esm/utils/promise/withRetry.js.map +0 -1
- package/_esm/utils/promise/withTimeout.js +0 -31
- package/_esm/utils/promise/withTimeout.js.map +0 -1
- package/_esm/utils/regex.js +0 -8
- package/_esm/utils/regex.js.map +0 -1
- package/_esm/utils/rpc.js +0 -160
- package/_esm/utils/rpc.js.map +0 -1
- package/_esm/utils/signature/compactSignatureToHex.js +0 -19
- package/_esm/utils/signature/compactSignatureToHex.js.map +0 -1
- package/_esm/utils/signature/compactSignatureToSignature.js +0 -28
- package/_esm/utils/signature/compactSignatureToSignature.js.map +0 -1
- package/_esm/utils/signature/hashMessage.js +0 -16
- package/_esm/utils/signature/hashMessage.js.map +0 -1
- package/_esm/utils/signature/hashTypedData.js +0 -122
- package/_esm/utils/signature/hashTypedData.js.map +0 -1
- package/_esm/utils/signature/hexToCompactSignature.js +0 -20
- package/_esm/utils/signature/hexToCompactSignature.js.map +0 -1
- package/_esm/utils/signature/hexToSignature.js +0 -18
- package/_esm/utils/signature/hexToSignature.js.map +0 -1
- package/_esm/utils/signature/recoverAddress.js +0 -6
- package/_esm/utils/signature/recoverAddress.js.map +0 -1
- package/_esm/utils/signature/recoverMessageAddress.js +0 -6
- package/_esm/utils/signature/recoverMessageAddress.js.map +0 -1
- package/_esm/utils/signature/recoverPublicKey.js +0 -19
- package/_esm/utils/signature/recoverPublicKey.js.map +0 -1
- package/_esm/utils/signature/recoverTypedDataAddress.js +0 -15
- package/_esm/utils/signature/recoverTypedDataAddress.js.map +0 -1
- package/_esm/utils/signature/signatureToCompactSignature.js +0 -30
- package/_esm/utils/signature/signatureToCompactSignature.js.map +0 -1
- package/_esm/utils/signature/signatureToHex.js +0 -21
- package/_esm/utils/signature/signatureToHex.js.map +0 -1
- package/_esm/utils/signature/verifyMessage.js +0 -19
- package/_esm/utils/signature/verifyMessage.js.map +0 -1
- package/_esm/utils/signature/verifyTypedData.js +0 -26
- package/_esm/utils/signature/verifyTypedData.js.map +0 -1
- package/_esm/utils/stringify.js +0 -5
- package/_esm/utils/stringify.js.map +0 -1
- package/_esm/utils/transaction/assertRequest.js +0 -24
- package/_esm/utils/transaction/assertRequest.js.map +0 -1
- package/_esm/utils/transaction/assertTransaction.js +0 -45
- package/_esm/utils/transaction/assertTransaction.js.map +0 -1
- package/_esm/utils/transaction/getSerializedTransactionType.js +0 -14
- package/_esm/utils/transaction/getSerializedTransactionType.js.map +0 -1
- package/_esm/utils/transaction/getTransactionType.js +0 -15
- package/_esm/utils/transaction/getTransactionType.js.map +0 -1
- package/_esm/utils/transaction/parseTransaction.js +0 -207
- package/_esm/utils/transaction/parseTransaction.js.map +0 -1
- package/_esm/utils/transaction/serializeAccessList.js +0 -32
- package/_esm/utils/transaction/serializeAccessList.js.map +0 -1
- package/_esm/utils/transaction/serializeTransaction.js +0 -122
- package/_esm/utils/transaction/serializeTransaction.js.map +0 -1
- package/_esm/utils/typedData.js +0 -73
- package/_esm/utils/typedData.js.map +0 -1
- package/_esm/utils/uid.js +0 -14
- package/_esm/utils/uid.js.map +0 -1
- package/_esm/utils/unit/formatEther.js +0 -17
- package/_esm/utils/unit/formatEther.js.map +0 -1
- package/_esm/utils/unit/formatGwei.js +0 -17
- package/_esm/utils/unit/formatGwei.js.map +0 -1
- package/_esm/utils/unit/formatUnits.js +0 -25
- package/_esm/utils/unit/formatUnits.js.map +0 -1
- package/_esm/utils/unit/parseEther.js +0 -17
- package/_esm/utils/unit/parseEther.js.map +0 -1
- package/_esm/utils/unit/parseGwei.js +0 -17
- package/_esm/utils/unit/parseGwei.js.map +0 -1
- package/_esm/utils/unit/parseUnits.js +0 -47
- package/_esm/utils/unit/parseUnits.js.map +0 -1
- package/_esm/utils/wait.js +0 -4
- package/_esm/utils/wait.js.map +0 -1
- package/_esm/window/index.js +0 -2
- package/_esm/window/index.js.map +0 -1
- package/_types/accounts/generateMnemonic.d.ts +0 -11
- package/_types/accounts/generateMnemonic.d.ts.map +0 -1
- package/_types/accounts/generatePrivateKey.d.ts +0 -11
- package/_types/accounts/generatePrivateKey.d.ts.map +0 -1
- package/_types/accounts/hdKeyToAccount.d.ts +0 -13
- package/_types/accounts/hdKeyToAccount.d.ts.map +0 -1
- package/_types/accounts/index.d.ts +0 -27
- package/_types/accounts/index.d.ts.map +0 -1
- package/_types/accounts/mnemonicToAccount.d.ts +0 -11
- package/_types/accounts/mnemonicToAccount.d.ts.map +0 -1
- package/_types/accounts/privateKeyToAccount.d.ts +0 -17
- package/_types/accounts/privateKeyToAccount.d.ts.map +0 -1
- package/_types/accounts/toAccount.d.ts +0 -15
- package/_types/accounts/toAccount.d.ts.map +0 -1
- package/_types/accounts/types.d.ts +0 -50
- package/_types/accounts/types.d.ts.map +0 -1
- package/_types/accounts/utils/parseAccount.d.ts +0 -6
- package/_types/accounts/utils/parseAccount.d.ts.map +0 -1
- package/_types/accounts/utils/privateKeyToAddress.d.ts +0 -15
- package/_types/accounts/utils/privateKeyToAddress.d.ts.map +0 -1
- package/_types/accounts/utils/publicKeyToAddress.d.ts +0 -15
- package/_types/accounts/utils/publicKeyToAddress.d.ts.map +0 -1
- package/_types/accounts/utils/sign.d.ts +0 -19
- package/_types/accounts/utils/sign.d.ts.map +0 -1
- package/_types/accounts/utils/signMessage.d.ts +0 -21
- package/_types/accounts/utils/signMessage.d.ts.map +0 -1
- package/_types/accounts/utils/signTransaction.d.ts +0 -16
- package/_types/accounts/utils/signTransaction.d.ts.map +0 -1
- package/_types/accounts/utils/signTypedData.d.ts +0 -21
- package/_types/accounts/utils/signTypedData.d.ts.map +0 -1
- package/_types/actions/ens/getEnsAddress.d.ts +0 -54
- package/_types/actions/ens/getEnsAddress.d.ts.map +0 -1
- package/_types/actions/ens/getEnsAvatar.d.ts +0 -44
- package/_types/actions/ens/getEnsAvatar.d.ts.map +0 -1
- package/_types/actions/ens/getEnsName.d.ts +0 -46
- package/_types/actions/ens/getEnsName.d.ts.map +0 -1
- package/_types/actions/ens/getEnsResolver.d.ts +0 -48
- package/_types/actions/ens/getEnsResolver.d.ts.map +0 -1
- package/_types/actions/ens/getEnsText.d.ts +0 -53
- package/_types/actions/ens/getEnsText.d.ts.map +0 -1
- package/_types/actions/getContract.d.ts +0 -357
- package/_types/actions/getContract.d.ts.map +0 -1
- package/_types/actions/index.d.ts +0 -82
- package/_types/actions/index.d.ts.map +0 -1
- package/_types/actions/public/call.d.ts +0 -70
- package/_types/actions/public/call.d.ts.map +0 -1
- package/_types/actions/public/createBlockFilter.d.ts +0 -31
- package/_types/actions/public/createBlockFilter.d.ts.map +0 -1
- package/_types/actions/public/createContractEventFilter.d.ts +0 -55
- package/_types/actions/public/createContractEventFilter.d.ts.map +0 -1
- package/_types/actions/public/createEventFilter.d.ts +0 -81
- package/_types/actions/public/createEventFilter.d.ts.map +0 -1
- package/_types/actions/public/createPendingTransactionFilter.d.ts +0 -31
- package/_types/actions/public/createPendingTransactionFilter.d.ts.map +0 -1
- package/_types/actions/public/estimateContractGas.d.ts +0 -43
- package/_types/actions/public/estimateContractGas.d.ts.map +0 -1
- package/_types/actions/public/estimateFeesPerGas.d.ts +0 -53
- package/_types/actions/public/estimateFeesPerGas.d.ts.map +0 -1
- package/_types/actions/public/estimateGas.d.ts +0 -57
- package/_types/actions/public/estimateGas.d.ts.map +0 -1
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +0 -44
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +0 -1
- package/_types/actions/public/getBalance.d.ts +0 -59
- package/_types/actions/public/getBalance.d.ts.map +0 -1
- package/_types/actions/public/getBlock.d.ts +0 -61
- package/_types/actions/public/getBlock.d.ts.map +0 -1
- package/_types/actions/public/getBlockNumber.d.ts +0 -58
- package/_types/actions/public/getBlockNumber.d.ts.map +0 -1
- package/_types/actions/public/getBlockTransactionCount.d.ts +0 -52
- package/_types/actions/public/getBlockTransactionCount.d.ts.map +0 -1
- package/_types/actions/public/getBytecode.d.ts +0 -45
- package/_types/actions/public/getBytecode.d.ts.map +0 -1
- package/_types/actions/public/getChainId.d.ts +0 -32
- package/_types/actions/public/getChainId.d.ts.map +0 -1
- package/_types/actions/public/getContractEvents.d.ts +0 -66
- package/_types/actions/public/getContractEvents.d.ts.map +0 -1
- package/_types/actions/public/getFeeHistory.d.ts +0 -57
- package/_types/actions/public/getFeeHistory.d.ts.map +0 -1
- package/_types/actions/public/getFilterChanges.d.ts +0 -101
- package/_types/actions/public/getFilterChanges.d.ts.map +0 -1
- package/_types/actions/public/getFilterLogs.d.ts +0 -45
- package/_types/actions/public/getFilterLogs.d.ts.map +0 -1
- package/_types/actions/public/getGasPrice.d.ts +0 -30
- package/_types/actions/public/getGasPrice.d.ts.map +0 -1
- package/_types/actions/public/getLogs.d.ts +0 -78
- package/_types/actions/public/getLogs.d.ts.map +0 -1
- package/_types/actions/public/getProof.d.ts +0 -57
- package/_types/actions/public/getProof.d.ts.map +0 -1
- package/_types/actions/public/getStorageAt.d.ts +0 -47
- package/_types/actions/public/getStorageAt.d.ts.map +0 -1
- package/_types/actions/public/getTransaction.d.ts +0 -69
- package/_types/actions/public/getTransaction.d.ts.map +0 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts +0 -45
- package/_types/actions/public/getTransactionConfirmations.d.ts.map +0 -1
- package/_types/actions/public/getTransactionCount.d.ts +0 -49
- package/_types/actions/public/getTransactionCount.d.ts.map +0 -1
- package/_types/actions/public/getTransactionReceipt.d.ts +0 -40
- package/_types/actions/public/getTransactionReceipt.d.ts.map +0 -1
- package/_types/actions/public/multicall.d.ts +0 -73
- package/_types/actions/public/multicall.d.ts.map +0 -1
- package/_types/actions/public/readContract.d.ts +0 -46
- package/_types/actions/public/readContract.d.ts.map +0 -1
- package/_types/actions/public/simulateContract.d.ts +0 -67
- package/_types/actions/public/simulateContract.d.ts.map +0 -1
- package/_types/actions/public/uninstallFilter.d.ts +0 -37
- package/_types/actions/public/uninstallFilter.d.ts.map +0 -1
- package/_types/actions/public/verifyHash.d.ts +0 -30
- package/_types/actions/public/verifyHash.d.ts.map +0 -1
- package/_types/actions/public/verifyMessage.d.ts +0 -31
- package/_types/actions/public/verifyMessage.d.ts.map +0 -1
- package/_types/actions/public/verifyTypedData.d.ts +0 -30
- package/_types/actions/public/verifyTypedData.d.ts.map +0 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts +0 -78
- package/_types/actions/public/waitForTransactionReceipt.d.ts.map +0 -1
- package/_types/actions/public/watchBlockNumber.d.ts +0 -58
- package/_types/actions/public/watchBlockNumber.d.ts.map +0 -1
- package/_types/actions/public/watchBlocks.d.ts +0 -66
- package/_types/actions/public/watchBlocks.d.ts.map +0 -1
- package/_types/actions/public/watchContractEvent.d.ts +0 -64
- package/_types/actions/public/watchContractEvent.d.ts.map +0 -1
- package/_types/actions/public/watchEvent.d.ts +0 -79
- package/_types/actions/public/watchEvent.d.ts.map +0 -1
- package/_types/actions/public/watchPendingTransactions.d.ts +0 -49
- package/_types/actions/public/watchPendingTransactions.d.ts.map +0 -1
- package/_types/actions/test/dropTransaction.d.ts +0 -36
- package/_types/actions/test/dropTransaction.d.ts.map +0 -1
- package/_types/actions/test/dumpState.d.ts +0 -31
- package/_types/actions/test/dumpState.d.ts.map +0 -1
- package/_types/actions/test/getAutomine.d.ts +0 -30
- package/_types/actions/test/getAutomine.d.ts.map +0 -1
- package/_types/actions/test/getTxpoolContent.d.ts +0 -37
- package/_types/actions/test/getTxpoolContent.d.ts.map +0 -1
- package/_types/actions/test/getTxpoolStatus.d.ts +0 -33
- package/_types/actions/test/getTxpoolStatus.d.ts.map +0 -1
- package/_types/actions/test/impersonateAccount.d.ts +0 -36
- package/_types/actions/test/impersonateAccount.d.ts.map +0 -1
- package/_types/actions/test/increaseTime.d.ts +0 -35
- package/_types/actions/test/increaseTime.d.ts.map +0 -1
- package/_types/actions/test/inspectTxpool.d.ts +0 -34
- package/_types/actions/test/inspectTxpool.d.ts.map +0 -1
- package/_types/actions/test/loadState.d.ts +0 -34
- package/_types/actions/test/loadState.d.ts.map +0 -1
- package/_types/actions/test/mine.d.ts +0 -35
- package/_types/actions/test/mine.d.ts.map +0 -1
- package/_types/actions/test/removeBlockTimestampInterval.d.ts +0 -28
- package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +0 -1
- package/_types/actions/test/reset.d.ts +0 -35
- package/_types/actions/test/reset.d.ts.map +0 -1
- package/_types/actions/test/revert.d.ts +0 -34
- package/_types/actions/test/revert.d.ts.map +0 -1
- package/_types/actions/test/sendUnsignedTransaction.d.ts +0 -38
- package/_types/actions/test/sendUnsignedTransaction.d.ts.map +0 -1
- package/_types/actions/test/setAutomine.d.ts +0 -28
- package/_types/actions/test/setAutomine.d.ts.map +0 -1
- package/_types/actions/test/setBalance.d.ts +0 -39
- package/_types/actions/test/setBalance.d.ts.map +0 -1
- package/_types/actions/test/setBlockGasLimit.d.ts +0 -33
- package/_types/actions/test/setBlockGasLimit.d.ts.map +0 -1
- package/_types/actions/test/setBlockTimestampInterval.d.ts +0 -33
- package/_types/actions/test/setBlockTimestampInterval.d.ts.map +0 -1
- package/_types/actions/test/setCode.d.ts +0 -40
- package/_types/actions/test/setCode.d.ts.map +0 -1
- package/_types/actions/test/setCoinbase.d.ts +0 -36
- package/_types/actions/test/setCoinbase.d.ts.map +0 -1
- package/_types/actions/test/setIntervalMining.d.ts +0 -33
- package/_types/actions/test/setIntervalMining.d.ts.map +0 -1
- package/_types/actions/test/setLoggingEnabled.d.ts +0 -28
- package/_types/actions/test/setLoggingEnabled.d.ts.map +0 -1
- package/_types/actions/test/setMinGasPrice.d.ts +0 -37
- package/_types/actions/test/setMinGasPrice.d.ts.map +0 -1
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +0 -35
- package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +0 -1
- package/_types/actions/test/setNextBlockTimestamp.d.ts +0 -33
- package/_types/actions/test/setNextBlockTimestamp.d.ts.map +0 -1
- package/_types/actions/test/setNonce.d.ts +0 -39
- package/_types/actions/test/setNonce.d.ts.map +0 -1
- package/_types/actions/test/setRpcUrl.d.ts +0 -29
- package/_types/actions/test/setRpcUrl.d.ts.map +0 -1
- package/_types/actions/test/setStorageAt.d.ts +0 -43
- package/_types/actions/test/setStorageAt.d.ts.map +0 -1
- package/_types/actions/test/snapshot.d.ts +0 -28
- package/_types/actions/test/snapshot.d.ts.map +0 -1
- package/_types/actions/test/stopImpersonatingAccount.d.ts +0 -36
- package/_types/actions/test/stopImpersonatingAccount.d.ts.map +0 -1
- package/_types/actions/wallet/addChain.d.ts +0 -33
- package/_types/actions/wallet/addChain.d.ts.map +0 -1
- package/_types/actions/wallet/deployContract.d.ts +0 -50
- package/_types/actions/wallet/deployContract.d.ts.map +0 -1
- package/_types/actions/wallet/getAddresses.d.ts +0 -32
- package/_types/actions/wallet/getAddresses.d.ts.map +0 -1
- package/_types/actions/wallet/getPermissions.d.ts +0 -31
- package/_types/actions/wallet/getPermissions.d.ts.map +0 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -72
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +0 -1
- package/_types/actions/wallet/requestAddresses.d.ts +0 -35
- package/_types/actions/wallet/requestAddresses.d.ts.map +0 -1
- package/_types/actions/wallet/requestPermissions.d.ts +0 -40
- package/_types/actions/wallet/requestPermissions.d.ts.map +0 -1
- package/_types/actions/wallet/sendRawTransaction.d.ts +0 -41
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +0 -1
- package/_types/actions/wallet/sendTransaction.d.ts +0 -69
- package/_types/actions/wallet/sendTransaction.d.ts.map +0 -1
- package/_types/actions/wallet/signMessage.d.ts +0 -64
- package/_types/actions/wallet/signMessage.d.ts.map +0 -1
- package/_types/actions/wallet/signTransaction.d.ts +0 -64
- package/_types/actions/wallet/signTransaction.d.ts.map +0 -1
- package/_types/actions/wallet/signTypedData.d.ts +0 -119
- package/_types/actions/wallet/signTypedData.d.ts.map +0 -1
- package/_types/actions/wallet/switchChain.d.ts +0 -34
- package/_types/actions/wallet/switchChain.d.ts.map +0 -1
- package/_types/actions/wallet/watchAsset.d.ts +0 -40
- package/_types/actions/wallet/watchAsset.d.ts.map +0 -1
- package/_types/actions/wallet/writeContract.d.ts +0 -71
- package/_types/actions/wallet/writeContract.d.ts.map +0 -1
- package/_types/chains/celo/chainConfig.d.ts +0 -914
- package/_types/chains/celo/chainConfig.d.ts.map +0 -1
- package/_types/chains/celo/formatters.d.ts +0 -911
- package/_types/chains/celo/formatters.d.ts.map +0 -1
- package/_types/chains/celo/index.d.ts +0 -5
- package/_types/chains/celo/index.d.ts.map +0 -1
- package/_types/chains/celo/parsers.d.ts +0 -6
- package/_types/chains/celo/parsers.d.ts.map +0 -1
- package/_types/chains/celo/serializers.d.ts +0 -12
- package/_types/chains/celo/serializers.d.ts.map +0 -1
- package/_types/chains/celo/types.d.ts +0 -138
- package/_types/chains/celo/types.d.ts.map +0 -1
- package/_types/chains/celo/utils.d.ts +0 -7
- package/_types/chains/celo/utils.d.ts.map +0 -1
- package/_types/chains/definitions/arbitrum.d.ts +0 -32
- package/_types/chains/definitions/arbitrum.d.ts.map +0 -1
- package/_types/chains/definitions/arbitrumGoerli.d.ts +0 -36
- package/_types/chains/definitions/arbitrumGoerli.d.ts.map +0 -1
- package/_types/chains/definitions/arbitrumNova.d.ts +0 -32
- package/_types/chains/definitions/arbitrumNova.d.ts.map +0 -1
- package/_types/chains/definitions/arbitrumSepolia.d.ts +0 -32
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/astar.d.ts +0 -36
- package/_types/chains/definitions/astar.d.ts.map +0 -1
- package/_types/chains/definitions/astarZkatana.d.ts +0 -40
- package/_types/chains/definitions/astarZkatana.d.ts.map +0 -1
- package/_types/chains/definitions/aurora.d.ts +0 -32
- package/_types/chains/definitions/aurora.d.ts.map +0 -1
- package/_types/chains/definitions/auroraTestnet.d.ts +0 -34
- package/_types/chains/definitions/auroraTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/avalanche.d.ts +0 -32
- package/_types/chains/definitions/avalanche.d.ts.map +0 -1
- package/_types/chains/definitions/avalancheFuji.d.ts +0 -32
- package/_types/chains/definitions/avalancheFuji.d.ts.map +0 -1
- package/_types/chains/definitions/base.d.ts +0 -573
- package/_types/chains/definitions/base.d.ts.map +0 -1
- package/_types/chains/definitions/baseGoerli.d.ts +0 -572
- package/_types/chains/definitions/baseGoerli.d.ts.map +0 -1
- package/_types/chains/definitions/baseSepolia.d.ts +0 -577
- package/_types/chains/definitions/baseSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +0 -34
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +0 -1
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +0 -34
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/boba.d.ts +0 -32
- package/_types/chains/definitions/boba.d.ts.map +0 -1
- package/_types/chains/definitions/bronos.d.ts +0 -34
- package/_types/chains/definitions/bronos.d.ts.map +0 -1
- package/_types/chains/definitions/bronosTestnet.d.ts +0 -34
- package/_types/chains/definitions/bronosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/bsc.d.ts +0 -32
- package/_types/chains/definitions/bsc.d.ts.map +0 -1
- package/_types/chains/definitions/bscTestnet.d.ts +0 -35
- package/_types/chains/definitions/bscTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/bxn.d.ts +0 -34
- package/_types/chains/definitions/bxn.d.ts.map +0 -1
- package/_types/chains/definitions/bxnTestnet.d.ts +0 -34
- package/_types/chains/definitions/bxnTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/canto.d.ts +0 -32
- package/_types/chains/definitions/canto.d.ts.map +0 -1
- package/_types/chains/definitions/celo.d.ts +0 -941
- package/_types/chains/definitions/celo.d.ts.map +0 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +0 -941
- package/_types/chains/definitions/celoAlfajores.d.ts.map +0 -1
- package/_types/chains/definitions/celoCannoli.d.ts +0 -941
- package/_types/chains/definitions/celoCannoli.d.ts.map +0 -1
- package/_types/chains/definitions/chiliz.d.ts +0 -35
- package/_types/chains/definitions/chiliz.d.ts.map +0 -1
- package/_types/chains/definitions/classic.d.ts +0 -34
- package/_types/chains/definitions/classic.d.ts.map +0 -1
- package/_types/chains/definitions/confluxESpace.d.ts +0 -33
- package/_types/chains/definitions/confluxESpace.d.ts.map +0 -1
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +0 -38
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/coreDao.d.ts +0 -32
- package/_types/chains/definitions/coreDao.d.ts.map +0 -1
- package/_types/chains/definitions/cronos.d.ts +0 -32
- package/_types/chains/definitions/cronos.d.ts.map +0 -1
- package/_types/chains/definitions/cronosTestnet.d.ts +0 -32
- package/_types/chains/definitions/cronosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/crossbell.d.ts +0 -32
- package/_types/chains/definitions/crossbell.d.ts.map +0 -1
- package/_types/chains/definitions/dfk.d.ts +0 -34
- package/_types/chains/definitions/dfk.d.ts.map +0 -1
- package/_types/chains/definitions/dogechain.d.ts +0 -34
- package/_types/chains/definitions/dogechain.d.ts.map +0 -1
- package/_types/chains/definitions/edgeware.d.ts +0 -32
- package/_types/chains/definitions/edgeware.d.ts.map +0 -1
- package/_types/chains/definitions/edgewareTestnet.d.ts +0 -34
- package/_types/chains/definitions/edgewareTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/ekta.d.ts +0 -34
- package/_types/chains/definitions/ekta.d.ts.map +0 -1
- package/_types/chains/definitions/ektaTestnet.d.ts +0 -34
- package/_types/chains/definitions/ektaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/eon.d.ts +0 -27
- package/_types/chains/definitions/eon.d.ts.map +0 -1
- package/_types/chains/definitions/eos.d.ts +0 -32
- package/_types/chains/definitions/eos.d.ts.map +0 -1
- package/_types/chains/definitions/eosTestnet.d.ts +0 -32
- package/_types/chains/definitions/eosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/evmos.d.ts +0 -34
- package/_types/chains/definitions/evmos.d.ts.map +0 -1
- package/_types/chains/definitions/evmosTestnet.d.ts +0 -34
- package/_types/chains/definitions/evmosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/fantom.d.ts +0 -32
- package/_types/chains/definitions/fantom.d.ts.map +0 -1
- package/_types/chains/definitions/fantomTestnet.d.ts +0 -32
- package/_types/chains/definitions/fantomTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/fibo.d.ts +0 -34
- package/_types/chains/definitions/fibo.d.ts.map +0 -1
- package/_types/chains/definitions/filecoin.d.ts +0 -32
- package/_types/chains/definitions/filecoin.d.ts.map +0 -1
- package/_types/chains/definitions/filecoinCalibration.d.ts +0 -34
- package/_types/chains/definitions/filecoinCalibration.d.ts.map +0 -1
- package/_types/chains/definitions/filecoinHyperspace.d.ts +0 -34
- package/_types/chains/definitions/filecoinHyperspace.d.ts.map +0 -1
- package/_types/chains/definitions/flare.d.ts +0 -34
- package/_types/chains/definitions/flare.d.ts.map +0 -1
- package/_types/chains/definitions/flareTestnet.d.ts +0 -34
- package/_types/chains/definitions/flareTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/foundry.d.ts +0 -39
- package/_types/chains/definitions/foundry.d.ts.map +0 -1
- package/_types/chains/definitions/fuse.d.ts +0 -32
- package/_types/chains/definitions/fuse.d.ts.map +0 -1
- package/_types/chains/definitions/fuseSparknet.d.ts +0 -34
- package/_types/chains/definitions/fuseSparknet.d.ts.map +0 -1
- package/_types/chains/definitions/gnosis.d.ts +0 -33
- package/_types/chains/definitions/gnosis.d.ts.map +0 -1
- package/_types/chains/definitions/gnosisChiado.d.ts +0 -33
- package/_types/chains/definitions/gnosisChiado.d.ts.map +0 -1
- package/_types/chains/definitions/gobi.d.ts +0 -27
- package/_types/chains/definitions/gobi.d.ts.map +0 -1
- package/_types/chains/definitions/goerli.d.ts +0 -39
- package/_types/chains/definitions/goerli.d.ts.map +0 -1
- package/_types/chains/definitions/haqqMainnet.d.ts +0 -34
- package/_types/chains/definitions/haqqMainnet.d.ts.map +0 -1
- package/_types/chains/definitions/haqqTestedge2.d.ts +0 -34
- package/_types/chains/definitions/haqqTestedge2.d.ts.map +0 -1
- package/_types/chains/definitions/hardhat.d.ts +0 -38
- package/_types/chains/definitions/hardhat.d.ts.map +0 -1
- package/_types/chains/definitions/harmonyOne.d.ts +0 -32
- package/_types/chains/definitions/harmonyOne.d.ts.map +0 -1
- package/_types/chains/definitions/holesky.d.ts +0 -36
- package/_types/chains/definitions/holesky.d.ts.map +0 -1
- package/_types/chains/definitions/iotex.d.ts +0 -35
- package/_types/chains/definitions/iotex.d.ts.map +0 -1
- package/_types/chains/definitions/iotexTestnet.d.ts +0 -35
- package/_types/chains/definitions/iotexTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/kava.d.ts +0 -36
- package/_types/chains/definitions/kava.d.ts.map +0 -1
- package/_types/chains/definitions/kavaTestnet.d.ts +0 -36
- package/_types/chains/definitions/kavaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/klaytn.d.ts +0 -32
- package/_types/chains/definitions/klaytn.d.ts.map +0 -1
- package/_types/chains/definitions/klaytnBaobab.d.ts +0 -40
- package/_types/chains/definitions/klaytnBaobab.d.ts.map +0 -1
- package/_types/chains/definitions/kroma.d.ts +0 -34
- package/_types/chains/definitions/kroma.d.ts.map +0 -1
- package/_types/chains/definitions/kromaSepolia.d.ts +0 -34
- package/_types/chains/definitions/kromaSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/linea.d.ts +0 -33
- package/_types/chains/definitions/linea.d.ts.map +0 -1
- package/_types/chains/definitions/lineaTestnet.d.ts +0 -33
- package/_types/chains/definitions/lineaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/localhost.d.ts +0 -38
- package/_types/chains/definitions/localhost.d.ts.map +0 -1
- package/_types/chains/definitions/lukso.d.ts +0 -40
- package/_types/chains/definitions/lukso.d.ts.map +0 -1
- package/_types/chains/definitions/mainnet.d.ts +0 -39
- package/_types/chains/definitions/mainnet.d.ts.map +0 -1
- package/_types/chains/definitions/manta.d.ts +0 -40
- package/_types/chains/definitions/manta.d.ts.map +0 -1
- package/_types/chains/definitions/mantaTestnet.d.ts +0 -40
- package/_types/chains/definitions/mantaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/mantle.d.ts +0 -32
- package/_types/chains/definitions/mantle.d.ts.map +0 -1
- package/_types/chains/definitions/mantleTestnet.d.ts +0 -34
- package/_types/chains/definitions/mantleTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/meter.d.ts +0 -34
- package/_types/chains/definitions/meter.d.ts.map +0 -1
- package/_types/chains/definitions/meterTestnet.d.ts +0 -34
- package/_types/chains/definitions/meterTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/metis.d.ts +0 -32
- package/_types/chains/definitions/metis.d.ts.map +0 -1
- package/_types/chains/definitions/metisGoerli.d.ts +0 -32
- package/_types/chains/definitions/metisGoerli.d.ts.map +0 -1
- package/_types/chains/definitions/mev.d.ts +0 -32
- package/_types/chains/definitions/mev.d.ts.map +0 -1
- package/_types/chains/definitions/mevTestnet.d.ts +0 -32
- package/_types/chains/definitions/mevTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/modeTestnet.d.ts +0 -32
- package/_types/chains/definitions/modeTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/moonbaseAlpha.d.ts +0 -33
- package/_types/chains/definitions/moonbaseAlpha.d.ts.map +0 -1
- package/_types/chains/definitions/moonbeam.d.ts +0 -33
- package/_types/chains/definitions/moonbeam.d.ts.map +0 -1
- package/_types/chains/definitions/moonbeamDev.d.ts +0 -39
- package/_types/chains/definitions/moonbeamDev.d.ts.map +0 -1
- package/_types/chains/definitions/moonriver.d.ts +0 -33
- package/_types/chains/definitions/moonriver.d.ts.map +0 -1
- package/_types/chains/definitions/neonDevnet.d.ts +0 -32
- package/_types/chains/definitions/neonDevnet.d.ts.map +0 -1
- package/_types/chains/definitions/neonMainnet.d.ts +0 -31
- package/_types/chains/definitions/neonMainnet.d.ts.map +0 -1
- package/_types/chains/definitions/nexi.d.ts +0 -32
- package/_types/chains/definitions/nexi.d.ts.map +0 -1
- package/_types/chains/definitions/nexilix.d.ts +0 -32
- package/_types/chains/definitions/nexilix.d.ts.map +0 -1
- package/_types/chains/definitions/oasys.d.ts +0 -34
- package/_types/chains/definitions/oasys.d.ts.map +0 -1
- package/_types/chains/definitions/okc.d.ts +0 -32
- package/_types/chains/definitions/okc.d.ts.map +0 -1
- package/_types/chains/definitions/opBNB.d.ts +0 -32
- package/_types/chains/definitions/opBNB.d.ts.map +0 -1
- package/_types/chains/definitions/opBNBTestnet.d.ts +0 -32
- package/_types/chains/definitions/opBNBTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/optimism.d.ts +0 -572
- package/_types/chains/definitions/optimism.d.ts.map +0 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +0 -572
- package/_types/chains/definitions/optimismGoerli.d.ts.map +0 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +0 -572
- package/_types/chains/definitions/optimismSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/pgn.d.ts +0 -555
- package/_types/chains/definitions/pgn.d.ts.map +0 -1
- package/_types/chains/definitions/pgnTestnet.d.ts +0 -555
- package/_types/chains/definitions/pgnTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/plinga.d.ts +0 -32
- package/_types/chains/definitions/plinga.d.ts.map +0 -1
- package/_types/chains/definitions/polygon.d.ts +0 -32
- package/_types/chains/definitions/polygon.d.ts.map +0 -1
- package/_types/chains/definitions/polygonMumbai.d.ts +0 -32
- package/_types/chains/definitions/polygonMumbai.d.ts.map +0 -1
- package/_types/chains/definitions/polygonZkEvm.d.ts +0 -32
- package/_types/chains/definitions/polygonZkEvm.d.ts.map +0 -1
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +0 -32
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/pulsechain.d.ts +0 -36
- package/_types/chains/definitions/pulsechain.d.ts.map +0 -1
- package/_types/chains/definitions/pulsechainV4.d.ts +0 -36
- package/_types/chains/definitions/pulsechainV4.d.ts.map +0 -1
- package/_types/chains/definitions/qMainnet.d.ts +0 -34
- package/_types/chains/definitions/qMainnet.d.ts.map +0 -1
- package/_types/chains/definitions/qTestnet.d.ts +0 -34
- package/_types/chains/definitions/qTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/rollux.d.ts +0 -33
- package/_types/chains/definitions/rollux.d.ts.map +0 -1
- package/_types/chains/definitions/rolluxTestnet.d.ts +0 -33
- package/_types/chains/definitions/rolluxTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/ronin.d.ts +0 -32
- package/_types/chains/definitions/ronin.d.ts.map +0 -1
- package/_types/chains/definitions/rootstock.d.ts +0 -40
- package/_types/chains/definitions/rootstock.d.ts.map +0 -1
- package/_types/chains/definitions/saigon.d.ts +0 -32
- package/_types/chains/definitions/saigon.d.ts.map +0 -1
- package/_types/chains/definitions/sapphire.d.ts +0 -38
- package/_types/chains/definitions/sapphire.d.ts.map +0 -1
- package/_types/chains/definitions/sapphireTestnet.d.ts +0 -40
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/scroll.d.ts +0 -33
- package/_types/chains/definitions/scroll.d.ts.map +0 -1
- package/_types/chains/definitions/scrollSepolia.d.ts +0 -32
- package/_types/chains/definitions/scrollSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/scrollTestnet.d.ts +0 -35
- package/_types/chains/definitions/scrollTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/sepolia.d.ts +0 -39
- package/_types/chains/definitions/sepolia.d.ts.map +0 -1
- package/_types/chains/definitions/shardeumSphinx.d.ts +0 -34
- package/_types/chains/definitions/shardeumSphinx.d.ts.map +0 -1
- package/_types/chains/definitions/shibarium.d.ts +0 -40
- package/_types/chains/definitions/shibarium.d.ts.map +0 -1
- package/_types/chains/definitions/shimmer.d.ts +0 -38
- package/_types/chains/definitions/shimmer.d.ts.map +0 -1
- package/_types/chains/definitions/shimmerTestnet.d.ts +0 -38
- package/_types/chains/definitions/shimmerTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/skale/brawl.d.ts +0 -28
- package/_types/chains/definitions/skale/brawl.d.ts.map +0 -1
- package/_types/chains/definitions/skale/calypso.d.ts +0 -33
- package/_types/chains/definitions/skale/calypso.d.ts.map +0 -1
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +0 -33
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/skale/chaosTestnet.d.ts +0 -33
- package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +0 -28
- package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +0 -1
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +0 -28
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +0 -1
- package/_types/chains/definitions/skale/europa.d.ts +0 -33
- package/_types/chains/definitions/skale/europa.d.ts.map +0 -1
- package/_types/chains/definitions/skale/europaTestnet.d.ts +0 -33
- package/_types/chains/definitions/skale/europaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/skale/exorde.d.ts +0 -28
- package/_types/chains/definitions/skale/exorde.d.ts.map +0 -1
- package/_types/chains/definitions/skale/humanProtocol.d.ts +0 -28
- package/_types/chains/definitions/skale/humanProtocol.d.ts.map +0 -1
- package/_types/chains/definitions/skale/nebula.d.ts +0 -33
- package/_types/chains/definitions/skale/nebula.d.ts.map +0 -1
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +0 -33
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/skale/razor.d.ts +0 -28
- package/_types/chains/definitions/skale/razor.d.ts.map +0 -1
- package/_types/chains/definitions/skale/titan.d.ts +0 -33
- package/_types/chains/definitions/skale/titan.d.ts.map +0 -1
- package/_types/chains/definitions/skale/titanTestnet.d.ts +0 -33
- package/_types/chains/definitions/skale/titanTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/songbird.d.ts +0 -34
- package/_types/chains/definitions/songbird.d.ts.map +0 -1
- package/_types/chains/definitions/songbirdTestnet.d.ts +0 -34
- package/_types/chains/definitions/songbirdTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/spicy.d.ts +0 -36
- package/_types/chains/definitions/spicy.d.ts.map +0 -1
- package/_types/chains/definitions/syscoin.d.ts +0 -33
- package/_types/chains/definitions/syscoin.d.ts.map +0 -1
- package/_types/chains/definitions/syscoinTestnet.d.ts +0 -33
- package/_types/chains/definitions/syscoinTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +0 -34
- package/_types/chains/definitions/taikoJolnir.d.ts.map +0 -1
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +0 -34
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/taraxa.d.ts +0 -34
- package/_types/chains/definitions/taraxa.d.ts.map +0 -1
- package/_types/chains/definitions/taraxaTestnet.d.ts +0 -34
- package/_types/chains/definitions/taraxaTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/telos.d.ts +0 -32
- package/_types/chains/definitions/telos.d.ts.map +0 -1
- package/_types/chains/definitions/telosTestnet.d.ts +0 -34
- package/_types/chains/definitions/telosTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/tenet.d.ts +0 -38
- package/_types/chains/definitions/tenet.d.ts.map +0 -1
- package/_types/chains/definitions/thunderTestnet.d.ts +0 -34
- package/_types/chains/definitions/thunderTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/vechain.d.ts +0 -38
- package/_types/chains/definitions/vechain.d.ts.map +0 -1
- package/_types/chains/definitions/wanchain.d.ts +0 -32
- package/_types/chains/definitions/wanchain.d.ts.map +0 -1
- package/_types/chains/definitions/wanchainTestnet.d.ts +0 -32
- package/_types/chains/definitions/wanchainTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/xdc.d.ts +0 -38
- package/_types/chains/definitions/xdc.d.ts.map +0 -1
- package/_types/chains/definitions/xdcTestnet.d.ts +0 -38
- package/_types/chains/definitions/xdcTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +0 -34
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/zhejiang.d.ts +0 -34
- package/_types/chains/definitions/zhejiang.d.ts.map +0 -1
- package/_types/chains/definitions/zkSync.d.ts +0 -529
- package/_types/chains/definitions/zkSync.d.ts.map +0 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +0 -529
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +0 -1
- package/_types/chains/definitions/zora.d.ts +0 -573
- package/_types/chains/definitions/zora.d.ts.map +0 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +0 -578
- package/_types/chains/definitions/zoraSepolia.d.ts.map +0 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +0 -573
- package/_types/chains/definitions/zoraTestnet.d.ts.map +0 -1
- package/_types/chains/index.d.ts +0 -174
- package/_types/chains/index.d.ts.map +0 -1
- package/_types/chains/opStack/abis.d.ts +0 -549
- package/_types/chains/opStack/abis.d.ts.map +0 -1
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +0 -63
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +0 -1
- package/_types/chains/opStack/actions/depositTransaction.d.ts +0 -96
- package/_types/chains/opStack/actions/depositTransaction.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +0 -39
- package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +0 -39
- package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +0 -39
- package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +0 -39
- package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts +0 -43
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts +0 -43
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts +0 -37
- package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +0 -1
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts +0 -36
- package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +0 -1
- package/_types/chains/opStack/chainConfig.d.ts +0 -542
- package/_types/chains/opStack/chainConfig.d.ts.map +0 -1
- package/_types/chains/opStack/chains.d.ts +0 -10
- package/_types/chains/opStack/chains.d.ts.map +0 -1
- package/_types/chains/opStack/contracts.d.ts +0 -21
- package/_types/chains/opStack/contracts.d.ts.map +0 -1
- package/_types/chains/opStack/decorators/publicL2.d.ts +0 -241
- package/_types/chains/opStack/decorators/publicL2.d.ts.map +0 -1
- package/_types/chains/opStack/decorators/walletL1.d.ts +0 -64
- package/_types/chains/opStack/decorators/walletL1.d.ts.map +0 -1
- package/_types/chains/opStack/formatters.d.ts +0 -520
- package/_types/chains/opStack/formatters.d.ts.map +0 -1
- package/_types/chains/opStack/index.d.ts +0 -24
- package/_types/chains/opStack/index.d.ts.map +0 -1
- package/_types/chains/opStack/parsers.d.ts +0 -8
- package/_types/chains/opStack/parsers.d.ts.map +0 -1
- package/_types/chains/opStack/serializers.d.ts +0 -12
- package/_types/chains/opStack/serializers.d.ts.map +0 -1
- package/_types/chains/opStack/types/block.d.ts +0 -13
- package/_types/chains/opStack/types/block.d.ts.map +0 -1
- package/_types/chains/opStack/types/chain.d.ts +0 -9
- package/_types/chains/opStack/types/chain.d.ts.map +0 -1
- package/_types/chains/opStack/types/contract.d.ts +0 -13
- package/_types/chains/opStack/types/contract.d.ts.map +0 -1
- package/_types/chains/opStack/types/transaction.d.ts +0 -60
- package/_types/chains/opStack/types/transaction.d.ts.map +0 -1
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +0 -446
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +0 -1
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts +0 -15
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +0 -1
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +0 -12
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +0 -1
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +0 -11
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +0 -1
- package/_types/chains/opStack/utils/getSourceHash.d.ts +0 -28
- package/_types/chains/opStack/utils/getSourceHash.d.ts.map +0 -1
- package/_types/chains/utils.d.ts +0 -5
- package/_types/chains/utils.d.ts.map +0 -1
- package/_types/chains/zksync/chainConfig.d.ts +0 -501
- package/_types/chains/zksync/chainConfig.d.ts.map +0 -1
- package/_types/chains/zksync/formatters.d.ts +0 -498
- package/_types/chains/zksync/formatters.d.ts.map +0 -1
- package/_types/chains/zksync/index.d.ts +0 -4
- package/_types/chains/zksync/index.d.ts.map +0 -1
- package/_types/chains/zksync/serializers.d.ts +0 -9
- package/_types/chains/zksync/serializers.d.ts.map +0 -1
- package/_types/chains/zksync/types.d.ts +0 -158
- package/_types/chains/zksync/types.d.ts.map +0 -1
- package/_types/clients/createClient.d.ts +0 -86
- package/_types/clients/createClient.d.ts.map +0 -1
- package/_types/clients/createPublicClient.d.ts +0 -31
- package/_types/clients/createPublicClient.d.ts.map +0 -1
- package/_types/clients/createTestClient.d.ts +0 -45
- package/_types/clients/createTestClient.d.ts.map +0 -1
- package/_types/clients/createWalletClient.d.ts +0 -51
- package/_types/clients/createWalletClient.d.ts.map +0 -1
- package/_types/clients/decorators/public.d.ts +0 -1252
- package/_types/clients/decorators/public.d.ts.map +0 -1
- package/_types/clients/decorators/test.d.ts +0 -640
- package/_types/clients/decorators/test.d.ts.map +0 -1
- package/_types/clients/decorators/wallet.d.ts +0 -561
- package/_types/clients/decorators/wallet.d.ts.map +0 -1
- package/_types/clients/transports/createTransport.d.ts +0 -36
- package/_types/clients/transports/createTransport.d.ts.map +0 -1
- package/_types/clients/transports/custom.d.ts +0 -23
- package/_types/clients/transports/custom.d.ts.map +0 -1
- package/_types/clients/transports/fallback.d.ts +0 -77
- package/_types/clients/transports/fallback.d.ts.map +0 -1
- package/_types/clients/transports/http.d.ts +0 -44
- package/_types/clients/transports/http.d.ts.map +0 -1
- package/_types/clients/transports/webSocket.d.ts +0 -47
- package/_types/clients/transports/webSocket.d.ts.map +0 -1
- package/_types/constants/abis.d.ts +0 -1035
- package/_types/constants/abis.d.ts.map +0 -1
- package/_types/constants/address.d.ts +0 -2
- package/_types/constants/address.d.ts.map +0 -1
- package/_types/constants/bytes.d.ts +0 -2
- package/_types/constants/bytes.d.ts.map +0 -1
- package/_types/constants/contract.d.ts +0 -2
- package/_types/constants/contract.d.ts.map +0 -1
- package/_types/constants/contracts.d.ts +0 -2
- package/_types/constants/contracts.d.ts.map +0 -1
- package/_types/constants/number.d.ts +0 -97
- package/_types/constants/number.d.ts.map +0 -1
- package/_types/constants/solidity.d.ts +0 -15
- package/_types/constants/solidity.d.ts.map +0 -1
- package/_types/constants/strings.d.ts +0 -2
- package/_types/constants/strings.d.ts.map +0 -1
- package/_types/constants/unit.d.ts +0 -13
- package/_types/constants/unit.d.ts.map +0 -1
- package/_types/ens/index.d.ts +0 -9
- package/_types/ens/index.d.ts.map +0 -1
- package/_types/errors/abi.d.ts +0 -244
- package/_types/errors/abi.d.ts.map +0 -1
- package/_types/errors/account.d.ts +0 -11
- package/_types/errors/account.d.ts.map +0 -1
- package/_types/errors/address.d.ts +0 -11
- package/_types/errors/address.d.ts.map +0 -1
- package/_types/errors/base.d.ts +0 -27
- package/_types/errors/base.d.ts.map +0 -1
- package/_types/errors/block.d.ts +0 -13
- package/_types/errors/block.d.ts.map +0 -1
- package/_types/errors/ccip.d.ts +0 -38
- package/_types/errors/ccip.d.ts.map +0 -1
- package/_types/errors/chain.d.ts +0 -50
- package/_types/errors/chain.d.ts.map +0 -1
- package/_types/errors/contract.d.ts +0 -79
- package/_types/errors/contract.d.ts.map +0 -1
- package/_types/errors/cursor.d.ts +0 -21
- package/_types/errors/cursor.d.ts.map +0 -1
- package/_types/errors/data.d.ts +0 -24
- package/_types/errors/data.d.ts.map +0 -1
- package/_types/errors/encoding.d.ts +0 -47
- package/_types/errors/encoding.d.ts.map +0 -1
- package/_types/errors/ens.d.ts +0 -38
- package/_types/errors/ens.d.ts.map +0 -1
- package/_types/errors/estimateGas.d.ts +0 -17
- package/_types/errors/estimateGas.d.ts.map +0 -1
- package/_types/errors/fee.d.ts +0 -25
- package/_types/errors/fee.d.ts.map +0 -1
- package/_types/errors/log.d.ts +0 -9
- package/_types/errors/log.d.ts.map +0 -1
- package/_types/errors/node.d.ts +0 -142
- package/_types/errors/node.d.ts.map +0 -1
- package/_types/errors/request.d.ts +0 -73
- package/_types/errors/request.d.ts.map +0 -1
- package/_types/errors/rpc.d.ts +0 -302
- package/_types/errors/rpc.d.ts.map +0 -1
- package/_types/errors/transaction.d.ts +0 -109
- package/_types/errors/transaction.d.ts.map +0 -1
- package/_types/errors/transport.d.ts +0 -8
- package/_types/errors/transport.d.ts.map +0 -1
- package/_types/errors/utils.d.ts +0 -8
- package/_types/errors/utils.d.ts.map +0 -1
- package/_types/errors/version.d.ts +0 -2
- package/_types/errors/version.d.ts.map +0 -1
- package/_types/index.d.ts +0 -210
- package/_types/index.d.ts.map +0 -1
- package/_types/types/account.d.ts +0 -15
- package/_types/types/account.d.ts.map +0 -1
- package/_types/types/block.d.ts +0 -67
- package/_types/types/block.d.ts.map +0 -1
- package/_types/types/chain.d.ts +0 -159
- package/_types/types/chain.d.ts.map +0 -1
- package/_types/types/contract.d.ts +0 -118
- package/_types/types/contract.d.ts.map +0 -1
- package/_types/types/eip1193.d.ts +0 -1271
- package/_types/types/eip1193.d.ts.map +0 -1
- package/_types/types/ens.d.ts +0 -5
- package/_types/types/ens.d.ts.map +0 -1
- package/_types/types/fee.d.ts +0 -30
- package/_types/types/fee.d.ts.map +0 -1
- package/_types/types/filter.d.ts +0 -40
- package/_types/types/filter.d.ts.map +0 -1
- package/_types/types/log.d.ts +0 -55
- package/_types/types/log.d.ts.map +0 -1
- package/_types/types/misc.d.ts +0 -18
- package/_types/types/misc.d.ts.map +0 -1
- package/_types/types/multicall.d.ts +0 -58
- package/_types/types/multicall.d.ts.map +0 -1
- package/_types/types/proof.d.ts +0 -18
- package/_types/types/proof.d.ts.map +0 -1
- package/_types/types/rpc.d.ts +0 -22
- package/_types/types/rpc.d.ts.map +0 -1
- package/_types/types/transaction.d.ts +0 -156
- package/_types/types/transaction.d.ts.map +0 -1
- package/_types/types/transport.d.ts +0 -24
- package/_types/types/transport.d.ts.map +0 -1
- package/_types/types/typedData.d.ts +0 -25
- package/_types/types/typedData.d.ts.map +0 -1
- package/_types/types/utils.d.ts +0 -171
- package/_types/types/utils.d.ts.map +0 -1
- package/_types/types/window.d.ts +0 -7
- package/_types/types/window.d.ts.map +0 -1
- package/_types/types/withdrawal.d.ts +0 -8
- package/_types/types/withdrawal.d.ts.map +0 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts +0 -25
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +0 -1
- package/_types/utils/abi/decodeDeployData.d.ts +0 -18
- package/_types/utils/abi/decodeDeployData.d.ts.map +0 -1
- package/_types/utils/abi/decodeErrorResult.d.ts +0 -27
- package/_types/utils/abi/decodeErrorResult.d.ts.map +0 -1
- package/_types/utils/abi/decodeEventLog.d.ts +0 -33
- package/_types/utils/abi/decodeEventLog.d.ts.map +0 -1
- package/_types/utils/abi/decodeFunctionData.d.ts +0 -26
- package/_types/utils/abi/decodeFunctionData.d.ts.map +0 -1
- package/_types/utils/abi/decodeFunctionResult.d.ts +0 -26
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +0 -1
- package/_types/utils/abi/encodeAbiParameters.d.ts +0 -30
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +0 -1
- package/_types/utils/abi/encodeDeployData.d.ts +0 -22
- package/_types/utils/abi/encodeDeployData.d.ts.map +0 -1
- package/_types/utils/abi/encodeErrorResult.d.ts +0 -24
- package/_types/utils/abi/encodeErrorResult.d.ts.map +0 -1
- package/_types/utils/abi/encodeEventTopics.d.ts +0 -26
- package/_types/utils/abi/encodeEventTopics.d.ts.map +0 -1
- package/_types/utils/abi/encodeFunctionData.d.ts +0 -28
- package/_types/utils/abi/encodeFunctionData.d.ts.map +0 -1
- package/_types/utils/abi/encodeFunctionResult.d.ts +0 -22
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +0 -1
- package/_types/utils/abi/encodePacked.d.ts +0 -20
- package/_types/utils/abi/encodePacked.d.ts.map +0 -1
- package/_types/utils/abi/formatAbiItem.d.ts +0 -14
- package/_types/utils/abi/formatAbiItem.d.ts.map +0 -1
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts +0 -10
- package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +0 -1
- package/_types/utils/abi/getAbiItem.d.ts +0 -22
- package/_types/utils/abi/getAbiItem.d.ts.map +0 -1
- package/_types/utils/abi/parseEventLogs.d.ts +0 -43
- package/_types/utils/abi/parseEventLogs.d.ts.map +0 -1
- package/_types/utils/accounts.d.ts +0 -3
- package/_types/utils/accounts.d.ts.map +0 -1
- package/_types/utils/address/getAddress.d.ts +0 -10
- package/_types/utils/address/getAddress.d.ts.map +0 -1
- package/_types/utils/address/getContractAddress.d.ts +0 -35
- package/_types/utils/address/getContractAddress.d.ts.map +0 -1
- package/_types/utils/address/isAddress.d.ts +0 -5
- package/_types/utils/address/isAddress.d.ts.map +0 -1
- package/_types/utils/address/isAddressEqual.d.ts +0 -7
- package/_types/utils/address/isAddressEqual.d.ts.map +0 -1
- package/_types/utils/buildRequest.d.ts +0 -11
- package/_types/utils/buildRequest.d.ts.map +0 -1
- package/_types/utils/ccip.d.ts +0 -40
- package/_types/utils/ccip.d.ts.map +0 -1
- package/_types/utils/chain/assertCurrentChain.d.ts +0 -10
- package/_types/utils/chain/assertCurrentChain.d.ts.map +0 -1
- package/_types/utils/chain/defineChain.d.ts +0 -4
- package/_types/utils/chain/defineChain.d.ts.map +0 -1
- package/_types/utils/chain/extractChain.d.ts +0 -10
- package/_types/utils/chain/extractChain.d.ts.map +0 -1
- package/_types/utils/chain/getChainContractAddress.d.ts +0 -9
- package/_types/utils/chain/getChainContractAddress.d.ts.map +0 -1
- package/_types/utils/cursor.d.ts +0 -37
- package/_types/utils/cursor.d.ts.map +0 -1
- package/_types/utils/data/concat.d.ts +0 -10
- package/_types/utils/data/concat.d.ts.map +0 -1
- package/_types/utils/data/isBytes.d.ts +0 -5
- package/_types/utils/data/isBytes.d.ts.map +0 -1
- package/_types/utils/data/isBytesEqual.d.ts +0 -7
- package/_types/utils/data/isBytesEqual.d.ts.map +0 -1
- package/_types/utils/data/isHex.d.ts +0 -7
- package/_types/utils/data/isHex.d.ts.map +0 -1
- package/_types/utils/data/pad.d.ts +0 -16
- package/_types/utils/data/pad.d.ts.map +0 -1
- package/_types/utils/data/size.d.ts +0 -12
- package/_types/utils/data/size.d.ts.map +0 -1
- package/_types/utils/data/slice.d.ts +0 -42
- package/_types/utils/data/slice.d.ts.map +0 -1
- package/_types/utils/data/trim.d.ts +0 -10
- package/_types/utils/data/trim.d.ts.map +0 -1
- package/_types/utils/encoding/fromBytes.d.ts +0 -117
- package/_types/utils/encoding/fromBytes.d.ts.map +0 -1
- package/_types/utils/encoding/fromHex.d.ts +0 -149
- package/_types/utils/encoding/fromHex.d.ts.map +0 -1
- package/_types/utils/encoding/fromRlp.d.ts +0 -21
- package/_types/utils/encoding/fromRlp.d.ts.map +0 -1
- package/_types/utils/encoding/toBytes.d.ts +0 -134
- package/_types/utils/encoding/toBytes.d.ts.map +0 -1
- package/_types/utils/encoding/toHex.d.ts +0 -148
- package/_types/utils/encoding/toHex.d.ts.map +0 -1
- package/_types/utils/encoding/toRlp.d.ts +0 -16
- package/_types/utils/encoding/toRlp.d.ts.map +0 -1
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +0 -13
- package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +0 -1
- package/_types/utils/ens/avatar/utils.d.ts +0 -48
- package/_types/utils/ens/avatar/utils.d.ts.map +0 -1
- package/_types/utils/ens/encodeLabelhash.d.ts +0 -5
- package/_types/utils/ens/encodeLabelhash.d.ts.map +0 -1
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts +0 -6
- package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +0 -1
- package/_types/utils/ens/errors.d.ts +0 -4
- package/_types/utils/ens/errors.d.ts.map +0 -1
- package/_types/utils/ens/labelhash.d.ts +0 -17
- package/_types/utils/ens/labelhash.d.ts.map +0 -1
- package/_types/utils/ens/namehash.d.ts +0 -20
- package/_types/utils/ens/namehash.d.ts.map +0 -1
- package/_types/utils/ens/normalize.d.ts +0 -14
- package/_types/utils/ens/normalize.d.ts.map +0 -1
- package/_types/utils/ens/packetToBytes.d.ts +0 -8
- package/_types/utils/ens/packetToBytes.d.ts.map +0 -1
- package/_types/utils/errors/getCallError.d.ts +0 -13
- package/_types/utils/errors/getCallError.d.ts.map +0 -1
- package/_types/utils/errors/getContractError.d.ts +0 -15
- package/_types/utils/errors/getContractError.d.ts.map +0 -1
- package/_types/utils/errors/getEstimateGasError.d.ts +0 -15
- package/_types/utils/errors/getEstimateGasError.d.ts.map +0 -1
- package/_types/utils/errors/getNodeError.d.ts +0 -8
- package/_types/utils/errors/getNodeError.d.ts.map +0 -1
- package/_types/utils/errors/getTransactionError.d.ts +0 -16
- package/_types/utils/errors/getTransactionError.d.ts.map +0 -1
- package/_types/utils/filters/createFilterRequestScope.d.ts +0 -22
- package/_types/utils/filters/createFilterRequestScope.d.ts.map +0 -1
- package/_types/utils/formatters/block.d.ts +0 -28
- package/_types/utils/formatters/block.d.ts.map +0 -1
- package/_types/utils/formatters/extract.d.ts +0 -10
- package/_types/utils/formatters/extract.d.ts.map +0 -1
- package/_types/utils/formatters/feeHistory.d.ts +0 -6
- package/_types/utils/formatters/feeHistory.d.ts.map +0 -1
- package/_types/utils/formatters/formatter.d.ts +0 -12
- package/_types/utils/formatters/formatter.d.ts.map +0 -1
- package/_types/utils/formatters/log.d.ts +0 -9
- package/_types/utils/formatters/log.d.ts.map +0 -1
- package/_types/utils/formatters/proof.d.ts +0 -6
- package/_types/utils/formatters/proof.d.ts.map +0 -1
- package/_types/utils/formatters/transaction.d.ts +0 -30
- package/_types/utils/formatters/transaction.d.ts.map +0 -1
- package/_types/utils/formatters/transactionReceipt.d.ts +0 -18
- package/_types/utils/formatters/transactionReceipt.d.ts.map +0 -1
- package/_types/utils/formatters/transactionRequest.d.ts +0 -23
- package/_types/utils/formatters/transactionRequest.d.ts.map +0 -1
- package/_types/utils/getAction.d.ts +0 -10
- package/_types/utils/getAction.d.ts.map +0 -1
- package/_types/utils/hash/getEventSelector.d.ts +0 -7
- package/_types/utils/hash/getEventSelector.d.ts.map +0 -1
- package/_types/utils/hash/getEventSignature.d.ts +0 -6
- package/_types/utils/hash/getEventSignature.d.ts.map +0 -1
- package/_types/utils/hash/getFunctionSelector.d.ts +0 -9
- package/_types/utils/hash/getFunctionSelector.d.ts.map +0 -1
- package/_types/utils/hash/getFunctionSignature.d.ts +0 -6
- package/_types/utils/hash/getFunctionSignature.d.ts.map +0 -1
- package/_types/utils/hash/hashFunction.d.ts +0 -11
- package/_types/utils/hash/hashFunction.d.ts.map +0 -1
- package/_types/utils/hash/isHash.d.ts +0 -7
- package/_types/utils/hash/isHash.d.ts.map +0 -1
- package/_types/utils/hash/keccak256.d.ts +0 -11
- package/_types/utils/hash/keccak256.d.ts.map +0 -1
- package/_types/utils/hash/normalizeSignature.d.ts +0 -6
- package/_types/utils/hash/normalizeSignature.d.ts.map +0 -1
- package/_types/utils/index.d.ts +0 -84
- package/_types/utils/index.d.ts.map +0 -1
- package/_types/utils/observe.d.ts +0 -19
- package/_types/utils/observe.d.ts.map +0 -1
- package/_types/utils/poll.d.ts +0 -15
- package/_types/utils/poll.d.ts.map +0 -1
- package/_types/utils/promise/createBatchScheduler.d.ts +0 -21
- package/_types/utils/promise/createBatchScheduler.d.ts.map +0 -1
- package/_types/utils/promise/withCache.d.ts +0 -38
- package/_types/utils/promise/withCache.d.ts.map +0 -1
- package/_types/utils/promise/withRetry.d.ts +0 -14
- package/_types/utils/promise/withRetry.d.ts.map +0 -1
- package/_types/utils/promise/withTimeout.d.ts +0 -10
- package/_types/utils/promise/withTimeout.d.ts.map +0 -1
- package/_types/utils/regex.d.ts +0 -4
- package/_types/utils/regex.d.ts.map +0 -1
- package/_types/utils/rpc.d.ts +0 -80
- package/_types/utils/rpc.d.ts.map +0 -1
- package/_types/utils/signature/compactSignatureToHex.d.ts +0 -19
- package/_types/utils/signature/compactSignatureToHex.d.ts.map +0 -1
- package/_types/utils/signature/compactSignatureToSignature.d.ts +0 -24
- package/_types/utils/signature/compactSignatureToSignature.d.ts.map +0 -1
- package/_types/utils/signature/hashMessage.d.ts +0 -11
- package/_types/utils/signature/hashMessage.d.ts.map +0 -1
- package/_types/utils/signature/hashTypedData.d.ts +0 -29
- package/_types/utils/signature/hashTypedData.d.ts.map +0 -1
- package/_types/utils/signature/hexToCompactSignature.d.ts +0 -16
- package/_types/utils/signature/hexToCompactSignature.d.ts.map +0 -1
- package/_types/utils/signature/hexToSignature.d.ts +0 -16
- package/_types/utils/signature/hexToSignature.d.ts.map +0 -1
- package/_types/utils/signature/recoverAddress.d.ts +0 -11
- package/_types/utils/signature/recoverAddress.d.ts.map +0 -1
- package/_types/utils/signature/recoverMessageAddress.d.ts +0 -13
- package/_types/utils/signature/recoverMessageAddress.d.ts.map +0 -1
- package/_types/utils/signature/recoverPublicKey.d.ts +0 -12
- package/_types/utils/signature/recoverPublicKey.d.ts.map +0 -1
- package/_types/utils/signature/recoverTypedDataAddress.d.ts +0 -13
- package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +0 -1
- package/_types/utils/signature/signatureToCompactSignature.d.ts +0 -23
- package/_types/utils/signature/signatureToCompactSignature.d.ts.map +0 -1
- package/_types/utils/signature/signatureToHex.d.ts +0 -21
- package/_types/utils/signature/signatureToHex.d.ts.map +0 -1
- package/_types/utils/signature/verifyMessage.d.ts +0 -30
- package/_types/utils/signature/verifyMessage.d.ts.map +0 -1
- package/_types/utils/signature/verifyTypedData.d.ts +0 -29
- package/_types/utils/signature/verifyTypedData.d.ts.map +0 -1
- package/_types/utils/stringify.d.ts +0 -4
- package/_types/utils/stringify.d.ts.map +0 -1
- package/_types/utils/transaction/assertRequest.d.ts +0 -11
- package/_types/utils/transaction/assertRequest.d.ts.map +0 -1
- package/_types/utils/transaction/assertTransaction.d.ts +0 -14
- package/_types/utils/transaction/assertTransaction.d.ts.map +0 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts +0 -9
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +0 -1
- package/_types/utils/transaction/getTransactionType.d.ts +0 -7
- package/_types/utils/transaction/getTransactionType.d.ts.map +0 -1
- package/_types/utils/transaction/parseTransaction.d.ts +0 -26
- package/_types/utils/transaction/parseTransaction.d.ts.map +0 -1
- package/_types/utils/transaction/serializeAccessList.d.ts +0 -10
- package/_types/utils/transaction/serializeAccessList.d.ts.map +0 -1
- package/_types/utils/transaction/serializeTransaction.d.ts +0 -19
- package/_types/utils/transaction/serializeTransaction.d.ts.map +0 -1
- package/_types/utils/typedData.d.ts +0 -19
- package/_types/utils/typedData.d.ts.map +0 -1
- package/_types/utils/uid.d.ts +0 -2
- package/_types/utils/uid.d.ts.map +0 -1
- package/_types/utils/unit/formatEther.d.ts +0 -15
- package/_types/utils/unit/formatEther.d.ts.map +0 -1
- package/_types/utils/unit/formatGwei.d.ts +0 -15
- package/_types/utils/unit/formatGwei.d.ts.map +0 -1
- package/_types/utils/unit/formatUnits.d.ts +0 -15
- package/_types/utils/unit/formatUnits.d.ts.map +0 -1
- package/_types/utils/unit/parseEther.d.ts +0 -16
- package/_types/utils/unit/parseEther.d.ts.map +0 -1
- package/_types/utils/unit/parseGwei.d.ts +0 -16
- package/_types/utils/unit/parseGwei.d.ts.map +0 -1
- package/_types/utils/unit/parseUnits.d.ts +0 -15
- package/_types/utils/unit/parseUnits.d.ts.map +0 -1
- package/_types/utils/wait.d.ts +0 -2
- package/_types/utils/wait.d.ts.map +0 -1
- package/_types/window/index.d.ts +0 -2
- package/_types/window/index.d.ts.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getBalance.d.ts","sourceRoot":"","sources":["../../../actions/public/getBalance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+BAA+B,CAAA;AAEtC,MAAM,MAAM,oBAAoB,GAAG;IACjC,kCAAkC;IAClC,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,CACA;IACE,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB,GACD;IACE,WAAW,CAAC,EAAE,KAAK,CAAA;IACnB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB,CACJ,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAA;AAEzC,MAAM,MAAM,mBAAmB,GAC3B,oBAAoB,GACpB,gBAAgB,GAChB,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAsB,UAAU,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EAC/D,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EAAE,OAAO,EAAE,WAAW,EAAE,QAAmB,EAAE,EAAE,oBAAoB,GAClE,OAAO,CAAC,oBAAoB,CAAC,CAQ/B"}
|
@@ -1,61 +0,0 @@
|
|
1
|
-
import type { Account } from '../../accounts/types.js';
|
2
|
-
import type { Client } from '../../clients/createClient.js';
|
3
|
-
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
-
import { type BlockNotFoundErrorType } from '../../errors/block.js';
|
5
|
-
import type { ErrorType } from '../../errors/utils.js';
|
6
|
-
import type { BlockTag } from '../../types/block.js';
|
7
|
-
import type { Chain } from '../../types/chain.js';
|
8
|
-
import type { Hash } from '../../types/misc.js';
|
9
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
10
|
-
import { type NumberToHexErrorType } from '../../utils/encoding/toHex.js';
|
11
|
-
import { type FormattedBlock } from '../../utils/formatters/block.js';
|
12
|
-
export type GetBlockParameters<TIncludeTransactions extends boolean = false, TBlockTag extends BlockTag = 'latest'> = {
|
13
|
-
/** Whether or not to include transaction data in the response. */
|
14
|
-
includeTransactions?: TIncludeTransactions;
|
15
|
-
} & ({
|
16
|
-
/** Hash of the block. */
|
17
|
-
blockHash?: Hash;
|
18
|
-
blockNumber?: never;
|
19
|
-
blockTag?: never;
|
20
|
-
} | {
|
21
|
-
blockHash?: never;
|
22
|
-
/** The block number. */
|
23
|
-
blockNumber?: bigint;
|
24
|
-
blockTag?: never;
|
25
|
-
} | {
|
26
|
-
blockHash?: never;
|
27
|
-
blockNumber?: never;
|
28
|
-
/**
|
29
|
-
* The block tag.
|
30
|
-
* @default 'latest'
|
31
|
-
*/
|
32
|
-
blockTag?: TBlockTag | BlockTag;
|
33
|
-
});
|
34
|
-
export type GetBlockReturnType<TChain extends Chain | undefined = undefined, TIncludeTransactions extends boolean = false, TBlockTag extends BlockTag = 'latest'> = FormattedBlock<TChain, TIncludeTransactions, TBlockTag>;
|
35
|
-
export type GetBlockErrorType = BlockNotFoundErrorType | NumberToHexErrorType | RequestErrorType | ErrorType;
|
36
|
-
/**
|
37
|
-
* Returns information about a block at a block number, hash, or tag.
|
38
|
-
*
|
39
|
-
* - Docs: https://viem.sh/docs/actions/public/getBlock.html
|
40
|
-
* - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/fetching-blocks
|
41
|
-
* - JSON-RPC Methods:
|
42
|
-
* - Calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbynumber) for `blockNumber` & `blockTag`.
|
43
|
-
* - Calls [`eth_getBlockByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbyhash) for `blockHash`.
|
44
|
-
*
|
45
|
-
* @param client - Client to use
|
46
|
-
* @param parameters - {@link GetBlockParameters}
|
47
|
-
* @returns Information about the block. {@link GetBlockReturnType}
|
48
|
-
*
|
49
|
-
* @example
|
50
|
-
* import { createPublicClient, http } from 'viem'
|
51
|
-
* import { mainnet } from 'viem/chains'
|
52
|
-
* import { getBlock } from 'viem/public'
|
53
|
-
*
|
54
|
-
* const client = createPublicClient({
|
55
|
-
* chain: mainnet,
|
56
|
-
* transport: http(),
|
57
|
-
* })
|
58
|
-
* const block = await getBlock(client)
|
59
|
-
*/
|
60
|
-
export declare function getBlock<TChain extends Chain | undefined, TAccount extends Account | undefined, TIncludeTransactions extends boolean = false, TBlockTag extends BlockTag = 'latest'>(client: Client<Transport, TChain, TAccount>, { blockHash, blockNumber, blockTag: blockTag_, includeTransactions: includeTransactions_, }?: GetBlockParameters<TIncludeTransactions, TBlockTag>): Promise<GetBlockReturnType<TChain, TIncludeTransactions, TBlockTag>>;
|
61
|
-
//# sourceMappingURL=getBlock.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getBlock.d.ts","sourceRoot":"","sources":["../../../actions/public/getBlock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,iCAAiC,CAAA;AAExC,MAAM,MAAM,kBAAkB,CAC5B,oBAAoB,SAAS,OAAO,GAAG,KAAK,EAC5C,SAAS,SAAS,QAAQ,GAAG,QAAQ,IACnC;IACF,kEAAkE;IAClE,mBAAmB,CAAC,EAAE,oBAAoB,CAAA;CAC3C,GAAG,CACA;IACE,yBAAyB;IACzB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,WAAW,CAAC,EAAE,KAAK,CAAA;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAA;IACjB,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAA;IACjB,WAAW,CAAC,EAAE,KAAK,CAAA;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;CAChC,CACJ,CAAA;AAED,MAAM,MAAM,kBAAkB,CAC5B,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAC5C,oBAAoB,SAAS,OAAO,GAAG,KAAK,EAC5C,SAAS,SAAS,QAAQ,GAAG,QAAQ,IACnC,cAAc,CAAC,MAAM,EAAE,oBAAoB,EAAE,SAAS,CAAC,CAAA;AAE3D,MAAM,MAAM,iBAAiB,GACzB,sBAAsB,GACtB,oBAAoB,GACpB,gBAAgB,GAChB,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAsB,QAAQ,CAC5B,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,oBAAoB,SAAS,OAAO,GAAG,KAAK,EAC5C,SAAS,SAAS,QAAQ,GAAG,QAAQ,EAErC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAC3C,EACE,SAAS,EACT,WAAW,EACX,QAAQ,EAAE,SAAS,EACnB,mBAAmB,EAAE,oBAAoB,GAC1C,GAAE,kBAAkB,CAAC,oBAAoB,EAAE,SAAS,CAAM,GAC1D,OAAO,CAAC,kBAAkB,CAAC,MAAM,EAAE,oBAAoB,EAAE,SAAS,CAAC,CAAC,CAwBtE"}
|
@@ -1,58 +0,0 @@
|
|
1
|
-
import type { Client } from '../../clients/createClient.js';
|
2
|
-
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
-
import type { ErrorType } from '../../errors/utils.js';
|
4
|
-
import type { Chain } from '../../types/chain.js';
|
5
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
6
|
-
export type GetBlockNumberParameters = {
|
7
|
-
/** Time (in ms) that cached block number will remain in memory. */
|
8
|
-
cacheTime?: number;
|
9
|
-
};
|
10
|
-
export type GetBlockNumberReturnType = bigint;
|
11
|
-
export type GetBlockNumberErrorType = RequestErrorType | ErrorType;
|
12
|
-
export declare function getBlockNumberCache(id: string): {
|
13
|
-
clear: () => void;
|
14
|
-
promise: {
|
15
|
-
clear: () => boolean;
|
16
|
-
get: () => Promise<unknown> | undefined;
|
17
|
-
set: (data: Promise<unknown>) => Map<string, Promise<unknown>>;
|
18
|
-
};
|
19
|
-
response: {
|
20
|
-
clear: () => boolean;
|
21
|
-
get: () => {
|
22
|
-
created: Date;
|
23
|
-
data: unknown;
|
24
|
-
} | undefined;
|
25
|
-
set: (data: {
|
26
|
-
created: Date;
|
27
|
-
data: unknown;
|
28
|
-
}) => Map<string, {
|
29
|
-
created: Date;
|
30
|
-
data: unknown;
|
31
|
-
}>;
|
32
|
-
};
|
33
|
-
};
|
34
|
-
/**
|
35
|
-
* Returns the number of the most recent block seen.
|
36
|
-
*
|
37
|
-
* - Docs: https://viem.sh/docs/actions/public/getBlockNumber.html
|
38
|
-
* - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/fetching-blocks
|
39
|
-
* - JSON-RPC Methods: [`eth_blockNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blocknumber)
|
40
|
-
*
|
41
|
-
* @param client - Client to use
|
42
|
-
* @param parameters - {@link GetBlockNumberParameters}
|
43
|
-
* @returns The number of the block. {@link GetBlockNumberReturnType}
|
44
|
-
*
|
45
|
-
* @example
|
46
|
-
* import { createPublicClient, http } from 'viem'
|
47
|
-
* import { mainnet } from 'viem/chains'
|
48
|
-
* import { getBlockNumber } from 'viem/public'
|
49
|
-
*
|
50
|
-
* const client = createPublicClient({
|
51
|
-
* chain: mainnet,
|
52
|
-
* transport: http(),
|
53
|
-
* })
|
54
|
-
* const blockNumber = await getBlockNumber(client)
|
55
|
-
* // 69420n
|
56
|
-
*/
|
57
|
-
export declare function getBlockNumber<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { cacheTime }?: GetBlockNumberParameters): Promise<GetBlockNumberReturnType>;
|
58
|
-
//# sourceMappingURL=getBlockNumber.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getBlockNumber.d.ts","sourceRoot":"","sources":["../../../actions/public/getBlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAGnE,MAAM,MAAM,wBAAwB,GAAG;IACrC,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAA;AAE7C,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAIlE,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;EAE7C;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,cAAc,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EACnE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EAAE,SAA4B,EAAE,GAAE,wBAA6B,GAC9D,OAAO,CAAC,wBAAwB,CAAC,CASnC"}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
import type { Client } from '../../clients/createClient.js';
|
2
|
-
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
-
import type { ErrorType } from '../../errors/utils.js';
|
4
|
-
import type { BlockTag } from '../../types/block.js';
|
5
|
-
import type { Chain } from '../../types/chain.js';
|
6
|
-
import type { Hash } from '../../types/misc.js';
|
7
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
8
|
-
import { type HexToNumberErrorType } from '../../utils/encoding/fromHex.js';
|
9
|
-
import { type NumberToHexErrorType } from '../../utils/encoding/toHex.js';
|
10
|
-
export type GetBlockTransactionCountParameters = {
|
11
|
-
/** Hash of the block. */
|
12
|
-
blockHash?: Hash;
|
13
|
-
blockNumber?: never;
|
14
|
-
blockTag?: never;
|
15
|
-
} | {
|
16
|
-
blockHash?: never;
|
17
|
-
/** The block number. */
|
18
|
-
blockNumber?: bigint;
|
19
|
-
blockTag?: never;
|
20
|
-
} | {
|
21
|
-
blockHash?: never;
|
22
|
-
blockNumber?: never;
|
23
|
-
/** The block tag. Defaults to 'latest'. */
|
24
|
-
blockTag?: BlockTag;
|
25
|
-
};
|
26
|
-
export type GetBlockTransactionCountReturnType = number;
|
27
|
-
export type GetBlockTransactionCountErrorType = NumberToHexErrorType | HexToNumberErrorType | RequestErrorType | ErrorType;
|
28
|
-
/**
|
29
|
-
* Returns the number of Transactions at a block number, hash, or tag.
|
30
|
-
*
|
31
|
-
* - Docs: https://viem.sh/docs/actions/public/getBlockTransactionCount.html
|
32
|
-
* - JSON-RPC Methods:
|
33
|
-
* - Calls [`eth_getBlockTransactionCountByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblocktransactioncountbynumber) for `blockNumber` & `blockTag`.
|
34
|
-
* - Calls [`eth_getBlockTransactionCountByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblocktransactioncountbyhash) for `blockHash`.
|
35
|
-
*
|
36
|
-
* @param client - Client to use
|
37
|
-
* @param parameters - {@link GetBlockTransactionCountParameters}
|
38
|
-
* @returns The block transaction count. {@link GetBlockTransactionCountReturnType}
|
39
|
-
*
|
40
|
-
* @example
|
41
|
-
* import { createPublicClient, http } from 'viem'
|
42
|
-
* import { mainnet } from 'viem/chains'
|
43
|
-
* import { getBlockTransactionCount } from 'viem/public'
|
44
|
-
*
|
45
|
-
* const client = createPublicClient({
|
46
|
-
* chain: mainnet,
|
47
|
-
* transport: http(),
|
48
|
-
* })
|
49
|
-
* const count = await getBlockTransactionCount(client)
|
50
|
-
*/
|
51
|
-
export declare function getBlockTransactionCount<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { blockHash, blockNumber, blockTag, }?: GetBlockTransactionCountParameters): Promise<GetBlockTransactionCountReturnType>;
|
52
|
-
//# sourceMappingURL=getBlockTransactionCount.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getBlockTransactionCount.d.ts","sourceRoot":"","sources":["../../../actions/public/getBlockTransactionCount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+BAA+B,CAAA;AAEtC,MAAM,MAAM,kCAAkC,GAC1C;IACE,yBAAyB;IACzB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,WAAW,CAAC,EAAE,KAAK,CAAA;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAA;IACjB,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAA;IACjB,WAAW,CAAC,EAAE,KAAK,CAAA;IACnB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB,CAAA;AAEL,MAAM,MAAM,kCAAkC,GAAG,MAAM,CAAA;AAEvD,MAAM,MAAM,iCAAiC,GACzC,oBAAoB,GACpB,oBAAoB,GACpB,gBAAgB,GAChB,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,wBAAwB,CAC5C,MAAM,SAAS,KAAK,GAAG,SAAS,EAEhC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EACE,SAAS,EACT,WAAW,EACX,QAAmB,GACpB,GAAE,kCAAuC,GACzC,OAAO,CAAC,kCAAkC,CAAC,CAkB7C"}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
import type { Address } from 'abitype';
|
2
|
-
import type { Client } from '../../clients/createClient.js';
|
3
|
-
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
-
import type { ErrorType } from '../../errors/utils.js';
|
5
|
-
import type { BlockTag } from '../../types/block.js';
|
6
|
-
import type { Chain } from '../../types/chain.js';
|
7
|
-
import type { Hex } from '../../types/misc.js';
|
8
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
9
|
-
import { type NumberToHexErrorType } from '../../utils/encoding/toHex.js';
|
10
|
-
export type GetBytecodeParameters = {
|
11
|
-
address: Address;
|
12
|
-
} & ({
|
13
|
-
blockNumber?: never;
|
14
|
-
blockTag?: BlockTag;
|
15
|
-
} | {
|
16
|
-
blockNumber?: bigint;
|
17
|
-
blockTag?: never;
|
18
|
-
});
|
19
|
-
export type GetBytecodeReturnType = Hex | undefined;
|
20
|
-
export type GetBytecodeErrorType = NumberToHexErrorType | RequestErrorType | ErrorType;
|
21
|
-
/**
|
22
|
-
* Retrieves the bytecode at an address.
|
23
|
-
*
|
24
|
-
* - Docs: https://viem.sh/docs/contract/getBytecode.html
|
25
|
-
* - JSON-RPC Methods: [`eth_getCode`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getcode)
|
26
|
-
*
|
27
|
-
* @param client - Client to use
|
28
|
-
* @param parameters - {@link GetBytecodeParameters}
|
29
|
-
* @returns The contract's bytecode. {@link GetBytecodeReturnType}
|
30
|
-
*
|
31
|
-
* @example
|
32
|
-
* import { createPublicClient, http } from 'viem'
|
33
|
-
* import { mainnet } from 'viem/chains'
|
34
|
-
* import { getBytecode } from 'viem/contract'
|
35
|
-
*
|
36
|
-
* const client = createPublicClient({
|
37
|
-
* chain: mainnet,
|
38
|
-
* transport: http(),
|
39
|
-
* })
|
40
|
-
* const code = await getBytecode(client, {
|
41
|
-
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
42
|
-
* })
|
43
|
-
*/
|
44
|
-
export declare function getBytecode<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { address, blockNumber, blockTag }: GetBytecodeParameters): Promise<GetBytecodeReturnType>;
|
45
|
-
//# sourceMappingURL=getBytecode.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getBytecode.d.ts","sourceRoot":"","sources":["../../../actions/public/getBytecode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+BAA+B,CAAA;AAEtC,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,CACA;IACE,WAAW,CAAC,EAAE,KAAK,CAAA;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB,GACD;IACE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB,CACJ,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,GAAG,GAAG,SAAS,CAAA;AAEnD,MAAM,MAAM,oBAAoB,GAC5B,oBAAoB,GACpB,gBAAgB,GAChB,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,WAAW,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EAChE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EAAE,OAAO,EAAE,WAAW,EAAE,QAAmB,EAAE,EAAE,qBAAqB,GACnE,OAAO,CAAC,qBAAqB,CAAC,CAShC"}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import type { Account } from '../../accounts/types.js';
|
2
|
-
import type { Client } from '../../clients/createClient.js';
|
3
|
-
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
-
import type { ErrorType } from '../../errors/utils.js';
|
5
|
-
import type { Chain } from '../../types/chain.js';
|
6
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
7
|
-
import { type HexToNumberErrorType } from '../../utils/encoding/fromHex.js';
|
8
|
-
export type GetChainIdReturnType = number;
|
9
|
-
export type GetChainIdErrorType = HexToNumberErrorType | RequestErrorType | ErrorType;
|
10
|
-
/**
|
11
|
-
* Returns the chain ID associated with the current network.
|
12
|
-
*
|
13
|
-
* - Docs: https://viem.sh/docs/actions/public/getChainId.html
|
14
|
-
* - JSON-RPC Methods: [`eth_chainId`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_chainid)
|
15
|
-
*
|
16
|
-
* @param client - Client to use
|
17
|
-
* @returns The current chain ID. {@link GetChainIdReturnType}
|
18
|
-
*
|
19
|
-
* @example
|
20
|
-
* import { createPublicClient, http } from 'viem'
|
21
|
-
* import { mainnet } from 'viem/chains'
|
22
|
-
* import { getChainId } from 'viem/public'
|
23
|
-
*
|
24
|
-
* const client = createPublicClient({
|
25
|
-
* chain: mainnet,
|
26
|
-
* transport: http(),
|
27
|
-
* })
|
28
|
-
* const chainId = await getChainId(client)
|
29
|
-
* // 1
|
30
|
-
*/
|
31
|
-
export declare function getChainId<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount>): Promise<GetChainIdReturnType>;
|
32
|
-
//# sourceMappingURL=getChainId.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getChainId.d.ts","sourceRoot":"","sources":["../../../actions/public/getChainId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,iCAAiC,CAAA;AAExC,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAA;AAEzC,MAAM,MAAM,mBAAmB,GAC3B,oBAAoB,GACpB,gBAAgB,GAChB,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,UAAU,CAC9B,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAK5E"}
|
@@ -1,66 +0,0 @@
|
|
1
|
-
import type { Abi, Address } from 'abitype';
|
2
|
-
import type { Client } from '../../clients/createClient.js';
|
3
|
-
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
-
import type { ErrorType } from '../../errors/utils.js';
|
5
|
-
import type { BlockNumber, BlockTag } from '../../types/block.js';
|
6
|
-
import type { Chain } from '../../types/chain.js';
|
7
|
-
import type { ContractEventArgs, ContractEventName } from '../../types/contract.js';
|
8
|
-
import type { Log } from '../../types/log.js';
|
9
|
-
import type { Hash } from '../../types/misc.js';
|
10
|
-
import { type GetAbiItemErrorType } from '../../utils/abi/getAbiItem.js';
|
11
|
-
import { type GetLogsErrorType } from './getLogs.js';
|
12
|
-
export type GetContractEventsParameters<abi extends Abi | readonly unknown[] = Abi, eventName extends ContractEventName<abi> | undefined = ContractEventName<abi> | undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined> = {
|
13
|
-
/** The address of the contract. */
|
14
|
-
address?: Address | Address[];
|
15
|
-
/** Contract ABI. */
|
16
|
-
abi: abi;
|
17
|
-
args?: ContractEventArgs<abi, eventName extends ContractEventName<abi> ? eventName : ContractEventName<abi>> | undefined;
|
18
|
-
/** Contract event. */
|
19
|
-
eventName?: eventName | ContractEventName<abi> | undefined;
|
20
|
-
/**
|
21
|
-
* Whether or not the logs must match the indexed/non-indexed arguments on `event`.
|
22
|
-
* @default false
|
23
|
-
*/
|
24
|
-
strict?: strict | boolean | undefined;
|
25
|
-
} & ({
|
26
|
-
/** Block number or tag after which to include logs */
|
27
|
-
fromBlock?: fromBlock | BlockNumber | BlockTag;
|
28
|
-
/** Block number or tag before which to include logs */
|
29
|
-
toBlock?: toBlock | BlockNumber | BlockTag;
|
30
|
-
blockHash?: undefined;
|
31
|
-
} | {
|
32
|
-
fromBlock?: undefined;
|
33
|
-
toBlock?: undefined;
|
34
|
-
/** Hash of block to include logs from */
|
35
|
-
blockHash?: Hash;
|
36
|
-
});
|
37
|
-
export type GetContractEventsReturnType<abi extends Abi | readonly unknown[] = readonly unknown[], eventName extends ContractEventName<abi> | undefined = ContractEventName<abi> | undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined, isPending extends boolean = (fromBlock extends 'pending' ? true : false) | (toBlock extends 'pending' ? true : false)> = Log<bigint, number, isPending, undefined, strict, abi, eventName>[];
|
38
|
-
export type GetContractEventsErrorType = GetAbiItemErrorType | GetLogsErrorType | ErrorType;
|
39
|
-
/**
|
40
|
-
* Returns a list of event logs emitted by a contract.
|
41
|
-
*
|
42
|
-
* - Docs: https://viem.sh/docs/actions/public/getContractEvents.html
|
43
|
-
* - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs)
|
44
|
-
*
|
45
|
-
* @param client - Client to use
|
46
|
-
* @param parameters - {@link GetContractEventsParameters}
|
47
|
-
* @returns A list of event logs. {@link GetContractEventsReturnType}
|
48
|
-
*
|
49
|
-
* @example
|
50
|
-
* import { createClient, http } from 'viem'
|
51
|
-
* import { mainnet } from 'viem/chains'
|
52
|
-
* import { getContractEvents } from 'viem/public'
|
53
|
-
* import { wagmiAbi } from './abi'
|
54
|
-
*
|
55
|
-
* const client = createClient({
|
56
|
-
* chain: mainnet,
|
57
|
-
* transport: http(),
|
58
|
-
* })
|
59
|
-
* const logs = await getContractEvents(client, {
|
60
|
-
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
61
|
-
* abi: wagmiAbi,
|
62
|
-
* eventName: 'Transfer'
|
63
|
-
* })
|
64
|
-
*/
|
65
|
-
export declare function getContractEvents<chain extends Chain | undefined, const abi extends Abi | readonly unknown[], eventName extends ContractEventName<abi> | undefined = undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined>(client: Client<Transport, chain>, parameters: GetContractEventsParameters<abi, eventName, TStrict, TFromBlock, TToBlock>): Promise<GetContractEventsReturnType<abi, eventName, TStrict, TFromBlock, TToBlock>>;
|
66
|
-
//# sourceMappingURL=getContractEvents.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getContractEvents.d.ts","sourceRoot":"","sources":["../../../actions/public/getContractEvents.ts"],"names":[],"mappings":"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"}
|
@@ -1,57 +0,0 @@
|
|
1
|
-
import type { Client } from '../../clients/createClient.js';
|
2
|
-
import type { Transport } from '../../clients/transports/createTransport.js';
|
3
|
-
import type { BlockTag } from '../../types/block.js';
|
4
|
-
import type { Chain } from '../../types/chain.js';
|
5
|
-
import type { FeeHistory } from '../../types/fee.js';
|
6
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
7
|
-
import { type NumberToHexErrorType } from '../../utils/encoding/toHex.js';
|
8
|
-
import { type FormatFeeHistoryErrorType } from '../../utils/formatters/feeHistory.js';
|
9
|
-
export type GetFeeHistoryParameters = {
|
10
|
-
/**
|
11
|
-
* 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.
|
12
|
-
*/
|
13
|
-
blockCount: number;
|
14
|
-
/**
|
15
|
-
* 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.
|
16
|
-
*/
|
17
|
-
rewardPercentiles: number[];
|
18
|
-
} & ({
|
19
|
-
blockNumber?: never;
|
20
|
-
/**
|
21
|
-
* Highest number block of the requested range.
|
22
|
-
* @default 'latest'
|
23
|
-
*/
|
24
|
-
blockTag?: BlockTag;
|
25
|
-
} | {
|
26
|
-
/** Highest number block of the requested range. */
|
27
|
-
blockNumber?: bigint;
|
28
|
-
blockTag?: never;
|
29
|
-
});
|
30
|
-
export type GetFeeHistoryReturnType = FeeHistory;
|
31
|
-
export type GetFeeHistoryErrorType = NumberToHexErrorType | RequestErrorType | FormatFeeHistoryErrorType;
|
32
|
-
/**
|
33
|
-
* Returns a collection of historical gas information.
|
34
|
-
*
|
35
|
-
* - Docs: https://viem.sh/docs/actions/public/getFeeHistory.html
|
36
|
-
* - JSON-RPC Methods: [`eth_feeHistory`](https://docs.alchemy.com/reference/eth-feehistory)
|
37
|
-
*
|
38
|
-
* @param client - Client to use
|
39
|
-
* @param parameters - {@link GetFeeHistoryParameters}
|
40
|
-
* @returns The gas estimate (in wei). {@link GetFeeHistoryReturnType}
|
41
|
-
*
|
42
|
-
* @example
|
43
|
-
* import { createPublicClient, http } from 'viem'
|
44
|
-
* import { mainnet } from 'viem/chains'
|
45
|
-
* import { getFeeHistory } from 'viem/public'
|
46
|
-
*
|
47
|
-
* const client = createPublicClient({
|
48
|
-
* chain: mainnet,
|
49
|
-
* transport: http(),
|
50
|
-
* })
|
51
|
-
* const feeHistory = await getFeeHistory(client, {
|
52
|
-
* blockCount: 4,
|
53
|
-
* rewardPercentiles: [25, 75],
|
54
|
-
* })
|
55
|
-
*/
|
56
|
-
export declare function getFeeHistory<TChain extends Chain | undefined>(client: Client<Transport, TChain>, { blockCount, blockNumber, blockTag, rewardPercentiles, }: GetFeeHistoryParameters): Promise<GetFeeHistoryReturnType>;
|
57
|
-
//# sourceMappingURL=getFeeHistory.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getFeeHistory.d.ts","sourceRoot":"","sources":["../../../actions/public/getFeeHistory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,sCAAsC,CAAA;AAE7C,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,iBAAiB,EAAE,MAAM,EAAE,CAAA;CAC5B,GAAG,CACA;IACE,WAAW,CAAC,EAAE,KAAK,CAAA;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB,GACD;IACE,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB,CACJ,CAAA;AACD,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAA;AAEhD,MAAM,MAAM,sBAAsB,GAC9B,oBAAoB,GACpB,gBAAgB,GAChB,yBAAyB,CAAA;AAE7B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAsB,aAAa,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,EAClE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,EACE,UAAU,EACV,WAAW,EACX,QAAmB,EACnB,iBAAiB,GAClB,EAAE,uBAAuB,GACzB,OAAO,CAAC,uBAAuB,CAAC,CAWlC"}
|
@@ -1,101 +0,0 @@
|
|
1
|
-
import type { Abi, AbiEvent, ExtractAbiEvent } from 'abitype';
|
2
|
-
import type { Client } from '../../clients/createClient.js';
|
3
|
-
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
-
import type { ErrorType } from '../../errors/utils.js';
|
5
|
-
import type { BlockNumber, BlockTag } from '../../types/block.js';
|
6
|
-
import type { Chain } from '../../types/chain.js';
|
7
|
-
import type { Filter, FilterType } from '../../types/filter.js';
|
8
|
-
import type { Log } from '../../types/log.js';
|
9
|
-
import type { Hash } from '../../types/misc.js';
|
10
|
-
import { type DecodeEventLogErrorType } from '../../utils/abi/decodeEventLog.js';
|
11
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
12
|
-
import { type FormatLogErrorType } from '../../utils/formatters/log.js';
|
13
|
-
export type GetFilterChangesParameters<TFilterType extends FilterType = FilterType, TAbi extends Abi | readonly unknown[] | undefined = undefined, TEventName extends string | undefined = undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined> = {
|
14
|
-
filter: Filter<TFilterType, TAbi, TEventName, any, TStrict, TFromBlock, TToBlock>;
|
15
|
-
};
|
16
|
-
export type GetFilterChangesReturnType<TFilterType extends FilterType = FilterType, TAbi extends Abi | readonly unknown[] | undefined = undefined, TEventName extends string | undefined = undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined, _AbiEvent extends AbiEvent | undefined = TAbi extends Abi ? TEventName extends string ? ExtractAbiEvent<TAbi, TEventName> : undefined : undefined, _Pending extends boolean = (TFromBlock extends 'pending' ? true : false) | (TToBlock extends 'pending' ? true : false)> = TFilterType extends 'event' ? Log<bigint, number, _Pending, _AbiEvent, TStrict, TAbi, TEventName>[] : Hash[];
|
17
|
-
export type GetFilterChangesErrorType = RequestErrorType | DecodeEventLogErrorType | FormatLogErrorType | ErrorType;
|
18
|
-
/**
|
19
|
-
* Returns a list of logs or hashes based on a [Filter](/docs/glossary/terms#filter) since the last time it was called.
|
20
|
-
*
|
21
|
-
* - Docs: https://viem.sh/docs/actions/public/getFilterChanges.html
|
22
|
-
* - JSON-RPC Methods: [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges)
|
23
|
-
*
|
24
|
-
* A Filter can be created from the following actions:
|
25
|
-
*
|
26
|
-
* - [`createBlockFilter`](https://viem.sh/docs/actions/public/createBlockFilter.html)
|
27
|
-
* - [`createContractEventFilter`](https://viem.sh/docs/contract/createContractEventFilter.html)
|
28
|
-
* - [`createEventFilter`](https://viem.sh/docs/actions/public/createEventFilter.html)
|
29
|
-
* - [`createPendingTransactionFilter`](https://viem.sh/docs/actions/public/createPendingTransactionFilter.html)
|
30
|
-
*
|
31
|
-
* Depending on the type of filter, the return value will be different:
|
32
|
-
*
|
33
|
-
* - If the filter was created with `createContractEventFilter` or `createEventFilter`, it returns a list of logs.
|
34
|
-
* - If the filter was created with `createPendingTransactionFilter`, it returns a list of transaction hashes.
|
35
|
-
* - If the filter was created with `createBlockFilter`, it returns a list of block hashes.
|
36
|
-
*
|
37
|
-
* @param client - Client to use
|
38
|
-
* @param parameters - {@link GetFilterChangesParameters}
|
39
|
-
* @returns Logs or hashes. {@link GetFilterChangesReturnType}
|
40
|
-
*
|
41
|
-
* @example
|
42
|
-
* // Blocks
|
43
|
-
* import { createPublicClient, http } from 'viem'
|
44
|
-
* import { mainnet } from 'viem/chains'
|
45
|
-
* import { createBlockFilter, getFilterChanges } from 'viem/public'
|
46
|
-
*
|
47
|
-
* const client = createPublicClient({
|
48
|
-
* chain: mainnet,
|
49
|
-
* transport: http(),
|
50
|
-
* })
|
51
|
-
* const filter = await createBlockFilter(client)
|
52
|
-
* const hashes = await getFilterChanges(client, { filter })
|
53
|
-
*
|
54
|
-
* @example
|
55
|
-
* // Contract Events
|
56
|
-
* import { createPublicClient, http, parseAbi } from 'viem'
|
57
|
-
* import { mainnet } from 'viem/chains'
|
58
|
-
* import { createContractEventFilter, getFilterChanges } from 'viem/public'
|
59
|
-
*
|
60
|
-
* const client = createPublicClient({
|
61
|
-
* chain: mainnet,
|
62
|
-
* transport: http(),
|
63
|
-
* })
|
64
|
-
* const filter = await createContractEventFilter(client, {
|
65
|
-
* address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
|
66
|
-
* abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),
|
67
|
-
* eventName: 'Transfer',
|
68
|
-
* })
|
69
|
-
* const logs = await getFilterChanges(client, { filter })
|
70
|
-
*
|
71
|
-
* @example
|
72
|
-
* // Raw Events
|
73
|
-
* import { createPublicClient, http, parseAbiItem } from 'viem'
|
74
|
-
* import { mainnet } from 'viem/chains'
|
75
|
-
* import { createEventFilter, getFilterChanges } from 'viem/public'
|
76
|
-
*
|
77
|
-
* const client = createPublicClient({
|
78
|
-
* chain: mainnet,
|
79
|
-
* transport: http(),
|
80
|
-
* })
|
81
|
-
* const filter = await createEventFilter(client, {
|
82
|
-
* address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
|
83
|
-
* event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'),
|
84
|
-
* })
|
85
|
-
* const logs = await getFilterChanges(client, { filter })
|
86
|
-
*
|
87
|
-
* @example
|
88
|
-
* // Transactions
|
89
|
-
* import { createPublicClient, http } from 'viem'
|
90
|
-
* import { mainnet } from 'viem/chains'
|
91
|
-
* import { createPendingTransactionFilter, getFilterChanges } from 'viem/public'
|
92
|
-
*
|
93
|
-
* const client = createPublicClient({
|
94
|
-
* chain: mainnet,
|
95
|
-
* transport: http(),
|
96
|
-
* })
|
97
|
-
* const filter = await createPendingTransactionFilter(client)
|
98
|
-
* const hashes = await getFilterChanges(client, { filter })
|
99
|
-
*/
|
100
|
-
export declare function getFilterChanges<TTransport extends Transport, TChain extends Chain | undefined, TFilterType extends FilterType, const TAbi extends Abi | readonly unknown[] | undefined, TEventName extends string | undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined>(_client: Client<TTransport, TChain>, { filter, }: GetFilterChangesParameters<TFilterType, TAbi, TEventName, TStrict, TFromBlock, TToBlock>): Promise<GetFilterChangesReturnType<TFilterType, TAbi, TEventName, TStrict, TFromBlock, TToBlock>>;
|
101
|
-
//# sourceMappingURL=getFilterChanges.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getFilterChanges.d.ts","sourceRoot":"","sources":["../../../actions/public/getFilterChanges.ts"],"names":[],"mappings":"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"}
|
@@ -1,45 +0,0 @@
|
|
1
|
-
import type { Abi, AbiEvent, ExtractAbiEvent } from 'abitype';
|
2
|
-
import type { Client } from '../../clients/createClient.js';
|
3
|
-
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
-
import type { ErrorType } from '../../errors/utils.js';
|
5
|
-
import type { BlockNumber, BlockTag } from '../../types/block.js';
|
6
|
-
import type { Chain } from '../../types/chain.js';
|
7
|
-
import type { Filter } from '../../types/filter.js';
|
8
|
-
import type { Log } from '../../types/log.js';
|
9
|
-
import { type DecodeEventLogErrorType } from '../../utils/abi/decodeEventLog.js';
|
10
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
11
|
-
import { type FormatLogErrorType } from '../../utils/formatters/log.js';
|
12
|
-
export type GetFilterLogsParameters<TAbi extends Abi | readonly unknown[] | undefined = undefined, TEventName extends string | undefined = undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined> = {
|
13
|
-
filter: Filter<'event', TAbi, TEventName, any, TStrict, TFromBlock, TToBlock>;
|
14
|
-
};
|
15
|
-
export type GetFilterLogsReturnType<TAbi extends Abi | readonly unknown[] | undefined = undefined, TEventName extends string | undefined = undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined, _AbiEvent extends AbiEvent | undefined = TAbi extends Abi ? TEventName extends string ? ExtractAbiEvent<TAbi, TEventName> : undefined : undefined, _Pending extends boolean = (TFromBlock extends 'pending' ? true : false) | (TToBlock extends 'pending' ? true : false)> = Log<bigint, number, _Pending, _AbiEvent, TStrict, TAbi, TEventName>[];
|
16
|
-
export type GetFilterLogsErrorType = RequestErrorType | DecodeEventLogErrorType | FormatLogErrorType | ErrorType;
|
17
|
-
/**
|
18
|
-
* Returns a list of event logs since the filter was created.
|
19
|
-
*
|
20
|
-
* - Docs: https://viem.sh/docs/actions/public/getFilterLogs.html
|
21
|
-
* - JSON-RPC Methods: [`eth_getFilterLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterlogs)
|
22
|
-
*
|
23
|
-
* `getFilterLogs` is only compatible with **event filters**.
|
24
|
-
*
|
25
|
-
* @param client - Client to use
|
26
|
-
* @param parameters - {@link GetFilterLogsParameters}
|
27
|
-
* @returns A list of event logs. {@link GetFilterLogsReturnType}
|
28
|
-
*
|
29
|
-
* @example
|
30
|
-
* import { createPublicClient, http, parseAbiItem } from 'viem'
|
31
|
-
* import { mainnet } from 'viem/chains'
|
32
|
-
* import { createEventFilter, getFilterLogs } from 'viem/public'
|
33
|
-
*
|
34
|
-
* const client = createPublicClient({
|
35
|
-
* chain: mainnet,
|
36
|
-
* transport: http(),
|
37
|
-
* })
|
38
|
-
* const filter = await createEventFilter(client, {
|
39
|
-
* address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
|
40
|
-
* event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'),
|
41
|
-
* })
|
42
|
-
* const logs = await getFilterLogs(client, { filter })
|
43
|
-
*/
|
44
|
-
export declare function getFilterLogs<TChain extends Chain | undefined, const TAbi extends Abi | readonly unknown[] | undefined, TEventName extends string | undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined>(_client: Client<Transport, TChain>, { filter, }: GetFilterLogsParameters<TAbi, TEventName, TStrict, TFromBlock, TToBlock>): Promise<GetFilterLogsReturnType<TAbi, TEventName, TStrict, TFromBlock, TToBlock>>;
|
45
|
-
//# sourceMappingURL=getFilterLogs.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getFilterLogs.d.ts","sourceRoot":"","sources":["../../../actions/public/getFilterLogs.ts"],"names":[],"mappings":"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"}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import type { Account } from '../../accounts/types.js';
|
2
|
-
import type { Client } from '../../clients/createClient.js';
|
3
|
-
import type { Transport } from '../../clients/transports/createTransport.js';
|
4
|
-
import type { ErrorType } from '../../errors/utils.js';
|
5
|
-
import type { Chain } from '../../types/chain.js';
|
6
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js';
|
7
|
-
export type GetGasPriceReturnType = bigint;
|
8
|
-
export type GetGasPriceErrorType = RequestErrorType | ErrorType;
|
9
|
-
/**
|
10
|
-
* Returns the current price of gas (in wei).
|
11
|
-
*
|
12
|
-
* - Docs: https://viem.sh/docs/actions/public/getGasPrice.html
|
13
|
-
* - JSON-RPC Methods: [`eth_gasPrice`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gasprice)
|
14
|
-
*
|
15
|
-
* @param client - Client to use
|
16
|
-
* @returns The gas price (in wei). {@link GetGasPriceReturnType}
|
17
|
-
*
|
18
|
-
* @example
|
19
|
-
* import { createPublicClient, http } from 'viem'
|
20
|
-
* import { mainnet } from 'viem/chains'
|
21
|
-
* import { getGasPrice } from 'viem/public'
|
22
|
-
*
|
23
|
-
* const client = createPublicClient({
|
24
|
-
* chain: mainnet,
|
25
|
-
* transport: http(),
|
26
|
-
* })
|
27
|
-
* const gasPrice = await getGasPrice(client)
|
28
|
-
*/
|
29
|
-
export declare function getGasPrice<TChain extends Chain | undefined, TAccount extends Account | undefined>(client: Client<Transport, TChain, TAccount>): Promise<GetGasPriceReturnType>;
|
30
|
-
//# sourceMappingURL=getGasPrice.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getGasPrice.d.ts","sourceRoot":"","sources":["../../../actions/public/getGasPrice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAEnE,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAA;AAE1C,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAE/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,WAAW,CAC/B,MAAM,SAAS,KAAK,GAAG,SAAS,EAChC,QAAQ,SAAS,OAAO,GAAG,SAAS,EACpC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAK7E"}
|