{"slug":"agentstoolshub-com-api-v1-security-merkle-tree-70f313","title":"Build a keccak-256 sorted-pair merkle tree (OpenZeppelin convention) from a list","host":"agentstoolshub.com","method":"GET","resource":"https://agentstoolshub.com/api/v1/security/merkle-tree","category":"market","description":"Build 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","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":236,"reported_calls_30d":3,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"leaves":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n0x70997970C51812dc3A010C7d01b50e0d17dc79C8\n0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"leaves":{"description":"Leaves (one per line)","type":"string"},"proofFor":{"description":"Exact line to generate the inclusion proof for","type":"string"}},"required":["leaves"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":236,"error":null}],"description_full":"Build 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.","last_updated":"2026-10-17T04:24:20.041Z","schemes":["exact"]}