$0.005
per call · USD Coin on Base
Keccak Merkle proof verifier — validate inclusion plus exact leaf index and count proof shape for the Atlas sorted-pair tree profile.
Endpoint
POST https://chain-tools.use.x402atlas.com/merkle/verify3
Calls / 30d
2
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://chain-tools.use.x402atlas.com/merkle/verify", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"index": 2,
"leaf": "0x67616d6d61",
"leaf_count": 3,
"proof": [
{
"hash": "0xbfa0350c48ccd55fb3a8315a6d6bfc41877772eaebfcba73cb195984df5b3d32"
}
],
"root": "0x40a0fa2d0ce898ef138c3403645be77705df9d485ecc137b02b35eb9fdeaaf94"
}),
});
const data = await res.json();curl -X POST \
"https://chain-tools.use.x402atlas.com/merkle/verify" \
-H "Content-Type: application/json" \
-d '{"index":2,"leaf":"0x67616d6d61","leaf_count":3,"proof":[{"hash":"0xbfa0350c48ccd55fb3a8315a6d6bfc41877772eaebfcba73cb195984df5b3d32"}],"root":"0x40a0fa2d0ce898ef138c3403645be77705df9d485ecc137b02b35eb9fdeaaf94"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"algorithm_version": "keccak256-sorted-pairs-v1",
"index": 2,
"leaf": "0x67616d6d61",
"leaf_count": 3,
"leaf_hash": "0xe51a809d0bd7c39f11aa7f9ff0ba85099028c7d56f42313f3bb5495a7b967146",
"operation": "merkle-verify",
"root": "0x40a0fa2d0ce898ef138c3403645be77705df9d485ecc137b02b35eb9fdeaaf94",
"valid": true,
"warnings": []
}Payment details
0x8c128f1ee62bb5e47867cfbae2ad89be325df1b2USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from EVM & Solana Utility Tools & similar services
EVM & Solana Utility Tools · Solana PDA
chain-tools.use.x402atlas.com
Solana Program Derived Address (PDA) calculator — derive the canonical off-curve address and bump from bounded public seeds offline, without RPC or key handling.
EVM & Solana Utility Tools · Merkle Build
chain-tools.use.x402atlas.com
Keccak Merkle tree and proof builder — generate indexed sorted-pair inclusion proofs with domain separation and explicit odd-node promotion.
EVM & Solana Utility Tools · EVM Create2
chain-tools.use.x402atlas.com
CREATE2 deterministic contract address calculator — derive the EIP-1014 EVM deployment address, preimage, hashes, and EIP-55 checksum offline without RPC.