Command Palette

Search for a command to run...

Server Favicon

OneSource - Ethereum RPC for AI Agents

Ethereum mainnet and Sepolia testnet RPC for AI agents. Every endpoint proxies a single live RPC call — wallet and token balances, blocks, transactions, receipts, event logs, ENS name resolution, contract introspection, and NFT metadata — returning fresh data from OneSource-operated Ethereum nodes. No API keys, no accounts, no subscriptions. Pay per call or use batch/session mode: USDC on Base via x402 (per-call `exact` scheme or batch-settlement `x402-batch` scheme), or pathUSD/USDC.e on Tempo via MPP (per-call or `tempo.session`).

GET

/api/chain/allowance

$0.003
ERC20 allowance via allowance (eth_call) - how much a spender is approved to move from an owner's wallet
GET

/api/chain/block-number

$0.001
Latest Ethereum block height - current chain tip via eth_blockNumber
GET

/api/chain/block/{number}

$0.003
Fetch an Ethereum block header and transaction hashes by number, tag, or hex via eth_getBlockByNumber
GET

/api/chain/chain-id

$0.001
Ethereum chain ID (EIP-155) via eth_chainId - confirm which chain a network is on
GET

/api/chain/code/{address}

$0.003
Check if an Ethereum address is a contract via eth_getCode - returns deployed bytecode
GET

/api/chain/contract/{address}

$0.005
Contract introspection via eth_call - name, symbol, decimals, and ERC20/721/1155 interface support
GET

/api/chain/ens/{input}

$0.005
ENS resolve - turn a .eth name into an address, or an address into its primary .eth name, via eth_call on OneSource live Ethereum RPC
GET

/api/chain/erc1155-balance

$0.003
ERC1155 token balance via balanceOf (eth_call) - how many copies of a token_id a wallet holds
GET

/api/chain/erc20-balance

$0.003
ERC20 token balance for any Ethereum wallet - USDC, USDT, DAI, or any token - via balanceOf (eth_call) on OneSource live Ethereum RPC
GET

/api/chain/erc20-transfers

$0.005
ERC20 Transfer logs via eth_getLogs - decoded sender, recipient, and amount for a token or wallet
GET

/api/chain/erc721-tokens

$0.008
List every ERC721 NFT token_id a wallet owns in a collection via tokenOfOwnerByIndex (eth_call)
GET

/api/chain/events

$0.005
Query Ethereum contract event logs via eth_getLogs - filter by contract, topic, and block range
GET

/api/chain/live-balance

$0.003
Live wallet balance - native ETH plus any ERC20 tokens in one call via eth_getBalance and balanceOf on OneSource Ethereum RPC
GET

/api/chain/network-info

$0.001
Ethereum network info - chain ID, block height, and gas price in one batched RPC call (eth_chainId + eth_blockNumber + eth_gasPrice)
GET

/api/chain/nft-metadata

$0.008
NFT metadata, traits, and image URI for any ERC721 or ERC1155 token - fetched via eth_call with IPFS resolution (OneSource live Ethereum RPC)
GET

/api/chain/nft-owner

$0.003
Look up the current owner of an ERC721 NFT by token_id via ownerOf (eth_call)
GET

/api/chain/nonce/{address}

$0.003
Next transaction nonce for any Ethereum wallet via eth_getTransactionCount - how many txs it has sent
GET

/api/chain/pending

$0.01
Pending Ethereum block - mempool transactions not yet mined, via eth_getBlockByNumber("pending")
GET

/api/chain/proxy/{address}

$0.005
Detect upgradeable proxy patterns (EIP-1967, UUPS, Transparent) via eth_getStorageAt - returns the implementation address behind a proxy
GET

/api/chain/receipt/{hash}

$0.005
Transaction receipt via eth_getTransactionReceipt - status, gas, and event logs for a mined Ethereum transaction
GET

/api/chain/storage

$0.005
Read a raw storage slot from any Ethereum contract via eth_getStorageAt
GET

/api/chain/total-supply

$0.003
Total supply of an ERC20 or ERC721 token contract via totalSupply (eth_call)
GET

/api/chain/tx/{hash}

$0.008
Full Ethereum transaction details by hash via eth_getTransactionByHash - from, to, value, calldata, block
POST

/api/chain/call

$0.005
Simulate a read-only Ethereum contract call via eth_call - no transaction sent
POST

/api/chain/estimate-gas

$0.004
Estimate the gas a transaction will consume via eth_estimateGas before signing it

Install on Your Agent

Add OneSource - Ethereum RPC for AI Agents skills to any client

npx agentcash add https://api.onesource.io
Transactions
Volume
Agents