{
  "x402Version": 2,
  "id": 7128,
  "slug": "7128",
  "resource": "https://wallet-services-poc-clean.3hz-services.workers.dev/verified-random",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:84532",
      "payTo": "0xEb0f642c1B71Ec3b3594303de1D09EA2532B0f5e",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "amount": "1000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "wallet-services-poc-clean.3hz-services.workers.dev",
  "lastUpdated": "2026-09-17T07:55:02.313Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-17T07:55:02.064Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "wallet-services-poc-clean.3hz-services.workers.dev",
    "manifest_name": "wallet-services-poc-clean.3hz-services.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}