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 ?
12K Views
2
Answers
10 months ago
3 months ago
Tags