import type { EthAccountsParams, EthBlockNumberParams, EthCallParams, EthChainIdParams, EthCoinbaseParams, EthEstimateGasParams, EthGasPriceParams, EthGetBalanceParams, EthGetBlockByHashParams, EthGetBlockByNumberParams, EthGetBlockTransactionCountByHashParams, EthGetBlockTransactionCountByNumberParams, EthGetCodeParams, EthGetFilterChangesParams, EthGetFilterLogsParams, EthGetLogsParams, EthGetStorageAtParams, EthGetTransactionByBlockHashAndIndexParams, EthGetTransactionByBlockNumberAndIndexParams, EthGetTransactionByHashParams, EthGetTransactionCountParams, EthGetTransactionReceiptParams, EthGetUncleByBlockHashAndIndexParams, EthGetUncleByBlockNumberAndIndexParams, EthGetUncleCountByBlockHashParams, EthGetUncleCountByBlockNumberParams, EthHashrateParams, EthMiningParams, EthNewBlockFilterParams, EthNewFilterParams, EthNewPendingTransactionFilterParams, EthProtocolVersionParams, EthSendRawTransactionParams, EthSendTransactionParams, EthSignParams, EthSignTransactionParams, EthSyncingParams, EthUninstallFilterParams, } from './EthParams.js' import type { EthAccountsResult, EthBlockNumberResult, EthCallResult, EthChainIdResult, EthCoinbaseResult, EthEstimateGasResult, EthGasPriceResult, EthGetBalanceResult, EthGetBlockByHashResult, EthGetBlockByNumberResult, EthGetBlockTransactionCountByHashResult, EthGetBlockTransactionCountByNumberResult, EthGetCodeResult, EthGetFilterChangesResult, EthGetFilterLogsResult, EthGetLogsResult, EthGetStorageAtResult, EthGetTransactionByBlockHashAndIndexResult, EthGetTransactionByBlockNumberAndIndexResult, EthGetTransactionByHashResult, EthGetTransactionCountResult, EthGetTransactionReceiptResult, EthGetUncleByBlockHashAndIndexResult, EthGetUncleByBlockNumberAndIndexResult, EthGetUncleCountByBlockHashResult, EthGetUncleCountByBlockNumberResult, EthHashrateResult, EthMiningResult, EthNewBlockFilterResult, EthNewFilterResult, EthNewPendingTransactionFilterResult, EthProtocolVersionResult, EthSendRawTransactionResult, EthSendTransactionResult, EthSignResult, EthSignTransactionResult, EthSyncingResult, EthUninstallFilterResult, } from './EthResult.js' // eth_accounts export type EthAccountsHandler = (request?: EthAccountsParams) => Promise // eth_blockNumber export type EthBlockNumberHandler = (request?: EthBlockNumberParams) => Promise // eth_call export type EthCallHandler = (request: EthCallParams) => Promise // eth_chainId export type EthChainIdHandler = (request?: EthChainIdParams) => Promise // eth_coinbase export type EthCoinbaseHandler = (request: EthCoinbaseParams) => Promise // eth_estimateGas export type EthEstimateGasHandler = (request: EthEstimateGasParams) => Promise // eth_hashrate export type EthHashrateHandler = (request?: EthHashrateParams) => Promise // eth_gasPrice export type EthGasPriceHandler = (request?: EthGasPriceParams) => Promise // eth_getBalance export type EthGetBalanceHandler = (request: EthGetBalanceParams) => Promise // eth_getBlockByHash export type EthGetBlockByHashHandler = (request: EthGetBlockByHashParams) => Promise // eth_getBlockByNumber export type EthGetBlockByNumberHandler = (request: EthGetBlockByNumberParams) => Promise // eth_getBlockTransactionCountByHash export type EthGetBlockTransactionCountByHashHandler = ( request: EthGetBlockTransactionCountByHashParams, ) => Promise // eth_getBlockTransactionCountByNumber export type EthGetBlockTransactionCountByNumberHandler = ( request: EthGetBlockTransactionCountByNumberParams, ) => Promise // eth_getCode export type EthGetCodeHandler = (request: EthGetCodeParams) => Promise // eth_getFilterChanges export type EthGetFilterChangesHandler = (request: EthGetFilterChangesParams) => Promise // eth_getFilterLog export type EthGetFilterLogsHandler = (request: EthGetFilterLogsParams) => Promise // eth_getLogs export type EthGetLogsHandler = (request: EthGetLogsParams) => Promise // eth_getStorageAt export type EthGetStorageAtHandler = (request: EthGetStorageAtParams) => Promise // eth_getTransactionCount export type EthGetTransactionCountHandler = ( request: EthGetTransactionCountParams, ) => Promise // eth_getUncleCountByBlockHash export type EthGetUncleCountByBlockHashHandler = ( request: EthGetUncleCountByBlockHashParams, ) => Promise // eth_getUncleCountByBlockNumber export type EthGetUncleCountByBlockNumberHandler = ( request: EthGetUncleCountByBlockNumberParams, ) => Promise // eth_getTransactionByHash export type EthGetTransactionByHashHandler = ( request: EthGetTransactionByHashParams, ) => Promise // eth_getTransactionByBlockHashAndIndex export type EthGetTransactionByBlockHashAndIndexHandler = ( request: EthGetTransactionByBlockHashAndIndexParams, ) => Promise // eth_getTransactionByBlockNumberAndIndex export type EthGetTransactionByBlockNumberAndIndexHandler = ( request: EthGetTransactionByBlockNumberAndIndexParams, ) => Promise // eth_getTransactionReceipt export type EthGetTransactionReceiptHandler = ( request: EthGetTransactionReceiptParams, ) => Promise // eth_getUncleByBlockHashAndIndex export type EthGetUncleByBlockHashAndIndexHandler = ( request: EthGetUncleByBlockHashAndIndexParams, ) => Promise // eth_getUncleByBlockNumberAndIndex export type EthGetUncleByBlockNumberAndIndexHandler = ( request: EthGetUncleByBlockNumberAndIndexParams, ) => Promise // eth_mining export type EthMiningHandler = (request: EthMiningParams) => Promise // eth_protocolVersion export type EthProtocolVersionHandler = (request: EthProtocolVersionParams) => Promise // eth_sendRawTransaction export type EthSendRawTransactionHandler = ( request: EthSendRawTransactionParams, ) => Promise // eth_sendTransaction export type EthSendTransactionHandler = (request: EthSendTransactionParams) => Promise // eth_sign export type EthSignHandler = (request: EthSignParams) => Promise // eth_signTransaction export type EthSignTransactionHandler = (request: EthSignTransactionParams) => Promise // eth_syncing export type EthSyncingHandler = (request: EthSyncingParams) => Promise // eth_newFilter export type EthNewFilterHandler = (request: EthNewFilterParams) => Promise // eth_newBlockFilter export type EthNewBlockFilterHandler = (request: EthNewBlockFilterParams) => Promise // eth_newPendingTransactionFilter export type EthNewPendingTransactionFilterHandler = ( request: EthNewPendingTransactionFilterParams, ) => Promise // eth_uninstallFilter export type EthUninstallFilterHandler = (request: EthUninstallFilterParams) => Promise