canton-ledger-api
Installation
SKILL.md
Canton Ledger API (gRPC)
Overview
The Ledger API is the primary interface for submitting commands and reading transactions, exposed by a validator's participant node over gRPC (and mirrored by the JSON API, which translates to it). It's the high-throughput choice for production backends because it avoids JSON serialization overhead.
What it provides
| Capability | Service(s) |
|---|---|
| Command submission | CommandService (submit-and-wait variants), CommandSubmissionService (async submit) |
| Update / transaction stream | UpdateService (GetUpdates, by-offset/by-id) |
| Active Contract Set / state | StateService (GetActiveContracts, GetLedgerEnd, connected synchronizers) |
| Command completions | CommandCompletionService (CompletionStream) |
| Events | EventQueryService (events by contract id) |
| Interactive submission | InteractiveSubmissionService (prepare/execute) — for external parties |
| Admin | PartyManagementService, UserManagementService, PackageManagementService, IdentityProviderConfigService, ParticipantPruningService |