This page provides a comprehensive list of all supported Ethereum API methods. Each method includes information about its purpose and usage. For detailed information about a specific method, click on its name to view the complete documentation.
These methods provide core functionality for interacting with the Ethereum blockchain.
Method Calls | HTTP! | WS! |
---|---|---|
eth_blockNumber Returns the current block number | ||
eth_call Executes a new message call immediately without creating a transaction | ||
eth_chainId Returns the chain ID of the current network | ||
eth_estimateGas Generates and returns an estimate of how much gas is necessary to execute a transaction | ||
eth_feeHistory Returns transaction fee history data for the requested block range | ||
eth_gasPrice Returns the current gas price in wei | ||
eth_getBalance Returns the balance of an account for a given address | ||
eth_getBlockByHash Returns information about a block specified by its hash | ||
eth_getBlockByNumber Returns information about a block specified by its number | ||
eth_getBlockReceipts Returns all transaction receipts for a given block | ||
eth_getBlockTransactionCountByHash Returns the number of transactions in a block specified by its hash | ||
eth_getBlockTransactionCountByNumber Returns the number of transactions in a block specified by its number | ||
eth_getCode Returns the compiled smart contract code at a given address | ||
eth_getFilterChanges Polling method for a filter, returns an array of logs which occurred since last poll | ||
eth_getFilterLogs Returns an array of all logs matching filter with given id | ||
eth_getLogs Returns an array of logs matching the given filter criteria | ||
eth_getProof Returns the merkle proof for an account's state | ||
eth_getStorageAt Returns the value from a storage position at a given address | ||
eth_getTransactionByBlockHashAndIndex Returns transaction information by block hash and transaction index | ||
eth_getTransactionByBlockNumberAndIndex Returns transaction information by block number and transaction index | ||
eth_getTransactionByHash Returns transaction details by transaction hash | ||
eth_getTransactionCount Returns the number of transactions sent from an address (nonce) | ||
eth_getTransactionReceipt Returns the receipt of a transaction specified by its hash | ||
eth_getUncleByBlockHashAndIndex Returns information about an uncle block by block hash and uncle index | ||
eth_getUncleByBlockNumberAndIndex Returns information about an uncle block by block number and uncle index | ||
eth_getUncleCountByBlockHash Returns the number of uncles in a block specified by its hash | ||
eth_getUncleCountByBlockNumber Returns the number of uncles in a block specified by its number | ||
eth_maxPriorityFeePerGas Returns the current maximum priority fee per gas in wei | ||
eth_newBlockFilter Creates a filter in the node, to notify when a new block arrives | ||
eth_newFilter Creates a filter object, based on filter options, to notify when the state changes | ||
eth_newPendingTransactionFilter Creates a filter in the node, to notify when new pending transactions arrive | ||
eth_sendRawTransaction Submits a raw transaction to the network | ||
eth_subscribe Creates a subscription for specific blockchain events via WebSocket. | ||
eth_syncing Returns information about the sync status of the node | ||
eth_uninstallFilter Uninstalls a filter with given id | ||
eth_unsubscribe Cancels an existing subscription via WebSocket. | ||
These methods are used for debugging and analyzing blockchain data in detail.
Method Calls | HTTP! | WS! |
---|---|---|
debug_getBadBlocks Returns a list of the last 'bad blocks' that the client has seen on the network | ||
debug_storageRangeAt Returns the storage range of a contract at a specific block height | ||
debug_traceBlock Returns all traces created at a given block | ||
debug_traceBlockByHash Returns all traces created at a block specified by its hash | ||
debug_traceBlockByNumber Returns all traces created at a block specified by its number | ||
debug_traceCall Executes a new message call and returns the traces created during execution | ||
debug_traceTransaction Returns all traces of a given transaction | ||
These methods provide detailed transaction and block trace information.
Method Calls | HTTP! | WS! |
---|---|---|
trace_block Returns traces created at a given block | ||
trace_call Executes a call and returns the traces created during execution | ||
trace_replayBlockTransactions Replays all transactions in a block and returns their traces | ||
trace_replayTransaction Replays a transaction and returns its trace | ||
trace_transaction Returns all traces of a given transaction | ||
These methods provide information about the network status and connections.
Method Calls | HTTP! | WS! |
---|---|---|
net_listening Returns true if the client is actively listening for network connections | ||
net_peerCount Returns the number of peers currently connected to the client | ||
net_version Returns the current network protocol version | ||
These methods allow inspection of the transaction pool status.
Method Calls | HTTP! | WS! |
---|---|---|
txpool_inspect Returns a detailed list of transactions currently pending in the transaction pool | ||
txpool_status Returns the number of transactions currently pending and queued | ||
Basic web3 utility methods for general blockchain interaction.
Method Calls | HTTP! | WS! |
---|---|---|
web3_clientVersion Returns the current client version | ||
web3_sha3 Returns the Keccak-256 hash of the given data | ||