Skip to main content
GET
The current API estimates only TRON Energy costs; it does not include Net (bandwidth) costs.The following estimation scenarios are supported:
  • Standard token transfers: Do not provide amount or data.
  • Contract invocation transactions: Provide the ABI-encoded data (in hex format).

Request Parameters

string
required
receive addres
Please ensure that the received address holds the token corresponding to the contracted_address, otherwise the miner fee estimation will fail
string
required
The transfer address for estimating miner fees.
  • Standard token transfer scenario: address_to is the actual recipient address.
  • Contract invocation transaction scenario: address_to is the contract address, and it must match contract_address.
string
required
Contract address for estimating miner fees.
string
required
rent time code: Request the order/price interface to return the cost codes for minutes, hours, days, and different times.

eg:10010 - 10 minutes, 20001 - 1 hour, 30001 - 1 day

string
Contract invocation amount
When used for contract estimation scenarios, amount represents the value associated with the contract invocation. This parameter is optional for standard transfer estimation scenarios.
string
Contract invocation data; hexadecimal data constructed via ABI encoding.
If data is provided, the API treats the request as a contract transaction for resource estimation; this parameter is optional for standard transfer estimation scenarios.

Response Parameters