{"slug":"api-h081-xyz-v1-x402-prove-disclose-c54edf","title":"Proves a statement about a stipend_pool allowance (Groth16 disclose circuit)","host":"api.h081.xyz","method":"POST","resource":"https://api.h081.xyz/v1/x402/prove/disclose","category":"market","description":"Proves a statement about a stipend_pool allowance (Groth16 disclose circuit): remaining at least, lifetime spend at most or window spend at most a bound, for an audience, as of a root the pool knows. Input: the allowance figures and policy (the prover sees them), its Merkle path, the bound and the a","price_listed":null,"price_asked":null,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":272,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"allowance":{"agentPk":"0x2c3d4e5f","asset":"0x1111111111111111111111111111111111111111","pledgePaid":"0","policy":{"expiry":"0","lender":"0","lifetimeCap":"1000","maxPerTx":"0","ownerPk":"0x6a7b8c9d","pledgeBps":"0","recipientRoot":"0","streamRate":"0","streamStart":"0","windowCap":"0","windowLen":"86400"},"remaining":"640","rho":"0x4e5f6a7b","windowId":"0","windowSpent":"0"},"audience":"77","bound":"600","kind":"remainingAtLeast","path":{"pathElements":["0x8c9d0e1f","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0"],"pathIndices":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"root":"0x1a2b3c4d"},"bodyType":"json","discoverable":true,"method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"allowance":{"additionalProperties":false,"properties":{"agentPk":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"asset":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"pledgePaid":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"policy":{"additionalProperties":false,"properties":{"expiry":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"lender":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"lifetimeCap":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"maxPerTx":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"ownerPk":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"pledgeBps":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"recipientRoot":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"streamRate":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"streamStart":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"windowCap":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"windowLen":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"}},"required":["lifetimeCap","windowCap","windowLen","maxPerTx","expiry","recipientRoot","ownerPk","streamRate","streamStart","lender","pledgeBps"],"type":"object"},"remaining":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"rho":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"windowId":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"windowSpent":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"}},"required":["asset","remaining","agentPk","windowId","windowSpent","rho","pledgePaid","policy"],"type":"object"},"audience":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"bound":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"kind":{"enum":["remainingAtLeast","spentAtMost","windowSpentAtMost"],"type":"string"},"path":{"additionalProperties":false,"properties":{"pathElements":{"items":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"maxItems":20,"minItems":20,"type":"array"},"pathIndices":{"items":{"enum":[0,1],"type":"integer"},"maxItems":20,"minItems":20,"type":"array"}},"required":["pathIndices","pathElements"],"type":"object"},"root":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"},"windowId":{"pattern":"^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$","type":"string"}},"required":["root","kind","bound","audience","allowance","path"],"type":"object"},"bodyType":{"const":"json"},"discoverable":{"type":"boolean"},"method":{"const":"POST"},"type":{"const":"http"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"args":{"type":"object"},"payload":{"type":"string"},"policyHash":{"type":"string"},"proof":{"type":"object"},"publicSignals":{"items":{"type":"string"},"type":"array"}},"required":["proof","publicSignals","args","payload","policyHash"],"type":"object"},"type":{"const":"json"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":243,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":267,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":327,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":272,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":321,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":256,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":583,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":250,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":252,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":542,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":261,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":269,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":255,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":280,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":525,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":494,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":275,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":520,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":498,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":279,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":275,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":637,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":521,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":499,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":null,"price_match":null,"latency_ms":562,"error":null}],"description_full":"Proves a statement about a stipend_pool allowance (Groth16 disclose circuit): remaining at least, lifetime spend at most or window spend at most a bound, for an audience, as of a root the pool knows. Input: the allowance figures and policy (the prover sees them), its Merkle path, the bound and the audience; no spending key. Output: the proof, its public signals and the payload for verify_disclosure. The H081 private bank is live on Solana mainnet, not audited yet; use at your own risk.","last_updated":"2026-11-03T15:20:55.317Z","schemes":["exact"]}