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

currentAccountId

api • Docs


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