⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins

Method: GET /wallet/getenergyprices

dropdown

# /wallet/getenergyprices example for Tron (TRX)

GET /wallet/getenergyprices

Query historical energy unit price

Parameters

-

Request

curl --location --request GET 'https://trx.getblock.io/wallet/getenergyprices' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' 


Response

{
    "prices": "0:100,1542607200000:20,1544724000000:10,1606240800000:40,1613044800000:140,1635422400000:280,1670133600000:420"
}