Skip to main content

/wallet/getenergyprices REST API Endpoint

Gets historical energy unit price.

Updated on
Oct 4, 2023

/wallet/getenergyprices REST API Endpoint

Parameters

This method does not accept any parameters

Returns

prices
The historical energy unit price information, where each change in price is separated by a comma. The timestamp before the colon represents the millisecond timestamp, and the energy unit price in sun is specified after the colon
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getenergyprices \
2
--request GET \
3
--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free