OneSource - Blockchain Data API for AI Agents
API by OneSource · rest
This document covers the live chain-RPC family only: Ethereum mainnet, Sepolia testnet, and Robinhood Chain data for AI agents, returned fresh from OneSource-operated nodes rather than an index. Some endpoints proxy one RPC method; composite endpoints issue bounded RPC batches, decode contract calls, combine related results, or resolve off-chain NFT metadata. OneSource also serves two other families on this same host, each with its own spec, not merged into this document: Deepstate on-chain market data (order books, trades, candles, stats, and analytics) under /deepstate/v1/*, spec at https://api.onesource.io/deepstate/openapi.yaml; and The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain built around the $STANDARD token, under /standard/v1/*, spec at https://api.onesource.io/standard/openapi.yaml. No API key or account is required to start: pay per call or use batch/session mode, with USDC on Base via x402 (per-call exact scheme or batch-settlement…
Verification: observed. Source: crawl.
Capabilities (84)
- ERC20 allowance via allowance (eth_call) - how much a spender is approved to…
- Latest Ethereum block height - current chain tip via eth_blockNumber
- Fetch an Ethereum block header and transaction hashes by number tag or hex…
- Simulate a read-only Ethereum contract call via eth_call - no transaction sent
- Ethereum chain ID (EIP-155) via eth_chainId - confirm which chain a network is…
- Check if an Ethereum address is a contract via eth_getCode - returns deployed…
- Best-effort contract introspection via batched RPC - bytecode presence token…
- ENS resolve - turn a .eth name into an address or an address into its primary…
- ERC1155 token balance via balanceOf (eth_call) - how many copies of a token_id…
- ERC20 token balance for any Ethereum wallet - USDC USDT DAI or any token -…
- ERC20 Transfer logs via eth_getLogs - raw Transfer events for a token or wallet
- List every ERC721 NFT token_id a wallet owns in a collection via…
- Estimate the gas a transaction will consume via eth_estimateGas before signing…
- Query Ethereum contract event logs via eth_getLogs - filter by contract …
- Live wallet balance - native ETH plus up to 20 caller-supplied ERC20 tokens in…
- EVM network info - chain ID block height gas price chain head age and…
- NFT metadata for ERC721 or ERC1155 tokens via eth_call with IPFS Arweave …
- Look up the current owner of an ERC721 NFT by token_id via ownerOf (eth_call)
- Next transaction nonce for any Ethereum wallet via eth_getTransactionCount -…
- Pending block - transactions not yet mined via eth_getBlockByNumber("pending")
- Detect upgradeable proxies (EIP-1967 UUPS Transparent ERC-897) via…
- Transaction receipt via eth_getTransactionReceipt - status gas and event…
- Read a raw storage slot from any Ethereum contract via eth_getStorageAt
- Total supply of an ERC20 or ERC721 token contract via totalSupply (eth_call)
- Full Ethereum transaction details by hash via eth_getTransactionByHash - from …