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 ?
13K Views
1
Answer
one year ago
6 months ago
Tags