Skip to content
CCPEDIAby Unity Nodes
Canton Network docsLedger API › gRPC API › Packages › com.digitalasset.canton.tea.v1 › Services › TrafficService

ListAccounts

Updated 03-12-2026

Other APIs›gRPC API›com.digitalasset.canton.tea.v1›ListAccounts

com.digitalasset.canton.tea.v1

ListAccounts

RPC/com.digitalasset.canton.tea.v1.TrafficService/ListAccounts

Protocol Details

ProtocolgRPC
ServiceTrafficService
RPCListAccounts
Client streamNo
Server streamNo

Inputs

ListAccountsRequest

Messagecom.digitalasset.canton.tea.v1.ListAccountsRequest
Client streamNo
page_sizeint32
page_tokenstring
account_id_prefixstring

Outputs

ListAccountsResponse

Messagecom.digitalasset.canton.tea.v1.ListAccountsResponse
Server streamNo
accountsrepeated GetAccountResponse
next_page_tokenstring

com.digitalasset.canton.tea.v1.ListAccountsRequest

page_sizeint32
page_tokenstring
account_id_prefixstring

com.digitalasset.canton.tea.v1.ListAccountsResponse

accountsrepeated GetAccountResponse
next_page_tokenstring

com.digitalasset.canton.tea.v1.GetAccountResponse

account_idstring
balanceint64

History

Added3.8.0
grpcurl
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"
}