Settlement Receipt API
Cryptographic settlement receipts with Ed25519 digital signatures for external verification and regulatory reporting.
Overview
Every settled transaction on JIL Sovereign produces a cryptographic receipt - a tamper-proof record signed by the validating nodes. Receipts serve as the canonical proof that a settlement occurred, who participated, what amount moved, and which compliance attestations were applied.
Receipts are independently verifiable by any party without needing access to the JIL network. An external auditor, regulator, or counterparty can verify a receipt using only the public Sovereign Compliance Network (SCN) validator keys and the receipt data itself.
Retrieve a Receipt
GET /v1/receipt/{tx_id}
Response
Receipt Hash Computation
The receipt hash is computed deterministically from the core transaction fields. This hash is then signed by validating nodes using Ed25519 to produce the receipt signature. Any party can recompute the hash from the receipt data and verify the signature against the SCN validator public keys.
Verification
GET /v1/receipt/{tx_id}/verify
Verification Response
The verification endpoint recomputes the receipt hash, validates each Ed25519 signature against the known SCN validator public keys, and confirms the receipt has not been tampered with. This process requires no authentication - anyone with the tx_id can verify the receipt.
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET |
/v1/receipt/{tx_id} |
Retrieve the full receipt for a transaction |
GET |
/v1/receipt/{tx_id}/verify |
Verify a receipt cryptographically |
GET |
/v1/receipt/batch |
Retrieve receipts for multiple transactions |