How to get Burn Fee from lotus RPC like receipt in Ethereum?

I know Base Fee Burn is the multiple of Gas Fee Cap and Gas Used.
In Ethereum, I can get gasUsed from the transactionReceipt.
In Filecoin, How can I get the Gas Used from lotus RPC???

And I know Burn Fee is the sum of Base Fee Burn and Over Estimation Burn.
Also I want to know How can I get The Over Estimation Burn from lotus RPC.

In summary, My question is

  1. In Filecoin, How can I get the Gas Used from lotus RPC like receipt in Ethereum?
  2. How can I get The Over Estimation Burn from lotus RPC?

Any reply would be appreciated.

Hi @Junho,

An issue has been filed for a Lotus JSON RPC API endpoint to simplify gas calculations for wallet: https://github.com/filecoin-project/lotus/issues/3326

More info on how it’s calculated in consensus is here: https://github.com/filecoin-project/lotus/blob/master/chain/vm/burn.go