Verifiable RNG — cryptographically-random integer(s) signed by the treasury key
Verifiable RNG — cryptographically-random integer(s) signed by the treasury key. Drop-in VRF for game studios. $0.001 USDC.
by api.anchor-x402.com · discovered, not yet claimed by its owner · updated 2026-10-12
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Verifiable RNG — cryptographically-random integer(s) signed by the treasury key. Drop-in VRF for game studios. $0.001 USDC.
Tags: rng · vrf · random · gaming · signed · bazaar · builder-code
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-12
{
"count": 1,
"high": 100,
"label": "treasure_drop_42",
"low": 1
}{
"commitment": null,
"count": 1,
"domain": "anchor-x402/roll/v1",
"input_hash": "f4a1c5e3b9d8a2e0c7b4f6d9e1a3c8b5f7d2e4a9c1b6e8f3d5a7c2b4e9f1d6a8",
"label": "treasure_drop_42",
"range": [
1,
100
],
"result": [
47
],
"result_hash": "8a6d1f9e4b2c7a3e5f0c9b8a4d2f6e1c3b7a5f9d2e8c4b6a1f3e7d5c9b2a4f6e",
"scheme": "eip191",
"signature": "0x6b3e2a7c…",
"signer": "0x127462e296fAc1A7F5cF33bA57bB2f0FFf5cD0B6"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/27179.jsonfor the price and payment options. - Pay. Call
GET https://api.anchor-x402.com/v1/roll. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, eip155:5042, Polygon, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.001 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana, eip155:5042, Polygon
- Demand
- 10 calls · 6 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.001 | 0x127462e296fAc1A7F5cF33bA57bB2f0FFf5cD0B6 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.001 | 6apuZvJQ51Led9iEjnHw6f5jfnXL4qjt8S1h58PeXzuR | 300s |
| exact | eip155:5042 eip155:5042 | 0x3600000000000000000000000000000000000000 | 1000 | 0x127462e296fAc1A7F5cF33bA57bB2f0FFf5cD0B6 | 300s |
| exact | Polygon eip155:137 | 0x431D5dfF03120AFA4bDf332c61A6e1766eF37BDB | 100000000000000000 | 0x127462e296fAc1A7F5cF33bA57bB2f0FFf5cD0B6 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x127462e296fAc1A7F5cF33bA57bB2f0FFf5cD0B6",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"amountUsd": 0.001,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "6apuZvJQ51Led9iEjnHw6f5jfnXL4qjt8S1h58PeXzuR",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"amountUsd": 0.001,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:5042",
"payTo": "0x127462e296fAc1A7F5cF33bA57bB2f0FFf5cD0B6",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x127462e296fAc1A7F5cF33bA57bB2f0FFf5cD0B6",
"asset": "0x431D5dfF03120AFA4bDf332c61A6e1766eF37BDB",
"amount": "100000000000000000",
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"commitment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"count": {
"type": "integer"
},
"domain": {
"const": "anchor-x402/roll/v1",
"type": "string"
},
"input_hash": {
"type": "string"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"range": {
"items": {
"type": "integer"
},
"type": "array"
},
"result": {
"items": {
"type": "integer"
},
"type": "array"
},
"result_hash": {
"type": "string"
},
"scheme": {
"const": "eip191",
"type": "string"
},
"signature": {
"type": "string"
},
"signer": {
"type": "string"
}
},
"required": [
"range",
"count",
"commitment",
"label",
"result",
"input_hash",
"result_hash",
"signature",
"signer",
"scheme",
"domain"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"commitment": null,
"count": 0,
"domain": "string",
"input_hash": "string",
"label": null,
"range": [
0
],
"result": [
0
],
"result_hash": "string",
"scheme": "string",
"signature": "string",
"signer": "string"
},
"type": "string"
}Examples
curl "https://api.anchor-x402.com/v1/roll"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.anchor-x402.com/v1/roll");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.anchor-x402.com/v1/roll")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.anchor-x402.com
- Endpoint
- https://api.anchor-x402.com/v1/roll
- Machine-readable
/resources/27179.json