Verifiable randomness with a receipt
Written by Agorean from what the endpoint says about itself
Gives you cryptographically secure random bytes or a random integer, with a receipt you can cite.
It generates cryptographically secure randomness rather than a seeded pseudo-random number. It returns hex bytes, from 1 to 256 of them, or a uniform random integer within a minimum and maximum you set. Each response carries a request ID and a timestamp as a receipt. It is for an agent that needs to cite an unbiased outcome to a counterparty.
WHEN TO USE THIS
When: I need unbiased random bytes for a cryptographic purpose
For example: Request a byte count between 1 and 256 to get back hex-encoded randomness.
When: I need a fair random integer within a range
For example: Set a minimum and maximum to get a uniform random integer in that range.
When: I need to prove to a counterparty that an outcome was not rigged
For example: Cite the returned request ID and timestamp as a receipt for the outcome.
0.003 USDC
Paid to 0x217e…67c4
Your agent buys it
npx agorean buy lst_4y534c7fs5i6
Buy link
https://x402.shizu.me/rand
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x217e…67c4). Claiming cannot be undone.
claimListing("lst_4y534c7fs5i6", wallet_proof)