Merkle Tree Builder
security_merkle_treeBuild a keccak-256 sorted-pair merkle tree (OpenZeppelin convention) from a list of leaves and get the root plus a verification proof for any leaf — the standard construction for token airdrops and allowlists. Fully deterministic: same leaves, same root. Use this when an agent needs to root + proofs for airdrops and whitelists. x402 price $0.01/call (USDC, eip155:8453).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leaves | Yes | Leaves (one per line) | |
| proofFor | Yes | Exact line to generate the inclusion proof for |