base-onchain-data
x402-paid

Base wallet balances

Changed on

ETH, 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

addressstring required
blockinteger required
block_timestampstring nullable
coverageobject
coverage_notestring
network'eip155:8453' required
read_atstring required
schema'ontario.base_balances.v1' required
source'Base RPC' required

Changes