getBandwidthPrices <src>
Query historical bandwidth unit price.
Usage
tronWeb.trx.getBandwidthPrices();
Return
String - All historical bandwidth unit price information. Each unit price change is separated by a comma. Before the colon is the millisecond timestamp, and after the colon is the bandwidth unit price in sun. Zero timestamp means that the unit price is valid from the beginning of the chain.
Example
//Example 1
await tronWeb.trx.getBandwidthPrices();
"0:10"