{"uid":"cap_DOja_Wk6aOtfR7Nzjo2B-","slug":"stealthmark-merkle-airdrop-claim-verifier-09b2bb77","name":"StealthMark Merkle Airdrop Claim Verifier","description":"Autonomous Z3 Formal Invariant Prover (ERC-4626 Vaults, Polymarket Baskets, ZK Circuits, Differential Consensus) &amp; 100-Point Perimeter Security Gateway on Base Mainnet (x402 v2).","url":"https://gateway.stealthmark.io/x402/verify-merkle-airdrop-claim?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"claims":{"type":"array","items":{"type":"object","required":["account","amount"],"properties":{"index":{"type":"integer"},"amount":{"type":"integer"},"account":{"type":"string"}}}},"leaf_hash_mode":{"enum":["double_hash","single_hash","raw_64_bytes"],"type":"string","default":"double_hash"}}},"responseSchema":{"type":"json","example":{"message":{"type":"string"},"verified":{"type":"boolean"},"check_type":{"type":"string"},"duplicate_claims":{"type":"array","items":{"type":"string"}},"computed_merkle_root":{"type":"string"},"total_airdrop_atomic":{"type":"integer"},"second_preimage_vulnerable":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jHjQgYZeJCnHS5uYQ7zgj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies Merkle tree airdrop claims for correctness, duplicate detection, and second-preimage attack vulnerability","exampleAgentPrompt":"Can you verify these airdrop claims — accounts 0xABC for 500 tokens and 0xDEF for 1200 tokens — using double_hash leaf mode, and check if any are duplicates or if the Merkle tree is vulnerable to a second-preimage attack?","exampleUseCases":[{"title":"Pre-launch airdrop integrity audit","prompt":"Before we deploy our ERC-20 token airdrop contract, verify this list of 50 claims — each with account address and amount — using double_hash leaf mode, and tell me if there are any duplicates or second-preimage vulnerabilities in the Merkle tree."},{"title":"Duplicate claim fraud detection","prompt":"I suspect some wallet addresses appear more than once in our airdrop distribution. Can you check these claims with accounts and amounts and flag any duplicate claims using single_hash leaf mode?"},{"title":"Post-airdrop Merkle root reconciliation","prompt":"We finished an airdrop and want to reconcile the on-chain Merkle root. Run these claim records through the verifier using double_hash mode and return the computed Merkle root so we can compare it to what's in the contract."}],"resultDescription":"Returns a JSON object with: a boolean 'verified' field indicating overall validity, the 'computed_merkle_root' hash string, a list of 'duplicate_claims' (account addresses appearing more than once), a 'second_preimage_vulnerable' boolean flag indicating cryptographic weakness, 'total_airdrop_atomic' as the sum of all claim amounts, a 'check_type' string describing the validation performed, and a human-readable 'message'.","failureModes":["Malformed account address causes validation error","Missing required 'account' or 'amount' fields returns 400","Invalid leaf_hash_mode value returns schema validation error","Empty claims array may return unverified or error state","Payment failure via x402 returns 402 before processing","Large claim arrays may time out or be rate-limited"],"whenToPreferThis":"Use this endpoint when you need to cryptographically validate the integrity of a Merkle-tree-based airdrop claim list before or after deployment — especially when you need duplicate detection, second-preimage attack vulnerability checks, and Merkle root computation in a single call. Prefer this over manual off-chain scripts when auditability, speed, and security scanning (second-preimage) are all required simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:51:26.651Z","isFirstParty":false,"canonicalSlug":"stealthmark-merkle-airdrop-claim-verifier-09b2bb77"}