Cryptographically verifiable random integer generated from the public drand Quicknet rando
Cryptographically verifiable random integer generated from the public drand Quicknet randomness beacon. Choose inclusive min and max values. The response includes the drand round, randomness and signature so the result can be independently checked.
1000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-17
updated
Provider
wallet-services-poc-clean-mainnet.3hz-services.workers.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xEb0f642c1B71Ec3b3594303de1D09EA2532B0f5e",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"max": 100,
"min": 1
},
"type": "http"
},
"output": {
"example": {
"algorithm": "value = min + (randomness mod (max-min+1))",
"chain_hash": "52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971",
"fetched_at": "2026-09-17T09:00:00.000Z",
"max": 100,
"min": 1,
"randomness": "b5b9f9cd19fdebe3d36edd5f18d8de507f3d66809e8bb40aa7cd3cba0d086dcd",
"round": 32275886,
"signature": "865671cf8df1a34d9e2fbc98f5dafb1cfda0d3fd0c2053a8eca1ab99a1f99361b3b9ee290c6038f7ddb4996504accf6b",
"source": "drand Quicknet",
"value": 78
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"max": {
"default": 100,
"description": "Inclusive maximum integer",
"type": "integer"
},
"min": {
"default": 1,
"description": "Inclusive minimum integer",
"type": "integer"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"additionalProperties": false,
"properties": {
"example": {
"properties": {
"algorithm": {
"type": "string"
},
"chain_hash": {
"type": "string"
},
"fetched_at": {
"type": "string"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"randomness": {
"type": "string"
},
"round": {
"type": "integer"
},
"signature": {
"type": "string"
},
"source": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"required": [
"value",
"min",
"max",
"round",
"randomness",
"signature",
"source",
"chain_hash",
"algorithm",
"fetched_at"
],
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
}
}
}Use it
curl
curl "https://wallet-services-poc-clean-mainnet.3hz-services.workers.dev/verified-random" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://wallet-services-poc-clean-mainnet.3hz-services.workers.dev/verified-random");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://wallet-services-poc-clean-mainnet.3hz-services.workers.dev/verified-random")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7118.json, and this resource appears in /discovery/resources and /discovery/search.