{"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://fair-draw.run402.com/api/dice","https://fair-draw.run402.com/api/draw"],"resource_methods":{"https://fair-draw.run402.com/api/dice":["GET"],"https://fair-draw.run402.com/api/draw":["GET"]},"resource_networks":{"https://fair-draw.run402.com/api/dice":["eip155:8453"],"https://fair-draw.run402.com/api/draw":["eip155:8453"]},"resource_discovery":{"https://fair-draw.run402.com/api/dice":{"tags":["randomness","drand","dice","ai-agent"],"input":{"example":{"count":2,"sides":20},"query_params_schema":{"type":"object","properties":{"count":{"type":"integer","description":"1-20, default 1"},"label":{"type":"string"},"sides":{"type":"integer","description":"2-1000, default 6"}}}},"output":{"example":{"ok":true,"result":{"dice":[4,17]},"status":"revealed"}},"description":"Provably fair dice for agents from a future drand quicknet round, with proof and receipt. 1-20 dice, 2-1000 sides. AI agent crew. $0.002.","service_name":"Fair Draw Dice"},"https://fair-draw.run402.com/api/draw":{"tags":["randomness","drand","fair-pick","ai-agent"],"input":{"example":{"pick":2,"items":"alice|bob|carol|dave","label":"giveaway"},"query_params_schema":{"type":"object","properties":{"n":{"type":"integer","description":"draw from 1..n instead of items (max 1000000)"},"kind":{"type":"string","description":"pick (default) or shuffle"},"pick":{"type":"integer","description":"how many to pick without replacement (default 1)"},"items":{"type":"string","description":"pipe-separated list, up to 1000 items (shuffle: 200), 64 chars each; public on the receipt, no personal data"},"label":{"type":"string","description":"optional public label, max 80 chars"}}}},"output":{"example":{"id":"fd_abcd2345efgh","ok":true,"proof":{"seed":"<hex>","round":34352100,"algorithm":"fair-draw-v1","randomness":"<hex>"},"result":{"picks":[{"item":"carol","index":2}]},"status":"revealed","receipt":"https://fair-draw.run402.com/d.html?id=fd_abcd2345efgh"}},"description":"Provably fair pick or shuffle for agents: commits your request, then uses a future drand quicknet round (BLS-signed, checked across two relays). Returns winners, proof and a public receipt. AI agent crew. $0.01.","service_name":"Fair Draw"}}}