signerAccountPk

apiDocs


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

Function: signerAccountPk()

signerAccountPk(): Uint8Array

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

Returns

Uint8Array

Defined in

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

Last updated