← Back to directory

Draws a random integer within any min-max range using HMAC-SHA256 over a client-...

https://x402.forgemesh.io/verifiable-random-generator

Overview

Draws a random integer within any min-max range using HMAC-SHA256 over a client-supplied seed, revealing the server seed so the draw can be independently recomputed and verified afterward. For raffles, matchmaking, tie-breaking between competing agents, and any process where 'trust me, it was random' isn't good enough.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider x402
Source bazaar
Indexed 2026-07-16 01:10:24

Health

Status healthy
Latency (p50) 188ms
Uptime (30d) 100.0%
Reliability Score 100/100
Last Checked 2026-10-28 06:57:38
Last Healthy 2026-10-28 06:57:38
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "client_seed": "roll-42", "max": "6", "min": "1" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "proof": "HMAC-SHA256(server_seed, client_seed) first 4 bytes mod range — recompute to verify", "server_seed_revealed": "e3b1...", "value": 4 }, "type": "json" }