Documentation/Canton Network Docs/Ledger API › gRPC API › Packages › com.digitalasset.canton.tea.v1 › Services › TrafficServiceView on Canton Network Docs ↗
UpdateAccount
RPC
/com.digitalasset.canton.tea.v1.TrafficService/UpdateAccountProtocol Details
ProtocolgRPC
ServiceTrafficService
RPCUpdateAccount
Client streamNo
Server streamNo
Inputs
UpdateAccountRequest
Messagecom.digitalasset.canton.tea.v1.UpdateAccountRequest
Client streamNo
account_idstringbalance_deltaint64deduplication_idstringOutputs
UpdateAccountResponse
Messagecom.digitalasset.canton.tea.v1.UpdateAccountResponse
Server streamNo
responseGetAccountResponseRelated Schemas
com.digitalasset.canton.tea.v1.UpdateAccountRequest
com.digitalasset.canton.tea.v1.UpdateAccountRequest
account_idstringbalance_deltaint64deduplication_idstringcom.digitalasset.canton.tea.v1.UpdateAccountResponse
com.digitalasset.canton.tea.v1.UpdateAccountResponse
responseGetAccountResponsecom.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/UpdateAccount <<'EOF'
{
"accountId": "string",
"balanceDelta": "0",
"deduplicationId": "string"
}
EOF
OKapplication/json
OK
{
"response": {
"accountId": "string",
"balance": "0"
}
}