{"service":"Mythos On-Chain Reads","price":"0.005 USDC per read on Base","op":"GET /x402/onchain?method=<m>&chain=<base|eth|op>&hash=|address=|name=","methods":{"tx":"full transaction by hash","receipt":"transaction receipt (status, gasUsed, logs) by hash","block":"latest block number + header","iscontract":"is an address a contract (has bytecode)?","nonce":"next transaction nonce for an address","balance":"native ETH balance (wei + eth) for an address","gasprice":"current gas price (wei + gwei)","ens":"resolve a .eth name to an address (ethereum only)","tokenbalance":"ERC20 token balance for a holder (?address=token&holder=0x…). Default holder=payTo.","contractscan":"Full contract security scan: EOA check, proxy detection (EIP-1967/1822), owner, ERC20 metadata, risk flags","call":"eth_call — call a contract's view/pure function. Requires ?address=0x…&data=0x…(calldata hex). Optional ?from=0x…&block=latest|pending|N.","logs":"eth_getLogs — query event logs for an address in a block range. Requires ?address=0x… . Optional ?fromBlock=N&toBlock=N (defaults to latest-1000, max range 10000). Caps at 50 logs.","code":"eth_getCode — deployed bytecode at an address. Returns raw hex + size in bytes.","multicall":"BATCH N on-chain reads in ONE x402 payment. ?calls=JSON array [{\"method\":\"balance\",\"chain\":\"base\",\"address\":\"0x…\"},…]. Max 10 sub-calls. Returns array of per-call results (ok:true/error each).","price":"live USD price for a token via GeckoTerminal. ?address=<token>&chain=<base|eth|solana|arb|op|polygon|bsc>. Returns price + 24h change."},"chains":["base (default)","eth","op (optimism)"],"payTo":"0xf16F0882de08315B438E9f3a2Abfb2d2E5d94ECA","note":"FREE preview — capability list. Each atomic read requires x402 payment at the op. No key, no KYC.","example":"/x402/onchain?method=iscontract&chain=base&address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}