Documentation/Canton Network Docs/Ledger APIgRPC APIPackagescom.digitalasset.canton.tea.v1ServicesTrafficServiceView on Canton Network Docs ↗
UpdateAccount
RPC
/com.digitalasset.canton.tea.v1.TrafficService/UpdateAccountProtocol Details
Inputs
UpdateAccountRequest
account_idstringbalance_deltaint64deduplication_idstringOutputs
UpdateAccountResponse
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"
}
}