import type { EthAccountsJsonRpcRequest, EthBlockNumberJsonRpcRequest, EthCallJsonRpcRequest, EthChainIdJsonRpcRequest, EthCoinbaseJsonRpcRequest, EthEstimateGasJsonRpcRequest, EthGasPriceJsonRpcRequest, EthGetBalanceJsonRpcRequest, EthGetBlockByHashJsonRpcRequest, EthGetBlockByNumberJsonRpcRequest, EthGetBlockTransactionCountByHashJsonRpcRequest, EthGetBlockTransactionCountByNumberJsonRpcRequest, EthGetCodeJsonRpcRequest, EthGetFilterChangesJsonRpcRequest, EthGetFilterLogsJsonRpcRequest, EthGetLogsJsonRpcRequest, EthGetStorageAtJsonRpcRequest, EthGetTransactionByBlockHashAndIndexJsonRpcRequest, EthGetTransactionByBlockNumberAndIndexJsonRpcRequest, EthGetTransactionByHashJsonRpcRequest, EthGetTransactionCountJsonRpcRequest, EthGetTransactionReceiptJsonRpcRequest, EthGetUncleByBlockHashAndIndexJsonRpcRequest, EthGetUncleByBlockNumberAndIndexJsonRpcRequest, EthGetUncleCountByBlockHashJsonRpcRequest, EthGetUncleCountByBlockNumberJsonRpcRequest, EthHashrateJsonRpcRequest, EthMiningJsonRpcRequest, EthNewBlockFilterJsonRpcRequest, EthNewFilterJsonRpcRequest, EthNewPendingTransactionFilterJsonRpcRequest, EthProtocolVersionJsonRpcRequest, EthSendRawTransactionJsonRpcRequest, EthSendTransactionJsonRpcRequest, EthSignJsonRpcRequest, EthSignTransactionJsonRpcRequest, EthSyncingJsonRpcRequest, EthUninstallFilterJsonRpcRequest, } from '../requests/index.js' import type { EthAccountsJsonRpcResponse, EthBlockNumberJsonRpcResponse, EthCallJsonRpcResponse, EthChainIdJsonRpcResponse, EthCoinbaseJsonRpcResponse, EthEstimateGasJsonRpcResponse, EthGasPriceJsonRpcResponse, EthGetBalanceJsonRpcResponse, EthGetBlockByHashJsonRpcResponse, EthGetBlockByNumberJsonRpcResponse, EthGetBlockTransactionCountByHashJsonRpcResponse, EthGetBlockTransactionCountByNumberJsonRpcResponse, EthGetCodeJsonRpcResponse, EthGetFilterChangesJsonRpcResponse, EthGetFilterLogsJsonRpcResponse, EthGetLogsJsonRpcResponse, EthGetStorageAtJsonRpcResponse, EthGetTransactionByBlockHashAndIndexJsonRpcResponse, EthGetTransactionByBlockNumberAndIndexJsonRpcResponse, EthGetTransactionByHashJsonRpcResponse, EthGetTransactionCountJsonRpcResponse, EthGetTransactionReceiptJsonRpcResponse, EthGetUncleByBlockHashAndIndexJsonRpcResponse, EthGetUncleByBlockNumberAndIndexJsonRpcResponse, EthGetUncleCountByBlockHashJsonRpcResponse, EthGetUncleCountByBlockNumberJsonRpcResponse, EthHashrateJsonRpcResponse, EthMiningJsonRpcResponse, EthNewBlockFilterJsonRpcResponse, EthNewFilterJsonRpcResponse, EthNewPendingTransactionFilterJsonRpcResponse, EthProtocolVersionJsonRpcResponse, EthSendRawTransactionJsonRpcResponse, EthSendTransactionJsonRpcResponse, EthSignJsonRpcResponse, EthSignTransactionJsonRpcResponse, EthSyncingJsonRpcResponse, EthUninstallFilterJsonRpcResponse, } from '../responses/index.js' // eth_accounts export type EthAccountsJsonRpcProcedure = ( request: EthAccountsJsonRpcRequest, ) => Promise // eth_blockNumber export type EthBlockNumberJsonRpcProcedure = ( request: EthBlockNumberJsonRpcRequest, ) => Promise // eth_call export type EthCallJsonRpcProcedure = ( request: EthCallJsonRpcRequest, ) => Promise // eth_chainId export type EthChainIdJsonRpcProcedure = ( request: EthChainIdJsonRpcRequest, ) => Promise // eth_coinbase export type EthCoinbaseJsonRpcProcedure = ( request: EthCoinbaseJsonRpcRequest, ) => Promise // eth_estimateGas export type EthEstimateGasJsonRpcProcedure = ( request: EthEstimateGasJsonRpcRequest, ) => Promise // eth_hashrate export type EthHashrateJsonRpcProcedure = ( request: EthHashrateJsonRpcRequest, ) => Promise // eth_gasPrice export type EthGasPriceJsonRpcProcedure = ( request: EthGasPriceJsonRpcRequest, ) => Promise // eth_getBalance export type EthGetBalanceJsonRpcProcedure = ( request: EthGetBalanceJsonRpcRequest, ) => Promise // eth_getBlockByHash export type EthGetBlockByHashJsonRpcProcedure = ( request: EthGetBlockByHashJsonRpcRequest, ) => Promise // eth_getBlockByNumber export type EthGetBlockByNumberJsonRpcProcedure = ( request: EthGetBlockByNumberJsonRpcRequest, ) => Promise // eth_getBlockTransactionCountByHash export type EthGetBlockTransactionCountByHashJsonRpcProcedure = ( request: EthGetBlockTransactionCountByHashJsonRpcRequest, ) => Promise // eth_getBlockTransactionCountByNumber export type EthGetBlockTransactionCountByNumberJsonRpcProcedure = ( request: EthGetBlockTransactionCountByNumberJsonRpcRequest, ) => Promise // eth_getCode export type EthGetCodeJsonRpcProcedure = ( request: EthGetCodeJsonRpcRequest, ) => Promise // eth_getFilterChanges export type EthGetFilterChangesJsonRpcProcedure = ( request: EthGetFilterChangesJsonRpcRequest, ) => Promise // eth_getFilterLog export type EthGetFilterLogsJsonRpcProcedure = ( request: EthGetFilterLogsJsonRpcRequest, ) => Promise // eth_getLogs export type EthGetLogsJsonRpcProcedure = ( request: EthGetLogsJsonRpcRequest, ) => Promise // eth_getStorageAt export type EthGetStorageAtJsonRpcProcedure = ( request: EthGetStorageAtJsonRpcRequest, ) => Promise // eth_getTransactionCount export type EthGetTransactionCountJsonRpcProcedure = ( request: EthGetTransactionCountJsonRpcRequest, ) => Promise // eth_getUncleCountByBlockHash export type EthGetUncleCountByBlockHashJsonRpcProcedure = ( request: EthGetUncleCountByBlockHashJsonRpcRequest, ) => Promise // eth_getUncleCountByBlockNumber export type EthGetUncleCountByBlockNumberJsonRpcProcedure = ( request: EthGetUncleCountByBlockNumberJsonRpcRequest, ) => Promise // eth_getTransactionByHash export type EthGetTransactionByHashJsonRpcProcedure = ( request: EthGetTransactionByHashJsonRpcRequest, ) => Promise // eth_getTransactionByBlockHashAndIndex export type EthGetTransactionByBlockHashAndIndexJsonRpcProcedure = ( request: EthGetTransactionByBlockHashAndIndexJsonRpcRequest, ) => Promise // eth_getTransactionByBlockNumberAndIndex export type EthGetTransactionByBlockNumberAndIndexJsonRpcProcedure = ( request: EthGetTransactionByBlockNumberAndIndexJsonRpcRequest, ) => Promise // eth_getTransactionReceipt export type EthGetTransactionReceiptJsonRpcProcedure = ( request: EthGetTransactionReceiptJsonRpcRequest, ) => Promise // eth_getUncleByBlockHashAndIndex export type EthGetUncleByBlockHashAndIndexJsonRpcProcedure = ( request: EthGetUncleByBlockHashAndIndexJsonRpcRequest, ) => Promise // eth_getUncleByBlockNumberAndIndex export type EthGetUncleByBlockNumberAndIndexJsonRpcProcedure = ( request: EthGetUncleByBlockNumberAndIndexJsonRpcRequest, ) => Promise // eth_mining export type EthMiningJsonRpcProcedure = ( request: EthMiningJsonRpcRequest, ) => Promise // eth_protocolVersion export type EthProtocolVersionJsonRpcProcedure = ( request: EthProtocolVersionJsonRpcRequest, ) => Promise // eth_sendRawTransaction export type EthSendRawTransactionJsonRpcProcedure = ( request: EthSendRawTransactionJsonRpcRequest, ) => Promise // eth_sendTransaction export type EthSendTransactionJsonRpcProcedure = ( request: EthSendTransactionJsonRpcRequest, ) => Promise // eth_sign export type EthSignJsonRpcProcedure = ( request: EthSignJsonRpcRequest, ) => Promise // eth_signTransaction export type EthSignTransactionJsonRpcProcedure = ( request: EthSignTransactionJsonRpcRequest, ) => Promise // eth_syncing export type EthSyncingJsonRpcProcedure = ( request: EthSyncingJsonRpcRequest, ) => Promise // eth_newFilter export type EthNewFilterJsonRpcProcedure = ( request: EthNewFilterJsonRpcRequest, ) => Promise // eth_newBlockFilter export type EthNewBlockFilterJsonRpcProcedure = ( request: EthNewBlockFilterJsonRpcRequest, ) => Promise // eth_newPendingTransactionFilter export type EthNewPendingTransactionFilterJsonRpcProcedure = ( request: EthNewPendingTransactionFilterJsonRpcRequest, ) => Promise // eth_uninstallFilter export type EthUninstallFilterJsonRpcProcedure = ( request: EthUninstallFilterJsonRpcRequest, ) => Promise