{"uid":"cap_6Bwh7iQmLk68uhUcfytud","slug":"coinopselect-proof-commit-api-ddd02487","name":"CoinOpSelect Proof Commit API","description":"Paid on-chain token, wallet, contract and research data over x402 on Base.","url":"https://coinop.publicvm.com/api/v1/proof/commit?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string"},"method":{"type":"string"},"queryParams":{"type":"object","required":["value"],"properties":{"salt":{"type":"string","description":"Optional salt hex"},"value":{"type":"string","description":"Value to commit"}}}}},"output":{"type":"object","properties":{"salt":{"type":"string"},"commitment":{"type":"string"}}}}},"responseSchema":{"type":"json","example":{"salt":"hex","commitment":"hex"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PlSgPMtKIDmqyzoriiVt0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a cryptographic commitment (hash) for a given value, optionally with a salt, for use in on-chain proof protocols on Base.","exampleAgentPrompt":"Commit the value '0xdeadbeef' using CoinOpSelect's proof commit endpoint — give me back the commitment hex and the salt used, so I can use it in my on-chain reveal step.","exampleUseCases":[{"title":"Blind vote commitment on Base","prompt":"I need to commit my vote of 'option-A' before the reveal phase of the on-chain voting contract — can you generate a commitment hex with a random salt for the value 'option-A'?"},{"title":"Secret answer for a prediction market","prompt":"Before I submit my prediction to the smart contract, I need to commit the value '42' — generate a commitment and salt so I can store them and reveal later."},{"title":"Verifiable randomness seed commitment","prompt":"I want to commit to a random seed value 'f3a9c1' on-chain before the game starts — use the proof commit API and return the commitment hex and salt for me to record."}],"resultDescription":"Returns a JSON object with two hex-encoded fields: 'commitment' (the cryptographic hash of the value, optionally salted) and 'salt' (the hex salt used, either provided or auto-generated). These can be submitted to a smart contract as part of a commit-reveal protocol on Base.","failureModes":["Missing required 'value' query parameter returns an error","Invalid hex format for the 'salt' parameter may cause a parsing error","Payment failure via x402 (insufficient USDC balance or bad payment header) returns HTTP 402","Network or server unavailability on publicvm.com returns HTTP 5xx","Malformed 'type' or 'method' fields in the input object may return a 400 error"],"whenToPreferThis":"Choose this endpoint when you need a paid, on-chain-ready cryptographic commitment for a commit-reveal scheme on Base, and you want payment handled via x402 USDC microtransactions. Prefer it over generic hashing utilities when the result must integrate with CoinOpSelect's broader on-chain proof infrastructure or when you need a salt managed server-side.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:21:06.026Z","isFirstParty":false,"canonicalSlug":"coinopselect-proof-commit-api-ddd02487"}