{"uid":"cap_BijsefWuCCT9KjRFI3jMA","slug":"delx-commerce-seeded-coin-flip-52acb5f9","name":"Delx Commerce Seeded Coin Flip","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/seeded-coin-flip?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","maxLength":8192,"description":"Seed supplied to Seeded Coin Flip; used only for this bounded calculation and processed in memory without retention."},"flips":{"type":"integer","description":"Flips supplied to Seeded Coin Flip; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"flips":["heads","heads","heads","heads","tails","tails","tails","heads"],"heads":5,"tails":3},"schema":"delx/util-seeded-coin-flip/v1","status":"pass","evidence":{"retained":false,"input_sha256":"e2c71a78a4e46fc961d346ebdb850d06889aaf4b959c10e3a8ad8cdb0a10a036","external_calls":0},"operation":"seeded_decision:seeded_coin_flip"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k3UFVffDJnD50Hr_65oUY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a deterministic, seeded coin flip simulation for a given number of flips, returning heads/tails results with verifiable evidence and no data retention.","exampleAgentPrompt":"Flip a coin 8 times using the seed 'morning42' and tell me how many heads and tails I get — I want results I can verify later.","exampleUseCases":[{"title":"Reproducible agent decision tiebreaker","prompt":"I need to break a tie between two options in my workflow — flip a coin 1 time using the seed 'tiebreak-run7' so I can verify the outcome was fair."},{"title":"Seeded randomness for game simulation","prompt":"Simulate 20 coin flips using the seed 'gamenight2025' and give me the full sequence of heads and tails plus the totals."},{"title":"Auditable randomness for contest winner","prompt":"Pick randomly between two contest entrants by flipping a coin once with the seed 'contest-july4' — I need proof the result wasn't tampered with."}],"resultDescription":"Returns a JSON object containing: an array of individual flip outcomes (e.g. ['heads','tails',...]), total heads count, total tails count, the operation schema identifier, a pass/fail status, and an evidence block with a SHA256 hash of the input, confirmation of no data retention, and zero external calls made — enabling full auditability of the result.","failureModes":["Seed string exceeds 8192 character limit — request rejected","Flips value is not an integer or is negative — malformed request error","Payment in USDC not provided or insufficient — 402 Payment Required response","Network or blockchain payment verification failure — transaction not confirmed","Malformed JSON body — 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need deterministic, reproducible coin flip results tied to a specific seed — especially when auditability and verifiability matter (e.g. agent decisions, contests, games). It is ideal for scenarios where you want proof that the result was computed fairly with no external calls and no data retained. Prefer it over true-random endpoints when reproducibility from the same seed is required, and over general LLM-generated randomness when you need a cryptographic evidence trail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:55.428Z","isFirstParty":false,"canonicalSlug":"delx-commerce-seeded-coin-flip-52acb5f9"}