Expand description
Phase 19.3 – read-only regulatory API over the receipt store.
This module exposes a substrate-agnostic handler that accepts a
filter description, pulls receipts from a pluggable store, and
wraps the result in a signed envelope. Every response is a
SignedExportEnvelope signed with the kernel’s receipt-signing
keypair, so regulators can verify every export against the
kernel’s public key.
chio-http-core does not embed an HTTP server; substrate adapters
wire [handle_regulatory_receipts] into their framework-native
routing layer and forward query-string fields through
RegulatoryReceiptsQuery.
Structs§
- Regulator
Identity - Authorization surface for the regulatory API.
- Regulatory
Receipt Export - Body of a regulatory receipt export. Wrapped in a
SignedExportEnvelopeso the signature covers every field of the body. - Regulatory
Receipt Query Result - Raw query result handed back to the handler.
- Regulatory
Receipts Query - Query parameters for
GET /regulatory/receipts.
Enums§
- Regulatory
ApiError - Error surface returned by [
handle_regulatory_receipts].
Constants§
- MAX_
REGULATORY_ EXPORT_ LIMIT - Maximum number of receipts returned by one regulatory export.
- REGULATORY_
RECEIPT_ EXPORT_ SCHEMA - Stable schema identifier for regulatory receipt exports.
Traits§
- Regulatory
Receipt Source - Pluggable source for regulatory receipt queries.
Functions§
- handle_
regulatory_ receipts_ signed - Build, sign, and return a regulatory receipt export envelope.
- sign_
regulatory_ export - Sign a prebuilt export body with the kernel’s keypair. Exposed so callers that have already materialized the body elsewhere (e.g. a batch job) can produce a verifiable envelope without re-running the query pipeline.
- verify_
regulatory_ export - Verify a regulatory export envelope against the kernel’s public key.
Type Aliases§
- Signed
Regulatory Receipt Export - Signed envelope alias for regulatory receipt exports.