attachedDeposit

apiDocs


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

Function: attachedDeposit()

attachedDeposit(): bigint

Returns the amount of NEAR attached to this function call. Can only be called in payable functions.

Returns

bigint

Defined in

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

Last updated