{
  "x402Version": 2,
  "id": 14233,
  "slug": "14233",
  "resource": "https://x402.forgemesh.io/random-token-generator",
  "description": "Produces random hex strings or alphanumeric secrets, 8 to 128 characters, from OS-grade entropy, alongside batch UUID generation, none of it logged or retained. Useful for session tokens, temporary passwords, API credential material, and one-time codes where true randomness matters more than a pattern an LLM might repeat.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x850363a27F0aC6fEb9C7a3eC4C1d295262dF9432",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "count": "2",
            "type": "uuid"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "tokens": [
              "4fa2f1f6-1e6f-4b1c-9c3a-2b8f0e6d4a11",
              "0b8e2c44-7a2e-4f6e-8e11-d2b9c1a0f9e2"
            ],
            "type": "uuid"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "count": {
                    "description": "uuid batch size, max 20",
                    "type": "string"
                  },
                  "length": {
                    "description": "8-128, default 32",
                    "type": "string"
                  },
                  "type": {
                    "description": "uuid | hex (default) | alphanumeric",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "info": {
      "required": false
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "eip712",
            "payload": {
              "amount": "1000",
              "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "eip155:8453",
              "payTo": "0x850363a27F0aC6fEb9C7a3eC4C1d295262dF9432",
              "resourceUrl": "https://x402.forgemesh.io/random-token-generator",
              "scheme": "exact",
              "validUntil": 1788928589,
              "version": 1
            },
            "signature": "0x2bf71ccdcf70980aec6284305a1d59c056b6476bb732ad69e779e83aeb242d244c36bb3fff6928fea07f81a2ac8ad750e1eacab272b0304e0274641e97c7ce761c"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "type": "string"
                },
                "payload": {
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "asset": {
                      "type": "string"
                    },
                    "network": {
                      "type": "string"
                    },
                    "payTo": {
                      "type": "string"
                    },
                    "resourceUrl": {
                      "type": "string"
                    },
                    "scheme": {
                      "type": "string"
                    },
                    "validUntil": {
                      "type": "integer"
                    },
                    "version": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "version",
                    "resourceUrl",
                    "scheme",
                    "network",
                    "asset",
                    "payTo",
                    "amount"
                  ],
                  "type": "object"
                },
                "signature": {
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "id": {
          "maxLength": 128,
          "minLength": 16,
          "pattern": "^[a-zA-Z0-9_-]+$",
          "type": "string"
        },
        "required": {
          "type": "boolean"
        }
      },
      "required": [
        "required"
      ],
      "type": "object"
    }
  },
  "tags": [
    "bazaar",
    "info",
    "offer-receipt",
    "schema"
  ],
  "sourceHost": "x402.forgemesh.io",
  "lastUpdated": "2026-09-09T04:31:29.625Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-09T04:31:29.355Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.forgemesh.io",
    "manifest_name": "x402.forgemesh.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}