api • Docs
near-sdk-js v2.0.0 / api / predecessorAccountId
predecessorAccountId(): string
string
Returns the account ID of the account that called the function. Can only be called in a call or initialize function.
packages/near-sdk-js/src/api.ts:200arrow-up-right
Last updated 1 year ago