Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/Ledger API › gRPC API › Packages › com.digitalasset.canton.tea.v1 › Services › TrafficServiceView on Canton Network Docs ↗

GetAccount

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

com.digitalasset.canton.tea.v1

GetAccount

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

Protocol Details

ProtocolgRPC
ServiceTrafficService
RPCGetAccount
Client streamNo
Server streamNo

Inputs

GetAccountRequest

Messagecom.digitalasset.canton.tea.v1.GetAccountRequest
Client streamNo
account_idstring

Outputs

GetAccountResponse

Messagecom.digitalasset.canton.tea.v1.GetAccountResponse
Server streamNo
account_idstring
balanceint64

com.digitalasset.canton.tea.v1.GetAccountRequest

account_idstring

com.digitalasset.canton.tea.v1.GetAccountResponse

account_idstring
balanceint64

History

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