Berachain Network API Overview
These endpoints enable the retrieval of information about blocks, transactions, balances, logs, and more, supporting seamless blockchain development and integration.
Accounts info#
Accesses details about account balances, contract code, and stored data on the blockchain.
eth_accounts
eth_getBalance
eth_getCode
eth_getProof
eth_getStorageAt
Blocks info#
Provides comprehensive data on blocks, including transactions, receipts, and block specifics.
eth_blockNumber
eth_getBlockByHash
eth_getBlockByHash#full
eth_getBlockByNumber
eth_getBlockByNumber#full
eth_newBlockFilter
eth_getBlockReceipts
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByNumber
Chain info#
Supplies details on the network's configuration, protocol version, and overall status.
eth_chainId
eth_protocolVersion
net_listening
net_version
net_peerCount
eth_syncing
eth_hashrate
Debug and trace#
Available exclusively on the premium tier, these methods allow for transaction tracing, inspecting block execution, and replaying transactions or blocks for in-depth analysis.
trace_filter
trace_rawTransaction
trace_block
trace_replayBlockTransactions
trace_replayBlockTransactions#vmTrace
debug_traceBlockByHash
debug_traceBlockByNumber
trace_transaction
debug_traceTransaction
trace_replayTransaction
trace_replayTransaction#vmTrace
trace_callMany
trace_get
trace_call
debug_traceCall
Event logs#
Captures logs of events emitted by smart contracts, useful for monitoring token transfers, state changes, and other activities.
eth_getLogs
eth_newFilter
eth_getFilterChanges
eth_uninstallFilter
eth_getFilterLogs
Executing transactions#
Enables sending transactions, executing smart contracts, and performing other on-chain operations.
eth_call
eth_sendRawTransaction
Gas estimation#
Calculates transaction gas fees and provides both historical and current gas price data.
eth_feeHistory
eth_estimateGas
eth_gasPrice
eth_createAccessList
eth_maxPriorityFeePerGas
Getting uncles#
Retrieves information about "uncle" blocks, which are valid but not included in the main blockchain.
eth_getUncleByBlockHashAndIndex
eth_getUncleByBlockNumberAndIndex
eth_getUncleCountByBlockHash
eth_getUncleCountByBlockNumber
Mining#
Provides details about the node's mining status and rewards.
Subscriptions#
Allows subscribing to real-time blockchain events using WebSockets.
Transactions info#
Fetches data on individual transactions, including their status, receipt, and inclusion in a block.
eth_getTransactionByHash
eth_getTransactionCount
eth_getTransactionReceipt
eth_newPendingTransactionFilter
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockNumberAndIndex
txpool_content
Web3#
Provides general network configuration data, such as client version and cryptographic functions.