POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getenergyprices
wallet/getenergyprices
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getenergyprices \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "prices": "<string>"
}
TRON API method that retrieves the current energy prices on the TRON network, showing the cost of energy for smart contract execution.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

This method does not require any parameters.

Response

  • prices — energy pricing information including current rates and historical data

Use case

The wallet/getenergyprices method is used for:
  • Monitoring current energy costs for smart contract operations
  • Building fee estimation tools for DApp users
  • Analyzing network congestion through energy pricing
  • Optimizing smart contract execution timing
  • Creating cost-aware transaction scheduling systems

Body

application/json · object

Response

200 - application/json

Current energy prices

The response is of type object.