← Market

X402 · Disclose

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.

POST https://api.h081.xyz/v1/x402/prove/disclose

0.02 USDC on Solana · payTo EGvxic665gsar6K3YsnuUH4qPTnv1Rb2rMu2F3GpkZGq

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Solana · 0.02 USDC · payTo EGvxic665gsar6K3YsnuUH4qPTnv1Rb2rMu2F3GpkZGq · via cdp · settles direct
{
  "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"
}
{
  "args": {
    "agentPk": "...",
    "audience": "77",
    "bound": "600",
    "kind": "0",
    "root": "...",
    "windowId": "0"
  },
  "payload": "base64 borsh(Proof, DiscloseArgs)",
  "policyHash": "...",
  "proof": {
    "curve": "bn128",
    "pi_a": [
      "...",
      "...",
      "1"
    ],
    "pi_b": [
      [
        "...",
        "..."
      ],
      [
        "...",
        "..."
      ],
      [
        "1",
        "0"
      ]
    ],
    "pi_c": [
      "...",
      "...",
      "1"
    ],
    "protocol": "groth16"
  },
  "publicSignals": [
    "...",
    "0",
    "600",
    "0",
    "...",
    "77"
  ]
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score64 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency220 ms
Paid calls (30d, on-chain)0 calls · 0 buyers
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://api.h081.xyz/v1/x402/prove/disclose · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "root",
    "kind",
    "bound",
    "audience",
    "allowance",
    "path"
  ],
  "properties": {
    "root": {
      "type": "string",
      "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
    },
    "kind": {
      "type": "string",
      "enum": [
        "remainingAtLeast",
        "spentAtMost",
        "windowSpentAtMost"
      ]
    },
    "bound": {
      "type": "string",
      "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
    },
    "audience": {
      "type": "string",
      "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
    },
    "windowId": {
      "type": "string",
      "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
    },
    "allowance": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "asset",
        "remaining",
        "agentPk",
        "windowId",
        "windowSpent",
        "rho",
        "pledgePaid",
        "policy"
      ],
      "properties": {
        "asset": {
          "type": "string",
          "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
        },
        "remaining": {
          "type": "string",
          "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
        },
        "agentPk": {
          "type": "string",
          "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
        },
        "windowId": {
          "type": "string",
          "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
        },
        "windowSpent": {
          "type": "string",
          "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
        },
        "rho": {
          "type": "string",
          "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
        },
        "pledgePaid": {
          "type": "string",
          "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
        },
        "policy": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "lifetimeCap",
            "windowCap",
            "windowLen",
            "maxPerTx",
            "expiry",
            "recipientRoot",
            "ownerPk",
            "streamRate",
            "streamStart",
            "lender",
            "pledgeBps"
          ],
          "properties": {
            "lifetimeCap": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            },
            "windowCap": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            },
            "windowLen": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            },
            "maxPerTx": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            },
            "expiry": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            },
            "recipientRoot": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            },
            "ownerPk": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            },
            "streamRate": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            },
            "streamStart": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            },
            "lender": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            },
            "pledgeBps": {
              "type": "string",
              "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
            }
          }
        }
      }
    },
    "path": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "pathIndices",
        "pathElements"
      ],
      "properties": {
        "pathIndices": {
          "type": "array",
          "minItems": 20,
          "maxItems": 20,
          "items": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          }
        },
        "pathElements": {
          "type": "array",
          "minItems": 20,
          "maxItems": 20,
          "items": {
            "type": "string",
            "pattern": "^(0x[0-9a-fA-F]{1,64}|[0-9]{1,78})$"
          }
        }
      }
    }
  }
}
Output schema
{
  "type": "object",
  "required": [
    "proof",
    "publicSignals",
    "args",
    "payload",
    "policyHash"
  ],
  "properties": {
    "proof": {
      "type": "object"
    },
    "publicSignals": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "args": {
      "type": "object"
    },
    "payload": {
      "type": "string"
    },
    "policyHash": {
      "type": "string"
    }
  }
}
curl -i -X POST 'https://api.h081.xyz/v1/x402/prove/disclose' \
  -H 'content-type: application/json' -d '{"root":"0x1a2b3c4d","kind":"remainingAtLeast","bound":"600","audience":"77","allowance":{"asset":"0x1111111111111111111111111111111111111111","remaining":"640","agentPk":"0x2c3d4e5f","windowId":"0","windowSpent":"0","rho":"0x4e5f6a7b","pledgePaid":"0","policy":{"lifetimeCap":"1000","windowCap":"0","windowLen":"86400","maxPerTx":"0","expiry":"0","recipientRoot":"0","ownerPk":"0x6a7b8c9d","streamRate":"0","streamStart":"0","lender":"0","pledgeBps":"0"}},"path":{"pathIndices":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"pathElements":["0x8c9d0e1f","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0","0x0"]}}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try-it needs an exact USDC-on-Base route that is verified payable; use your own x402 client or proxy_call.