I'm using Etherscan Gas Fee API to get current gas fees in GWEI. It can only return gas fee in GWEI and I tried to find online but can't find an answer on how to convert the Fee from GWEI to ETH or to USD. How can I do that?
From ethereum.org docs -
Gas prices are denoted in gwei, which itself is a denomination of ETH - each gwei is equal to 0.000000001 ETH
You can use the above to manually convert prices from gwei to ETH.
Additionally, can use any trusted source such as the Etherscan API to find the latest ETH-USD price.