Merkle proof verify
merkle_verifyCheck a Merkle proof against a root, the way OpenZeppelin's MerkleProof.verify does on chain (sorted-pair keccak256): give the leaf hash, or the entry's values and their Solidity types (double-keccak OpenZeppelin leaf). Returns valid true or false and the root the proof leads to. Use before submitting an airdrop claim or to debug an allowlist mint. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leaf | Yes | The leaf hash, or the entry's fields (comma-separated or a JSON array) to hash with types | |
| root | Yes | The Merkle root (32-byte hex) | |
| proof | Yes | The proof: JSON array or comma-separated 32-byte hashes | |
| types | No | Solidity types of value's fields (default address,uint256) | |
| value | No | The entry's fields, instead of leaf (comma-separated or a JSON array) |