Record deltas at the point of usage. PacSpace handles permanent storage and independent verification.
A single API call records a delta and returns a verifiable proof.
import { PacSpace } from '@pacspace-io/sdk'; const pac = new PacSpace({ apiKey: process.env.PACSPACE_API_KEY }); // Record usage as it happens const delta = await pac.balance.emit('cust_12345', -182, 'gpu_burst_capacity'); const { receiptId } = delta; // Derive the verifiable balance at any time const balance = await pac.balance.derive('cust_12345');
When a delta is verified, we deliver a signed webhook to your endpoint. Your records update automatically. No polling. No guessing.
{
"event": "delta.verified",
"timestamp": "2026-02-10T14:32:01Z",
"data": {
"receiptId": "rcpt_a1b2c3d4e5f6",
"deltaIndex": 1042,
"status": "verified",
"delta": {
"customerId": "cust_8xKj2m",
"amount": -182,
"reason": "gpu_burst_capacity",
"referenceId": "job_abc123"
},
"proof": {
"proofHash": "0x8f3a9b2c...",
"contentHash": "0x2d4e7f1a..."
},
"verification": {
"verified": true,
"latencyMs": 1204,
"discrepancies": []
}
}
}
delta
Your event data, delivered privately back to you to populate your records.
proof
The fingerprint on the permanent ledger. This is all that's on the public record.
Every webhook is signed and independently verifiable. Your systems verify, process, and move on. Scale verification to millions of events without scaling your team.
X-PacSpace-Signature
v1=5a2f8c3d...
X-PacSpace-Timestamp
1739270400000
X-Webhook-Event
delta.verified
X-Event-ID
evt_1739270400000_abc123
One API call to your first verified delta.