For the complete documentation index, see llms.txt. This page is also available as Markdown.

usedGas

api • Docs


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