privacy-pool

Relay a withdrawal proof — we pay the gas

Build the PLONK proof client-side; your secret never leaves your machine. The recipient is bound inside the proof, so nobody (including us) can redirect the payout. Simulated before broadcast, so an invalid proof costs you a 400 rather than a failed transaction. Rate limited to 10/min. BETA: the withdrawal circuit is not independently audited. A hard on-chain deposit cap bounds the value at risk. Deposit only what you can afford to lose entirely.

post/api/pool/withdraw

Request

  • Base URL: https://api.anygas.xyz/svc
  • URL: https://api.anygas.xyz/svc/api/pool/withdraw
  • Auth: none declared

Request body

proofstring[] required

24 field elements in snarkjs plonk.exportSolidityCallData order

rootstring required
nullifierHashstring required
recipientstring required

Response

Broadcast; returns txHash and the amount paid

Changes

No recorded changes to this operation across all 1 revision of this API.