{"version":1,"x402Version":2,"resources":[{"type":"http","resource":"https://rng.sociologic.ai/random","description":"Generate cryptographically secure random float(s) between 0 and 1","mimeType":"application/json","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x0b6E3594Df4Faa6D66196D5a3271796AD8Bb505d","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"info":{"input":{"type":"http","method":"GET"}},"pricing":{"mode":"dynamic","currency":"USDC","perUnitAmount":"10000","maxAmount":"1000000","param":"count"}}},{"type":"http","resource":"https://rng.sociologic.ai/random/int","description":"Generate a cryptographically secure random integer within a range","mimeType":"application/json","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x0b6E3594Df4Faa6D66196D5a3271796AD8Bb505d","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"info":{"input":{"type":"http","method":"GET"}}}},{"type":"http","resource":"https://rng.sociologic.ai/uuid","description":"Generate cryptographically secure UUID v4(s)","mimeType":"application/json","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x0b6E3594Df4Faa6D66196D5a3271796AD8Bb505d","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"info":{"input":{"type":"http","method":"GET"}},"pricing":{"mode":"dynamic","currency":"USDC","perUnitAmount":"10000","maxAmount":"1000000","param":"count"}}},{"type":"http","resource":"https://rng.sociologic.ai/dice","description":"Roll a die with configurable number of sides (2-1000)","mimeType":"application/json","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x0b6E3594Df4Faa6D66196D5a3271796AD8Bb505d","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"info":{"input":{"type":"http","method":"GET"}}}},{"type":"http","resource":"https://rng.sociologic.ai/coin","description":"Flip one or more coins (heads or tails)","mimeType":"application/json","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x0b6E3594Df4Faa6D66196D5a3271796AD8Bb505d","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"info":{"input":{"type":"http","method":"GET"}},"pricing":{"mode":"dynamic","currency":"USDC","perUnitAmount":"20000","maxAmount":"2000000","param":"count"}}},{"type":"http","resource":"https://rng.sociologic.ai/shuffle","description":"Shuffle an array using Fisher-Yates algorithm (max 1000 items)","mimeType":"application/json","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x0b6E3594Df4Faa6D66196D5a3271796AD8Bb505d","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"info":{"input":{"type":"http","method":"POST"}}}},{"type":"http","resource":"https://rng.sociologic.ai/weighted","description":"Select a random item from weighted options (max 1000 items)","mimeType":"application/json","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x0b6E3594Df4Faa6D66196D5a3271796AD8Bb505d","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"info":{"input":{"type":"http","method":"POST"}}}}],"ownershipProofs":["0xdbf107efdf8cf1ca7f22975372e167fd7fbd6f9aee83be57ab1377ed49727f5207737eff7cec46495c06c566a66b9bbd4b37c6b5f9ad550d75184eb7a6ade9621b"],"instructions":"# SocioLogic RNG - x402 Payment Information\n\n## Overview\nCryptographically secure random number generation with verifiable entropy via x402 micropayments.\n\n## Available Endpoints\n\n### Standard Tier ($0.01/call)\n- `GET /random` - Random float between 0 and 1\n- `GET /random/int?min=0&max=100` - Random integer in range (max 1,000,000)\n- `GET /uuid` - UUID v4 generation\n\n### Extended Tier ($0.02/call)\n- `GET /dice?sides=6` - Die roll (2-1000 sides)\n- `GET /coin` - Coin flip (heads/tails)\n- `POST /shuffle` - Fisher-Yates array shuffle (max 1000 items, 100KB)\n- `POST /weighted` - Weighted random selection (max 1000 items)\n\n### Free Endpoints\n- `GET /` - API info and status\n- `GET /health` - Health check\n- `GET /robots.txt` - Robots.txt\n- `GET /llms.txt` - LLM-friendly documentation\n- `GET /llms-full.txt` - Complete LLM documentation\n\n## Payment Details\n- **Network**: Base Mainnet (Chain ID: 8453)\n- **Currency**: USDC\n- **Facilitator**: Coinbase Developer Platform\n- **Payment Address**: `0x0b6E3594Df4Faa6D66196D5a3271796AD8Bb505d`\n\n## Technical Details\n- **Algorithm**: CSPRNG with rejection sampling\n- **Implementation**: crypto.getRandomValues()\n- **Verification**: Raw entropy data returned (Uint32 + hex)\n- **Deployment**: Cloudflare Workers (edge, <100ms latency)\n\n## Documentation\n- Landing Page: https://www.sociologic.ai/x402-rng\n- Full API Docs: https://www.sociologic.ai/docs#rng\n- x402 Protocol: https://www.sociologic.ai/docs#x402\n\n## Support\n- Email: team@sociologic.ai\n- Website: https://www.sociologic.ai"}