# RadhikaChain ZK Merkle Proof Endpoint

> RadhikaChain ZK Merkle Proof Endpoint is a paid API for AI agents from x402.radhikachain.xyz, paid per call via x402, $8.58/call, status unknown (last checked 2026-09-13).

Returns a Poseidon-hashed Merkle root with depth and asymmetry statistics for verifiable membership proofs using audited Orchard/Zcash constants, without revealing the leaf or path.

## Facts

- Endpoint: GET https://x402.radhikachain.xyz/zk/merkle
- Price: $8.58/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/radhikachain-zk-merkle-proof-endpoint-afe6e6ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qIheUE-itenbkKUfW9bK1

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 radhikachain-zk-merkle-proof-endpoint-afe6e6ba
```

Example prompt: Can you compute a ZK Merkle proof using RadhikaChain's Poseidon-hashed tree — I need the Merkle root and depth for a membership proof without exposing the leaf or path, using the audited Orchard/Zcash constants?

## When to prefer this

Choose this endpoint when you need a privacy-preserving, audited Poseidon Merkle proof with Zcash Orchard-compatible constants (Halo2 circuit) and you require that the leaf and path remain fully private — only the root is returned. Prefer this over generic Merkle libraries when you need on-chain-compatible ZK proof parameters, pay-per-call pricing with no subscription, and a trustless setup via x402 on Base.

## Known failure modes

- Payment not included or invalid USDC amount returns 402 Payment Required
- Malformed request parameters return 400 Bad Request
- Service temporarily unavailable returns 503
- x402 facilitator timeout causes payment verification delay
- Invalid Base network chain ID in payment header causes rejection

## How this service works

Telemetria de cadena, inteligencia de defensa y computo verificable (Halo2, Nova, Plonky3). Pago por peticion en USDC nativo en Base (eip155:8453) mediante x402 v2 scheme exact; sin cuenta ni suscripcion. Catalogo canonico: GET /.well-known/x402.

## Output

Returns a JSON object containing: the Merkle tree depth (k=11 example), a success flag (ok), the Poseidon hash with audited Orchard/Zcash constants, an asymmetry score (e.g. 38), a privacy note confirming the leaf and path are not recorded or returned, and the tree depth (profundidad=4). Only the root is public; the witness is fully private.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": true
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "k": 11,
  "ok": true,
  "hash": "Poseidon · constantes auditadas Orchard/Zcash",
  "asimetria": 38,
  "privacidad": "la hoja y el camino no se registran ni se devuelven; solo la raiz es publica",
  "profundidad": 4
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/radhikachain-zk-merkle-proof-endpoint-afe6e6ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.radhikachain.xyz](https://www.zero.xyz/host/x402.radhikachain.xyz/llms.txt)
