We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Calls GET /v2/version. GetVersion uses paramsSchema: z.void() — call await canton.ledger.getVersion() with no arguments.
/v2/version
GetVersion
paramsSchema: z.void()
await canton.ledger.getVersion()
Receiver: await canton.ledger.getVersion()
import { Canton } from '@fairmint/canton-node-sdk'; const canton = new Canton({ network: 'devnet', provider: '5n', partyId: 'OWN_PARTY_ID', });
const v = await canton.ledger.getVersion();
No parameters — ().
()
GetLedgerApiVersionResponse
Structured version fields (version, major, minor, additional metadata subsets Canton publishes).
version
major
minor
additional
Bearer token identical REST LedgerJsonApiClient surfaces typically exposing participant introspection widely permitted authenticated callers.
LedgerJsonApiClient
operations/v2/version/get.ts