Proves a statement about a stipend_pool allowance (Groth16 disclose circuit)
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.h081.xyz/v1/x402/prove/disclose
| Category | Market data |
|---|---|
| Provider host | api.h081.xyz |
| Networks | solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | 243 ms | |
| 2026-11-26 | valid payment request | 402 | 267 ms | |
| 2026-11-25 | valid payment request | 402 | 327 ms | |
| 2026-11-24 | valid payment request | 402 | 272 ms | |
| 2026-11-23 | valid payment request | 402 | 321 ms | |
| 2026-11-22 | valid payment request | 402 | 256 ms | |
| 2026-11-21 | valid payment request | 402 | 583 ms | |
| 2026-11-20 | valid payment request | 402 | 250 ms | |
| 2026-11-19 | valid payment request | 402 | 252 ms | |
| 2026-11-18 | valid payment request | 402 | 542 ms | |
| 2026-11-17 | valid payment request | 402 | 261 ms | |
| 2026-11-16 | valid payment request | 402 | 269 ms | |
| 2026-11-15 | valid payment request | 402 | 255 ms | |
| 2026-11-14 | valid payment request | 402 | 280 ms | |
| 2026-11-13 | valid payment request | 402 | 525 ms | |
| 2026-11-12 | valid payment request | 402 | 494 ms | |
| 2026-11-11 | valid payment request | 402 | 275 ms | |
| 2026-11-10 | valid payment request | 402 | 520 ms | |
| 2026-11-09 | valid payment request | 402 | 498 ms | |
| 2026-11-08 | valid payment request | 402 | 279 ms | |
| 2026-11-07 | valid payment request | 402 | 275 ms | |
| 2026-11-06 | valid payment request | 402 | 637 ms | |
| 2026-11-05 | valid payment request | 402 | 521 ms | |
| 2026-11-04 | valid payment request | 402 | 499 ms | |
| 2026-11-03 | valid payment request | 402 | 562 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$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",
"allowanc