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": [] }' //Response: { "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
Feedback sent
We appreciate your effort and will try to fix the article