07 — PIPs · PIP-0038
Proof of funds and reserves
A member attests that a subject holds at least an amount, never the balance. An issuer of a token, a pool or a member publishes its reserves against its liabilities, each reserve with evidence a third party checks, and a commitment to the liabilities each holder can check its own place in.
- Number
- PIP-0038
- Status
- draft
- Type
- Core
- Author
- PATH
- Date
- 2026-11-26
- Source
- On the register
Why
A tenant shows a landlord that it can pay the deposit; a traveller shows a consulate that it can pay its stay; a buyer shows a seller that it can pay the price. Each needs to prove one fact, at least this amount, and none needs to show its balance.
The same question, asked of an institution, is a proof of reserves: does an issuer of a token, a pool or a member hold at least what it owes. It is answered in public, at a date, with evidence a reader checks without the institution.
This PIP defines both. They share one rule: what is attested is a floor, never a balance.
Funds
{
"type": "path.funds",
"reference": "c9ra8jo0rtgp0z",
"issuer": "member-a",
"subject": "9f2c41a8-6d1e-4b07-9c3a-2e5f81d0a4b7",
"at_least": { "value": "5000", "asset_type": "fiat", "asset_code": "EUR" },
"basis": "available",
"as_of": "2026-11-26T09:00:00Z",
"held_until": null,
"issued_at": "2026-11-26T09:00:04Z",
"expires_at": "2026-12-26T09:00:00Z",
"status": "active",
"issued": { "…": "the envelope signed at issuance" }
}| Field | Rule |
|---|---|
| `issuer` | The member that holds the accounts. It attests only funds it holds for the subject |
| `at_least` | An Amount ([PIP-0006](/pips/0006)). The floor asked for, never the balance |
| `basis` | `available`: the funds were available to the subject at `as_of`. `held`: the issuer holds that amount for the subject until `held_until` |
| `as_of` | When the issuer measured the funds |
| `held_until` | With `held`, RFC 3339. The issuer keeps the amount unavailable to the subject until then, unless the attestation is revoked at the subject's request. `null` otherwise |
| `expires_at` | At most 30 days after `as_of` |
- Only funds in the asset of
at_leastcount, across the subject's accounts at the issuer. - The issuer signs a funds attestation only when the funds cover
at_leastatas_of. - A floor the issuer cannot attest answers
409 path.id.funds_not_attestable, whatever the reason. - A floor is asked by the person, in the issuer's product. A relying member reads a funds attestation the person shared under a reliance (PIP-0035) or presented (PIP-0036).
- A funds attestation is a PATH ID attestation: read at
GET /funds/{reference}with any member credential, revoked and expired as attestations are (PATH ID). It is not served at/path/{reference}.
Presented by the holder
The person may hold a funds attestation as a holder credential of PIP-0036, with vct: "path.funds" and no subject. A verifier that needs to know whose funds these are asks, in the same presentation, for the identity claims it needs. Both are bound to the same holder key.
Without the issuer learning the floor
In the second stage of PIP-0036, the issuer gives the holder a credential that commits to the funds at as_of, and the holder proves to a verifier that they are at least the floor the verifier asks. The verifier learns that the floor holds. The issuer learns neither the floor nor the verifier. The proof system is named by the later PIP of PIP-0036.
Reserves
{
"type": "path.reserves",
"reference": "84m5h8m0y26uyc",
"issuer": "member-a",
"entity": { "kind": "issuer", "asset": { "asset_type": "token", "asset_code": "EXUSD" } },
"as_of": "2026-11-25T23:59:59Z",
"liabilities": {
"total": { "value": "125000000", "asset_type": "fiat", "asset_code": "USD" },
"commitment": { "alg": "merkle-sum-sha256", "root": "4be1c7…", "leaves": 48213 }
},
"reserves": [
{
"class": "deposit",
"valued": { "value": "70000000", "asset_type": "fiat", "asset_code": "USD" },
"evidence": { "kind": "funds", "issuer": "member-c", "reference": "fd7q2k9m4x8v1n" }
},
{
"class": "token",
"valued": { "value": "58000000", "asset_type": "fiat", "asset_code": "USD" },
"fx": { "rate": "1", "source": "operator_quote" },
"evidence": { "kind": "chain", "network": "base", "addresses": ["0x…"], "block": 23817342 }
}
],
"coverage": "1.0240",
"assurance": { "kind": "self" },
"supersedes": "y2k8m4q7v9x3pz",
"issued_at": "2026-11-26T06:00:00Z",
"protocol_version": "0.2.0",
"signed_at": "2026-11-26T06:00:00Z",
"kid": "op_member_a_2026_01",
"signature": "…"
}| Field | Rule |
|---|---|
| `issuer` | The member that signs for the entity |
| `entity` | Whose reserves: `kind` and what it names, below |
| `as_of` | The time at which liabilities and reserves are measured |
| `liabilities.total` | What the entity owes, as an Amount |
| `liabilities.commitment` | A commitment to every liability, below |
| `reserves[]` | One entry per class of reserve |
| `reserves[].class` | `deposit`, `token`, `government_securities`, `money_market_fund`, `cash` |
| `reserves[].valued` | The value of the entry in the asset of `liabilities.total` |
| `reserves[].fx` | Required when the entry's own asset differs from that of `liabilities.total` |
| `reserves[].evidence` | What a reader checks, below |
| `coverage` | The sum of `valued`, divided by `liabilities.total`, with four decimal places |
| `assurance` | `self`, or `independent` with the examining party's report as a document attestation ([PIP-0037](/pips/0037)) |
| `supersedes` | The reference of the previous reserves attestation of the entity, or `null` |
Entities
| `entity.kind` | The entity | Names |
|---|---|---|
| `issuer` | The issuer of a token | `asset`, as in a capability ([PIP-0006](/pips/0006)) |
| `pool` | A pool of liquidity a member operates | `pool`, the member's reference for it |
| `member` | A member, for the funds it holds for its customers | `member`, its slug |
Evidence
| `evidence.kind` | A reader checks |
|---|---|
| `funds` | A `path.funds` attestation by the member that holds the account, with the entity as subject. It verifies against that member's keys |
| `chain` | The balance of `addresses` on the blockchain network `network`, at `block` |
| `document` | A document attestation ([PIP-0037](/pips/0037)): a custodian's statement, an examiner's report |
- Every reserve has evidence. A reserve that a reader cannot check is not counted in
coverage. - A
fundsevidence of a custodian member statesat_least, andvaluedis never above it.
The commitment to liabilities
- The entity builds a Merkle sum tree of its liabilities at
as_of: one leaf per holder, each carrying a salt and the holder's balance, and no identifier.rootcovers the balances and their sum. The sum equalsliabilities.total. - Each holder obtains from the entity, privately, the path from its leaf to
root, and checks that its balance is counted. - The entity gives a holder its own path only.
- A proof that every leaf is non-negative, without the tree, is reserved for the proof system of PIP-0036.
Publication
- A reserves attestation is public. It is served at
/path/<reference>without credential. - The entity publishes at the frequency the network's rulebook sets. Each publication names the previous one in
supersedes, and a reader follows the chain. - A reserves attestation found inaccurate is revoked, and answers
410 path.id.attestation_revoked. The next publication supersedes it.
Interface
| Call | Credential | Effect |
|---|---|---|
| `POST /funds` | Local member | `{ subject_id, at_least, basis, held_until }`, at the person's request. Answers the signed funds attestation, or `409 path.id.funds_not_attestable` |
| `GET /funds/{reference}` | Member | The execution-time read. Revoked and expired answer `410` |
| `POST /funds/{reference}/revoke` | Local member | Revokes it, and releases a hold |
| `POST /reserves` | Local member | Publishes a reserves attestation for an entity the member signs for |
| `GET /path/{reference}` | None | A reserves attestation |
| `POST /reserves/{reference}/revoke` | Local member | Revokes it |
The writes take Path-Idempotency-Key (PIP-0022). The discovery document gains endpoints.funds, endpoints.reserves, and path.reserves in capabilities.interop_types.
| Code | Status | When | What the caller does |
|---|---|---|---|
| `path.id.funds_not_attestable` | 409 | The issuer does not attest this floor for this subject | Tell the person |
| `path.id.attestation_revoked` | 410 | The funds or reserves attestation was revoked | Do not rely on it |
| `path.id.attestation_expired` | 410 | The funds attestation is past `expires_at` | Ask for a new one |
Conformance
| Profile | Requires |
|---|---|
| `PATH-ID.Funds` | A floor, never a balance; funds counted in the asset of the floor; one answer for every floor not attested; a floor asked only by the person |
| `PATH-ID.Reserves` | Evidence for every reserve counted; a Merkle sum commitment equal to the total; each holder's path given to that holder only; publications chained by `supersedes` |
Compatibility
Additive. New object types, new calls and one code. A reader that does not know path.reserves shows the upgrade prompt of PATH INTEROP.