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

UpdateAccount

Other APIsgRPC APIcom.digitalasset.canton.tea.v1UpdateAccount

com.digitalasset.canton.tea.v1

UpdateAccount

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

Protocol Details

Inputs

UpdateAccountRequest

account_idstring
balance_deltaint64
deduplication_idstring

Outputs

UpdateAccountResponse

responseGetAccountResponse

com.digitalasset.canton.tea.v1.UpdateAccountRequest

account_idstring
balance_deltaint64
deduplication_idstring

com.digitalasset.canton.tea.v1.UpdateAccountResponse

responseGetAccountResponse

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/UpdateAccount <<'EOF'
{
  "accountId": "string",
  "balanceDelta": "0",
  "deduplicationId": "string"
}
EOF
OKapplication/json
OK
{
  "response": {
    "accountId": "string",
    "balance": "0"
  }
}