In my project, I'm using the ethers.js library to interact with the blockchain. After the transaction is completed, I can see on the etherscan what was the fee (please see the attachment).
I'm looking for a way to get this fee value from the ethers.js library. I was looking for such information in the documentation but didn't find anything here: https://docs.ethers.org/v6/api/transaction/#Transaction.
Is this possible? If not with the ethers.js, then does the etherscan provide any API for that?