Sync with Waxpeer session to auto-fill API key

Get Tron energy cost estimate for an address

GET/v1/payment/tron-energy/cost

Estimate Tron energy rental cost (65,000 or 131,000 energy) for a specific TRON wallet address.

Parameters

NameLocationTypeDescription
address
required
querystring

Tron wallet address

Responses

200 Successful operation

NameTypeDescription
success
optional
boolean

Whether the operation succeeded

cost
optional
number

Estimated energy cost (65,000 or 131,000)

msg
optional
string

Reason message when success is false

Response
{
  "success": true,
  "cost": 65000,
  "msg": "string"
}