verify_receipt
Verify Ed25519-signed citation receipts from LocalGov.jp: checks signature against official pubkey and expiry. Uses local crypto; optionally fetches live pubkey for trust anchoring.
Instructions
Verify an Ed25519-signed citation receipt previously issued by /api/cite/:grant_id. Confirms (a) signature matches LocalGov.jp pubkey, (b) receipt has not expired. Local crypto, no network. If pubkey is omitted, the live pubkey is fetched from /.well-known/citation-pubkey for trust anchoring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | The full receipt JSON envelope returned by /api/cite/:id | |
| expected_pubkey | No | Expected base64 Ed25519 public key. Omit to fetch the live key. |