validatorStake

apiDocs


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

Function: validatorStake()

validatorStake(accountId): bigint

Returns the number of staked NEAR of given validator, in yoctoNEAR

Parameters

accountId: string

validator's AccountID

Returns

bigint

  • staked amount

Defined in

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

Last updated