GetEnergyPrices
GET
Query historical energy unit price (Confirmed state)
Path Parameters
chainstringrequired
Parameter specifying the target chain to query.networkstringrequired
Parameter specifying the network of the target chain.Responses
pricesstring
All historical energy price information. Each price change is separated by a comma, in the format timestamp:price, where the timestamp is in milliseconds and the price is in sun.cURL
curl -X GET 'https://tron-mainnet.nodit.io/walletsolidity/getenergyprices' \-H 'Content-Type: application/json' \-H 'X-API-KEY: nodit-demo'