Base
GetBlock provides fast and reliable access to Base nodes via JSON-RPC API. Connect to the Base network without running your own infrastructure.
Overview
Base is a secure, low-cost, and developer-friendly Ethereum Layer 2 blockchain built by Coinbase using the OP Stack. It leverages optimistic rollup technology to deliver fast transactions at a fraction of Ethereum mainnet costs while inheriting Ethereum's security through data availability on L1.
Key Features
Full EVM Compatibility: Deploy Ethereum smart contracts without modification
OP Stack Architecture: Built on Optimism's battle-tested Bedrock release
2-Second Block Time: Fast block production for responsive applications
Low Transaction Fees: Significantly cheaper than Ethereum mainnet
Ethereum Security: Inherits security from Ethereum L1 through optimistic rollups
Coinbase Integration: Seamless access to Coinbase ecosystem and fiat on-ramps
EIP-1559 Support: Dynamic fee mechanism with base fee and priority fee
Fraud Proof Security: Invalid state transitions can be challenged during dispute window
Network Information
Network Name
Base Mainnet
Chain ID
8453
Native Currency
ETH
Block Time
~2 seconds
Gas Limit
25,000,000 per transaction
EVM Compatibility
Full bytecode compatibility
Consensus
Optimistic Rollup (OP Stack)
Settlement Layer
Ethereum L1
Base URL
Supported Networks
Mainnet
8453
✅
✅
✅
✅
❌
✅
✅
✅
Sepolia
84532
✅
✅
❌
❌
✅
✅
❌
❌
Quickstart
In this section, you will learn how to make your first call with either:
Axios
Python
Quickstart with Axios
Quickstart with Python and Requests
Available API Methods
GetBlock provides access to standard Ethereum JSON-RPC methods for the Base network.
Reading Data (State Methods)
eth_blockNumber
Returns the current block number
eth_getBalance
Returns the balance of an address
eth_getStorageAt
Returns the value at a storage position
eth_getTransactionCount
Returns the transaction count (nonce)
eth_getCode
Returns the code at an address
eth_call
Executes a call without creating a transaction
Block Information
eth_getBlockByHash
Returns block information by hash
eth_getBlockByNumber
Returns block information by number
eth_getBlockReceipts
Returns all receipts for a block
eth_getBlockTransactionCountByHash
Returns transaction count by block hash
eth_getBlockTransactionCountByNumber
Returns transaction count by block number
Transaction Methods
eth_getTransactionByHash
Returns transaction by hash
eth_getTransactionByBlockHashAndIndex
Returns transaction by block hash and index
eth_getTransactionByBlockNumberAndIndex
Returns transaction by block number and index
eth_getTransactionReceipt
Returns the receipt of a transaction
eth_sendRawTransaction
Submits a signed transaction
Gas and Fee Estimation
eth_gasPrice
Returns the current gas price
eth_maxPriorityFeePerGas
Returns suggested priority fee
eth_feeHistory
Returns fee history for blocks
eth_estimateGas
Estimates gas for a transaction
Logs and Events
eth_getLogs
Returns logs matching filter criteria
Chain Information
eth_chainId
Returns the chain ID
eth_syncing
Returns sync status
net_version
Returns the network ID
web3_clientVersion
Returns client version
Debug Methods
debug_traceTransaction
Returns transaction trace
debug_traceBlockByHash
Traces all transactions in a block by hash
debug_traceBlockByNumber
Traces block by number
Support
For technical support and questions:
Support: [email protected]
See Also
Last updated
Was this helpful?