{"uid":"cap_96xWH0WunjdQLYmiWYaCA","slug":"provably-fair-draw-verification-45a3906e","name":"Provably-Fair Draw Verification","description":"Recompute a draw and check sha256(server_seed)==commit. ?round=1&client_seed=s&nonce=1&min=1&max=100","url":"https://pyfile-agent.taile3ff35.ts.net/data/fair/verify","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}}},"output":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KlIqjTSqJxhNMWHp0oBRa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Recomputes a provably-fair random draw and verifies that the server seed's SHA-256 hash matches the original commit, confirming the result was not manipulated.","exampleAgentPrompt":"Can you verify that round 1 of the draw was fair? The client seed is 'myseed', nonce is 1, and the range was 1 to 100 — I want to confirm the SHA-256 of the server seed actually matches the original commit.","exampleUseCases":[{"title":"Auditing a lottery draw result","prompt":"I need to verify that the lottery draw from round 5 was not manipulated. The client seed was 'abc123', nonce was 3, and the range was 1 to 1000 — can you check that the server seed's SHA-256 matches the commit?"},{"title":"Confirming fairness of a game outcome","prompt":"After our provably-fair dice game, I want to audit round 2 with client seed 'gamer42', nonce 7, and a range of 1 to 6 to make sure the result wasn't rigged — can you recompute and verify the hash?"},{"title":"Independent third-party fairness check","prompt":"We ran a provably-fair winner selection in round 10 with client seed 'event2024', nonce 1, min 1, max 500 — please independently recompute the draw and confirm the SHA-256 of the server seed matches the commitment we were given."}],"resultDescription":"Returns the recomputed draw result along with the SHA-256 hash of the server seed and a confirmation of whether it matches the original commit, allowing users to independently verify the fairness and integrity of the random draw.","failureModes":["Missing required query parameters (round, client_seed, nonce, min, max) result in a 400 error","Invalid or mismatched server seed causes verification failure","min value greater than max value returns an error","Non-integer values for round, nonce, min, or max may cause parsing errors","Server-side seed unavailable for the requested round returns a not-found error"],"whenToPreferThis":"Choose this endpoint when you need to cryptographically verify that a previously committed provably-fair random draw was not tampered with, specifically by checking that SHA-256(server_seed) equals the published commit. Ideal for auditing lottery outcomes, game results, or any randomness-dependent decision where integrity must be independently confirmed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T07:02:01.425Z","isFirstParty":false}