cedulon_audit
Reconcile signed payment receipts with the rail extract to detect settlements missing a receipt. Returns 'balanced' when all align, or lists findings for discrepancies.
Instructions
Reconcile the in-process receipt chain and checkpoint against the rail extract. Returns audit: balanced or findings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trust | No | Rail key you hold out of band: { publicKeyPem, accountId?, railId?, windowStartMs?, windowEndMs? } | |
| manifest | No | A Trade Manifest you were presented with. Omit for a no-manifest deployment. Present without manifestTrust is unauthenticated-manifest. | |
| payeeTrust | No | Payee keys you hold out of band, keyed by payee: { "payee-1": publicKeyPem } | |
| issuerTrust | No | Issuer key(s) you hold out of band: { publicKeyPem: string | string[] }. Without it the audit checks this server's records against this server's own key. | |
| witnessTrust | No | Transparency log key you hold out of band: { publicKeyPem: string | string[] } | |
| manifestTrust | No | Manifest publisher key(s) you hold out of band: { publicKeyPem: string | string[] } | |
| extraSettlements | No | Optional extra extract rows, used to inject a bypass settlement in tests |