UNPKG

@pokt-network/pocket-js

Version:

Pocket-js core package with the main functionalities to interact with the Pocket Network.

25 lines (24 loc) 534 B
/** * * StakingStatus enum with the possible Staking status values */ export declare enum StakingStatus { NA = "", Unstaked = 0, Unstaking = 1, Staked = 2 } /** * * StakingStatus enum utility */ export declare namespace StakingStatus { /** * * Returns the StakingStatus by passing an string * @param {string} status - Staking status string. * @returns {StakingStatus} - StakingStatus object. * @memberof StakingStatus */ function getStatus(status: number): StakingStatus; }