For transaction webhook data for Polygon, the gas price amount is present under feeInfo
field. However, when we’re receiving webhook data for Tron USDT, it doesn’t have gas price? Is there a reason for this or there’s an alternative to get the gas price used for the transaction?
data.feeCurrency:MATIC_POLYGON
data.feeInfo.gasPrice:30.029075102999997
data.feeInfo.networkFee:0.001209300883472913
data.feeCurrency:TRX
data.feeInfo.networkFee:27.2559
Hi Tobi,
This is Mohammed from Fireblocks.
Tron does not use gas price parameters for fees.
Tron fees use energy and bandwidth parameters for fees.
Thanks for the response Mohammed!
Is there a way to get the energy and bandwidth parameters from the webhook data or another endpoint we can use to get those?
Hi Tobi, Unfortunately, we do not have any endpoint to provide that data. You can use an RPC call to query an account’s available bandwidth points.
Thanks