GetAccount

Query information about an account,Including balances, stake, votes and time, etc.

Return value:Account Object

Body params:

  • address - address should be converted to a hex string

  • visible - Optional,whether the address is in base58 format

Request

curl --request POST \
     --url https://tron.api.watchdata.io/wallet/getaccount \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "address": "41E552F6487585C2B58BC2C9BB4492BC1F17132CD0"
}
'

Response

{
  "account_name": "53756e",
  "address": "41e552f6487585c2b58bc2c9bb4492bc1f17132cd0",
  "balance": 2001000020,
  "latest_opration_time": 1626034707000,
  "latest_consume_free_time": 1626034707000,
  "account_resource": {}
}

Last updated