{"uid":"cap_vVDNRNSMh9evoLQM1rlCU","slug":"merkle-proof-verifier-0699a786","name":"Merkle Proof Verifier","description":"Verify a merkle proof against a root — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/merkle-verify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"hash":{"type":"string"},"leaf":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"root":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"proof":{}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"merkle-verify","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.003,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"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_UyFyW8APC5g-DhkrRH-zs","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":"Verifies whether a given leaf and proof are valid against a specified Merkle root hash","exampleAgentPrompt":"Can you verify that leaf 0x3a1b2c... is included in the Merkle root 0xd4e5f6... using this proof array I have?","exampleUseCases":[{"title":"Smart contract audit proof check","prompt":"I have a Merkle root 0xabc123...def456 and need to verify that leaf 0x789fed...012345 is legitimately part of the tree using the proof path I pulled from the contract — can you confirm the proof is valid?"},{"title":"NFT whitelist eligibility check","prompt":"Our NFT drop uses a Merkle whitelist. The root is 0xdeadbeef...cafe1234 — can you verify that address leaf 0x112233...aabbcc with its proof is actually on the whitelist before we let this user mint?"},{"title":"Airdrop claim validation","prompt":"Before processing this airdrop claim, please verify that leaf hash 0xfeed00...deadc0de is genuinely included in the Merkle root 0x001122...334455 using the merkle proof provided by the user."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating whether the proof is valid, a 'type' field set to 'merkle-verify', and a 'receipt' object containing the transaction hash, amount paid in USD, and a unique receipt ID, plus a generated_at ISO8601 timestamp.","failureModes":["Invalid leaf or root hash format (must be 0x-prefixed 64 hex chars) — returns 400 or validation error","Malformed or insufficient proof array — returns ok: false","Network or provider downtime — returns 5xx error","Payment failure via x402 protocol — request blocked before processing","Root/leaf mismatch with provided proof — returns ok: false with no error, just a negative result"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-call cryptographic Merkle proof verification without running your own node or merkle library. Especially useful in agentic pipelines verifying NFT whitelists, airdrop eligibility, or on-chain data inclusion proofs where you need a receipt for audit purposes. Prefer this over rolling your own verification when you need tamper-evident receipts tied to each verification call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:55.288Z","isFirstParty":false,"canonicalSlug":"merkle-proof-verifier-0699a786"}