Merkle proof verify
agent-data-tools.revmesh2074.workers.dev/merkle/verify
Merkle proof verify. Check 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.
GET
https://agent-data-tools.revmesh2074.workers.dev/merkle/verifyUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/merkle/verify?leaf=0xeb02c421cfa48976e66dfb29120745909ea3a0f843456c263cf8f1253483e283&proof=%5B%220xb92c48e9d7abe27fd8dfd6b5dfdbfb1c9a463f80c712b66f3a5180a090cccafc%22%5D&root=0xd4dee0beab2d53f2cc83e567171bd2820e49898130a22622b10ead383e90bd77");
console.log(await res.json());Example input
{
"leaf": "0xeb02c421cfa48976e66dfb29120745909ea3a0f843456c263cf8f1253483e283",
"proof": "[\"0xb92c48e9d7abe27fd8dfd6b5dfdbfb1c9a463f80c712b66f3a5180a090cccafc\"]",
"root": "0xd4dee0beab2d53f2cc83e567171bd2820e49898130a22622b10ead383e90bd77"
}