{"version":1,"instructions":"Each resource answers an unpaid request with 402 and an x402 v2 challenge; pay one of the entries on a network in resource_networks and retry. An lnbtc: network is Bitcoin Lightning: the invoice is bound to the exact request, settled to this host's own node; the x402 Bazaar lists only routes settled on an EVM network. A resource in mppResources also takes an MPP Tempo charge (pathUSD, see paymentCapabilities): its 402 carries a WWW-Authenticate: Payment challenge; pay it and retry with Authorization: Payment. The 402 is the offer; this document is where to look.","resources":["https://agent-utils.run402.com/v1/evm/balance","https://agent-utils.run402.com/v1/evm/block","https://agent-utils.run402.com/v1/evm/code","https://agent-utils.run402.com/v1/evm/gas","https://agent-utils.run402.com/v1/evm/nonce","https://agent-utils.run402.com/v1/evm/token","https://agent-utils.run402.com/v1/evm/tx","https://agent-utils.run402.com/v1/fetch","https://agent-utils.run402.com/v1/name/resolve","https://agent-utils.run402.com/v1/paidcheck","https://agent-utils.run402.com/v1/price","https://agent-utils.run402.com/v1/report/token","https://agent-utils.run402.com/v1/report/wallet","https://agent-utils.run402.com/v1/token/verdict","https://agent-utils.run402.com/v1/weather"],"resource_methods":{"https://agent-utils.run402.com/v1/evm/balance":["GET"],"https://agent-utils.run402.com/v1/evm/block":["GET"],"https://agent-utils.run402.com/v1/evm/code":["GET"],"https://agent-utils.run402.com/v1/evm/gas":["GET"],"https://agent-utils.run402.com/v1/evm/nonce":["GET"],"https://agent-utils.run402.com/v1/evm/token":["GET"],"https://agent-utils.run402.com/v1/evm/tx":["GET"],"https://agent-utils.run402.com/v1/fetch":["GET"],"https://agent-utils.run402.com/v1/name/resolve":["GET"],"https://agent-utils.run402.com/v1/paidcheck":["GET"],"https://agent-utils.run402.com/v1/price":["GET"],"https://agent-utils.run402.com/v1/report/token":["GET"],"https://agent-utils.run402.com/v1/report/wallet":["GET"],"https://agent-utils.run402.com/v1/token/verdict":["POST"],"https://agent-utils.run402.com/v1/weather":["GET"]},"resource_networks":{"https://agent-utils.run402.com/v1/evm/balance":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/evm/block":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/evm/code":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/evm/gas":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/evm/nonce":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/evm/token":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/evm/tx":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/fetch":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/name/resolve":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/paidcheck":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/price":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/report/token":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/report/wallet":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/token/verdict":["eip155:8453","eip155:84532"],"https://agent-utils.run402.com/v1/weather":["eip155:8453","eip155:84532"]},"resource_discovery":{"https://agent-utils.run402.com/v1/evm/balance":{"tags":["crypto","wallet","balance","erc20"],"input":{"example":{"chain":"base","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"query_params_schema":{"type":"object","properties":{"chain":{"type":"string","description":"ethereum|base|arbitrum|optimism|polygon|bsc (default base)"},"token":{"type":"string","description":"optional ERC-20 contract"},"address":{"type":"string","description":"wallet 0x..."}}}},"output":{"example":{"chain":"base"}},"description":"Balance of one wallet on Ethereum, Base, Arbitrum, Optimism, Polygon or BSC: native coin, or any ERC-20 (pass token=0x...), with symbol, decimals, formatted and raw amounts and block number. Live RPC with fallbacks. $0.002 per call. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"Wallet Token Balance"},"https://agent-utils.run402.com/v1/evm/block":{"tags":["crypto","block","timestamp","rpc"],"input":{"example":{"chain":"base","timestamp":"2026-01-01T00:00:00Z"},"query_params_schema":{"type":"object","properties":{"chain":{"type":"string","description":"ethereum|base|arbitrum|optimism|polygon|bsc"},"number":{"type":"string","description":"block number or latest"},"timestamp":{"type":"string","description":"unix seconds or ISO date"}}}},"output":{"example":{"chain":"base"}},"description":"Block header facts on Ethereum, Base, Arbitrum, Optimism, Polygon or BSC: by number, latest, or by timestamp (unix or ISO; returns the last block at or before that time via binary search). Number, hash, time, tx count, gas used, base fee. $0.002 per call. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"Block by Number or Time"},"https://agent-utils.run402.com/v1/evm/code":{"tags":["crypto","contract","security","proxy"],"input":{"example":{"chain":"base","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"query_params_schema":{"type":"object","properties":{"chain":{"type":"string","description":"ethereum|base|arbitrum|optimism|polygon|bsc"},"address":{"type":"string","description":"0x..."}}}},"output":{"example":{"chain":"base"}},"description":"Is this address a contract, a plain EOA, or an EIP-7702 delegated EOA? On Ethereum, Base, Arbitrum, Optimism, Polygon or BSC: bytecode size, 7702 delegate target, upgradeable-proxy slots (EIP-1967 implementation/admin/beacon, legacy Zeppelin) and nonce. $0.002 per call. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"Contract or EOA Check"},"https://agent-utils.run402.com/v1/evm/gas":{"tags":["gas","evm","fees","multichain"],"input":{"example":{},"query_params_schema":{"type":"object","required":[],"properties":{}}},"output":{"example":{"ok":true}},"description":"Gas snapshot for Ethereum, Base, Arbitrum, Optimism, Polygon and BSC in one call: gas price, EIP-1559 base fee, priority fee suggestion, block height and head age. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"EVM Gas Snapshot"},"https://agent-utils.run402.com/v1/evm/nonce":{"tags":["crypto","nonce","transactions","rpc"],"input":{"example":{"chain":"base","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"query_params_schema":{"type":"object","properties":{"chain":{"type":"string","description":"ethereum|base|arbitrum|optimism|polygon|bsc"},"address":{"type":"string","description":"0x..."}}}},"output":{"example":{"chain":"base"}},"description":"Latest and pending transaction count for an address on Ethereum, Base, Arbitrum, Optimism, Polygon or BSC, the next nonce to use, and how many of its txs are pending. $0.001 per call. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"Next Nonce"},"https://agent-utils.run402.com/v1/evm/token":{"tags":["erc20","token","evm","balances"],"input":{"example":{"chain":"base","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"query_params_schema":{"type":"object","properties":{"chain":{"type":"string","description":"ethereum|base|arbitrum|optimism|polygon|bsc"},"token":{"type":"string","description":"0x EVM address"},"holder":{"type":"string","description":"0x EVM address"}}}},"output":{"example":{"ok":true}},"description":"ERC-20 token facts on Ethereum, Base, Arbitrum, Optimism, Polygon or BSC: name, symbol, decimals, total supply, contract check, and optionally the balance of one holder. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"ERC20 Token Facts"},"https://agent-utils.run402.com/v1/evm/tx":{"tags":["tx","decode","evm","payments"],"input":{"example":{"hash":"0x0000000000000000000000000000000000000000000000000000000000000000","chain":"base"},"query_params_schema":{"type":"object","properties":{"hash":{"type":"string"},"chain":{"type":"string","description":"ethereum|base|arbitrum|optimism|polygon|bsc"}}}},"output":{"example":{"ok":true}},"description":"Decode one transaction on Ethereum, Base, Arbitrum, Optimism, Polygon or BSC: status, from, to, value, gas used, fee, block time and every ERC-20 Transfer in its logs with symbol/decimals resolved. Use it to prove a payment happened. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"EVM Tx Decoder"},"https://agent-utils.run402.com/v1/fetch":{"tags":["scrape","markdown","web","fetch"],"input":{"example":{"url":"https://example.com"},"query_params_schema":{"type":"object","properties":{"url":{"type":"string"},"max_chars":{"type":"integer","maximum":200000,"minimum":100}}}},"output":{"example":{"ok":true}},"description":"Fetch any public web page and get clean main-content Markdown (Readability extraction), title, byline, excerpt and up to 100 absolute outbound links, as JSON. Follows redirects; max_chars up to 200000. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"Web to Markdown"},"https://agent-utils.run402.com/v1/name/resolve":{"tags":["crypto","ens","basename","identity"],"input":{"example":{"name":"jesse.base.eth"},"query_params_schema":{"type":"object","properties":{"name":{"type":"string","description":"ENS name or basename"},"address":{"type":"string","description":"or 0x address for reverse lookup"}}}},"output":{"example":{"chain":"base"}},"description":"Resolve an ENS name (incl. wildcard and CCIP-read off-chain resolvers) or a Basename (name.base.eth, Base registry) to an address, or an address to its verified ENS primary name. Returns found=false for unregistered names. $0.003 per call. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"ENS + Basename Resolver"},"https://agent-utils.run402.com/v1/paidcheck":{"tags":["payments","wallets","evm","usdc"],"input":{"example":{"hours":1,"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"query_params_schema":{"type":"object","properties":{"hours":{"type":"integer","maximum":6,"minimum":0},"address":{"type":"string","description":"0x EVM address"}}}},"output":{"example":{"ok":true}},"description":"Did this wallet get paid? One call: native + USDC/USDT balances on Ethereum, Base, Arbitrum, Optimism, Polygon and BSC, plus every incoming USDC/USDT transfer (tx hash, sender, amount, block) in the last N hours (hours 0-6, default 1). Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"Wallet Paid Check"},"https://agent-utils.run402.com/v1/price":{"tags":["crypto","price","oracle","chainlink"],"input":{"example":{"symbols":"ETH,BTC"},"query_params_schema":{"type":"object","properties":{"symbols":{"type":"string","description":"comma list, e.g. ETH,BTC"}}}},"output":{"example":{"ok":true}},"description":"Live USD prices straight from Chainlink Data Feeds on Ethereum mainnet (ETH, BTC, SOL, BNB, LINK, AAVE, UNI, POL, USDC, USDT, DAI): price, feed address, last update time and age. Oracle-grade, no API-key aggregator. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"Chainlink Price Oracle"},"https://agent-utils.run402.com/v1/report/token":{"tags":["crypto","token","security","due-diligence"],"input":{"example":{"chain":"base","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"query_params_schema":{"type":"object","properties":{"chain":{"type":"string","description":"ethereum|base|arbitrum|optimism|polygon|bsc"},"token":{"type":"string","description":"ERC-20 contract address"}}}},"output":{"example":{"summary":{"flags":[]}}},"description":"Token due-diligence report, $0.25, for any ERC-20 on Ethereum/Base/Arbitrum/Optimism/Polygon/BSC: metadata, supply, upgradeable-proxy detection (EIP-1967 + legacy slots), owner/renounced, paused, recent transfer activity (counts, unique senders, mints, burns, largest), Chainlink price, plain-English risk flags. Live JSON-RPC reads. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"Token Due-Diligence Report"},"https://agent-utils.run402.com/v1/report/wallet":{"tags":["crypto","wallet","security","due-diligence"],"input":{"example":{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"query_params_schema":{"type":"object","properties":{"address":{"type":"string","description":"EVM address 0x..."}}}},"output":{"example":{"summary":{"flags":[]}}},"description":"Wallet due-diligence report, $0.25, across Ethereum, Base, Arbitrum, Optimism, Polygon, BSC: native + USDC/USDT balances, USD estimate (Chainlink), tx counts, contract vs EOA, EIP-7702 delegation, recent USDC/USDT inflows, risk flags (fresh wallet, low activity). Use before paying or trusting a counterparty. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"Wallet Due-Diligence Report"},"https://agent-utils.run402.com/v1/token/verdict":{"tags":["crypto","token","security","base"],"input":{"example":{"tokenAddress":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"},"body_type":"json"},"output":{"example":{"chain":"base","grade":"SOLID","score":90,"ticker":"DEGEN","metrics":[{"key":"price_usd","value":0.00066263,"source":"dex-pool"},{"key":"liquidity_usd","value":351750.92},{"key":"fdv_usd","value":23718831}],"reasons":["owner not renounced"],"one_liner":"DEGEN on base: SOLID (90/100) — owner not renounced.","tokenName":"Degen","tokenAddress":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"}},"description":"Token Verdict / token risk check: Base + 5 EVM chains and Solana. $0.01, ~1 s. Grade SOLID/OK/CAUTION/RISKY/AVOID, score, one_liner, reasons, ticker, price_usd, liquidity_usd (Uniswap v2/v3, Aerodrome on-chain), fdv_usd, recent transfers, proxy/owner/paused; Solana: mint/freeze authority, Token-2022 risks, holder concentration. POST {\"tokenAddress\":\"...\",\"chain\":\"base|solana|...\"}. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"Token Verdict (on-chain)"},"https://agent-utils.run402.com/v1/weather":{"tags":["weather","forecast","geo","data"],"input":{"example":{"city":"Kyiv"},"query_params_schema":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"city":{"type":"string"}}}},"output":{"example":{"ok":true}},"description":"Weather for any city or lat/lon in one call: current conditions, next 24 hours hourly (temp, wind, humidity, cloud, precipitation, symbol) and ~9-day daily min/max/precip. Data: MET Norway (CC BY 4.0) + OSM Nominatim geocoding. Fair input: bad/missing params after payment return the example result + inputSchema, never an error.","service_name":"City Weather Now"}}}