Skip to main content
GET

Get account state for a given account ID. Required permissions: traffic:read, or (traffic:self and (CanDebitTrafficFrom for the account ID, CanDebitTrafficFromAnyAccount, ActAsAnyParty, ExecuteAsAnyParty, or ActAs or ExecuteAs rights for the party with the same ID)). NOTE: This endpoint is exposed only when traffic enforcement feature is enabled (canton.participants.participant1.traffic-enforcement.enabled = true)

Authorizations

httpAuth

string
required
HTTP bearer authentication. Send the token as Authorization: Bearer <token>. Ledger API standard JWT token

apiKeyAuth

string
required
API key authentication in the header. Ledger API standard JWT token (websocket)

Path parameters

string
required

Responses

200

application/json
string
required
Required
integer (int64)
required
Required

400

Invalid value
text/plain
string
required

default

application/json
string
required
string
required
string
string
Map_String
required
Tuple2_String_String[]
integer (int32)
required
integer (int32)
string
boolean

History

Updated3.8

The GET /v2/traffic/accounts/{account-id} operation changed in this snapshot.

Added3.5