Documentation Index
Fetch the complete documentation index at: https://cantonfoundation-issue-526-canton-docker-image-location.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
How to allocate and query Daml parties
Canton Participant Node exposes a party management service that allows creation and discovery of the Daml parties. This guide explains how to programmatically manipulate the parties using the JSON Ledger API, which is described using OpenAPI specifications. To learn about the Daml parties and users, see :brokenref:‘Daml parties and users’ in the key concepts section. Refer to the party management section in the operational guide to learn how the parties can be created using the Canton console.Start Canton Participant Node
Ensure that your Canton Participant Node opens a JSON Ledger API HTTP port by adding a flag to the Canton Participant startupHow to query for existing parties
To list all parties known to the participant, issue a GET request towards thev2/parties endpoint.
isLocal attribute is set to true if the participant hosts the party and the party shares the same identity provider as the user issuing the request.
How to create a new local party
To create a new party, issue a POST request towards thev2/parties endpoint.
partyIdHint and the namespace fingerprint of the entity overseeing that party. Typically, it is the fingerprint associated with the Canton Participant Node.
partIdHint in your request, the Participant Node selects a random hint string.