# StealthMark Merkle Airdrop Claim Verifier

> StealthMark Merkle Airdrop Claim Verifier is a paid API for AI agents from gateway.stealthmark.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-18).

Verifies Merkle tree airdrop claims for correctness, duplicate detection, and second-preimage attack vulnerability

## Facts

- Endpoint: POST https://gateway.stealthmark.io/x402/verify-merkle-airdrop-claim?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stealthmark-merkle-airdrop-claim-verifier-09b2bb77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DOja_Wk6aOtfR7Nzjo2B-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stealthmark-merkle-airdrop-claim-verifier-09b2bb77 -d '<json body>'
```

Example prompt: Can you verify these airdrop claims — accounts 0xABC for 500 tokens and 0xDEF for 1200 tokens — using double_hash leaf mode, and check if any are duplicates or if the Merkle tree is vulnerable to a second-preimage attack?

## When to prefer this

Use this endpoint when you need to cryptographically validate the integrity of a Merkle-tree-based airdrop claim list before or after deployment — especially when you need duplicate detection, second-preimage attack vulnerability checks, and Merkle root computation in a single call. Prefer this over manual off-chain scripts when auditability, speed, and security scanning (second-preimage) are all required simultaneously.

## Known failure modes

- Malformed account address causes validation error
- Missing required 'account' or 'amount' fields returns 400
- Invalid leaf_hash_mode value returns schema validation error
- Empty claims array may return unverified or error state
- Payment failure via x402 returns 402 before processing
- Large claim arrays may time out or be rate-limited

## How this service works

Autonomous Z3 Formal Invariant Prover (ERC-4626 Vaults, Polymarket Baskets, ZK Circuits, Differential Consensus) &amp; 100-Point Perimeter Security Gateway on Base Mainnet (x402 v2).

## Output

Returns a JSON object with: a boolean 'verified' field indicating overall validity, the 'computed_merkle_root' hash string, a list of 'duplicate_claims' (account addresses appearing more than once), a 'second_preimage_vulnerable' boolean flag indicating cryptographic weakness, 'total_airdrop_atomic' as the sum of all claim amounts, a 'check_type' string describing the validation performed, and a human-readable 'message'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "claims": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "account",
     "amount"
    ],
    "properties": {
     "index": {
      "type": "integer"
     },
     "amount": {
      "type": "integer"
     },
     "account": {
      "type": "string"
     }
    }
   }
  },
  "leaf_hash_mode": {
   "enum": [
    "double_hash",
    "single_hash",
    "raw_64_bytes"
   ],
   "type": "string",
   "default": "double_hash"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "message": {
   "type": "string"
  },
  "verified": {
   "type": "boolean"
  },
  "check_type": {
   "type": "string"
  },
  "duplicate_claims": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "computed_merkle_root": {
   "type": "string"
  },
  "total_airdrop_atomic": {
   "type": "integer"
  },
  "second_preimage_vulnerable": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stealthmark-merkle-airdrop-claim-verifier-09b2bb77/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stealthmark.io](https://www.zero.xyz/host/gateway.stealthmark.io/llms.txt)
