Is there a way for me to know in a contract how much gas was used for a call to an external contract?

Feb 18, 2022, 1:44 PM
If i am trying to call another contract from solidity but dont know the methods name, but i have the hex code, how do i call it?
normally id create an abstract contract and initialise it with the contract address. But if i dont know the name of the method how can i do this.
Feb 18, 2022, 2:08 PM

© 2024 Draquery.com All rights reserved.