Skip to content

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 Canton for one config surface, or construct CantonRuntime + a single client.
  • Env-first configEnvLoader maps conventional env vars to CantonConfig.

Security & operations

  • OAuth2AuthenticationManager handles token fetch and refresh for client-credentials flows.
  • Structured errorsCantonError hierarchy (Configuration, Authentication, Api, Validation, Network) plus ErrorCode where available.
  • Logging — inject a logger and enable debug for 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.

Next