Skip to main content
Version: 6.0.1 - 6.0.2

getEnergyPrices

Query historical energy unit price.

Usage

await tronWeb.trx.getEnergyPrices();

Return

string

Example

//Example 1
await tronWeb.trx.getEnergyPrices();
> "0:100"