BRAINIAC Base Chain Data

v1.0.1
software.brainiac/chain-data Checked 1 day ago Published 14 days ago

Paid Base Chain Data API via x402.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

chain-data_network-info Get network information

Retrieve Base Mainnet chain ID and network information from the public JSON-RPC endpoint. Docs: https://www.brainiac.software/api/chain-data/network-info Keywords: when you need Base chain data, network, latestBlockNumber, source, Get network information, network info, Base Mainnet, Base Chain Data.

chain-data_block_latest Get latest block

Retrieve the latest block information from Base Mainnet using the public JSON-RPC endpoint. Docs: https://www.brainiac.software/api/chain-data/block-latest Keywords: when you need Base chain data, block, chainId, source, Get latest block, latest, Base Mainnet, Base Chain Data.

chain-data_block_get Get block by number or hash

Retrieve a specific block by number or hash from Base Mainnet. Docs: https://www.brainiac.software/api/chain-data/block-get Keywords: when you need Base chain data, blockNumber, blockHash, fullTransactions, block, chainId, source, Get block by number or hash, get, Base Mainnet.

ParameterTypeDescription
blockHashstringblockHash, string. Optional.
blockNumberintegerblockNumber, integer, from 0 to 9007199254740991. Optional.
fullTransactionsbooleanfullTransactions, boolean. Required.

chain-data_block_transactions Get block transactions

Retrieve all transactions included in a specific block by number or hash from Base Mainnet. Docs: https://www.brainiac.software/api/chain-data/block-transactions Keywords: when you need Base chain data, blockNumber, blockHash, transactions, chainId, source, Get block transactions, Base Mainnet.

ParameterTypeDescription
blockHashstringblockHash, string. Optional.
blockNumberintegerblockNumber, integer, from 0 to 9007199254740991. Optional.

chain-data_transaction_receipt Get transaction receipt

Retrieve the receipt and status for a specific transaction on Base Mainnet, including logs and gas used. Docs: https://www.brainiac.software/api/chain-data/transaction-receipt Keywords: when you need Base chain data, txHash, receipt, source, Get transaction receipt, Base Mainnet, Base Chain Data, chain data.

ParameterTypeDescription
txHash *stringtxHash, string. Required.

chain-data_contract_code Get contract bytecode

Retrieve the bytecode of a smart contract on Base Mainnet at a specific address and optional block number. Docs: https://www.brainiac.software/api/chain-data/contract-code Keywords: when you need Base chain data, address, blockNumber, code, chainId, source, Get contract bytecode, Base Mainnet.

ParameterTypeDescription
address *stringaddress, string. Required.
blockNumberintegerblockNumber, integer, from 0 to 9007199254740991. Optional.

chain-data_contract_read Execute read-only contract call

Execute a read-only call to a smart contract on Base Mainnet using eth_call. Docs: https://www.brainiac.software/api/chain-data/contract-read Keywords: when you need Base chain data, address, data, blockNumber, result, chainId, source, Execute read-only contract call, read, Base Mainnet.

ParameterTypeDescription
address *stringaddress, string. Required.
data *stringdata, string. Required.
blockNumberintegerblockNumber, integer, from 0 to 9007199254740991. Optional.

chain-data_gas_estimate Estimate gas for transaction

Estimate the gas required for a transaction on Base Mainnet using eth_estimateGas. Docs: https://www.brainiac.software/api/chain-data/gas-estimate Keywords: when you need Base chain data, from, value, data, estimate, chainId, source, Estimate gas for transaction, Base Mainnet.

ParameterTypeDescription
datastringdata, string. Optional.
fromstringfrom, string. Optional.
tostringto, string. Optional.
valuestringvalue, string. Optional.

chain-data_gas_fee-history Get fee history

Retrieve the fee history for Base Mainnet blocks, including base fees and reward percentiles. Docs: https://www.brainiac.software/api/chain-data/gas-fee-history Keywords: when you need Base chain data, blockCount, newestBlock, rewardPercentiles, history, chainId, source, Get fee history, fee history, Base Mainnet.

ParameterTypeDescription
blockCountintegerblockCount, integer, from 1 to 1024. Required.
newestBlockintegernewestBlock, integer, from 0 to 9007199254740991. Optional.
rewardPercentilesarrayrewardPercentiles, array. Required.

chain-data_address_native-balance Get native ETH balance

Retrieve the native ETH balance of a Base Mainnet address from the public JSON-RPC endpoint. Docs: https://www.brainiac.software/api/chain-data/address-native-balance Keywords: when you need Base chain data, address, blockNumber, balance, balanceDecimal, chainId, source, Get native ETH balance, native balance, Base Mainnet.

ParameterTypeDescription
address *stringaddress, string. Required.
blockNumberintegerblockNumber, integer, from 0 to 9007199254740991. Optional.

chain-data_token_erc20-balance Get ERC-20 balance

Retrieve the ERC-20 token balance of a wallet for a specified token contract on Base Mainnet using eth_call. Docs: https://www.brainiac.software/api/chain-data/token-erc20-balance Keywords: when you need Base chain data, walletAddress, tokenAddress, blockNumber, balance, balanceDecimal, chainId, source, Get ERC-20 balance, erc20 balance, Base Mainnet.

ParameterTypeDescription
tokenAddress *stringtokenAddress, string. Required.
walletAddress *stringwalletAddress, string. Required.
blockNumberintegerblockNumber, integer, from 0 to 9007199254740991. Optional.

chain-data_token_erc20-total-supply Get ERC-20 total supply

Retrieve the total supply of an ERC-20 token on Base Mainnet using eth_call. Docs: https://www.brainiac.software/api/chain-data/token-erc20-total-supply Keywords: when you need Base chain data, tokenAddress, blockNumber, totalSupply, totalSupplyDecimal, chainId, source, Get ERC-20 total supply, erc20 total supply, Base Mainnet.

ParameterTypeDescription
tokenAddress *stringtokenAddress, string. Required.
blockNumberintegerblockNumber, integer, from 0 to 9007199254740991. Optional.

chain-data_token_metadata Get token metadata

Retrieve ERC-20 name, symbol, decimals, and total supply for a token on Base Mainnet where supported. Docs: https://www.brainiac.software/api/chain-data/token-metadata Keywords: when you need Base chain data, tokenAddress, blockNumber, name, symbol, decimals, totalSupply, totalSupplyDecimal, chainId, Get token metadata, metadata, Base Mainnet.

ParameterTypeDescription
tokenAddress *stringtokenAddress, string. Required.
blockNumberintegerblockNumber, integer, from 0 to 9007199254740991. Optional.

chain-data_token_erc20-transfers Get ERC-20 transfers

Retrieve ERC-20 Transfer events for a token contract or wallet on Base Mainnet over a bounded block range. Docs: https://www.brainiac.software/api/chain-data/token-erc20-transfers Keywords: when you need Base chain data, tokenAddress, walletAddress, fromBlock, toBlock, limit, transfers, source, Get ERC-20 transfers, erc20 transfers, Base Mainnet.

ParameterTypeDescription
cursorstringcursor, string, length 1 to 4000. Optional.
fromBlockintegerfromBlock, integer, from 0 to 9007199254740991. Optional.
limitintegerlimit, integer, from 1 to 1000. Required.
toBlockintegertoBlock, integer, from 0 to 9007199254740991. Optional.
tokenAddressstringtokenAddress, string. Optional.
walletAddressstringwalletAddress, string. Optional.

chain-data_address_nonce Get address nonce

Retrieve the transaction nonce for a Base Mainnet address from the public JSON-RPC endpoint. Docs: https://www.brainiac.software/api/chain-data/address-nonce Keywords: when you need Base chain data, address, blockNumber, nonce, nonceHex, chainId, source, Get address nonce, Base Mainnet.

ParameterTypeDescription
address *stringaddress, string. Required.
blockNumberintegerblockNumber, integer, from 0 to 9007199254740991. Optional.

chain-data_gas_current Base gas oracle current

Current Base gas fees in gwei (base fee plus slow/standard/fast priority from feeHistory percentiles 10/50/90) with a USD estimate for a simple transfer. Docs: https://www.brainiac.software/api/chain-data/gas-current Keywords: base gas, gas oracle, gas price, gwei, EIP-1559, base fee, priority fee, simple transfer, 21000 gas, USD estimate, ETH/USD, current fees, Base mainnet.

ParameterTypeDescription
gasLimitintegergasLimit, integer, from 21000 to 30000000. Optional.

chain-data_gas_evm EVM multi-chain gas oracle

Current EIP-1559 gas snapshot for Ethereum, Base, Arbitrum, Optimism, and Polygon from public RPC, with Chainlink USD estimates for a simple transfer. Docs: https://www.brainiac.software/api/chain-data/gas-evm Keywords: ethereum gas, evm gas oracle, arbitrum gas, optimism gas, polygon gas, EIP-1559.

ParameterTypeDescription
chainstringchain, string, one of ethereum, base, arbitrum, optimism, polygon. Optional.
chainsarraychains, array. Optional.
gasLimitintegergasLimit, integer, from 21000 to 30000000. Optional.

chain-data_ens_resolve ENS and Basename resolve

Resolve an ENS or Basename to an address, or an address to a forward-confirmed primary name, via official ENS on Ethereum and Basenames on Base. Docs: https://www.brainiac.software/api/chain-data/ens-resolve Keywords: ENS resolve, vitalik.eth, Basename, jesse.base.eth, reverse ENS, primary name.

ParameterTypeDescription
addressstringaddress, string. Optional.
namestringname, string, length 3 to 255. Optional.
systemstringsystem, string, one of ens, basename. Optional.

contact_us Contact Us

How to contact BRAINIAC.software support: email, page URL, what to include in a message, and what not to send. Free. Does not send email.