Trancent Developer Documentation
Financial-grade double-entry ledger infrastructure as an API. Built for tokens, quotas, points, credits, and any economy that needs provable correctness.
What is Trancent?
Trancent is a balance engine — the ledger layer underneath your product’s economy. Every debit has a matching credit. Every event is immutable. Every balance is provable from first principles.
If your product tracks tokens, API quotas, loyalty points, in-game currency, or prepaid credits, Trancent gives you the infrastructure to ensure those balances are always correct — even under retries, concurrent writes, and duplicate webhooks.
Core guarantees
| Guarantee | Description |
|---|---|
| Sum-zero enforcement | Every journal entry must balance to zero before it is written. Validated at write time, not query time. |
| Idempotent writes | Retrying a request with the same externalId is always safe. Duplicate transactions are rejected with 409. |
| Immutable journal | Records are appended, never updated or deleted. Corrections are explicit reversals that become part of the audit trail. |
| Multi-tenant isolation | Each ledger is fully isolated by tenant. Unlimited ledgers and organizations on every plan. |
Quick links
- Getting Started — Create your first ledger and post a journal entry in 5 minutes
- Concepts — Balance drift, double-entry, period closes, and immutability explained- Authentication — API key format and HMAC-SHA256 request signing
- Journal Entries — Post, list, reverse, and query journal entries- Error Responses — RFC 9457 problem detail format used across all APIs
Base URLs
| Environment | URL |
|---|---|
| Service API | https://api.trancent.dev/v1 |