Merkle tree, merkle root
agent-data-tools.revmesh2074.workers.dev/merkle/tree
Merkle tree, merkle root. Build a Merkle tree for an allowlist or airdrop and get the root and a proof per entry, OpenZeppelin-compatible: values ABI-encoded by types (address,uint256 for airdrops), double-keccak leaves, sorted pairs, so proofs verify with MerkleProof.verify and the dump loads in StandardMerkleTree.load. Up to 2,000 values; proofs for the first 256 or the one you ask for. Ready by
GET
https://agent-data-tools.revmesh2074.workers.dev/merkle/treeUptime100% of 1 check 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/tree?values=%5B%5B%220x1111111111111111111111111111111111111111%22%2C%225000000000000000000%22%5D%2C%5B%220x2222222222222222222222222222222222222222%22%2C%222500000000000000000%22%5D%5D");
console.log(await res.json());Example input
{
"values": "[[\"0x1111111111111111111111111111111111111111\",\"5000000000000000000\"],[\"0x2222222222222222222222222222222222222222\",\"2500000000000000000\"]]"
}