Base Chain Data API

BaseJSON-RPCERC-20x402

Read Base Mainnet blocks, receipts, logs, balances, token metadata, and contract bytecode from the public JSON-RPC endpoint.

POST/api/v1/chain-data/network-info$0.01 USDC

Retrieve Base Mainnet chain ID and network information from the public JSON-RPC endpoint.

POST/api/v1/chain-data/block/latest$0.02 USDC

Retrieve the latest block information from Base Mainnet using the public JSON-RPC endpoint.

POST/api/v1/chain-data/block/get$0.02 USDC

Retrieve a specific block by number or hash from Base Mainnet. Supports optional full transaction details.

POST/api/v1/chain-data/block/transactions$0.03 USDC

Retrieve all transactions included in a specific block by number or hash from Base Mainnet.

POST/api/v1/chain-data/transaction/receipt$0.02 USDC

Retrieve the receipt and status for a specific transaction on Base Mainnet, including logs and gas used.

POST/api/v1/chain-data/logs/search$0.05 USDC

Search for contract event logs on Base Mainnet with filters for block range, address, and topics. Limited to 1000 results per request.

POST/api/v1/chain-data/contract/code$0.02 USDC

Retrieve the bytecode of a smart contract on Base Mainnet at a specific address and optional block number.

POST/api/v1/chain-data/contract/read$0.02 USDC

Execute a read-only call to a smart contract on Base Mainnet using eth_call. Returns the result without submitting a transaction.

POST/api/v1/chain-data/gas/estimate$0.02 USDC

Estimate the gas required for a transaction on Base Mainnet using eth_estimateGas.

POST/api/v1/chain-data/gas/fee-history$0.03 USDC

Retrieve the fee history for Base Mainnet blocks, including base fees and reward percentiles. Supports EIP-1559.

POST/api/v1/chain-data/address/native-balance$0.01 USDC

Retrieve the native ETH balance of a Base Mainnet address from the public JSON-RPC endpoint.

POST/api/v1/chain-data/token/erc20-balance$0.01 USDC

Retrieve the ERC-20 token balance of a wallet for a specified token contract on Base Mainnet using eth_call.

POST/api/v1/chain-data/token/erc20-total-supply$0.01 USDC

Retrieve the total supply of an ERC-20 token on Base Mainnet using eth_call.

POST/api/v1/chain-data/token/metadata$0.02 USDC

Retrieve ERC-20 name, symbol, decimals, and total supply for a token on Base Mainnet where supported.

POST/api/v1/chain-data/token/erc20-transfers$0.05 USDC

Retrieve ERC-20 Transfer events for a token contract or wallet on Base Mainnet over a bounded block range.

POST/api/v1/chain-data/address/nonce$0.01 USDC

Retrieve the transaction nonce for a Base Mainnet address from the public JSON-RPC endpoint.