Verifiable RNG
api.anchor-x402.com/v1/roll
Verifiable RNG — cryptographically-random integer(s) signed by the treasury key. Drop-in VRF for game studios. $0.001 USDC.
POST
https://api.anchor-x402.com/v1/rollUptimeNot checked yet
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://api.anchor-x402.com/v1/roll" \
-d '{"low":1,"high":100,"count":1,"label":"treasure_drop_42"}'
# 402 Payment Required comes back with the price and where to pay.Example input
{
"low": 1,
"high": 100,
"count": 1,
"label": "treasure_drop_42"
}