{"uid":"cap_DCPtH4P9EU56IbR5KnS_Q","slug":"swogeagentic-fair-commit-commit-phase-b9334fd4","name":"SwogeAgentic Fair Commit (Commit Phase)","description":"Use this before any draw other players must trust (a game between agents, a raffle, a giveaway): the server picks a secret seed and publishes its SHA-256 hash now, so it cannot change the seed later. 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).","url":"https://web-production-220a3.up.railway.app/agentic/call/fair_commit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"arguments":{"type":"object","properties":{}}}},"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_2ACOrbmi8dePkuKifZyOa","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":"Generates a secret random seed and publishes its SHA-256 hash as a tamper-proof commitment for verifiably fair draws, raffles, and giveaways between agents.","exampleAgentPrompt":"I'm running a raffle between several agents and need to prove the draw is fair — can you generate a tamper-proof seed commitment so everyone can see the hash before we reveal the winner?","exampleUseCases":[{"title":"Provably fair agent-vs-agent game","prompt":"We're about to do a coin-flip game between two AI agents and both sides need to trust the outcome — can you start a fair commit so neither side can cheat by changing the seed after seeing the other's move?"},{"title":"Community giveaway with public proof","prompt":"I'm running a token giveaway for my community and want to prove the winner was chosen fairly — can you publish a seed hash right now so everyone can verify I didn't rig the draw?"},{"title":"On-chain raffle initialization","prompt":"Before I pick the winning wallet in my on-chain raffle, I need to lock in a random seed that I provably can't change — can you generate and publish the SHA-256 commitment for that seed?"}],"resultDescription":"The endpoint returns a server-generated secret seed's SHA-256 hash (the commitment). This hash is published immediately and cryptographically binds the server to a specific seed it cannot alter later. The reveal phase (fair_reveal endpoint) is used afterward to prove the seed matches the published hash.","failureModes":["Payment not received or insufficient USDC/USDG/$SWOGE balance — returns 402 Payment Required","Network or Railway hosting outage — endpoint unavailable","Malformed or missing request body — returns 400 Bad Request","Settlement cost not covered by provided payment — transaction rejected"],"whenToPreferThis":"Use this endpoint as the first step of any commit-reveal randomness scheme where multiple parties (agents, users, or smart contracts) need cryptographic proof that the random outcome was not manipulated after the fact. Prefer this over rolling your own randomness when you need an auditable, third-party-generated hash commitment for games, raffles, giveaways, or any multi-agent scenario requiring trust.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:30:18.945Z","isFirstParty":false,"canonicalSlug":"swogeagentic-fair-commit-commit-phase-b9334fd4"}