signerAccountId

apiDocs


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

Function: signerAccountId()

signerAccountId(): string

Returns the account ID of the account that signed the transaction. Can only be called in a call or initialize function.

Returns

string

Defined in

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

Last updated