canton-network-docs/Wallet GatewayReference
User API
The User API is a JSON-RPC 2.0 API for managing a user’s wallets, networks, identity
providers, sessions, and transactions. The User UI is built on it, and you can call it
directly from scripts, a backend, or a custom UI.
The following methods are available without authentication, so a client can bootstrap a
connection:
- Base path:
/api/v0/user(configurable viaserver.userPath) - Protocol: JSON-RPC 2.0
- Authentication: JWT bearer token, except where noted below
Methods
Authentication
Most methods require a JWT in theAuthorization header:
addSession()listNetworks()listIdps()
Full specification
The complete OpenRPC specification is available at openrpc-user-api.json.Rate limiting
Requests are rate-limited to prevent abuse. Configure the limits in the server settings. Responses include:X-RateLimit-Limit: maximum requests per window.X-RateLimit-Remaining: remaining requests in the current window.X-RateLimit-Reset: when the limit resets.
CORS
Cross-origin access is controlled byserver.allowedOrigins. It defaults to ["*"]; in
production, restrict it to known origins. See
Configure the Wallet Gateway.