Expose Ledger API
How to expose and access the Ledger API for a participant or validator in CatalyX Blockchain Manager.
Overview
What is the Ledger API?
API Type
Purpose
Architecture
Part 1 — Enable Ledger API Exposure
Part 2 — Configure Keycloak Authentication
Create a Realm
Create an OpenID Client
Create the daml_ledger_api Scope
daml_ledger_api ScopeConfigure the Audience Mapper
Field
Value
Part 3 — Configure Roles and Users
Part 4 — Configure Canton Authorization
Part 5 — Generate an Access Token
Validate the JWT Token
Part 6 — Access the Ledger API
JSON Ledger API
Endpoint
Purpose
gRPC Ledger API
Ledger Events
Troubleshooting
Common Issues
Issue
Cause
Resolution
Validation Checklist
Check
Expected Result
Best Practices
Additional References
Last updated
Was this helpful?