--- title: getBandwidthPrices --- # getBandwidthPrices Query historical bandwidth unit price. ## Usage ```js 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 ```js //Example 1 await tronWeb.trx.getBandwidthPrices(); // output-start "0:10" // output-end