Base API overview
Base is a decentralized blockchain platform designed to deliver high throughput, low latency, and customizable subnets, making it ideal for building decentralized applications (dApps) and financial solutions with scalability and security.
Accounts info#
Retrieves essential on-chain data related to accounts
eth_getBalance
eth_getCode
eth_getStorageAt
Blocks info#
Provides methods for retrieving detailed information about specific blocks
eth_blockNumber
eth_getBlockByHash
eth_getBlockByHash#full
eth_getBlockByNumber
eth_getBlockByNumber#full
eth_newBlockFilter
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByNumber
Chain info#
Provides essential data about the state and performance of the Base network
eth_chainId
net_listening
net_version
net_peerCount
eth_syncing
Debug and trace#
Available only on paid tier. These methods are useful for analyzing execution flows and debugging
debug_traceBlockByHash
debug_traceBlockByNumber
debug_traceTransaction
debug_traceCall
Event logs#
Allows the filtering and retrieval of event logs generated by smart contracts
eth_getLogs
eth_newFilter
eth_getFilterChanges
eth_uninstallFilter
eth_getFilterLogs
Executing transactions#
Are essential for interacting with smart contracts and sending transactions
eth_call
eth_sendRawTransaction
Gas estimation#
Provides tools to estimate gas fees and optimize transaction costs.
eth_estimateGas : Estimates the gas required for a transaction.
eth_gasPrice : Returns the current gas price on the network.
eth_maxPriorityFeePerGas : Retrieves the maximum priority fee per gas unit.
Getting uncles#
Provides methods to retrieve information about uncle blocks
eth_getUncleCountByBlockHash
eth_getUncleCountByBlockNumber
Subscriptions#
Enables real-time monitoring of blockchain events via WebSockets
Transactions info#
Provides methods to retrieve transaction details, counts, and receipts
eth_getTransactionByHash
eth_getTransactionCount
eth_getTransactionReceipt
eth_newPendingTransactionFilter
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockNumberAndIndex
Web3#
Provides methods to retrieve transaction-related data