In testnet environment, there is opcode GASCONSUMED, doing exactly that. The update isn't shipped in mainnet yet.
Answered
How can I get the current gas used as a variable for some operations in FunC ?
11K Views
2
Answers
7 months ago
4 hours ago
Tags