currentAccountId

apiDocs


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

Function: currentAccountId()

currentAccountId(): string

Returns the account ID of the current contract - the contract that is being executed.

Returns

string

Defined in

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

Last updated