Canton Network docsLedger API › Protobufs › Packages › com.digitalasset.canton.tea.v1 › Services › TrafficService
ListAccounts
Updated 03-12-2026
RPC
/com.digitalasset.canton.tea.v1.TrafficService/ListAccountsProtocol Details
ProtocolgRPC
ServiceTrafficService
RPCListAccounts
Client streamNo
Server streamNo
Inputs
Messagecom.digitalasset.canton.tea.v1.ListAccountsRequest
Client streamNo
page_sizeint32page_tokenstringaccount_id_prefixstringOutputs
Messagecom.digitalasset.canton.tea.v1.ListAccountsResponse
Server streamNo
accountsrepeated GetAccountResponsenext_page_tokenstringRelated Schemas
com.digitalasset.canton.tea.v1.ListAccountsRequest
com.digitalasset.canton.tea.v1.ListAccountsRequest
page_sizeint32page_tokenstringaccount_id_prefixstringcom.digitalasset.canton.tea.v1.ListAccountsResponse
com.digitalasset.canton.tea.v1.ListAccountsResponse
accountsrepeated GetAccountResponsenext_page_tokenstringcom.digitalasset.canton.tea.v1.GetAccountResponse
com.digitalasset.canton.tea.v1.GetAccountResponse
account_idstringbalanceint64History
Added
3.8.0grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.digitalasset.canton.tea.v1.TrafficService/ListAccounts <<'EOF'
{
"pageSize": 0,
"pageToken": "string",
"accountIdPrefix": "string"
}
EOF
OKapplication/json
OK
{
"accounts": [
{
"accountId": "string",
"balance": "0"
}
],
"nextPageToken": "string"
}