Skip to main content

GetAccountById

POST

Query account information by account ID.
Path Parameters
chainstringrequired
Parameter specifying the target chain to query.
networkstringrequired
Parameter specifying the network of the target chain.
Request Body
account_idstringrequired
Account ID to query. (Format: hex) Example: 6161616162626262
visibleboolean
Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)
cURL
curl -X POST 'https://tron-mainnet.nodit.io/wallet/getaccountbyid' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: nodit-demo' \
-d '{
"account_id": "6161616162626262"
}'