base-onchain-data
x402-paid
Base wallet balances
Changed onETH, USDC and about 25 widely held Base tokens with a nonzero balance, plus up to 20 named ERC-20 contracts, with symbol, decimals, raw and formatted amounts and the block read, live from Base RPC. 0.002 USDC on Base; a failed read is not charged. No prices or USD values.
get/api/x402/base/balances
Request
- Base URL: https://ontarioprotocol.com
- URL: https://ontarioprotocol.com/api/x402/base/balances
- Auth: none required
Query parameters
addressstring required
Base wallet or contract address to read.
tokensstring
Optional comma-separated ERC-20 contract addresses to read as well, max 20.
Response
Successful live read; the payment settled
Changes
- info
endpoint added
- info