{
  "x402Version": 2,
  "id": 38615,
  "slug": "38615",
  "resource": "https://web-production-220a3.up.railway.app/agentic/call/fair_verify",
  "description": "Use this to check a draw independently: recomputes the SHA-256 of a revealed server_seed against its hash, and the numbers of a swoge-hmac-sha256-v1 draw, or the 52-card shoe of a SWOGE casino hand (scheme swoge-casino-shoe with its nonce). Price: $0.003 in USDC on Base or Solana, or $0.02 in USDG or $SWOGE on Robinhood Chain (tool price + settlement cost, minimum $0.02).",
  "type": "http",
  "serviceName": "SwogeAgentic",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790499407/bazaar-icons/a4b778c1570bc6b8.png",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "CFg86EW2ZSAgGpf4o2XAt3gU59fgMfsuZyM6QDuDTmoM",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:4663",
      "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
      "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "amount": "20000",
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:4663",
      "payTo": "0xE81C67c086c83997b41673e1e41e481c14D756F6",
      "asset": "0x8a166Fb41Cd659a0a43396272FF73973Ce29F817",
      "amount": "524109014675052435450",
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "ok": {
            "const": true,
            "type": "boolean"
          },
          "outil": {
            "const": "fair_verify",
            "type": "string"
          },
          "resultat": {
            "properties": {
              "algorithm": {
                "type": "string"
              },
              "cards": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "count": {
                "type": "number"
              },
              "deck": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "hash_matches": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "max": {
                "type": "number"
              },
              "min": {
                "type": "number"
              },
              "nonce": {
                "type": "number"
              },
              "numbers": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "numbers_match": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "server_seed_hash_computed": {
                "type": "string"
              }
            },
            "required": [
              "algorithm",
              "server_seed_hash_computed",
              "hash_matches"
            ],
            "type": "object"
          },
          "texte": {
            "type": "string"
          },
          "x402": {
            "properties": {
              "amount": {
                "type": "string"
              },
              "asset": {
                "type": "string"
              },
              "network": {
                "type": "string"
              },
              "transaction": {
                "type": "string"
              }
            },
            "required": [
              "transaction",
              "network",
              "amount",
              "asset"
            ],
            "type": "object"
          }
        },
        "required": [
          "ok",
          "outil"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "arguments": {
              "client_seed": "agent-42",
              "count": 5,
              "max": 6,
              "min": 1,
              "numbers": [
                3,
                4,
                3,
                5,
                3
              ],
              "server_seed": "3f9a1c7e5b2d4086a1f3e5c7b9d0f2a4c6e8b1d3f5a7c9e0b2d4f6a8c0e2b4d6",
              "server_seed_hash": "b85ef21a5deba1bcd033f7eb675b391cf40ce04d63d5e3da39ed9f61f27180b8"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "ok": true,
            "outil": "fair_verify",
            "resultat": {
              "algorithm": "swoge-hmac-sha256-v1",
              "count": 5,
              "hash_matches": true,
              "max": 6,
              "min": 1,
              "numbers": [
                3,
                4,
                3,
                5,
                3
              ],
              "numbers_match": true,
              "server_seed_hash_computed": "b85ef21a5deba1bcd033f7eb675b391cf40ce04d63d5e3da39ed9f61f27180b8"
            },
            "texte": "Hash matches. Numbers: 3, 4, 3, 5, 3 (match the claimed draw)."
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "arguments": {
                    "properties": {
                      "client_seed": {
                        "type": "string"
                      },
                      "count": {
                        "type": "integer"
                      },
                      "max": {
                        "type": "integer"
                      },
                      "min": {
                        "type": "integer"
                      },
                      "nonce": {
                        "type": "integer"
                      },
                      "numbers": {
                        "items": {
                          "type": "integer"
                        },
                        "type": "array"
                      },
                      "scheme": {
                        "enum": [
                          "swoge-hmac-sha256-v1",
                          "swoge-casino-shoe"
                        ],
                        "type": "string"
                      },
                      "server_seed": {
                        "type": "string"
                      },
                      "server_seed_hash": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "server_seed",
                      "client_seed"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "arguments"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "ok": {
                    "const": true,
                    "type": "boolean"
                  },
                  "outil": {
                    "const": "fair_verify",
                    "type": "string"
                  },
                  "resultat": {
                    "properties": {
                      "algorithm": {
                        "type": "string"
                      },
                      "cards": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "count": {
                        "type": "number"
                      },
                      "deck": {
                        "items": {
                          "type": "number"
                        },
                        "type": "array"
                      },
                      "hash_matches": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      },
                      "nonce": {
                        "type": "number"
                      },
                      "numbers": {
                        "items": {
                          "type": "number"
                        },
                        "type": "array"
                      },
                      "numbers_match": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "server_seed_hash_computed": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "algorithm",
                      "server_seed_hash_computed",
                      "hash_matches"
                    ],
                    "type": "object"
                  },
                  "texte": {
                    "type": "string"
                  },
                  "x402": {
                    "properties": {
                      "amount": {
                        "type": "string"
                      },
                      "asset": {
                        "type": "string"
                      },
                      "network": {
                        "type": "string"
                      },
                      "transaction": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "transaction",
                      "network",
                      "amount",
                      "asset"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "ok",
                  "outil"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "eip2612GasSponsoring": {
      "info": {
        "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
        "version": "1"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "amount": {
            "pattern": "^[0-9]+$",
            "type": "string"
          },
          "asset": {
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "deadline": {
            "pattern": "^[0-9]+$",
            "type": "string"
          },
          "from": {
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "nonce": {
            "pattern": "^[0-9]+$",
            "type": "string"
          },
          "signature": {
            "pattern": "^0x[a-fA-F0-9]+$",
            "type": "string"
          },
          "spender": {
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "version": {
            "pattern": "^[0-9]+(\\.[0-9]+)*$",
            "type": "string"
          }
        },
        "required": [
          "from",
          "asset",
          "spender",
          "amount",
          "nonce",
          "deadline",
          "signature",
          "version"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "randomness",
    "bazaar",
    "eip2612GasSponsoring"
  ],
  "sourceHost": "web-production-220a3.up.railway.app",
  "lastUpdated": "2026-10-08T06:13:00.89Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:13:00.683Z"
  },
  "metadata": {
    "serviceName": "SwogeAgentic",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790499407/bazaar-icons/a4b778c1570bc6b8.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "arguments": {
                "client_seed": "agent-42",
                "count": 5,
                "max": 6,
                "min": 1,
                "numbers": [
                  3,
                  4,
                  3,
                  5,
                  3
                ],
                "server_seed": "3f9a1c7e5b2d4086a1f3e5c7b9d0f2a4c6e8b1d3f5a7c9e0b2d4f6a8c0e2b4d6",
                "server_seed_hash": "b85ef21a5deba1bcd033f7eb675b391cf40ce04d63d5e3da39ed9f61f27180b8"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "ok": true,
              "outil": "fair_verify",
              "resultat": {
                "algorithm": "swoge-hmac-sha256-v1",
                "count": 5,
                "hash_matches": true,
                "max": 6,
                "min": 1,
                "numbers": [
                  3,
                  4,
                  3,
                  5,
                  3
                ],
                "numbers_match": true,
                "server_seed_hash_computed": "b85ef21a5deba1bcd033f7eb675b391cf40ce04d63d5e3da39ed9f61f27180b8"
              },
              "texte": "Hash matches. Numbers: 3, 4, 3, 5, 3 (match the claimed draw)."
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "arguments": {
                      "properties": {
                        "client_seed": {
                          "type": "string"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "max": {
                          "type": "integer"
                        },
                        "min": {
                          "type": "integer"
                        },
                        "nonce": {
                          "type": "integer"
                        },
                        "numbers": {
                          "items": {
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        "scheme": {
                          "enum": [
                            "swoge-hmac-sha256-v1",
                            "swoge-casino-shoe"
                          ],
                          "type": "string"
                        },
                        "server_seed": {
                          "type": "string"
                        },
                        "server_seed_hash": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "server_seed",
                        "client_seed"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "arguments"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "ok": {
                      "const": true,
                      "type": "boolean"
                    },
                    "outil": {
                      "const": "fair_verify",
                      "type": "string"
                    },
                    "resultat": {
                      "properties": {
                        "algorithm": {
                          "type": "string"
                        },
                        "cards": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "count": {
                          "type": "number"
                        },
                        "deck": {
                          "items": {
                            "type": "number"
                          },
                          "type": "array"
                        },
                        "hash_matches": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "max": {
                          "type": "number"
                        },
                        "min": {
                          "type": "number"
                        },
                        "nonce": {
                          "type": "number"
                        },
                        "numbers": {
                          "items": {
                            "type": "number"
                          },
                          "type": "array"
                        },
                        "numbers_match": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "server_seed_hash_computed": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "algorithm",
                        "server_seed_hash_computed",
                        "hash_matches"
                      ],
                      "type": "object"
                    },
                    "texte": {
                      "type": "string"
                    },
                    "x402": {
                      "properties": {
                        "amount": {
                          "type": "string"
                        },
                        "asset": {
                          "type": "string"
                        },
                        "network": {
                          "type": "string"
                        },
                        "transaction": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "transaction",
                        "network",
                        "amount",
                        "asset"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "ok",
                    "outil"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "eip2612GasSponsoring": {
        "info": {
          "description": "The server accepts an EIP-2612 permit to the canonical Permit2 contract (value = the exact payment amount) and pays the gas.",
          "version": "1"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "amount": {
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "asset": {
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "deadline": {
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "from": {
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "nonce": {
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "signature": {
              "pattern": "^0x[a-fA-F0-9]+$",
              "type": "string"
            },
            "spender": {
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "version": {
              "pattern": "^[0-9]+(\\.[0-9]+)*$",
              "type": "string"
            }
          },
          "required": [
            "from",
            "asset",
            "spender",
            "amount",
            "nonce",
            "deadline",
            "signature",
            "version"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "web-production-220a3.up.railway.app",
    "manifest_name": "web-production-220a3.up.railway.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "ok": true,
      "outil": "string",
      "resultat": {
        "algorithm": "string",
        "cards": [
          "string"
        ],
        "count": 0,
        "deck": [
          0
        ],
        "hash_matches": true,
        "max": 0,
        "min": 0,
        "nonce": 0,
        "numbers": [
          0
        ],
        "numbers_match": true,
        "server_seed_hash_computed": "string"
      },
      "texte": "string",
      "x402": {
        "amount": "string",
        "asset": "string",
        "network": "string",
        "transaction": "string"
      }
    },
    "type": "string"
  }
}