Canton Node SDK
Features & benefits
Why use @fairmint/canton-node-sdk — with pointers to the full reference.
Developer experience
- Full TypeScript — request / response shapes for Ledger, Validator, and Scan operations.
- Unified or modular — use
Cantonfor one config surface, or constructCantonRuntime+ a single client. - Env-first config —
EnvLoadermaps conventional env vars toCantonConfig.
Security & operations
- OAuth2 —
AuthenticationManagerhandles token fetch and refresh for client-credentials flows. - Structured errors —
CantonErrorhierarchy (Configuration,Authentication,Api,Validation,Network) plusErrorCodewhere available. - Logging — inject a logger and enable
debugfor verbose traces.
Coverage
- Ledger JSON API v2 — commands, ACS, packages/DAR, updates, users/rights, identity providers, interactive submission, streams — see Reference (LedgerJsonApiClient group).
- Validator API — wallet, transfers, scan-proxy reads, topology — Reference (Validator group).
- Scan API — generated reads and endpoint helpers — Reference (Scan group).
- Utilities — parties, Amulet, traffic, external signing, mining, parsers — filter the Reference table.