RPC Nodes - TRON Get Energy Prices

Modified on Tue, 31 Jan 2023 at 11:21 AM

You can get TRON chain Gas Price using an RPC Node call.

Example call:

curl --location --request POST 'https://api.tatum.io/v3/blockchain/node/TRON/wallet/getenergyprices' \
--header 'x-api-key: ##API_KEY\
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "n/a",
    "params": []
    "prices": "0:100,1542607200000:20,1544724000000:10,1606240800000:40,1613044800000:140,1635422400000:280,1670133600000:420"

Additional information is available in the TRON RPC Node API documentation.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article