@substrate/api-sidecar
Version:
REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.
19 lines (18 loc) • 538 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;
rcBlockNumber?: string;
ahTimestamp?: string;
}