Unichain Docs

RPC Calls

List of supported and unsupported RPC calls for Unichain Public RPCs

Supported RPC Calls using the Unichain Public RPCs

The Unichain Public RPCs support a subset of the standard Ethereum JSON-RPC API methods.

RPC MethodDescription
eth_chainIdReturns the currently configured chain ID
eth_blockNumberReturns the number of the most recent block
eth_getBlockByNumberReturns information about a block by block number
eth_getBlockByHashReturns information about a block by block hash
eth_getTransactionByHashReturns the information about a transaction by hash
eth_getTransactionReceiptReturns the receipt of a transaction by transaction hash
eth_getBalanceReturns the balance of an account at a given block number
eth_getCodeReturns the code at a given address
eth_getStorageAtReturns the value from a storage position at a given address
eth_callExecutes a new message call immediately without creating a transaction on the block chain
eth_estimateGasEstimates the gas necessary to complete a transaction without creating one
eth_gasPriceReturns the current price per gas in wei
eth_feeHistoryReturns historical gas fee data
eth_getLogsReturns an array of all logs matching a given filter object
eth_maxPriorityFeePerGasReturns the max priority fee per gas for the latest block
eth_getProofReturns the account and storage values of the specified account including the Merkle proof
eth_getTransactionCountReturns the number of transactions sent from an address
eth_accountsReturns a list of addresses owned by the client
eth_getBlockReceiptsReturns the receipts of a block by block hash or number
eth_sendRawTransactionSubmits a pre-signed transaction for broadcast to the Ethereum network

Unsupported RPC Calls using the Unichain Public RPCs

The Unichain Public RPCs do not support the following Ethereum JSON-RPC API methods:

RPC MethodDescription
eth_blobBaseFeeReturns the base fee per blob gas in wei
eth_getBlockTransactionCountByNumberReturns the number of transactions in the block with the given block number
eth_getBlockTransactionCountByHashReturns the number of transactions in the block with the given block hash
eth_getUncleCountByBlockNumberReturns the number of uncles in a block from a block matching the given block number
eth_getUncleCountByBlockHashReturns the number of uncles in a block from a block matching the given block hash
eth_getTransactionByBlockNumberAndIndexReturns the information about a transaction by block number and transaction index position
eth_getTransactionByBlockHashAndIndexReturns the information about a transaction by block hash and transaction index position
eth_getUncleByBlockNumberAndIndexReturns information about a uncle of a block by number and uncle index position
eth_getUncleByBlockHashAndIndexReturns information about a uncle of a block by hash and uncle index position
eth_syncingReturns an object with data about the sync status or false
eth_miningReturns whether the client is actively mining new blocks
eth_hashrateReturns the number of hashes per second that the node is mining with
eth_subscribeCreates a new subscription for particular events
eth_getWorkReturns the hash of the current block, the seedHash, and the boundary condition to be met ("target")

Last updated on

On this page