Pay-per-call Ethereum RPC for AI agents. Live block, balance, contract, NFT, transaction, and event data served directly from mainnet nodes. No API keys, no accounts - every request settles in USDC on Base via x402.
Price
from $0.0010
up to $0.0100 per request
Network
base
Category
ai
On-chain txns
1
Uptime
100%
Avg latency
624ms
Checks
160
Status
Healthy
Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.
Get ERC20 allowance (owner -> spender) via allowance (eth_call)
Get the latest block number via eth_blockNumber
Get a block by number via eth_getBlockByNumber
Simulate a contract call via eth_call
Get the chain ID via eth_chainId
Get deployed bytecode and detect if an address is a contract via eth_getCode
Get contract info (name, symbol, decimals, interfaces) via eth_call
Resolve ENS name to address or reverse-resolve via RPC
Get ERC1155 token balance via balanceOf (eth_call)
Get ERC20 token balance via balanceOf (eth_call)
Get ERC20 Transfer logs for a token or wallet via eth_getLogs
Enumerate ERC721 tokens owned by an address via tokenOfOwnerByIndex (eth_call)
Estimate gas for a transaction via eth_estimateGas
Query contract event logs via eth_getLogs
Get live ETH and ERC20 balances for a wallet via RPC
Get chain ID, latest block, and gas price via RPC (one call)
Fetch NFT metadata (tokenURI + resolved JSON) via eth_call
Get an ERC721 NFT owner via ownerOf (eth_call)
Get the transaction nonce for an address via eth_getTransactionCount
Get the pending block via eth_getBlockByNumber("pending")
Detect proxy patterns (EIP-1967, UUPS, Transparent) via eth_getStorageAt
Get a transaction receipt via eth_getTransactionReceipt
Read a raw storage slot from a contract via eth_getStorageAt
Get ERC20 or ERC721 total supply via totalSupply (eth_call)
Get transaction details via eth_getTransactionByHash
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call it
npx @apihubio/cli call https://skills.onesource.io \
-X POST \
-d '{ /* check provider docs for input */ }'
# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://skills.onesource.ioimport { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);
const res = await x402Fetch("https://skills.onesource.io", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.