POST Verify Merkle Proof
-------------------------------------------
OVERVIEW
-------------------------------------------
Endpoint: POST /api/v1/proof/verify
Method: POST
Authentication: Not Required
Rate Limit: 100 requests/minute
PURPOSE:
Verifies a Merkle proof before withdrawal to ensure the commitment exists in
the pool's Merkle tree.
-------------------------------------------
REQUEST BODY
-------------------------------------------
{
"poolId": "cipherx-bsc-01",
"commitment": "0x7c5b3a1d9e8f0c2b...",
"leafIndex": 847,
"merkleProof": ["0x9f8e7d6c5b4a3210...", "0x1a2b3c4d5e6f7a8b..."],
"merkleRoot": "0x5d4c3b2a1e0f9d8c..."
}
-------------------------------------------
EXAMPLE RESPONSE
-------------------------------------------
{
"success": true,
"verified": true,
"poolId": "cipherx-bsc-01",
"rootMatches": true,
"proofValid": true,
"canWithdraw": true,
"message": "Merkle proof is valid and ready for withdrawal"
}Last updated

