Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/Ledger APIgRPC APIPackagescom.digitalasset.canton.tea.v1ServicesTrafficServiceView on Canton Network Docs

GetAccount

Other APIsgRPC APIcom.digitalasset.canton.tea.v1GetAccount

com.digitalasset.canton.tea.v1

GetAccount

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

Protocol Details

Inputs

GetAccountRequest

account_idstring

Outputs

GetAccountResponse

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"
}