Documentation/Canton Network Docs/Ledger APIProtobufsPackagescom.digitalasset.canton.tea.v1ServicesTrafficServiceView on Canton Network Docs ↗
GetAccount
RPC
/com.digitalasset.canton.tea.v1.TrafficService/GetAccountProtocol Details
Inputs
GetAccountRequest
account_idstringOutputs
GetAccountResponse
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"
}