usedGas

apiDocs


near-sdk-js v2.0.0 / api / usedGas

Function: usedGas()

usedGas(): bigint

Returns the amount of Gas that has been used by this function call until now.

Returns

bigint

Defined in

packages/near-sdk-js/src/api.ts:259

Last updated