@substrate/api-sidecar
Version:
REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.
20 lines (19 loc) • 564 B
TypeScript
import { AnyJson } from '@polkadot/types/types';
import { IAt } from './At';
export interface IPalletStakingProgress {
at: IAt;
idealValidatorCount?: string | null;
activeEra: string | null;
forceEra: AnyJson;
nextActiveEraEstimate?: AnyJson;
nextSessionEstimate: string | null;
unappliedSlashes: AnyJson[] | null;
electionStatus?: {
status: AnyJson;
toggleEstimate: string | null;
} | string;
validatorSet?: string[] | null;
rcBlockHash?: string;
rcBlockNumber?: string;
ahTimestamp?: string;
}