Skip to content
Prototype · demo records are simulated, the trusted setup is single-contributor · Make a proof, no wallet needed

API

Public endpoints. Read-only, rate limited, no keys.

MethodPathWhat it does
POST/api/verify-onchainBody {"a":[x,y],"b":[[x1,x0],[y1,y0]],"c":[x,y],"signals":[8 decimals]} (Solidity order). Runs ZkrynSealVerifier.verifyProof on Robinhood Chain via eth_call (the deployed verifier, or its bytecode under a code override). 20 per minute per network. The body has no amount field; none exists.
GET/api/rulesEvery rule and seal from ZkrynGateBook's events, whole history, gaps reported.
POST/api/dryruncreateRule as an eth_call (from, asset, threshold, issuerAx, issuerAy, notBefore, notAfter, maxAge, label): the rule number it would get, or the refusal, plus the calldata. Nothing is sent.
GET/api/proofChain id from the RPC, latest block, contract addresses with code, event counts, circuit file hashes and setup facts, commit.
GET/api/healthShort liveness answer: chain id and commit.
GET/api/chainHead block, gas price, Chainlink ETH/USD, contract code and the rule assets' live identity.
POST/api/rpcRead-only JSON-RPC relay for this site's own calls (allowlisted targets, gas cap, budget per network).
GET/zk/manifest.jsonCircuit, Powers of Tau source and hash, contribution hash, sha256 of every prover file.
GET/llms.txtPlain-text summary for agents and crawlers.

A verification link is https://zkryn.xyz/verify/<code>, where the code is base64url of 578 bytes: version, the proof (8 words), the eight public signals and a 65-byte binding signature. Decode it with src/lib/zk/pack.ts.