Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Query party IDs for login screenForum ↗

Query party IDs for login screen

App Development2 posts586 views5 likesLast activity Jun 2020
GA
gaborhOP
Jun 2020

I use Canton and DAML UI template for a demo application. Party IDs are very long and change from one Canton start to the next.

I would like to query the party IDs on the login screen before logging in and present a list/menu to the user. Is this possible? If yes, how?

GE
georg
Jun 2020

If you run a JSON API service you can use the v1/parties endpoint to query all known parties (see the docs here). You’d need a token with an admin claim though if I remember correctly, but I suppose for a demo you could provide that.

← Back to Discussions