⚡ We welcome businesses to test our enterprise-grade service

Method: POST /wallet/getaccount

dropdown

Method REST /wallet/getaccount example for Tron (TRX)

POST /wallet/getaccount

Method not allowed

Query information about an account,Including TRX balance, TRC-10 balances, stake information and vote information and permissions etc.

Parameters

address -

string

address should be converted to a hex string

visible -

string

Optional,whether the address is in base58 format

Request

curl --location --request POST 'https://trx.getblock.io/wallet/getaccount' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"address": "some address"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}