When I call external methods of other contracts from my contract, is the gas fee of these calls included in the gas fee displayed by MetaMask?

My transaction reverts (execution reverted) for an unknown reason. May it be that it is because the price of inter-contract calls is not included into the gas price displayed by MetaMask, and for this reason my calling contract has not enough funds to pay for external calls?

If this trouble exists, how to calculate the full gas cost in advance, to be sure the entire transaction succeeds?

1 Answer 1


Yes, internal transaction costs are included in the gas estimate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.