⚡ We welcome businesses to test our enterprise-grade service

Method: POST /wallet/getaccountresource

dropdown

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

POST /wallet/getaccountresource

Method not allowed

Query the resource information of an account (bandwidth, energy, etc)

Parameters

address - string

Address:default hexString

visible - boolean

Optional,whether the address is in base58 format

Request

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


Response

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