Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/Ledger API › gRPC API › Packages › com.digitalasset.canton.tea.v1 › Services › TrafficServiceView on Canton Network Docs ↗

UpdateAccount

Other APIs›gRPC API›com.digitalasset.canton.tea.v1›UpdateAccount

com.digitalasset.canton.tea.v1

UpdateAccount

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

Protocol Details

ProtocolgRPC
ServiceTrafficService
RPCUpdateAccount
Client streamNo
Server streamNo

Inputs

UpdateAccountRequest

Messagecom.digitalasset.canton.tea.v1.UpdateAccountRequest
Client streamNo
account_idstring
balance_deltaint64
deduplication_idstring

Outputs

UpdateAccountResponse

Messagecom.digitalasset.canton.tea.v1.UpdateAccountResponse
Server streamNo
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"
  }
}