near-api-js - v7.0.4
    Preparing search index...

    Type Alias StakeAction

    An action which stakes signer_id tokens and setup's validator public key

    type StakeAction = {
        public_key: PublicKey;
        stake: NearToken;
    }
    Index

    Properties

    Properties

    public_key: PublicKey

    Validator key which will be used to sign transactions on behalf of signer_id

    stake: NearToken

    Amount of tokens to stake.