Capability standard for Canton Ledger Client Libraries, including existing and upcoming functionality.
This page captures the Ledger Client Standard functionality that should be provided by fully conformant library implementations. It is written for developers who build Canton ledger client libraries.
This standard reflects Canton 3.5.
The Functionality Requirement column marks each capability as one of the following:
Required marks capabilities expected today.
Upcoming marks capabilities expected for upcoming iterations once the Ledger API provides the underlying functionality.
Codegen and bindings
Code generation and bindings convert Daml types into native types in the target language and connect them to Ledger API JSON and gRPC requests and to PQS.
Domain
Additional info
Functionality Requirement
Daml representation
Implementation contains a code-generating tool that is able to convert Daml types into the native representation in the target language. It must support - all serializable Daml types - interfaces - contract keys - dependencies
Required
JSON Codec
The tool extends the code-generated objects in the native language with methods to serialize and deserialize to JSON format required in the Ledger API JSON requests and responses
Required
gRPC Codec
The tool extends the code-generated objects in the native language with methods to serialize and deserialize to proto format required in the Ledger API gRPC requests and responses
Required
JSON Bindings
The library provides utility wrappers in the host languages that facilitate construction and bridge the interaction between the classes generated from Ledger API OpenAPI definitions and the classes code-generated from Daml
Required
gRPC Bindings
The library provides utility wrappers in the host languages that facilitate construction and bridge the interaction between the classes generated from Ledger API proto definitions and the classes code-generated from Daml
Required
PQS bindings
The library provides mechanisms that bridge the interaction between the table functions in PQS and the classes code-generated from Daml
Required
Basic infrastructure
Basic infrastructure covers the connection security, authorization, error handling, observability, retry, signing, and health-monitoring services that a library provides for every Ledger API call.
Domain
Additional info
Functionality Requirement
TLS
The library utilizes secure HTTP and gRPC connections using TLS. It supports mutual and server-side TLS.
Required
Authorization
The library supports client credential workflow to obtain and refresh OAuth tokens. It has the capability to inject the JWT tokens into the call context
Required
Error parsing and handling
The library has the ability to parse and process all types of errors returned by Ledger API. It supports - classification of errors into retriable and non-retriable - JSON and gRPC errors - extraction of the error code, message, request info, error info and other structured details such as contract ids, packages, party names etc.
Required
Tracing
The library handles tracing according to the OpenTelemetry standard and OTLP servers. It supports - creation and injection of trace ids into the headers of the requests - extraction of trace ids from the response - support JSON and gRPC requests - report the spans to the OpenTelemetry compatible OTLP server
Required
Retry logic
The library handles seamlessly the retry logic for Ledger API calls. It supports - retries on retriable errors only - timeouts - maximum number of retries
Required
Logging
The library is able to log using a standard library adequate for the host language. It supports - logging requests and responses - utilizes trace-ids - verbose logging of Ledger API errors - configurable log level sensitivity - configurable log destination - configurable log format
Required
Metrics
The library handles metrics according to OpenTelemetry standard It supports - sending metrics to the OTLP server - reporting vitals of the communication: number of requests and responses - breakdown by error and success - breakdown by endpoint
Required
Signing
The library supports signing algorithms that are needed in the externally signed Ledger API endpoints. It supports - KMS systems - keys provided in a file - all algorithms supported by Canton
Required
Node Health
The library supports monitoring node’s health letting the client applications respond to the intermittent and permanent failure situations.
Required
Commands
Command capabilities cover constructing and submitting Daml commands over the Ledger API, including internal and externally signed submission, deduplication, explicit disclosure, recovery, and batching.
Domain
Additional info
Functionality Requirement
JSON
The library facilitates construction and submission of Daml commands over the Ledger API JSON endpoint. It supports - create commands - exercise commands
Required
gRPC
The library facilitates construction and submission of Daml commands over the Ledger API gRPC endpoint. It supports - create commands - exercise commands
Required
Internal commands
The library uses the internal command submission endpoints. It supports - submit method - submitAndWait in all its forms
Required
External commands
The library uses externally signed command submission endpoints It supports - prepare method - execute method - executeAndWait in all its forms
Required
Deduplication
The library contains logic that allows client applications to send commands in a reliable fashion utilizing the built-in deduplicating provisions of the Ledger API. It supports - error handling - retries
Required
Command recovery
The library is capable of recovering pending command state after the crash utilizing command completion endpoint. It supports - recovery from participant crash - recovery from client crash - recovery from lost connection - recovery from a timeout
Required
Batching
The library is capable of creating batched Ledger API commands. For externally signed (interactive) submission, batches are currently limited to a single root command/node.
Required
Contract keys
The library uses Ledger API command submission provisions for contract keys. It supports - exercising choices by contract keys - prefetching of contract keys for accelerated execution
Required
Explicit disclosure
The library uses explicit disclosure to augment the submitted commands with additional contracts that the submitting party is not privy to.
Required
Pending set
The library keeps track of the contracts that are being operated on in a pending data set. It supports - keeping track of consuming exercises - keeping track of creates - keeping track of non-consuming exercises
Required
Package selection
The library allows selecting a particular package version preference for command submission in the package_id_selection_preference field.
Required
HA
The library supports command deduplication across multiple participants that host the same submitting parties.
Upcoming
Streams
Stream capabilities cover querying and subscribing to the Active Contract Set (ACS) and update streams, and recovering those streams after an interruption.
Domain
Additional info
Functionality Requirement
JSON
The library facilitates query construction and subscription to ACS and Update streams over the Ledger API JSON endpoint.
Required
gRPC
The library facilitates query construction and subscription to ACS and Update streams over the Ledger API gRPC endpoint.
Required
ACS streaming
The library uses streaming endpoints to retrieve the ACS for given parties and templates. It utilizes streaming endpoints in gRPC and websocket endpoints in JSON.
Required
ACS paging
The library uses paging endpoints to retrieve the ACS for given parties and templates. It utilizes paging in gRPC and JSON.
Required
Updates streaming
The library uses streaming endpoints to retrieve the updates for given parties and templates. It utilizes streaming endpoints in gRPC and websocket endpoints in JSON.
Required
Updates paging
The library uses paging endpoints to retrieve the updates for given parties and templates. It utilizes paging in gRPC and JSON.
Required
Reverse order
The library can serve data in reverse order utilizing appropriate Ledger API provisions.
Required
Interfaces
The library subscribes to and processes interface views
Required
Topology events
The library subscribes to and processes topology events
Required
In memory ACS
The library contains a component that keeps an in-memory copy of the Active Contract Set. It supports - parameterization by set of parties and templates - filters to limit the ACS to contracts with specific attributes - initiates from an ACS query and keeps current view by subscribing to update stream - interface views
Required
Resilient streams
The library can recover a stream after an interrupt from the last known location. It supports - recovery from the last offset - recovery from the last record time vector - recovery from the continuation token
Required
HA
The library can recover a stream transmission after a switch-over to a secondary participant. It supports - record time vectors - paging restarts
Upcoming
Parties
Party capabilities cover listing, creating, and modifying local, external, and decentralized parties through the Ledger API party management endpoints.
Domain
Additional info
Functionality Requirement
JSON
The library utilizes party management functionality of the Ledger API using JSON endpoints.
Required
gRPC
The library utilizes party management functionality of the Ledger API using gRPC endpoints.
Required
List parties
The library supports listing parties on the node using various filtering criteria.
Required
Local parties creation
The library can create parties local to the participant node. It takes advantage of self administration mode where party is automatically assigned to the requesting user.
Required
External parties creation
The library can create external parties. It supports - generate method - signing - allocate method - self administration mode
Required
Local parties modification
The library can change aspects of the party topology definition. In particular it supports - changing mapping of parties to participants - changing participant permission levels
Required
External parties modification
The library can change aspects of the party topology definition. In particular it supports - changing mapping of parties to participants - changing participant permission levels - changing keys responsible for transaction signing - change the signature threshold
Required
Decentralized party creation
The library can manage decentralized parties. In particular it supports - create a decentralized namespace - modify a decentralized namespace - changing participant permission levels - changing keys responsible for transaction signing - change the signature threshold
Required
Packages
Package capabilities cover uploading, validating, vetting, listing, and describing DAR packages, and selecting preferred packages for command submission.
Domain
Additional info
Functionality Requirement
JSON
The library utilizes package management functionality of the Ledger API using JSON endpoints.
Required
gRPC
The library utilizes package management functionality of the Ledger API using gRPC endpoints.
Required
Upload
The library facilitates the upload of the DAR packages to the participant using the Ledger API endpoints
Required
Validation
The library facilitates the validation of the DAR packages to the participant using the Ledger API endpoints
Required
Vetting
The library facilitates vetting of the required packages on the target participants and synchronizers. It is capable of computing the required vetting action from the current vetting state and the desired outcome.
Required
Listing
The library facilitates listing the packages on the participant using various criteria such as package names, ids, participants and synchronizers
Required
Package preference
Library facilitates the selection of the preferred packages for a command submission. It makes sure the preference conforms with the existing vetting state.
Required
Description
The library uses the Daml description service to request the descriptors of the Daml package and types from the participants
Required
Topology
Topology capabilities cover listing, constructing, signing, and submitting topology mappings such as namespace delegations, party-to-participant mappings, and vetted packages.
Domain
Additional info
Functionality Requirement
List mappings
The library enables the retrieval and inspection of current topology mappings. Users can apply precise list parameters to restrict search results based on specific mapping types or attributes.
Required
Mapping presentation
The library supports rendering of the topology mapping in a format idiomatic to the target programming language.
Required
Mapping construction
The library facilitates creation of new topology mappings by abstracting the underlying complexity of calculating state modifications relative to prior values.
Required
Mapping signing
The library supports signing of topology transactions.
Required
Mapping submission
The library facilitates submission of the signed topology transactions. It supports synchronous and asynchronous semantics.
Required
Namespace delegations
The library supports managing namespace delegations of all shapes
Required
Decentralized namespaces
The library supports managing decentralized namespace delegations of all shapes
Required
Owner to key mapping
The library supports managing owner to key mappings of all shapes
Required
Party to participant
The library supports managing party to participant mappings of all shapes
Required
Party to key mapping
The library supports managing party to key mappings of all shapes
Required
Vetted packages
The library supports managing vetted package mappings of all shapes
Required
Admin API and Ledger API support
Topology functionality is available today through the Admin API, with Ledger API support expected in an upcoming iteration.
Domain
Additional info
Functionality Requirement
Admin API
The library supports topology functionality exposed through the Admin API
Required
Ledger API
The library supports topology functionality exposed through the Ledger API
Upcoming
User
User capabilities let users inspect their own user record and administer the parties attached to their account.
Domain
Additional info
Functionality Requirement
Self-inspect
The library allows the users to pull own record to check permissions and other settings.
Required
Self-admin
The library allows the users to add and modify the parties attached to the user account.
Required
Traffic
Traffic capabilities cover estimating transaction traffic costs and listing, inspecting, selecting, and topping up the traffic accounts debited during command submission.
Domain
Additional info
Functionality Requirement
Traffic computation
The library processes the traffic cost estimations produced by the prepare transactions. It facilitates setting limits on transaction cost. It can convert the traffic cost expressed in the synchronizer units to local units of the validator
Required
Traffic account listing and inspecting
The library supports listing traffic accounts available to the user and inspecting the account balance
Required
Traffic account selection
The library facilitates selecting a traffic account to be debited during the command submission
Upcoming
Traffic top-up
The library facilitates the top up operation replenishing the traffic accounts with fresh credits
Required
Multi-synchronizer
Multi-synchronizer capabilities extend party, package, command, and stream handling to participants connected to more than one synchronizer.
Domain
Additional info
Functionality Requirement
Listing
The library lists connected synchronizers for the participant in general and for a party in particular
Required
Parties
The library allows managing party allocations and changing topology configurations across multiple synchronizers.
Required
Packages
The library allows users to maintain package vetting where the set of package versions vetted on each synchronizer is separately tailored for the needs of the application workflows.
Required
Commands
The library allows the clients to select the target synchronizer. It keeps track of it during command retries and in the completion processing.
Required
Streams
The library keeps track of the current synchronizer of the contract. It handles the out of order assign and unassign events putting them back in order distilling the most up to date contract state.
Required
Token Standard
Token Standard capabilities cover transfers, pre-approvals, allocations, and instrument inspection for templates and interfaces written to Token Standard V1 and V2.
Domain
Additional info
Functionality Requirement
One step transfers
The library supports workflows with one step transfers
Required
Pre-approvals
The library supports pre-approvals
Required
Allocate
The library supports trade allocations
Required
Transfer
The library supports asset transfers
Required
Instrument inspection
The library supports instrument inspection
Required
V1
The library supports interactions with interfaces and templates written according to Token Standard V1
Required
V2
The library supports interactions with interfaces and templates written according to Token Standard V2
Required
Documentation
Documentation requirements define the user manual, tutorials, examples, and reference material that a conformant library ships with.
Domain
Additional info
Functionality Requirement
User manual
The library is shipped with the comprehensive user manual that covers all functionality offered by the library. It must explain how to use each capability in this standard in the library’s language.
Required
Tutorials
The library is shipped with tutorials that demonstrate key interactions: - building applications - configuration - connecting to ledger - creating and managing users, parties - uploading and vetting packages - submitting commands using internal and external signing - maintaining ACS - interacting with PQS - managing traffic credits
Required
Examples
The library is shipped with example application(s) that showcases the capabilities and can be used as a blueprint for developers
Required
Reference
The library is shipped with a complete reference material where each class, method and function is explained.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Canton Network Docs","colors":{"primary":"#734BE2","light":"#A985FF","dark":"#7B59E8"},"logo":{"light":"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026auto=format\u0026n=OOy41G-b8QJx6Gkr\u0026q=85\u0026s=d5d59c10fc4ca9be021afb188db72e2f","dark":"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-white.svg?fit=max\u0026auto=format\u0026n=OOy41G-b8QJx6Gkr\u0026q=85\u0026s=820871bab1b1be90578959e03e4a3001","href":"/"},"favicon":"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026auto=format\u0026n=OOy41G-b8QJx6Gkr\u0026q=85\u0026s=d5d59c10fc4ca9be021afb188db72e2f","appearance":{"default":"system"},"footer":{"socials":{"x":"https://x.com/CantonNetwork","github":"https://github.com/canton-network","linkedin":"https://www.linkedin.com/company/canton-network","discord":"https://discord.gg/canton","telegram":"https://t.me/CantonNetwork1"},"links":[{"header":"Legal","items":[{"label":"Documentation License (CC-BY-4.0)","href":"https://creativecommons.org/licenses/by/4.0"},{"label":"Code License (Apache-2.0)","href":"https://www.apache.org/licenses/LICENSE-2.0"}]}]},"fonts":{"heading":{"family":"Inter","weight":700},"body":{"family":"Inter","weight":400}},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":true},"integrations":{"ga4":{"measurementId":"G-F2G1L137JX"},"cookies":{}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"instructions":"If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md."},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cantonfoundation","hasAudioNarration":false,"actualSubdomain":"cantonfoundation","customDomains":["docs.canton.network"],"gitSource":{"type":"github","owner":"canton-network","repo":"cf-docs","deployBranch":"main","contentDirectory":"docs-main","isPrivate":false,"mountPath":"","label":""},"feedback":{"contextualFeedback":{"allowEmail":true},"edits":true,"issues":true,"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0ea6118007c388aa2daf7a","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1006},{"language":"default","tag":"Packages","count":503},{"language":"default","tag":"Ledger API","count":449},{"language":"default","tag":"Services","count":283},{"language":"default","tag":"Splice APIs","count":272},{"language":"default","tag":"gRPC API","count":234},{"language":"default","tag":"Java Bindings","count":196},{"language":"default","tag":"Admin API","count":157},{"language":"default","tag":"com.daml.ledger.javaapi.data","count":151},{"language":"default","tag":"Release Notes","count":130}],"searchSettings":{"isFiltersEnabled":false,"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"type":"link","url":"https://forum.canton.network/"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":":root{--canton-highlight: #734BE2;--canton-highlight-rgb: 115, 75, 226;--canton-selected-bg: rgba(115, 75, 226, 0.10);--canton-hover-bg: rgba(115, 75, 226, 0.05);--canton-inline-highlight-bg: rgba(115, 75, 226, 0.14);--canton-inline-highlight-border: rgba(115, 75, 226, 0.26);--canton-product-selector-line: rgba(115, 75, 226, 0.70);--canton-product-selector-line-active: #734BE2;--canton-product-selector-divider: rgba(75, 85, 99, 0.16);--x2mdx-ref-canvas: #F6F8FB;--x2mdx-ref-sidebar: #FBFCFD;--x2mdx-ref-surface: #FFFFFF;--x2mdx-ref-text-strong: #11131A;--x2mdx-ref-text: #252937;--x2mdx-ref-text-muted: #6B7280;--x2mdx-ref-border: rgba(17, 19, 26, 0.08);--x2mdx-ref-accent-soft: #F3EEFF;--x2mdx-ref-neutral-soft: #F4F5F7;--x2mdx-ref-info: #1D4ED8;--x2mdx-ref-info-soft: #EDF5FF;--x2mdx-ref-success: #15803D;--x2mdx-ref-success-soft: #ECFBF0;--x2mdx-ref-danger: #B91C1C;--x2mdx-ref-danger-soft: #FFF1F1;--x2mdx-ref-warning: #B16305;--x2mdx-ref-warning-soft: #FFF8E4;--canton-font-family: 'Inter', system-ui, -apple-system, sans-serif}[data-theme=\"dark\"],:root.dark{--canton-highlight: #A985FF;--canton-highlight-rgb: 169, 133, 255;--canton-selected-bg: rgba(169, 133, 255, 0.25);--canton-hover-bg: rgba(169, 133, 255, 0.05);--canton-inline-highlight-bg: rgba(169, 133, 255, 0.22);--canton-inline-highlight-border: rgba(169, 133, 255, 0.34);--canton-product-selector-line: rgba(169, 133, 255, 0.70);--canton-product-selector-line-active: #A985FF;--canton-product-selector-divider: rgba(255, 255, 255, 0.10);--x2mdx-ref-canvas: #111115;--x2mdx-ref-sidebar: #111115;--x2mdx-ref-surface: rgba(17, 24, 39, 0.78);--x2mdx-ref-text-strong: #F3F4F6;--x2mdx-ref-text: #E5E7EB;--x2mdx-ref-text-muted: #D1D5DB;--x2mdx-ref-border: rgba(255, 255, 255, 0.08);--x2mdx-ref-accent-soft: rgba(169, 133, 255, 0.16);--x2mdx-ref-neutral-soft: rgba(156, 163, 175, 0.12);--x2mdx-ref-info: #93C5FD;--x2mdx-ref-info-soft: rgba(29, 78, 216, 0.22);--x2mdx-ref-success: #86EFAC;--x2mdx-ref-success-soft: rgba(21, 128, 61, 0.22);--x2mdx-ref-danger: #FCA5A5;--x2mdx-ref-danger-soft: rgba(185, 28, 28, 0.22);--x2mdx-ref-warning: #FCD34D;--x2mdx-ref-warning-soft: rgba(177, 99, 5, 0.22)}::selection{background-color:var(--canton-selected-bg);color:inherit}::-moz-selection{background-color:var(--canton-selected-bg);color:inherit}mark{background-color:var(--canton-inline-highlight-bg);color:inherit;border-radius:0.25rem;box-shadow:inset 0 0 0 1px var(--canton-inline-highlight-border);padding:0.08em 0.18em}[class*=\"sidebar\"] a:hover,nav a:hover{background-color:var(--canton-hover-bg)}#navigation-items .sidebar-group-header{margin-bottom:0.25rem;line-height:1.25}#navigation-items .sidebar-group li a,#navigation-items .sidebar-group li button{padding-top:0.25rem;padding-bottom:0.25rem;line-height:1.5}:root a[class*=\"bg-primary\"],:root a.text-primary{background-color:rgba(115, 75, 226, 0.08)!important;color:#734BE2!important}[data-theme=\"dark\"] a[class*=\"bg-primary\"],[data-theme=\"dark\"] a.text-primary{background-color:rgba(169, 133, 255, 0.10)!important;color:#A985FF!important}.nav-dropdown-products-selector-trigger{box-shadow:inset 0 0 0 1.5px var(--canton-product-selector-line)!important}.nav-dropdown-products-selector-trigger:hover,.nav-dropdown-products-selector-trigger[aria-expanded=\"true\"]{background-color:var(--canton-hover-bg)!important;box-shadow:inset 0 0 0 2px var(--canton-product-selector-line-active)!important}.nav-dropdown-products-selector-content>a[href=\"/api-reference\"]{border-top:1px solid var(--canton-product-selector-divider);box-sizing:border-box;margin-top:0.35rem;padding-top:0.35rem;width:100%}[class*=\"toc\"] a[class*=\"active\"],[class*=\"toc\"] a[aria-current],[class*=\"TableOfContents\"] a[class*=\"active\"],[class*=\"tableofcontents\"] a[class*=\"active\"],aside[class*=\"right\"] a[class*=\"active\"],[class*=\"on-this-page\"] a[class*=\"active\"]{background-color:transparent!important;color:var(--canton-highlight)!important;font-weight:500}[class*=\"toc\"] a:not([class*=\"active\"]),[class*=\"TableOfContents\"] a:not([class*=\"active\"]),[class*=\"tableofcontents\"] a:not([class*=\"active\"]),aside[class*=\"right\"] a:not([class*=\"active\"]),[class*=\"on-this-page\"] a:not([class*=\"active\"]){background-color:transparent!important}[class*=\"toc\"] a:hover,[class*=\"TableOfContents\"] a:hover,[class*=\"tableofcontents\"] a:hover,aside[class*=\"right\"] a:hover,[class*=\"on-this-page\"] a:hover{background-color:transparent!important;color:var(--canton-highlight)!important}#footer.advanced-footer>div{gap:1.25rem!important;padding-top:2rem!important;padding-bottom:2rem!important}@media (max-width: 767px){#footer.advanced-footer>div{gap:1rem!important;padding-top:1.5rem!important;padding-bottom:1.5rem!important}}a:not([class]){color:var(--canton-highlight)}.prose strong,.prose b,strong,b{font-weight:600!important}:root.dark .prose strong,:root.dark .prose b,[data-theme=\"dark\"] .prose strong,[data-theme=\"dark\"] .prose b,:root.dark strong,:root.dark b,[data-theme=\"dark\"] strong,[data-theme=\"dark\"] b{font-weight:400!important}a:not([class]):hover{color:var(--canton-highlight);opacity:0.8}:not(pre)>code{background-color:rgba(115, 75, 226, 0.10);border-radius:4px;padding:0.125em 0.25em}:root.dark :not(pre)>code,[data-theme=\"dark\"] :not(pre)>code{background-color:rgba(169, 133, 255, 0.20)}pre code::selection,pre code::-moz-selection{background-color:var(--canton-selected-bg)}[class*=\"card\"]:hover{border-color:var(--canton-highlight)}button[class*=\"bg-primary\"],a[class*=\"bg-primary\"]:not([class~=\"card\"]){background-color:var(--canton-highlight)}button[class*=\"bg-primary\"]:hover,a[class*=\"bg-primary\"]:not([class~=\"card\"]):hover{opacity:0.9}table tbody tr:hover{background-color:var(--canton-hover-bg)}[data-component=\"network-variables\"] [role=\"tablist\"]{gap:0.35rem!important;padding:0.35rem!important}[data-component=\"network-variables\"] [role=\"tab\"]{border:1px solid transparent!important;border-radius:0.5rem!important}[data-component=\"network-variables\"] [role=\"tab\"][aria-selected=\"false\"]{border-color:var(--canton-product-selector-divider)!important}[data-component=\"network-variables\"] [role=\"tab\"][aria-selected=\"true\"]{border-color:var(--canton-highlight)!important;box-shadow:inset 0 0 0 1px var(--canton-highlight)!important;color:var(--canton-highlight)!important}table:has(pre){display:block;overflow-x:visible}table:has(pre)>colgroup{display:none}table:has(pre)>tbody,table:has(pre)>thead{display:block}table:has(pre)>tbody>tr,table:has(pre)>thead>tr{display:block}table:has(pre) td,table:has(pre) th{display:block;width:100%!important;max-width:100%}table:has(pre) td>pre,table:has(pre) th>pre{max-width:100%;overflow-x:auto}[data-component-part=\"search-item\"][data-highlighted]{background-color:var(--canton-inline-highlight-bg);color:inherit}[data-component-part=\"search-item-content\"]{white-space:normal;overflow:visible;text-overflow:unset}[data-component-part=\"search-item-breadcrumbs\"]{font-size:10px;line-height:1.25}[data-component-part=\"search-item-breadcrumbs\"] svg{stroke-width:4}[data-component-part=\"search-item-breadcrumbs\"] svg path{stroke-width:4}:focus-visible{outline:2px solid var(--canton-highlight);outline-offset:2px}::-webkit-scrollbar-thumb:hover{background-color:var(--canton-highlight)}[data-theme=\"dark\"]{--canton-text-primary: #F5F5F5;--canton-text-secondary: #B0B0B0}button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *){background-color:transparent!important;border:1px solid rgba(209, 213, 219, 0.7)!important;border-radius:0.85rem!important;padding:0.375rem 0.875rem!important}button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *):hover{background-color:rgba(75, 85, 99, 0.05)!important}[data-theme=\"dark\"] button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *){border-color:rgba(255, 255, 255, 0.07)!important}button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *) svg{color:rgb(156, 163, 175)!important;stroke:rgb(156, 163, 175)!important}button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *):hover svg{color:rgb(75, 85, 99)!important;stroke:rgb(75, 85, 99)!important}[data-theme=\"dark\"] button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *) svg{color:rgb(75, 85, 99)!important;stroke:rgb(75, 85, 99)!important}[data-theme=\"dark\"] button[aria-haspopup=\"menu\"]:not(.nav-dropdown-trigger):not(#page-context-menu *):hover svg{color:rgb(156, 163, 175)!important;stroke:rgb(156, 163, 175)!important}.mermaid{--mermaid-primary-color: var(--canton-highlight)}div.group.relative.overflow-hidden:has(svg)>div.absolute.bottom-2.right-2{opacity:0.1;transition:opacity 200ms ease-in-out}div.group.relative.overflow-hidden:has(svg):hover>div.absolute.bottom-2.right-2,div.group.relative.overflow-hidden:has(svg):focus-within>div.absolute.bottom-2.right-2{opacity:1}div.todo{display:none}body:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #background-color{background-color:var(--x2mdx-ref-canvas)!important}body:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #navbar{border-bottom:1px solid var(--x2mdx-ref-border);background-color:var(--x2mdx-ref-surface)}body:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #sidebar{background-color:var(--x2mdx-ref-sidebar)}body:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #content-container{color:var(--x2mdx-ref-text-muted)}body:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #content-container :is(h1,h2,h3,h4,h5,h6){color:var(--x2mdx-ref-text-strong)}.x2mdx-ref-back{margin:0 0 0.75rem;font-size:0.9rem}.x2mdx-ref-back a{color:var(--canton-highlight);text-decoration:none}.x2mdx-ref-hero{display:grid;min-width:0;max-width:100%;gap:0.75rem;margin:0 0 1.4rem}.x2mdx-ref-hero>*{min-width:0;max-width:100%;overflow-wrap:anywhere}#content-container:has(.x2mdx-ref-page):not(:has(.x2mdx-ref-page--manual-api)) #page-title{display:none!important}#content-container:has(.x2mdx-ref-page) #header>.mt-2.text-lg.prose{display:none!important}.x2mdx-ref-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;margin:0 0 0.75rem;color:var(--x2mdx-ref-text-muted);font-size:0.9rem;line-height:1.35}.x2mdx-ref-breadcrumbs a{color:var(--canton-highlight);text-decoration:none}.x2mdx-ref-breadcrumbs a:hover{text-decoration:underline}.x2mdx-ref-breadcrumb-separator{color:rgb(156, 163, 175)}.x2mdx-ref-eyebrow{min-width:0;max-width:100%;margin:0;overflow-wrap:anywhere;font-size:0.78rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--x2mdx-ref-text-muted)}:root.dark .x2mdx-ref-eyebrow,[data-theme=\"dark\"] .x2mdx-ref-eyebrow{color:rgb(156, 163, 175)}.x2mdx-ref-title{min-width:0;max-width:100%;margin:0;overflow-wrap:anywhere;color:var(--x2mdx-ref-text-strong);font-size:clamp(2rem, 3vw, 2.7rem);line-height:1.05}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-title{max-width:100%;overflow:hidden;font-size:clamp(1.7rem, 2.2vw, 2.25rem);line-height:1.08;text-overflow:ellipsis;white-space:nowrap;word-break:normal;overflow-wrap:normal}#content-container:has(.x2mdx-ref-page--manual-api) .x2mdx-ref-title{overflow:visible;text-overflow:clip;white-space:normal}#content-container:has(.x2mdx-ref-page--manual-api) #page-title{font-size:2.25rem!important;font-weight:600!important;line-height:2.5rem!important}#content-container:has(.x2mdx-ref-page--manual-api) .mdx-content h2{margin-top:1.8rem!important;margin-bottom:0!important;font-size:1.125rem!important;font-weight:600!important;line-height:1.6875rem!important}@media (max-width: 1023px){#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-title{white-space:normal;overflow:visible;text-overflow:clip}}@media (max-width: 639px){#content-container:has(.x2mdx-ref-page--manual-api) #page-title{font-size:1.875rem!important;line-height:2.25rem!important}body:has(.x2mdx-ref-page) .breadcrumb-list{min-width:0;max-width:100%;flex-wrap:wrap}body:has(.x2mdx-ref-page) .breadcrumb-item,body:has(.x2mdx-ref-page) .breadcrumb-item a{min-width:0;max-width:100%;overflow-wrap:anywhere}body:has(.x2mdx-ref-page) .mdx-content>div.table{display:block!important;box-sizing:border-box;width:100%!important;max-width:100%!important;overflow-x:auto}#content-container:has(.x2mdx-ref-page) #pagination{align-items:stretch;flex-direction:column;gap:0.75rem;min-width:0;max-width:100%}#content-container:has(.x2mdx-ref-page) #pagination>a{width:100%;min-width:0;max-width:100%;margin-left:0!important}#content-container:has(.x2mdx-ref-page) #pagination>a span{min-width:0;overflow-wrap:anywhere}}.x2mdx-ref-summary{margin:0;max-width:58rem;color:var(--x2mdx-ref-text-muted);font-size:1.02rem}#content-container:has(.x2mdx-ref-page--manual-api) #content-area #header>div:has(>p){display:block!important}body:has(.x2mdx-ref-page--manual-api):has(#header p) .x2mdx-ref-page--manual-api+.x2mdx-ref-hero .x2mdx-ref-summary{display:none}.x2mdx-ref-api-header-badges{margin-top:0.75rem}body:has(#x2mdx-ref-api-header-badges) .x2mdx-ref-page--manual-api+.x2mdx-ref-hero .x2mdx-ref-badges{display:none}:root.dark .x2mdx-ref-summary,[data-theme=\"dark\"] .x2mdx-ref-summary{color:rgb(209, 213, 219)}.x2mdx-ref-page--operation{display:none}#content-container:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)){max-width:92rem!important}body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) #table-of-contents-content,body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) #content-side-layout,body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) #table-of-contents-layout,body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) #table-of-contents,body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) aside:has(#table-of-contents-content),body:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) [aria-label=\"Table of contents\"]{display:none!important}#content-container:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) #content-area{width:100%!important}.x2mdx-ref-operation-shell{display:grid;grid-template-columns:minmax(0, 1fr) minmax(22rem, 26rem);gap:clamp(2rem, 4vw, 4rem);align-items:start;width:100%}.x2mdx-ref-operation-main{min-width:0}.x2mdx-ref-operation-shell:not(:has(.x2mdx-ref-right-rail)){grid-template-columns:minmax(0, 1fr)}.x2mdx-ref-right-rail{display:grid;position:sticky;top:6rem;z-index:1;width:100%;margin:0;gap:1rem}.x2mdx-ref-rail-panel{min-width:0}@media (max-width: 1180px){.x2mdx-ref-operation-shell{grid-template-columns:minmax(0, 1fr)}.x2mdx-ref-right-rail{position:static;width:100%;margin:0 0 2rem}}.x2mdx-ref-rail-code :is(.code-group,[class*=\"code-group\"]){margin:0}.x2mdx-ref-rail-code{display:grid;gap:0.65rem;min-width:0}.x2mdx-ref-rail-head{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;min-width:0}.x2mdx-ref-rail-heading{min-width:0;max-width:13rem;overflow:hidden;color:rgb(31, 41, 55);font-family:ui-monospace, SFMono-Regular, SFMono-RegularFallback, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;font-size:0.82rem;font-weight:500;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}:root.dark .x2mdx-ref-rail-heading,[data-theme=\"dark\"] .x2mdx-ref-rail-heading{color:rgb(229, 231, 235)}.x2mdx-ref-operation-bar{display:flex;align-items:center;gap:0.75rem;width:100%;min-height:3.75rem;margin:0 0 3.25rem;padding:0.55rem 0.75rem;overflow:hidden;border:1px solid var(--x2mdx-ref-border);border-radius:1rem;background:var(--x2mdx-ref-surface);box-shadow:0 1px 2px rgba(13, 12, 17, 0.04)}:root.dark .x2mdx-ref-operation-bar,[data-theme=\"dark\"] .x2mdx-ref-operation-bar{border-color:rgba(255, 255, 255, 0.08);background:rgba(17, 17, 21, 0.6)}.x2mdx-ref-operation-method{flex:0 0 auto;padding:0.32rem 0.55rem;border-radius:0.55rem;background:rgba(22, 163, 74, 0.12);color:rgb(22, 163, 74);font-size:0.86rem;font-weight:700;line-height:1}.x2mdx-ref-operation-method--post,.x2mdx-ref-operation-method--json-rpc{background:rgba(37, 99, 235, 0.12);color:rgb(37, 99, 235)}.x2mdx-ref-operation-method--publish,.x2mdx-ref-operation-method--subscribe{background:rgba(124, 58, 237, 0.12);color:rgb(124, 58, 237)}.x2mdx-ref-operation-bar code{flex:1 1 auto;min-width:0;overflow:hidden;background:transparent;color:inherit;font-size:0.98rem;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}#content-container:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) h2{margin-top:2.5rem!important;margin-bottom:1rem!important;font-size:1.35rem!important;font-weight:700!important;line-height:1.25!important}#content-container:has(.x2mdx-ref-page--operation):not(:has(.x2mdx-ref-page--manual-api)) h3{font-size:1rem!important;line-height:1.35!important}#content-container :is(a[id^=\"interface-\"],a[id^=\"type-alias-\"],a[id^=\"variable-\"],a[id^=\"function-\"])+h4:not(:first-of-type),#content-container :is(a[id^=\"class-\"],a[id^=\"constr-\"],a[id^=\"function-\"],a[id^=\"type-\"])+h3:not(:first-of-type){margin-top:2rem!important;padding-top:1.35rem!important;border-top:1px solid rgba(var(--canton-highlight-rgb), 0.54)}.x2mdx-ref-rail-code--response{position:relative}.x2mdx-ref-response-label{flex:0 1 auto;max-width:11rem;overflow:hidden;color:rgb(115, 114, 118);font-family:ui-monospace, SFMono-Regular, SFMono-RegularFallback, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;font-size:0.75rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}:root.dark .x2mdx-ref-response-label,[data-theme=\"dark\"] .x2mdx-ref-response-label{color:rgb(162, 160, 165)}.x2mdx-ref-badges{display:flex;flex-wrap:wrap;gap:0.5rem}.x2mdx-ref-badge{display:inline-flex;align-items:center;min-height:1.55rem;padding:0.14rem 0.52rem;border:1px solid rgba(var(--canton-highlight-rgb), 0.16);border-radius:999px;background:var(--x2mdx-ref-accent-soft);color:var(--canton-highlight);font-size:0.76rem;font-weight:600;line-height:1.1;text-decoration:none}a.x2mdx-ref-badge:hover{filter:brightness(0.96);text-decoration:underline;text-underline-offset:0.16rem}a.x2mdx-ref-badge:focus-visible{outline:2px solid var(--canton-highlight);outline-offset:2px}.x2mdx-ref-badge--neutral{background:var(--x2mdx-ref-neutral-soft);border-color:rgba(107, 114, 128, 0.18);color:var(--x2mdx-ref-text-muted)}:root.dark .x2mdx-ref-badge--neutral,[data-theme=\"dark\"] .x2mdx-ref-badge--neutral{background:rgba(156, 163, 175, 0.12);border-color:rgba(156, 163, 175, 0.16);color:rgb(229, 231, 235)}.x2mdx-ref-badge--added{background:var(--x2mdx-ref-success-soft);border-color:rgba(21, 128, 61, 0.18);color:var(--x2mdx-ref-success)}.x2mdx-ref-badge--changed{background:var(--x2mdx-ref-info-soft);border-color:rgba(29, 78, 216, 0.18);color:var(--x2mdx-ref-info)}.x2mdx-ref-badge--removed{background:var(--x2mdx-ref-danger-soft);border-color:rgba(185, 28, 28, 0.18);color:var(--x2mdx-ref-danger)}.x2mdx-ref-meta-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(12rem, 1fr));gap:0.75rem;margin:0}.x2mdx-ref-meta-item{min-width:0;padding:0.85rem 0.95rem;border:1px solid var(--x2mdx-ref-border);border-radius:0.7rem;background:var(--x2mdx-ref-surface)}:root.dark .x2mdx-ref-meta-item,[data-theme=\"dark\"] .x2mdx-ref-meta-item{border-color:rgba(255, 255, 255, 0.08);background:rgba(17, 24, 39, 0.7)}.x2mdx-ref-meta-label{display:block;margin:0 0 0.3rem;font-size:0.77rem;font-weight:600;text-transform:uppercase;color:var(--x2mdx-ref-text-muted)}.x2mdx-ref-meta-value{display:block;margin:0;overflow-wrap:anywhere;font-size:0.96rem;font-weight:500;color:var(--x2mdx-ref-text)}.x2mdx-ref-card-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(16rem, 1fr));gap:1rem}.x2mdx-ref-card{display:grid;align-content:start;gap:0.8rem;min-height:100%;min-width:0;padding:1rem;border:1px solid var(--x2mdx-ref-border);border-radius:0.7rem;background:var(--x2mdx-ref-surface);color:inherit;text-decoration:none;transition:border-color 160ms ease, transform 160ms ease, background-color 160ms ease}.x2mdx-ref-card>*{min-width:0}:root.dark .x2mdx-ref-card,[data-theme=\"dark\"] .x2mdx-ref-card{border-color:rgba(255, 255, 255, 0.08);background:rgba(17, 24, 39, 0.78)}.x2mdx-ref-card:hover{border-color:rgba(var(--canton-highlight-rgb), 0.42);transform:translateY(-1px)}.x2mdx-ref-card-head{display:contents}.x2mdx-ref-card-title{order:0;margin:0;font-size:1rem;font-weight:700;line-height:1.3;color:var(--x2mdx-ref-text-strong);text-decoration:none;overflow-wrap:anywhere}.x2mdx-ref-card-title:hover{color:rgb(var(--canton-highlight-rgb))}.x2mdx-ref-card .x2mdx-ref-badges{order:2}.x2mdx-ref-card-summary{order:1;margin:0;color:var(--x2mdx-ref-text-muted);overflow-wrap:anywhere}.x2mdx-ref-card .x2mdx-ref-meta-grid{order:3}.x2mdx-ref-history{display:grid;gap:0.75rem;margin:0 0 2rem}.x2mdx-ref-history,.x2mdx-ref-history-event,.x2mdx-ref-history-event-head,.x2mdx-ref-history-event-detail{min-width:0;max-width:100%}.x2mdx-ref-history-event{display:grid;gap:0.5rem;padding:0.9rem 1rem;border:0;border-left:3px solid var(--x2mdx-ref-text-muted);border-radius:0.7rem;background:var(--x2mdx-ref-neutral-soft);scroll-margin-top:6rem}:root.dark .x2mdx-ref-history-event,[data-theme=\"dark\"] .x2mdx-ref-history-event{color:var(--x2mdx-ref-text)}.x2mdx-ref-history-event--introduced{border-left-color:var(--x2mdx-ref-success);background:var(--x2mdx-ref-success-soft)}.x2mdx-ref-history-event--changed,.x2mdx-ref-history-event--replacement{border-left-color:var(--x2mdx-ref-info);background:var(--x2mdx-ref-info-soft)}.x2mdx-ref-history-event--removed,.x2mdx-ref-history-event--deprecated,.x2mdx-ref-history-event--remove-as-of{border-left-color:var(--x2mdx-ref-danger);background:var(--x2mdx-ref-danger-soft)}.x2mdx-ref-history-event-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.x2mdx-ref-history-event-label{color:var(--x2mdx-ref-text-strong);font-size:0.92rem;font-weight:700;line-height:1.3}.x2mdx-ref-history-event-version{flex:0 0 auto;background:transparent;color:var(--x2mdx-ref-text-muted);font-size:0.82rem}:root.dark .x2mdx-ref-history-event-version,[data-theme=\"dark\"] .x2mdx-ref-history-event-version{color:rgb(209, 213, 219)}.x2mdx-ref-history-event-detail{margin:0;overflow-wrap:anywhere;color:var(--x2mdx-ref-text-muted);font-size:0.92rem;line-height:1.5}:root.dark .x2mdx-ref-history-event-detail,[data-theme=\"dark\"] .x2mdx-ref-history-event-detail{color:rgb(209, 213, 219)}@media (max-width: 640px){.x2mdx-ref-history-event-head{align-items:flex-start;flex-direction:column;gap:0.35rem}}:root.dark .x2mdx-ref-card-summary,[data-theme=\"dark\"] .x2mdx-ref-card-summary{color:rgb(209, 213, 219)}.x2mdx-ref-panel,.x2mdx-ref-schema{margin:0 0 1rem;padding:1rem;border:1px solid rgba(15, 23, 42, 0.08);border-radius:0.7rem;background:rgba(255, 255, 255, 0.82)}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-panel,#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-schema{margin:0 0 1.9rem;padding:0;border:0;border-radius:0;background:transparent}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-panel-head,#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-schema-head{margin-bottom:0.65rem}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-grid{display:flex;flex-wrap:wrap;gap:0.45rem 1.1rem;padding:0.8rem 0;border-top:1px solid rgba(15, 23, 42, 0.08);border-bottom:1px solid rgba(15, 23, 42, 0.08)}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-item{display:flex;align-items:baseline;gap:0.35rem;min-width:0;padding:0;border:0;border-radius:0;background:transparent}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-label{margin:0;font-size:0.72rem;letter-spacing:0;text-transform:none}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-label::after{content:\":\"}#content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-value{max-width:32rem;font-size:0.86rem;font-weight:500}:root.dark #content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-grid,[data-theme=\"dark\"] #content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-grid,:root.dark #content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-item,[data-theme=\"dark\"] #content-container:has(.x2mdx-ref-page--operation) .x2mdx-ref-meta-item{border-color:rgba(255, 255, 255, 0.08);background:transparent}:root.dark .x2mdx-ref-panel,:root.dark .x2mdx-ref-schema,[data-theme=\"dark\"] .x2mdx-ref-panel,[data-theme=\"dark\"] .x2mdx-ref-schema{border-color:rgba(255, 255, 255, 0.08);background:rgba(17, 24, 39, 0.78)}.x2mdx-ref-panel-head,.x2mdx-ref-schema-head{display:grid;gap:0.3rem;margin-bottom:0.9rem}.x2mdx-ref-panel-head h3,.x2mdx-ref-schema-head h3{margin:0;font-size:1rem;line-height:1.3;overflow-wrap:anywhere}.x2mdx-ref-schema-variants{display:grid;gap:0.8rem;margin-top:0.9rem}.x2mdx-ref-schema-variant-label{font-size:0.77rem;font-weight:700;text-transform:uppercase;color:rgb(107, 114, 128)}.x2mdx-ref-schema-variant{display:grid;gap:0.65rem;min-width:0;padding:0.85rem;border:1px solid rgba(15, 23, 42, 0.08);border-radius:0.65rem;background:rgba(248, 250, 252, 0.72)}:root.dark .x2mdx-ref-schema-variant,[data-theme=\"dark\"] .x2mdx-ref-schema-variant{border-color:rgba(255, 255, 255, 0.08);background:rgba(17, 24, 39, 0.58)}.x2mdx-ref-schema-variant-head{display:grid;gap:0.25rem}.x2mdx-ref-schema-variant-head h4{margin:0;font-size:0.94rem;line-height:1.3;overflow-wrap:anywhere}body:has(.x2mdx-ref-hero) #table-of-contents-content a,body:has(.x2mdx-ref-hero) [aria-label=\"Table of contents\"] a{overflow-wrap:anywhere;word-break:normal}.x2mdx-ref-panel-summary,.x2mdx-ref-schema-summary,.x2mdx-ref-schema-description{margin:0;color:rgb(75, 85, 99)}:root.dark .x2mdx-ref-panel-summary,:root.dark .x2mdx-ref-schema-summary,:root.dark .x2mdx-ref-schema-description,[data-theme=\"dark\"] .x2mdx-ref-panel-summary,[data-theme=\"dark\"] .x2mdx-ref-schema-summary,[data-theme=\"dark\"] .x2mdx-ref-schema-description{color:rgb(209, 213, 219)}.x2mdx-ref-fields{display:grid;margin-top:0.75rem;border-top:1px solid rgba(15, 23, 42, 0.08);border-bottom:1px solid rgba(15, 23, 42, 0.08);border-radius:0;overflow:hidden}:root.dark .x2mdx-ref-fields,[data-theme=\"dark\"] .x2mdx-ref-fields{border-color:rgba(255, 255, 255, 0.08)}.x2mdx-ref-field-row{display:grid;gap:0.35rem;padding:0.75rem 0;background:transparent}.x2mdx-ref-field-row+.x2mdx-ref-field-row{border-top:1px solid rgba(15, 23, 42, 0.08)}:root.dark .x2mdx-ref-field-row+.x2mdx-ref-field-row,[data-theme=\"dark\"] .x2mdx-ref-field-row+.x2mdx-ref-field-row{border-top-color:rgba(255, 255, 255, 0.08)}.x2mdx-ref-field-main{display:flex;flex-wrap:wrap;align-items:center;gap:0.45rem;min-width:0}.x2mdx-ref-field-name{background:transparent;color:var(--canton-highlight);font-size:0.94rem;font-weight:600}.x2mdx-ref-type-badge,.x2mdx-ref-required-badge{display:inline-flex;align-items:center;min-height:1.45rem;padding:0.1rem 0.45rem;border-radius:0.42rem;font-family:ui-monospace, SFMono-Regular, SFMono-RegularFallback, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;font-size:0.76rem;line-height:1}.x2mdx-ref-type-badge{background:rgba(107, 114, 128, 0.12);color:rgb(55, 65, 81)}.x2mdx-ref-required-badge{background:rgba(220, 38, 38, 0.1);color:rgb(153, 27, 27)}.x2mdx-ref-field-description{color:rgb(75, 85, 99);font-size:0.9rem;line-height:1.45;white-space:pre-wrap}@media (max-width: 900px){.x2mdx-ref-field-row{padding:0.7rem 0}}.x2mdx-ref-example-heading{margin:1rem 0 0.45rem;font-size:0.88rem;font-weight:600;text-transform:uppercase;color:rgb(107, 114, 128)}.x2mdx-ref-change-list{display:grid;gap:0.7rem}.x2mdx-ref-change-item{display:grid;gap:0.35rem;padding:0.9rem 1rem;border-left:3px solid var(--canton-highlight);border-radius:0.6rem;background:rgba(var(--canton-highlight-rgb), 0.06)}.x2mdx-ref-change-version{font-size:0.82rem;font-weight:700;text-transform:uppercase;color:var(--canton-highlight)}.x2mdx-ref-enum-list{margin:0.8rem 0 0;padding-left:1rem}"}]}
{"page":{"pagePath":"sdks-tools/language-bindings/client-standard","slug":"/sdks-tools/language-bindings/client-standard","pageMetadata":{"title":"Ledger Client Standard","description":"Capability standard for Canton Ledger Client Libraries, including existing and upcoming functionality.","href":"/sdks-tools/language-bindings/client-standard"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Capability standard for Canton Ledger Client Libraries, including existing and upcoming functionality.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This page captures the Ledger Client Standard functionality that should be provided by fully conformant library implementations. It is written for developers who build Canton ledger client libraries.`}),`\n`,_jsx(Note,{children:`This standard reflects Canton 3.5.`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Functionality Requirement`}),` column marks each capability as one of the following:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Required`}),` marks capabilities expected today.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Upcoming`}),` marks capabilities expected for upcoming iterations once the Ledger API provides the underlying functionality.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`codegen-and-bindings`,children:`Codegen and bindings`}),`\n`,_jsxs(_components.p,{children:[`Code generation and bindings convert Daml types into native types in the target language and connect them to Ledger API JSON and gRPC requests and to `,_jsx(_components.a,{href:`/sdks-tools/development-tools/pqs`,children:`PQS`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Daml representation`}),_jsxs(_components.td,{children:[`Implementation contains a code-generating tool that is able to convert Daml types into the native representation in the target language. `,_jsx(`br`,{}),`It must support `,_jsx(`br`,{}),`- all serializable Daml types`,_jsx(`br`,{}),`- interfaces`,_jsx(`br`,{}),`- contract keys`,_jsx(`br`,{}),`- dependencies`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`JSON Codec`}),_jsx(_components.td,{children:`The tool extends the code-generated objects in the native language with methods to serialize and deserialize to JSON format required in the Ledger API JSON requests and responses`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`gRPC Codec`}),_jsx(_components.td,{children:`The tool extends the code-generated objects in the native language with methods to serialize and deserialize to proto format required in the Ledger API gRPC requests and responses`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`JSON Bindings`}),_jsx(_components.td,{children:`The library provides utility wrappers in the host languages that facilitate construction and bridge the interaction between the classes generated from Ledger API OpenAPI definitions and the classes code-generated from Daml`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`gRPC Bindings`}),_jsx(_components.td,{children:`The library provides utility wrappers in the host languages that facilitate construction and bridge the interaction between the classes generated from Ledger API proto definitions and the classes code-generated from Daml`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`PQS bindings`}),_jsx(_components.td,{children:`The library provides mechanisms that bridge the interaction between the table functions in PQS and the classes code-generated from Daml`}),_jsx(_components.td,{children:`Required`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`basic-infrastructure`,children:`Basic infrastructure`}),`\n`,_jsx(_components.p,{children:`Basic infrastructure covers the connection security, authorization, error handling, observability, retry, signing, and health-monitoring services that a library provides for every Ledger API call.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`TLS`}),_jsxs(_components.td,{children:[`The library utilizes secure HTTP and gRPC connections using TLS. `,_jsx(`br`,{}),`It supports mutual and server-side TLS.`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Authorization`}),_jsxs(_components.td,{children:[`The library supports client credential workflow to obtain and refresh OAuth tokens. `,_jsx(`br`,{}),`It has the capability to inject the JWT tokens into the call context`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Error parsing and handling`}),_jsxs(_components.td,{children:[`The library has the ability to parse and process all types of errors returned by Ledger API. `,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- classification of errors into retriable and non-retriable`,_jsx(`br`,{}),`- JSON and gRPC errors`,_jsx(`br`,{}),`- extraction of the error code, message, request info, error info and other structured details such as contract ids, packages, party names etc.`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Tracing`}),_jsxs(_components.td,{children:[`The library handles tracing according to the OpenTelemetry standard and OTLP servers. `,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- creation and injection of trace ids into the headers of the requests `,_jsx(`br`,{}),`- extraction of trace ids from the response `,_jsx(`br`,{}),`- support JSON and gRPC requests`,_jsx(`br`,{}),`- report the spans to the OpenTelemetry compatible OTLP server`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Retry logic`}),_jsxs(_components.td,{children:[`The library handles seamlessly the retry logic for Ledger API calls. `,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- retries on retriable errors only`,_jsx(`br`,{}),`- timeouts `,_jsx(`br`,{}),`- maximum number of retries`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Logging`}),_jsxs(_components.td,{children:[`The library is able to log using a standard library adequate for the host language.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- logging requests and responses`,_jsx(`br`,{}),`- utilizes trace-ids`,_jsx(`br`,{}),`- verbose logging of Ledger API errors`,_jsx(`br`,{}),`- configurable log level sensitivity`,_jsx(`br`,{}),`- configurable log destination`,_jsx(`br`,{}),`- configurable log format`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Metrics`}),_jsxs(_components.td,{children:[`The library handles metrics according to OpenTelemetry standard`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- sending metrics to the OTLP server`,_jsx(`br`,{}),`- reporting vitals of the communication: number of requests and responses`,_jsx(`br`,{}),`- breakdown by error and success`,_jsx(`br`,{}),`- breakdown by endpoint`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Signing`}),_jsxs(_components.td,{children:[`The library supports signing algorithms that are needed in the externally signed Ledger API endpoints.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- KMS systems`,_jsx(`br`,{}),`- keys provided in a file`,_jsx(`br`,{}),`- all algorithms supported by Canton`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Node Health`}),_jsx(_components.td,{children:`The library supports monitoring node’s health letting the client applications respond to the intermittent and permanent failure situations.`}),_jsx(_components.td,{children:`Required`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`commands`,children:`Commands`}),`\n`,_jsxs(_components.p,{children:[`Command capabilities cover constructing and submitting Daml commands over the Ledger API, including internal and externally signed submission, `,_jsx(_components.a,{href:`/appdev/deep-dives/command-deduplication`,children:`deduplication`}),`, `,_jsx(_components.a,{href:`/appdev/deep-dives/explicit-contract-disclosure`,children:`explicit disclosure`}),`, recovery, and batching.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`JSON`}),_jsxs(_components.td,{children:[`The library facilitates construction and submission of Daml commands over the Ledger API JSON endpoint.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- create commands`,_jsx(`br`,{}),`- exercise commands`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`gRPC`}),_jsxs(_components.td,{children:[`The library facilitates construction and submission of Daml commands over the Ledger API gRPC endpoint.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- create commands`,_jsx(`br`,{}),`- exercise commands`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Internal commands`}),_jsxs(_components.td,{children:[`The library uses the internal command submission endpoints.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- submit method`,_jsx(`br`,{}),`- submitAndWait in all its forms`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`External commands`}),_jsxs(_components.td,{children:[`The library uses externally signed command submission endpoints`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- prepare method`,_jsx(`br`,{}),`- execute method`,_jsx(`br`,{}),`- executeAndWait in all its forms`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Deduplication`}),_jsxs(_components.td,{children:[`The library contains logic that allows client applications to send commands in a reliable fashion utilizing the built-in deduplicating provisions of the Ledger API.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- error handling`,_jsx(`br`,{}),`- retries`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Command recovery`}),_jsxs(_components.td,{children:[`The library is capable of recovering pending command state after the crash utilizing command completion endpoint.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- recovery from participant crash`,_jsx(`br`,{}),`- recovery from client crash`,_jsx(`br`,{}),`- recovery from lost connection`,_jsx(`br`,{}),`- recovery from a timeout`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Batching`}),_jsx(_components.td,{children:`The library is capable of creating batched Ledger API commands. For externally signed (interactive) submission, batches are currently limited to a single root command/node.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Contract keys`}),_jsxs(_components.td,{children:[`The library uses Ledger API command submission provisions for contract keys.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- exercising choices by contract keys`,_jsx(`br`,{}),`- prefetching of contract keys for accelerated execution`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Explicit disclosure`}),_jsx(_components.td,{children:`The library uses explicit disclosure to augment the submitted commands with additional contracts that the submitting party is not privy to.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Pending set`}),_jsxs(_components.td,{children:[`The library keeps track of the contracts that are being operated on in a pending data set.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- keeping track of consuming exercises`,_jsx(`br`,{}),`- keeping track of creates`,_jsx(`br`,{}),`- keeping track of non-consuming exercises`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Package selection`}),_jsx(_components.td,{children:`The library allows selecting a particular package version preference for command submission in the package_id_selection_preference field.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`HA`}),_jsx(_components.td,{children:`The library supports command deduplication across multiple participants that host the same submitting parties.`}),_jsx(_components.td,{children:`Upcoming`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`streams`,children:`Streams`}),`\n`,_jsx(_components.p,{children:`Stream capabilities cover querying and subscribing to the Active Contract Set (ACS) and update streams, and recovering those streams after an interruption.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`JSON`}),_jsx(_components.td,{children:`The library facilitates query construction and subscription to ACS and Update streams over the Ledger API JSON endpoint.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`gRPC`}),_jsx(_components.td,{children:`The library facilitates query construction and subscription to ACS and Update streams over the Ledger API gRPC endpoint.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`ACS streaming`}),_jsx(_components.td,{children:`The library uses streaming endpoints to retrieve the ACS for given parties and templates. It utilizes streaming endpoints in gRPC and websocket endpoints in JSON.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`ACS paging`}),_jsx(_components.td,{children:`The library uses paging endpoints to retrieve the ACS for given parties and templates. It utilizes paging in gRPC and JSON.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Updates streaming`}),_jsx(_components.td,{children:`The library uses streaming endpoints to retrieve the updates for given parties and templates. It utilizes streaming endpoints in gRPC and websocket endpoints in JSON.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Updates paging`}),_jsx(_components.td,{children:`The library uses paging endpoints to retrieve the updates for given parties and templates. It utilizes paging in gRPC and JSON.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reverse order`}),_jsx(_components.td,{children:`The library can serve data in reverse order utilizing appropriate Ledger API provisions.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Interfaces`}),_jsx(_components.td,{children:`The library subscribes to and processes interface views`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Topology events`}),_jsx(_components.td,{children:`The library subscribes to and processes topology events`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`In memory ACS`}),_jsxs(_components.td,{children:[`The library contains a component that keeps an in-memory copy of the Active Contract Set.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- parameterization by set of parties and templates`,_jsx(`br`,{}),`- filters to limit the ACS to contracts with specific attributes`,_jsx(`br`,{}),`- initiates from an ACS query and keeps current view by subscribing to update stream`,_jsx(`br`,{}),`- interface views`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Resilient streams`}),_jsxs(_components.td,{children:[`The library can recover a stream after an interrupt from the last known location.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- recovery from the last offset`,_jsx(`br`,{}),`- recovery from the last record time vector`,_jsx(`br`,{}),`- recovery from the continuation token`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`HA`}),_jsxs(_components.td,{children:[`The library can recover a stream transmission after a switch-over to a secondary participant.`,_jsx(`br`,{}),`It supports`,_jsx(`br`,{}),`- record time vectors`,_jsx(`br`,{}),`- paging restarts`]}),_jsx(_components.td,{children:`Upcoming`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`parties`,children:`Parties`}),`\n`,_jsxs(_components.p,{children:[`Party capabilities cover listing, creating, and modifying local, `,_jsx(_components.a,{href:`/overview/reference/external-party`,children:`external`}),`, and decentralized parties through the Ledger API party management endpoints.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`JSON`}),_jsx(_components.td,{children:`The library utilizes party management functionality of the Ledger API using JSON endpoints.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`gRPC`}),_jsx(_components.td,{children:`The library utilizes party management functionality of the Ledger API using gRPC endpoints.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`List parties`}),_jsx(_components.td,{children:`The library supports listing parties on the node using various filtering criteria.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Local parties creation`}),_jsx(_components.td,{children:`The library can create parties local to the participant node. It takes advantage of self administration mode where party is automatically assigned to the requesting user.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`External parties creation`}),_jsxs(_components.td,{children:[`The library can create external parties. It supports`,_jsx(`br`,{}),`- generate method`,_jsx(`br`,{}),`- signing`,_jsx(`br`,{}),`- allocate method`,_jsx(`br`,{}),`- self administration mode`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Local parties modification`}),_jsxs(_components.td,{children:[`The library can change aspects of the party topology definition. In particular it supports`,_jsx(`br`,{}),`- changing mapping of parties to participants`,_jsx(`br`,{}),`- changing participant permission levels`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`External parties modification`}),_jsxs(_components.td,{children:[`The library can change aspects of the party topology definition. In particular it supports`,_jsx(`br`,{}),`- changing mapping of parties to participants`,_jsx(`br`,{}),`- changing participant permission levels`,_jsx(`br`,{}),`- changing keys responsible for transaction signing`,_jsx(`br`,{}),`- change the signature threshold`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Decentralized party creation`}),_jsxs(_components.td,{children:[`The library can manage decentralized parties. In particular it supports`,_jsx(`br`,{}),`- create a decentralized namespace`,_jsx(`br`,{}),`- modify a decentralized namespace`,_jsx(`br`,{}),`- changing participant permission levels`,_jsx(`br`,{}),`- changing keys responsible for transaction signing`,_jsx(`br`,{}),`- change the signature threshold`]}),_jsx(_components.td,{children:`Required`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`packages`,children:`Packages`}),`\n`,_jsx(_components.p,{children:`Package capabilities cover uploading, validating, vetting, listing, and describing DAR packages, and selecting preferred packages for command submission.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`JSON`}),_jsx(_components.td,{children:`The library utilizes package management functionality of the Ledger API using JSON endpoints.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`gRPC`}),_jsx(_components.td,{children:`The library utilizes package management functionality of the Ledger API using gRPC endpoints.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Upload`}),_jsx(_components.td,{children:`The library facilitates the upload of the DAR packages to the participant using the Ledger API endpoints`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Validation`}),_jsx(_components.td,{children:`The library facilitates the validation of the DAR packages to the participant using the Ledger API endpoints`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vetting`}),_jsx(_components.td,{children:`The library facilitates vetting of the required packages on the target participants and synchronizers. It is capable of computing the required vetting action from the current vetting state and the desired outcome.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Listing`}),_jsx(_components.td,{children:`The library facilitates listing the packages on the participant using various criteria such as package names, ids, participants and synchronizers`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Package preference`}),_jsx(_components.td,{children:`Library facilitates the selection of the preferred packages for a command submission. It makes sure the preference conforms with the existing vetting state.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Description`}),_jsx(_components.td,{children:`The library uses the Daml description service to request the descriptors of the Daml package and types from the participants`}),_jsx(_components.td,{children:`Required`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`topology`,children:`Topology`}),`\n`,_jsx(_components.p,{children:`Topology capabilities cover listing, constructing, signing, and submitting topology mappings such as namespace delegations, party-to-participant mappings, and vetted packages.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`List mappings`}),_jsx(_components.td,{children:`The library enables the retrieval and inspection of current topology mappings. Users can apply precise list parameters to restrict search results based on specific mapping types or attributes.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Mapping presentation`}),_jsx(_components.td,{children:`The library supports rendering of the topology mapping in a format idiomatic to the target programming language.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Mapping construction`}),_jsx(_components.td,{children:`The library facilitates creation of new topology mappings by abstracting the underlying complexity of calculating state modifications relative to prior values.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Mapping signing`}),_jsx(_components.td,{children:`The library supports signing of topology transactions.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Mapping submission`}),_jsxs(_components.td,{children:[`The library facilitates submission of the signed topology transactions. It supports`,_jsx(`br`,{}),`synchronous and asynchronous semantics.`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Namespace delegations`}),_jsx(_components.td,{children:`The library supports managing namespace delegations of all shapes`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Decentralized namespaces`}),_jsx(_components.td,{children:`The library supports managing decentralized namespace delegations of all shapes`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Owner to key mapping`}),_jsx(_components.td,{children:`The library supports managing owner to key mappings of all shapes`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Party to participant`}),_jsx(_components.td,{children:`The library supports managing party to participant mappings of all shapes`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Party to key mapping`}),_jsx(_components.td,{children:`The library supports managing party to key mappings of all shapes`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vetted packages`}),_jsx(_components.td,{children:`The library supports managing vetted package mappings of all shapes`}),_jsx(_components.td,{children:`Required`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`admin-api-and-ledger-api-support`,children:`Admin API and Ledger API support`}),`\n`,_jsx(_components.p,{children:`Topology functionality is available today through the Admin API, with Ledger API support expected in an upcoming iteration.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Admin API`}),_jsx(_components.td,{children:`The library supports topology functionality exposed through the Admin API`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Ledger API`}),_jsx(_components.td,{children:`The library supports topology functionality exposed through the Ledger API`}),_jsx(_components.td,{children:`Upcoming`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`user`,children:`User`}),`\n`,_jsx(_components.p,{children:`User capabilities let users inspect their own user record and administer the parties attached to their account.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Self-inspect`}),_jsx(_components.td,{children:`The library allows the users to pull own record to check permissions and other settings.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Self-admin`}),_jsx(_components.td,{children:`The library allows the users to add and modify the parties attached to the user account.`}),_jsx(_components.td,{children:`Required`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`traffic`,children:`Traffic`}),`\n`,_jsxs(_components.p,{children:[`Traffic capabilities cover estimating transaction traffic costs and listing, inspecting, selecting, and topping up the `,_jsx(_components.a,{href:`/global-synchronizer/production-operations/local-traffic-management`,children:`traffic accounts`}),` debited during command submission.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Traffic computation`}),_jsx(_components.td,{children:`The library processes the traffic cost estimations produced by the prepare transactions. It facilitates setting limits on transaction cost. It can convert the traffic cost expressed in the synchronizer units to local units of the validator`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Traffic account listing and inspecting`}),_jsx(_components.td,{children:`The library supports listing traffic accounts available to the user and inspecting the account balance`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Traffic account selection`}),_jsx(_components.td,{children:`The library facilitates selecting a traffic account to be debited during the command submission`}),_jsx(_components.td,{children:`Upcoming`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Traffic top-up`}),_jsx(_components.td,{children:`The library facilitates the top up operation replenishing the traffic accounts with fresh credits`}),_jsx(_components.td,{children:`Required`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`multi-synchronizer`,children:`Multi-synchronizer`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/overview/learn/multi-synchronizer`,children:`Multi-synchronizer`}),` capabilities extend party, package, command, and stream handling to participants connected to more than one synchronizer.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Listing`}),_jsx(_components.td,{children:`The library lists connected synchronizers for the participant in general and for a party in particular`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Parties`}),_jsx(_components.td,{children:`The library allows managing party allocations and changing topology configurations across multiple synchronizers.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Packages`}),_jsx(_components.td,{children:`The library allows users to maintain package vetting where the set of package versions vetted on each synchronizer is separately tailored for the needs of the application workflows.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Commands`}),_jsx(_components.td,{children:`The library allows the clients to select the target synchronizer. It keeps track of it during command retries and in the completion processing.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Streams`}),_jsx(_components.td,{children:`The library keeps track of the current synchronizer of the contract. It handles the out of order assign and unassign events putting them back in order distilling the most up to date contract state.`}),_jsx(_components.td,{children:`Required`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`token-standard`,children:`Token Standard`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/appdev/deep-dives/token-standard`,children:`Token Standard`}),` capabilities cover transfers, pre-approvals, allocations, and instrument inspection for templates and interfaces written to Token Standard V1 and V2.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`One step transfers`}),_jsx(_components.td,{children:`The library supports workflows with one step transfers`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Pre-approvals`}),_jsx(_components.td,{children:`The library supports pre-approvals`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Allocate`}),_jsx(_components.td,{children:`The library supports trade allocations`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Transfer`}),_jsx(_components.td,{children:`The library supports asset transfers`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Instrument inspection`}),_jsx(_components.td,{children:`The library supports instrument inspection`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`V1`}),_jsx(_components.td,{children:`The library supports interactions with interfaces and templates written according to Token Standard V1`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`V2`}),_jsx(_components.td,{children:`The library supports interactions with interfaces and templates written according to Token Standard V2`}),_jsx(_components.td,{children:`Required`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`documentation`,children:`Documentation`}),`\n`,_jsx(_components.p,{children:`Documentation requirements define the user manual, tutorials, examples, and reference material that a conformant library ships with.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Domain`}),_jsx(_components.th,{children:`Additional info`}),_jsx(_components.th,{children:`Functionality Requirement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`User manual`}),_jsx(_components.td,{children:`The library is shipped with the comprehensive user manual that covers all functionality offered by the library. It must explain how to use each capability in this standard in the library’s language.`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Tutorials`}),_jsxs(_components.td,{children:[`The library is shipped with tutorials that demonstrate key interactions:`,_jsx(`br`,{}),`- building applications`,_jsx(`br`,{}),`- configuration`,_jsx(`br`,{}),`- connecting to ledger`,_jsx(`br`,{}),`- creating and managing users, parties`,_jsx(`br`,{}),`- uploading and vetting packages`,_jsx(`br`,{}),`- submitting commands using internal and external signing`,_jsx(`br`,{}),`- maintaining ACS`,_jsx(`br`,{}),`- interacting with PQS`,_jsx(`br`,{}),`- managing traffic credits`]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Examples`}),_jsx(_components.td,{children:`The library is shipped with example application(s) that showcases the capabilities and can be used as a blueprint for developers`}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Reference`}),_jsx(_components.td,{children:`The library is shipped with a complete reference material where each class, method and function is explained.`}),_jsx(_components.td,{children:`Required`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Ledger Client Standard","description":"Capability standard for Canton Ledger Client Libraries, including existing and upcoming functionality.","href":"/sdks-tools/language-bindings/client-standard"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Codegen and bindings","slug":"codegen-and-bindings","depth":2,"children":[]},{"title":"Basic infrastructure","slug":"basic-infrastructure","depth":2,"children":[]},{"title":"Commands","slug":"commands","depth":2,"children":[]},{"title":"Streams","slug":"streams","depth":2,"children":[]},{"title":"Parties","slug":"parties","depth":2,"children":[]},{"title":"Packages","slug":"packages","depth":2,"children":[]},{"title":"Topology","slug":"topology","depth":2,"children":[{"title":"Admin API and Ledger API support","slug":"admin-api-and-ledger-api-support","depth":3,"children":[]}]},{"title":"User","slug":"user","depth":2,"children":[]},{"title":"Traffic","slug":"traffic","depth":2,"children":[]},{"title":"Multi-synchronizer","slug":"multi-synchronizer","depth":2,"children":[]},{"title":"Token Standard","slug":"token-standard","depth":2,"children":[]},{"title":"Documentation","slug":"documentation","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cantonfoundation/9c03e72e153d6207/mintlify-sidebar-footer-patch.js","/_mintlify/custom/cantonfoundation/17537d003d412865/osano.js","/_mintlify/custom/cantonfoundation/ab79e5cc3fdba73d/giscus.js","/_mintlify/custom/cantonfoundation/675ffe7726579720/nav-transition.js","/_mintlify/custom/cantonfoundation/9b7a7a7db37d0115/ga-analytics-adjust.js"],"subdomain":"cantonfoundation","siteName":"Canton Network Docs","title":"Ledger Client Standard - Canton Network Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T12:18:41.443Z","originalFileLocation":"sdks-tools/language-bindings/client-standard.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Capability standard for Canton Ledger Client Libraries, including existing and upcoming functionality.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Canton Network Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026amp;auto=format\u0026amp;n=OOy41G-b8QJx6Gkr\u0026amp;q=85\u0026amp;s=d5d59c10fc4ca9be021afb188db72e2f\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026amp;auto=format\u0026amp;n=OOy41G-b8QJx6Gkr\u0026amp;q=85\u0026amp;s=d5d59c10fc4ca9be021afb188db72e2f\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026amp;auto=format\u0026amp;n=OOy41G-b8QJx6Gkr\u0026amp;q=85\u0026amp;s=d5d59c10fc4ca9be021afb188db72e2f\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026amp;auto=format\u0026amp;n=OOy41G-b8QJx6Gkr\u0026amp;q=85\u0026amp;s=d5d59c10fc4ca9be021afb188db72e2f\">\u003cmeta data-mint-head property=\"og:title\" content=\"Ledger Client Standard - Canton Network Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Capability standard for Canton Ledger Client Libraries, including existing and upcoming functionality.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Canton Network Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.canton.network/sdks-tools/language-bindings/client-standard\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cantonfoundation.mintlify.site/_mintlify/api/og/v2?division=Language+Bindings\u0026amp;title=Ledger+Client+Standard\u0026amp;description=Capability+standard+for+Canton+Ledger+Client+Libraries%2C+including+existing+and+upcoming+functionality.\u0026amp;theme=ffe2080e38fe73bda4a88670\u0026amp;signature=24aae87dc603efe8ec6759286da6c2b7550dab86915d33bf5023a3dc2c72cee1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Ledger Client Standard - Canton Network Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Capability standard for Canton Ledger Client Libraries, including existing and upcoming functionality.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cantonfoundation.mintlify.site/_mintlify/api/og/v2?division=Language+Bindings\u0026amp;title=Ledger+Client+Standard\u0026amp;description=Capability+standard+for+Canton+Ledger+Client+Libraries%2C+including+existing+and+upcoming+functionality.\u0026amp;theme=ffe2080e38fe73bda4a88670\u0026amp;signature=24aae87dc603efe8ec6759286da6c2b7550dab86915d33bf5023a3dc2c72cee1\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/cantonfoundation/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Canton Network Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#734BE2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.canton.network/sdks-tools/language-bindings/client-standard\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdks-tools/language-bindings/client-standard.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.canton.network/#organization\",\"name\":\"Canton Network Docs\",\"url\":\"https://docs.canton.network\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cantonfoundation/OOy41G-b8QJx6Gkr/images/canton-logo-dark.svg?fit=max\u0026auto=format\u0026n=OOy41G-b8QJx6Gkr\u0026q=85\u0026s=d5d59c10fc4ca9be021afb188db72e2f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.canton.network#website\",\"name\":\"Canton Network Docs\",\"url\":\"https://docs.canton.network\",\"publisher\":{\"@id\":\"https://docs.canton.network/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.canton.network/sdks-tools/language-bindings/client-standard#webpage\",\"url\":\"https://docs.canton.network/sdks-tools/language-bindings/client-standard\",\"name\":\"Ledger Client Standard\",\"description\":\"Capability standard for Canton Ledger Client Libraries, including existing and upcoming functionality.\",\"dateModified\":\"2026-11-16T12:18:41.443Z\",\"isPartOf\":{\"@id\":\"https://docs.canton.network#website\"},\"breadcrumb\":{\"@id\":\"https://docs.canton.network/sdks-tools/language-bindings/client-standard#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.canton.network/sdks-tools/language-bindings/client-standard#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Language Bindings\",\"item\":\"https://docs.canton.network/sdks-tools/language-bindings/java\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ledger Client Standard\",\"item\":\"https://docs.canton.network/sdks-tools/language-bindings/client-standard\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.canton.network/sdks-tools/language-bindings/client-standard#article\",\"headline\":\"Ledger Client Standard\",\"name\":\"Ledger Client Standard\",\"description\":\"Capability standard for Canton Ledger Client Libraries, including existing and upcoming functionality.\",\"url\":\"https://docs.canton.network/sdks-tools/language-bindings/client-standard\",\"mainEntityOfPage\":{\"@id\":\"https://docs.canton.network/sdks-tools/language-bindings/client-standard#webpage\"},\"dateModified\":\"2026-11-16T12:18:41.443Z\",\"publisher\":{\"@id\":\"https://docs.canton.network/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.canton.network#website\"}}]}\u003c/script>","agentPointerHref":"/sdks-tools/language-bindings/client-standard.md","siteName":"Canton Network Docs","nav":{"global":null,"products":[{"product":"Overview","icon":"book-open","pages":[{"title":"Overview","href":"/overview/understand/what-is-canton"}]},{"product":"App Development","icon":"code","pages":[{"title":"App Development","href":"/appdev/get-started/choose-your-path"}]},{"product":"Global Synchronizer","icon":"server","pages":[{"title":"Global Synchronizer","href":"/global-synchronizer/understand/overview"}]},{"product":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"product":"SDKs and Tools","icon":"wrench","groups":[{"group":"Overview","pages":[{"title":"SDKs and Tools","href":"/sdks-tools/overview"}]},{"group":"SDKs","pages":[{"title":"Daml SDK","href":"/sdks-tools/sdks/daml-sdk"},{"group":"Wallet SDK","pages":[{"title":"Overview","href":"/sdks-tools/sdks/wallet-sdk/overview"},{"title":"Quickstart","href":"/sdks-tools/sdks/wallet-sdk/quickstart"},{"group":"Using the SDK","pages":[{"title":"Configuration","href":"/sdks-tools/sdks/wallet-sdk/using-the-sdk/configuration"},{"title":"Registering Plugins","href":"/sdks-tools/sdks/wallet-sdk/using-the-sdk/registering-plugins"},{"group":"v0 to v1 migration","pages":[{"title":"SDK v0 to v1 Migration Guide","href":"/sdks-tools/sdks/wallet-sdk/using-the-sdk/v0-to-v1-migration"},{"title":"Migration cheat sheet","href":"/sdks-tools/sdks/wallet-sdk/using-the-sdk/v0-to-v1-migration/migration-cheat-sheet"},{"title":"Party Namespace","href":"/sdks-tools/sdks/wallet-sdk/using-the-sdk/v0-to-v1-migration/party"},{"title":"Token Namespace","href":"/sdks-tools/sdks/wallet-sdk/using-the-sdk/v0-to-v1-migration/token"},{"title":"User Namespace","href":"/sdks-tools/sdks/wallet-sdk/using-the-sdk/v0-to-v1-migration/user"},{"title":"Amulet Namespace","href":"/sdks-tools/sdks/wallet-sdk/using-the-sdk/v0-to-v1-migration/amulet"},{"title":"Ledger Namespace","href":"/sdks-tools/sdks/wallet-sdk/using-the-sdk/v0-to-v1-migration/ledger"},{"title":"Asset Namespace","href":"/sdks-tools/sdks/wallet-sdk/using-the-sdk/v0-to-v1-migration/asset"}]}]},{"group":"Guides","pages":[{"title":"Creating an External Party","href":"/sdks-tools/sdks/wallet-sdk/guides/creating-an-external-party"},{"title":"Finding and Reading Data From the Ledger","href":"/sdks-tools/sdks/wallet-sdk/guides/finding-and-reading-data"},{"title":"Preparing and Signing a Transaction","href":"/sdks-tools/sdks/wallet-sdk/guides/preparing-and-signing-a-transaction"},{"title":"Transfer Types","href":"/sdks-tools/sdks/wallet-sdk/guides/transfer-types"},{"title":"Performing a CC Tap on DevNet or LocalNet","href":"/sdks-tools/sdks/wallet-sdk/guides/performing-a-cc-tap"},{"title":"Signing Transactions from Third-Party dApps","href":"/sdks-tools/sdks/wallet-sdk/guides/signing-transactions-from-third-party-dapps"},{"title":"User Management","href":"/sdks-tools/sdks/wallet-sdk/guides/user-management"}]},{"title":"Wallet SDK","sidebarTitle":"Release Notes","href":"/integrations/release-notes/wallet-sdk"}]},{"group":"dApp SDK","pages":[{"title":"Overview","href":"/sdks-tools/sdks/dapp-sdk/overview"},{"title":"Quickstart","href":"/sdks-tools/sdks/dapp-sdk/quickstart"},{"group":"Guides","pages":[{"title":"Connect \u0026 Sessions","href":"/sdks-tools/sdks/dapp-sdk/guides/connect-and-sessions"},{"title":"Parties \u0026 Transactions","href":"/sdks-tools/sdks/dapp-sdk/guides/parties-and-transactions"},{"title":"Handle Events","href":"/sdks-tools/sdks/dapp-sdk/guides/handle-events"},{"title":"Wallet Discovery","href":"/sdks-tools/sdks/dapp-sdk/guides/wallet-discovery"}]},{"group":"API Reference","pages":[{"title":"SDK Methods","href":"/sdks-tools/sdks/dapp-sdk/reference/sdk-methods"},{"title":"Events","href":"/sdks-tools/sdks/dapp-sdk/reference/events"},{"title":"Provider API","href":"/sdks-tools/sdks/dapp-sdk/reference/provider-api"},{"title":"Errors","href":"/sdks-tools/sdks/dapp-sdk/reference/errors"}]},{"group":"Wallet Providers","pages":[{"title":"Integration Overview","href":"/sdks-tools/sdks/dapp-sdk/wallet-providers/integration-overview"},{"title":"Browser Extension","href":"/sdks-tools/sdks/dapp-sdk/wallet-providers/browser-extension"},{"title":"Remote Wallet","href":"/sdks-tools/sdks/dapp-sdk/wallet-providers/remote-wallet"},{"title":"WalletConnect","href":"/sdks-tools/sdks/dapp-sdk/wallet-providers/walletconnect"}]},{"title":"dApp SDK","sidebarTitle":"Release Notes","href":"/integrations/release-notes/dapp-sdk"}]}]},{"group":"Language Bindings","pages":[{"title":"Java Codegen","href":"/sdks-tools/language-bindings/java"},{"title":"Java LAPI Bindings","description":"Overview, installation, and reference for the Canton Java client libraries (bindings-java).","href":"/sdks-tools/language-bindings/java-client-libraries"},{"title":"Ledger Client Standard","href":"/sdks-tools/language-bindings/client-standard"},{"title":"JavaScript Codegen","description":"Generate JavaScript/TypeScript bindings from Daml interfaces and templates.","href":"/sdks-tools/language-bindings/javascript"},{"title":"Community Bindings","href":"/sdks-tools/language-bindings/community"}]},{"group":"CLI Tools","pages":[{"title":"dpm (Daml Package Manager)","href":"/sdks-tools/cli-tools/dpm"},{"title":"Canton Console","href":"/sdks-tools/cli-tools/canton-console"},{"title":"Daml Script","href":"/sdks-tools/cli-tools/daml-script"},{"title":"Daml Shell","href":"/sdks-tools/cli-tools/daml-shell"}]},{"group":"Development Tools","pages":[{"title":"Daml Studio","href":"/sdks-tools/development-tools/daml-studio"},{"title":"The Daml Compiler","href":"/sdks-tools/development-tools/daml-compiler"},{"title":"Daml Profiler","href":"/sdks-tools/development-tools/daml-profiler"},{"title":"LocalNet","href":"/sdks-tools/development-tools/localnet"},{"title":"Sandbox","href":"/sdks-tools/development-tools/sandbox"},{"title":"Darsyncer Docker Image","href":"/sdks-tools/development-tools/darsyncer"},{"group":"Splice Portfolio dApp UI","pages":[{"title":"Overview","href":"/sdks-tools/development-tools/splice-portfolio/overview"},{"title":"First-Time Setup","href":"/sdks-tools/development-tools/splice-portfolio/first-time-setup"},{"title":"Navigation","href":"/sdks-tools/development-tools/splice-portfolio/navigation"},{"title":"Transfers","href":"/sdks-tools/development-tools/splice-portfolio/transfers"},{"title":"Allocations","href":"/sdks-tools/development-tools/splice-portfolio/allocations"},{"title":"Add a Registry","href":"/sdks-tools/development-tools/splice-portfolio/add-a-registry"},{"title":"Enable Pre-Approvals","href":"/sdks-tools/development-tools/splice-portfolio/pre-approvals"},{"title":"DevNet Faucet","href":"/sdks-tools/development-tools/splice-portfolio/devnet-faucet"},{"title":"Switch Parties","href":"/sdks-tools/development-tools/splice-portfolio/switch-parties"},{"title":"Error Handling and Troubleshooting","href":"/sdks-tools/development-tools/splice-portfolio/troubleshooting"}]},{"group":"PQS","pages":[{"title":"PQS (Participant Query Store)","href":"/sdks-tools/development-tools/pqs"},{"title":"Configure","href":"/sdks-tools/development-tools/pqs/configure"},{"title":"Operate","href":"/sdks-tools/development-tools/pqs/operate"},{"title":"Optimize","href":"/sdks-tools/development-tools/pqs/optimize"},{"title":"Troubleshoot","href":"/sdks-tools/development-tools/pqs/troubleshoot"}]}]},{"group":"API Overview","pages":[{"group":"Ledger API","pages":[{"title":"Ledger API","href":"/sdks-tools/api-reference/ledger-api"},{"title":"gRPC Ledger API Services","href":"/sdks-tools/api-reference/ledger-api-services"},{"title":"JSON API","href":"/sdks-tools/api-reference/json-api"},{"title":"JSON Ledger API Migration to V2 guide","href":"/sdks-tools/api-reference/json-ledger-api-migration-to-v2"}]},{"title":"Admin API","href":"/sdks-tools/api-reference/admin-api"},{"group":"Splice APIs","pages":[{"title":"Splice Architecture","href":"/sdks-tools/api-reference/splice-architecture"},{"title":"Splice APIs","href":"/sdks-tools/api-reference/splice-apis"},{"title":"Splice APIs Overview","href":"/sdks-tools/api-reference/splice-overview"},{"title":"Splice HTTP APIs","href":"/sdks-tools/api-reference/splice-http-apis"},{"group":"Scan APIs","pages":[{"title":"Scan APIs","href":"/sdks-tools/api-reference/splice-scan-api"},{"title":"Scan Aggregates API","href":"/sdks-tools/api-reference/splice-scan-aggregates-api"},{"title":"Scan Bulk Data API","href":"/sdks-tools/api-reference/splice-scan-bulk-data-api"},{"title":"Scan Canton Coin Reference Data API","href":"/sdks-tools/api-reference/splice-scan-cc-reference-data-api"},{"title":"Scan API for Current State of CC and Synchronizer Traffic","href":"/sdks-tools/api-reference/splice-scan-current-state-api"},{"title":"Scan Global Synchronizer Connectivity API","href":"/sdks-tools/api-reference/splice-scan-gs-connectivity-api"},{"title":"Scan Global Synchronizer Operations API","href":"/sdks-tools/api-reference/splice-scan-gs-operations-api"},{"title":"Scan Open API Reference","href":"/sdks-tools/api-reference/splice-scan-openapi"}]},{"title":"Validator APIs","href":"/sdks-tools/api-reference/splice-validator-api"}]}]},{"group":"Reference Projects","pages":[{"title":"cn-quickstart","href":"/sdks-tools/reference-projects/cn-quickstart"},{"title":"Splice Reference Apps","href":"/sdks-tools/reference-projects/splice-reference-apps"}]}]},{"product":"API Reference","icon":"book-open","pages":[{"title":"API Reference","href":"/api-reference"}]},{"product":"Release Notes","icon":"note","pages":[{"title":"Release Notes","href":"/release-notes"}]},{"product":"Version Dashboard","icon":"table","pages":[{"title":"Version Dashboard","href":"/shared/version-compatibility-dashboard"}]},{"product":"Page templates","icon":"file-pen","hidden":true,"pages":[{"title":"Page templates","href":"/src/appdev/deep-dives/token-standard"}]}]},"basePath":"","title":"Ledger Client Standard - Canton Network Docs","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}