{"x402Version":2,"name":"Chain Facts API","description":"On-chain data on Base with no API key: wallet balances (native ETH + any ERC20), NFT token metadata (ERC721/1155), and transaction lookups. One USDC micropayment per call.","repository":"https://github.com/SaylorInnovations/open-x402-bazaar","resources":[{"resource":"https://selection-agent-20261018t075643z-e8d93c0e-48b767b51370f171.pages.dev/balance","type":"http","x402Version":2,"description":"Base on-chain balance API: GET /balance?address=0x...&token=0x... returns native ETH balance or ERC20 token balance (raw + human amounts) as JSON. For trading bots, wallets, airdrop checkers, and automation needing Base balances. x402, USDC on Base.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x12B0B1F8a1cA707447CBA2566ed689C4d586202f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","queryParams":{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"output":{"type":"json","example":{"address":"0xd8dA...","chainId":8453,"native":{"raw":"1000000000000000000","eth":"1.0"},"token":{"raw":"5000000","decimals":6,"amount":"5.0"}}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","properties":{"address":{"type":"string"},"token":{"type":"string"}},"required":["address"]}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},{"resource":"https://selection-agent-20261018t075643z-e8d93c0e-48b767b51370f171.pages.dev/batch-balances","type":"http","x402Version":2,"description":"Base batch balance API: GET /batch-balances?addresses=0x..,0x..,0x.. (up to 25 comma-separated EVM addresses, optional &token=0x.. for one ERC20) returns native ETH (and token) balances for all addresses in one call. For airdrop checkers, portfolio trackers, payment sweeps, and agent loops. x402, USDC on Base.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x12B0B1F8a1cA707447CBA2566ed689C4d586202f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","queryParams":{"addresses":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045,0x0000000000000000000000000000000000000000"}},"output":{"type":"json","example":{"chainId":8453,"results":[{"address":"0xd8dA...","nativeEth":"1.0"}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","properties":{"addresses":{"type":"string"},"token":{"type":"string"}},"required":["addresses"]}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},{"resource":"https://selection-agent-20261018t075643z-e8d93c0e-48b767b51370f171.pages.dev/token","type":"http","x402Version":2,"description":"Base token metadata API: GET /token?address=0x... returns name, symbol, decimals, totalSupply, and for NFTs with &id= also tokenURI and owner, as JSON. For marketplaces, indexers, and agents needing token facts. x402, USDC on Base.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x12B0B1F8a1cA707447CBA2566ed689C4d586202f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","queryParams":{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"output":{"type":"json","example":{"address":"0x8335...","name":"USD Coin","symbol":"USDC","decimals":6,"totalSupplyRaw":"..."}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","properties":{"address":{"type":"string"},"id":{"type":"string"}},"required":["address"]}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},{"resource":"https://selection-agent-20261018t075643z-e8d93c0e-48b767b51370f171.pages.dev/tx","type":"http","x402Version":2,"description":"Base transaction API: GET /tx?hash=0x... returns the transaction with value in ETH plus its receipt (status, gasUsed, gas price gwei, logs count, contract created) as JSON. For explorers, payment monitors, and agents reconciling on-chain payments. x402, USDC on Base.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x12B0B1F8a1cA707447CBA2566ed689C4d586202f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","queryParams":{"hash":"0x<64-hex tx hash on Base>"}},"output":{"type":"json","example":{"hash":"0x...","from":"0x...","to":"0x...","valueEth":"0.01","status":1,"gasUsed":"21000"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","properties":{"hash":{"type":"string"}},"required":["hash"]}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}}]}