{"version":"1","network":"base-mainnet","chainId":8453,"currency":"USDC","walletAddress":"0x0b6E3594Df4Faa6D66196D5a3271796AD8Bb505d","facilitatorUrl":"https://api.cdp.coinbase.com/platform/v2/x402","endpoints":{"/random":{"price":"0.01","method":"GET","description":"Generate a cryptographically secure random float between 0 and 1","inputSchema":{"type":"object","properties":{},"required":[]},"outputSchema":{"type":"object","properties":{"value":{"type":"number","description":"Random float between 0 and 1"},"raw":{"type":"integer","description":"Raw 32-bit unsigned integer"},"hex":{"type":"string","description":"Hex representation of raw value"},"timestamp":{"type":"string","format":"date-time"}},"required":["value","raw","hex","timestamp"]}},"/random/int":{"price":"0.01","method":"GET","description":"Generate a cryptographically secure random integer within a range","inputSchema":{"type":"object","properties":{"min":{"type":"integer","description":"Minimum value (inclusive)","default":0},"max":{"type":"integer","description":"Maximum value (inclusive)","default":100}},"required":[]},"outputSchema":{"type":"object","properties":{"value":{"type":"integer","description":"Random integer in specified range"},"min":{"type":"integer"},"max":{"type":"integer"},"raw":{"type":"integer"},"hex":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}},"required":["value","min","max","raw","hex","timestamp"]}},"/uuid":{"price":"0.01","method":"GET","description":"Generate a cryptographically secure UUID v4","inputSchema":{"type":"object","properties":{},"required":[]},"outputSchema":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"UUID v4 string"},"bytes":{"type":"string","description":"Hex representation of UUID bytes"},"timestamp":{"type":"string","format":"date-time"}},"required":["uuid","bytes","timestamp"]}},"/dice":{"price":"0.02","method":"GET","description":"Roll a die with configurable number of sides","inputSchema":{"type":"object","properties":{"sides":{"type":"integer","description":"Number of sides on the die (2-1000)","default":6,"minimum":2,"maximum":1000}},"required":[]},"outputSchema":{"type":"object","properties":{"result":{"type":"integer","description":"Die roll result (1 to sides)"},"sides":{"type":"integer"},"raw":{"type":"integer"},"hex":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}},"required":["result","sides","raw","hex","timestamp"]}},"/coin":{"price":"0.02-2.00","method":"GET","description":"Flip one or more coins. Price: $0.02 per flip, scales with count.","inputSchema":{"type":"object","properties":{"count":{"type":"integer","description":"Number of flips (1-100)","default":1,"minimum":1,"maximum":100}},"required":[]},"outputSchema":{"type":"object","properties":{"flip":{"type":"string","enum":["heads","tails"],"description":"Single flip result (count=1)"},"flips":{"type":"array","items":{"type":"string","enum":["heads","tails"]},"description":"Multiple flip results (count>1)"},"count":{"type":"integer","description":"Number of flips performed"},"raw":{"type":"integer"},"hex":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}}},"/shuffle":{"price":"0.02","method":"POST","description":"Shuffle an array using Fisher-Yates algorithm","inputSchema":{"type":"object","properties":{"items":{"type":"array","description":"Array of items to shuffle (max 1000 items)","maxItems":1000}},"required":["items"]},"outputSchema":{"type":"object","properties":{"shuffled":{"type":"array","description":"Shuffled array"},"originalLength":{"type":"integer"},"seed":{"type":"string","description":"Hex seed used for shuffle"},"timestamp":{"type":"string","format":"date-time"}},"required":["shuffled","originalLength","seed","timestamp"]}},"/weighted":{"price":"0.02","method":"POST","description":"Select a random item from weighted options","inputSchema":{"type":"object","properties":{"items":{"type":"array","description":"Array of weighted items (max 1000)","items":{"type":"object","properties":{"value":{"description":"The item value"},"weight":{"type":"number","description":"Weight for this item (positive number)"}},"required":["value","weight"]},"maxItems":1000}},"required":["items"]},"outputSchema":{"type":"object","properties":{"selected":{"description":"The selected item value"},"index":{"type":"integer","description":"Index of selected item"},"probability":{"type":"number","description":"Probability of selection"},"raw":{"type":"integer"},"hex":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}},"required":["selected","index","probability","raw","hex","timestamp"]}}}}