# \#json-api

**URL:** https://forum.canton.network/tag/json-api/79.md

[Latest](https://forum.canton.network/latest.md) · [Categories](https://forum.canton.network/categories.md) · [Tags](https://forum.canton.network/tags.md)

---

## [Use wscat with HTTP JSON API Streaming API?](https://forum.canton.network/t/use-wscat-with-http-json-api-streaming-api/7588)

<div class="topic-metadata">

**Author:** [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Replies:** 2\
**Last updated:** [August 6, 2026, 2:49pm UTC](https://forum.canton.network/t/use-wscat-with-http-json-api-streaming-api/7588 "2026-08-06T14:49:50Z")

</div>

Is it possible to use wscat with the 2.x HTTP JSON API? Start the HTTP JSON API. daml new test cd test daml start Confirm the contracts exist and the token is good with curl and v1/query. (the token should work…

---

## [Deterministic Settlement Confirmation Blocker](https://forum.canton.network/t/deterministic-settlement-confirmation-blocker/8992)

<div class="topic-metadata">

**Author:** [@feros.khan](https://forum.canton.network/u/feros.khan)\
**Replies:** 3\
**Last updated:** [July 30, 2026, 5:20pm UTC](https://forum.canton.network/t/deterministic-settlement-confirmation-blocker/8992 "2026-07-30T17:20:33Z")

</div>

We are encountering a network‑level blocker when attempting to activate deterministic settlement logic for our node. Before any transaction submission, the network should confirm (on‑chain) whether our CIP‑0056‑compliant…

---

## [Large update to the Canton Canton 3.5.3 release notes](https://forum.canton.network/t/large-update-to-the-canton-canton-3-5-3-release-notes/8704)

<div class="topic-metadata">

**Author:** [@Curtis\_Hrischuk](https://forum.canton.network/u/Curtis_Hrischuk)\
**Replies:** 0\
**Last updated:** [June 10, 2026, 2:07am UTC](https://forum.canton.network/t/large-update-to-the-canton-canton-3-5-3-release-notes/8704 "2026-06-10T02:07:20Z")

</div>

With the release of Canton 3.5.3, the Release Notes have been greatly expanded. It is recommended to review them. They can be found here.

---

## [Passing Splice ExtraArgs to JSON API](https://forum.canton.network/t/passing-splice-extraargs-to-json-api/8416)

<div class="topic-metadata">

**Author:** [@komus-Israel](https://forum.canton.network/u/komus-Israel)\
**Replies:** 1\
**Last updated:** [February 17, 2026, 10:45am UTC](https://forum.canton.network/t/passing-splice-extraargs-to-json-api/8416 "2026-02-17T10:45:40Z")

</div>

Hi, is anyone familiar with how textmap values can be passed as context to the json ledger api Something like this: extraArgs = Api.Token.MetadataV1.ExtraArgs with context = Api.Token.MetadataV1.ChoiceC…

---

## [Updating a party's display name](https://forum.canton.network/t/updating-a-partys-display-name/6447)

<div class="topic-metadata">

**Author:** [@David\_Martins](https://forum.canton.network/u/David_Martins)\
**Replies:** 7\
**Last updated:** [September 6, 2025, 6:34pm UTC](https://forum.canton.network/t/updating-a-partys-display-name/6447 "2025-09-06T18:34:00Z")

</div>

Hello all, is it at all possible to change a party’s display name after allocation. Via the Json API doesn’t seem to be possible, but is this something that can be achieved either on ledger API or canton console? Thank …

---

## [Unable to fetch contracts using JSON-api](https://forum.canton.network/t/unable-to-fetch-contracts-using-json-api/7902)

<div class="topic-metadata">

**Author:** [@Sindhusha](https://forum.canton.network/u/Sindhusha)\
**Replies:** 2\
**Last updated:** [April 22, 2025, 3:30am UTC](https://forum.canton.network/t/unable-to-fetch-contracts-using-json-api/7902 "2025-04-22T03:30:54Z")

</div>

Hi All, i am using simple-topology and uploaded the dar files per my requirement and created an instrument (have used in memory as storage).When i am trying to fetch it or query using JSON-api its showing nothing modul…

---

## [@daml/type, @daml/ledger, and @daml/react libraries for 3.x?](https://forum.canton.network/t/daml-type-daml-ledger-and-daml-react-libraries-for-3-x/7884)

<div class="topic-metadata">

**Author:** [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Replies:** 1\
**Last updated:** [April 16, 2025, 7:39pm UTC](https://forum.canton.network/t/daml-type-daml-ledger-and-daml-react-libraries-for-3-x/7884 "2025-04-16T19:39:33Z")

</div>

Canton 2.x included JavaScript Client Libraries – @daml/types, @daml/ledger, and @daml/react. Are these available for Canton 3.x?

---

## [How to generate auth token to use the rest endpoint of the http-json](https://forum.canton.network/t/how-to-generate-auth-token-to-use-the-rest-endpoint-of-the-http-json/7882)

<div class="topic-metadata">

**Author:** [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Replies:** 0\
**Last updated:** [April 15, 2025, 5:05pm UTC](https://forum.canton.network/t/how-to-generate-auth-token-to-use-the-rest-endpoint-of-the-http-json/7882 "2025-04-15T17:05:47Z")

</div>

Hi Team , I have setup running in eks cluster self hosted domain ,sequencer,participant and json all running as pods how can we generate auth token to use the rest endpoint of the http-json

---

## [Stream all template types from 2.x HTTP JSON API](https://forum.canton.network/t/stream-all-template-types-from-2-x-http-json-api/7589)

<div class="topic-metadata">

**Author:** [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Replies:** 1\
**Last updated:** [January 10, 2025, 8:49pm UTC](https://forum.canton.network/t/stream-all-template-types-from-2-x-http-json-api/7589 "2025-01-10T20:49:10Z")

</div>

With the v1/stream/query endpoint, one can stream active contracts for a given list of template ids. For example: wscat --connect http://localhost:7575/v1/stream/query \\ --subprotocol 'daml.ws.auth' \\ --subp…

---

## [Log HTTP JSON API (v 2.x) timeout configuration](https://forum.canton.network/t/log-http-json-api-v-2-x-timeout-configuration/7461)

<div class="topic-metadata">

**Author:** [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Replies:** 1\
**Last updated:** [October 25, 2024, 3:36pm UTC](https://forum.canton.network/t/log-http-json-api-v-2-x-timeout-configuration/7461 "2024-10-25T15:36:09Z")

</div>

The post Timeout response from HTTP-JSON service - #6 by cocreature mentions that you can use… -Dakka.http.server.request-timeout=5s …to configure the HTTP JSON API service. Is there a way to include the Akka HTTP Ser…

---

## [Creating a type map on the front end](https://forum.canton.network/t/creating-a-type-map-on-the-front-end/7196)

<div class="topic-metadata">

**Author:** [@Joao\_Freitas](https://forum.canton.network/u/Joao_Freitas)\
**Replies:** 4\
**Last updated:** [April 4, 2024, 5:21pm UTC](https://forum.canton.network/t/creating-a-type-map-on-the-front-end/7196 "2024-04-04T17:21:26Z")

</div>

Hi :slight\_smile: on my frontend code i have a choice that i need to exercise that has one argument that is of a type Map. I am making use of @daml/types at version 2.8.0 My code is similar to the following short exam…

---

## [Exercise Interface choice on Daml Script with Json API](https://forum.canton.network/t/exercise-interface-choice-on-daml-script-with-json-api/7134)

<div class="topic-metadata">

**Author:** [@David\_Martins](https://forum.canton.network/u/David_Martins)\
**Replies:** 2\
**Last updated:** [February 28, 2024, 4:42pm UTC](https://forum.canton.network/t/exercise-interface-choice-on-daml-script-with-json-api/7134 "2024-02-28T16:42:34Z")

</div>

Hello, I have the following daml script that I wish to run against a remote ledger. execute : Party -\> Script () execute party = script do (cidList, \_) \<- unzip \<$\> queryInterface @IFoo csd mapA\_ (\\ cid -\> submit p…

---

## [How to create token to use HTTP Json Api server in the canton?](https://forum.canton.network/t/how-to-create-token-to-use-http-json-api-server-in-the-canton/7107)

<div class="topic-metadata">

**Author:** [@Manju](https://forum.canton.network/u/Manju)\
**Replies:** 3\
**Last updated:** [February 14, 2024, 1:53pm UTC](https://forum.canton.network/t/how-to-create-token-to-use-http-json-api-server-in-the-canton/7107 "2024-02-14T13:53:31Z")

</div>

Hi Team, I have Canton network in the VMs. I have run the participant1 and domain in VM1 and participant2 in VM2 natively. I have started the HTTP Json api server in both the VMs. I have deployed smart contract called G…

---

## [DA.Set on JSON-API](https://forum.canton.network/t/da-set-on-json-api/3008)

<div class="topic-metadata">

**Author:** [@kctam](https://forum.canton.network/u/kctam)\
**Replies:** 4\
**Last updated:** [February 7, 2024, 7:56pm UTC](https://forum.canton.network/t/da-set-on-json-api/3008 "2024-02-07T19:56:43Z")

</div>

Hi Team, I am seeing in some templates DA.Set is being used in “with” block. May I know what is the right way to incorporate this inside the payload in JSON-API (say in Postman using v1/create)? I have tried an empty \[\]…

---

## [Does daml supports only java maven for building ledger client app?](https://forum.canton.network/t/does-daml-supports-only-java-maven-for-building-ledger-client-app/7018)

<div class="topic-metadata">

**Author:** [@Manju](https://forum.canton.network/u/Manju)\
**Replies:** 2\
**Last updated:** [January 9, 2024, 6:41am UTC](https://forum.canton.network/t/does-daml-supports-only-java-maven-for-building-ledger-client-app/7018 "2024-01-09T06:41:58Z")

</div>

Hi Team, I have written a daml smart contract and deployed it in canton participant node. To interact with daml smart contract, I am going write the ledger client app using java bindings. Does the daml supports only mav…

---

## [How to create different parties dynamically on DAML](https://forum.canton.network/t/how-to-create-different-parties-dynamically-on-daml/6942)

<div class="topic-metadata">

**Author:** [@tarunjais](https://forum.canton.network/u/tarunjais)\
**Replies:** 1\
**Last updated:** [November 24, 2023, 10:23am UTC](https://forum.canton.network/t/how-to-create-different-parties-dynamically-on-daml/6942 "2023-11-24T10:23:12Z")

</div>

As DAML is private network, so the new users / parties are not present initially (except it is added during genesis creation), so is there any other way to onboard new users / parties after the genesis configuration? If …

---

## [Request timeout encountered for request \[POST v1/exercise\]](https://forum.canton.network/t/request-timeout-encountered-for-request-post-v1-exercise/6903)

<div class="topic-metadata">

**Author:** [@bartcant](https://forum.canton.network/u/bartcant)\
**Replies:** 5\
**Last updated:** [October 26, 2023, 8:17pm UTC](https://forum.canton.network/t/request-timeout-encountered-for-request-post-v1-exercise/6903 "2023-10-26T20:17:53Z")

</div>

HI Daml team We are encountering a strange issue in our enviroment where we received a timeout on our POST v1/exercise while we are not receiveing any timeouts on POST v1/query ANy insights on what could be the root…

---

## [Is there a particular format or standard of creating JWT for sending in HTTP request header for authentication?](https://forum.canton.network/t/is-there-a-particular-format-or-standard-of-creating-jwt-for-sending-in-http-request-header-for-authentication/6881)

<div class="topic-metadata">

**Author:** [@rohit\_daml1](https://forum.canton.network/u/rohit_daml1)\
**Replies:** 1\
**Last updated:** [October 19, 2023, 12:25pm UTC](https://forum.canton.network/t/is-there-a-particular-format-or-standard-of-creating-jwt-for-sending-in-http-request-header-for-authentication/6881 "2023-10-19T12:25:24Z")

</div>

I am trying to send HTTP request to ‘/v1/create’ on daml app server run with help of daml-on-fabric. But without JWT token, it responds with ‘Authentication JWT missing’ error. I am confused about how to handle it? Ho…

---

## [Reducing JSON API's memory usage](https://forum.canton.network/t/reducing-json-apis-memory-usage/6840)

<div class="topic-metadata">

**Author:** [@Chan\_Lee](https://forum.canton.network/u/Chan_Lee)\
**Replies:** 1\
**Last updated:** [September 1, 2023, 3:52pm UTC](https://forum.canton.network/t/reducing-json-apis-memory-usage/6840 "2023-09-01T15:52:58Z")

</div>

Hi all, Is there a way to reduce the memory footprint of the JSON API? Our dev environment has a three participant setup using a single Canton container and three JSON APi containers and the memory required is becoming…

---

## [Invitation to Participate in Research Study on Smart Contract Security Practices](https://forum.canton.network/t/invitation-to-participate-in-research-study-on-smart-contract-security-practices/6795)

<div class="topic-metadata">

**Author:** [@Iqra\_Mustafa1](https://forum.canton.network/u/Iqra_Mustafa1)\
**Replies:** 0\
**Last updated:** [August 9, 2023, 4:00pm UTC](https://forum.canton.network/t/invitation-to-participate-in-research-study-on-smart-contract-security-practices/6795 "2023-08-09T16:00:05Z")

</div>

Hi Everyone, I need to conduct an interview session with DAML Contract Developers, Smart Contract Developers, or Testers as part of my research project. Since my primary area of study is DAML, I am particularly interest…

---

## [Does JSON-API support workflow\_id?](https://forum.canton.network/t/does-json-api-support-workflow-id/6773)

<div class="topic-metadata">

**Author:** [@Luciano](https://forum.canton.network/u/Luciano)\
**Replies:** 1\
**Last updated:** [July 26, 2023, 2:37pm UTC](https://forum.canton.network/t/does-json-api-support-workflow-id/6773 "2023-07-26T14:37:42Z")

</div>

I can’t find any mention of workflow\_id in the documentation. In the section on contract creation, there is a part that mentions a meta variable which can be used e.g. for setting the command\_id , and I tried adding the w…

---

## [Using Oracle Database as the query store for the HTTP JSON API](https://forum.canton.network/t/using-oracle-database-as-the-query-store-for-the-http-json-api/6764)

<div class="topic-metadata">

**Author:** [@rexng](https://forum.canton.network/u/rexng)\
**Replies:** 2\
**Last updated:** [July 19, 2023, 9:08am UTC](https://forum.canton.network/t/using-oracle-database-as-the-query-store-for-the-http-json-api/6764 "2023-07-19T09:08:40Z")

</div>

I am testing the use of Oracle Database as the query store for the HTTP JSON API with the following config, { server { address = "localhost" port = 7575 } ledger-api { address = "localhost" port = …

---

## [ContractId for Template and Interface](https://forum.canton.network/t/contractid-for-template-and-interface/6743)

<div class="topic-metadata">

**Author:** [@wilsonhsu0102](https://forum.canton.network/u/wilsonhsu0102)\
**Replies:** 1\
**Last updated:** [July 10, 2023, 4:06pm UTC](https://forum.canton.network/t/contractid-for-template-and-interface/6743 "2023-07-10T16:06:16Z")

</div>

Hi Team, Recently discovered that via HTTP JSON API, fetch\_by\_contract\_id on an interface ContractId without providing templateId nor interfaceId would give us the template object. Is this a deterministic behaviour that…

---

## [Using @daml/ledger TypeScript library for backend code](https://forum.canton.network/t/using-daml-ledger-typescript-library-for-backend-code/6708)

<div class="topic-metadata">

**Author:** [@huw](https://forum.canton.network/u/huw)\
**Replies:** 2\
**Last updated:** [June 26, 2023, 10:21pm UTC](https://forum.canton.network/t/using-daml-ledger-typescript-library-for-backend-code/6708 "2023-06-26T22:21:15Z")

</div>

Is using the TypeScript library @daml/ledger supported for use in non-UI applications (e.g. a Node JS backend)? I believe it is technically possible, but the docs seem to be mostly focused on using it for front-end devel…

---

## [Show full error message](https://forum.canton.network/t/show-full-error-message/6674)

<div class="topic-metadata">

**Author:** [@wilsonhsu0102](https://forum.canton.network/u/wilsonhsu0102)\
**Replies:** 3\
**Last updated:** [June 22, 2023, 4:16pm UTC](https://forum.canton.network/t/show-full-error-message/6674 "2023-06-22T16:16:13Z")

</div>

Hi team, I was looking for a way to stop daml from truncating the error messages returned by HTTP JSON API, but I was not able to find anything. How do we return the full message instead of having ... at the end like F…

---

## [How to create API services for DAML smart contract?](https://forum.canton.network/t/how-to-create-api-services-for-daml-smart-contract/6627)

<div class="topic-metadata">

**Author:** [@arijitltim](https://forum.canton.network/u/arijitltim)\
**Replies:** 3\
**Last updated:** [June 1, 2023, 1:09pm UTC](https://forum.canton.network/t/how-to-create-api-services-for-daml-smart-contract/6627 "2023-06-01T13:09:51Z")

</div>

I have implemented a small DAML smart contract. Now I want to build a NodeJS application where I will create an API that will invoke the DAML smart contract and create the contract and also execute the choices.

---

## [Can we connect to the Canton network without using any CLI?](https://forum.canton.network/t/can-we-connect-to-the-canton-network-without-using-any-cli/6609)

<div class="topic-metadata">

**Author:** [@arijitltim](https://forum.canton.network/u/arijitltim)\
**Replies:** 1\
**Last updated:** [May 30, 2023, 3:07pm UTC](https://forum.canton.network/t/can-we-connect-to-the-canton-network-without-using-any-cli/6609 "2023-05-30T15:07:19Z")

</div>

I was going through the Canton official documentation, and as per the tutorial, we can connect to Canton only using the CLI. Is there any other way (ex: Canton SDK) to connect to the Canton network? I was looking for so…

---

## [DAML leger is not blockchain](https://forum.canton.network/t/daml-leger-is-not-blockchain/6485)

<div class="topic-metadata">

**Author:** [@Iqra\_Mustafa1](https://forum.canton.network/u/Iqra_Mustafa1)\
**Replies:** 4\
**Last updated:** [May 15, 2023, 12:10pm UTC](https://forum.canton.network/t/daml-leger-is-not-blockchain/6485 "2023-05-15T12:10:03Z")

</div>

The DAML ledger is not a blockchain. But when we run DAML contracts on some other supported platforms, i.e., Fabric or Corda, they inherit the properties of the underlying persistent layer. For instance, their consensus…

---

## [How do i enable HTTPS for Daml JSON API using Apache Reverse Proxy](https://forum.canton.network/t/how-do-i-enable-https-for-daml-json-api-using-apache-reverse-proxy/6354)

<div class="topic-metadata">

**Author:** [@Rocky](https://forum.canton.network/u/Rocky)\
**Replies:** 2\
**Last updated:** [March 30, 2023, 5:16pm UTC](https://forum.canton.network/t/how-do-i-enable-https-for-daml-json-api-using-apache-reverse-proxy/6354 "2023-03-30T17:16:45Z")

</div>

Hi, Could you please give me the steps that needs to be followed to enable HTTPS for JSON API using Apache reverse proxy?

---

## [How to test Apache Reverse proxy enablement for JSON API](https://forum.canton.network/t/how-to-test-apache-reverse-proxy-enablement-for-json-api/6431)

<div class="topic-metadata">

**Author:** [@Rocky](https://forum.canton.network/u/Rocky)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 11:57am UTC](https://forum.canton.network/t/how-to-test-apache-reverse-proxy-enablement-for-json-api/6431 "2023-04-17T11:57:21Z")

</div>

Hi, I have Installed an SSL/TLS certificate and Configured Apache with SSL/TLS and then Configured the reverse proxy by setting ProxyPass /api https://my-api-domain.com:7575 ProxyPassReverse /api https://my-api-domain…

[Next page](https://forum.canton.network/tag/json-api/79.md?match_all_tags=true&page=1&tags%5B%5D=json-api)
