Documentation/Canton Network Docs/Ledger API › Protobufs › Packages › com.digitalasset.canton.tea.v1 › Services › TrafficServiceView on Canton Network Docs ↗
GetAccount
RPC
/com.digitalasset.canton.tea.v1.TrafficService/GetAccountProtocol Details
ProtocolgRPC
ServiceTrafficService
RPCGetAccount
Client streamNo
Server streamNo
Inputs
GetAccountRequest
Messagecom.digitalasset.canton.tea.v1.GetAccountRequest
Client streamNo
account_idstringOutputs
GetAccountResponse
Messagecom.digitalasset.canton.tea.v1.GetAccountResponse
Server streamNo
account_idstringbalanceint64Related Schemas
com.digitalasset.canton.tea.v1.GetAccountRequest
com.digitalasset.canton.tea.v1.GetAccountRequest
account_idstringcom.digitalasset.canton.tea.v1.GetAccountResponse
com.digitalasset.canton.tea.v1.GetAccountResponse
account_idstringbalanceint64History
Added
3.5.15grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.digitalasset.canton.tea.v1.TrafficService/GetAccount <<'EOF'
{
"accountId": "string"
}
EOF
OKapplication/json
OK
{
"accountId": "string",
"balance": "0"
}