@substrate/api-sidecar
Version:
REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.
16 lines (15 loc) • 568 B
TypeScript
import { PalletsStakingValidatorsService } from '../../services';
import AbstractController from '../AbstractController';
export default class PalletsStakingValidatorsController extends AbstractController<PalletsStakingValidatorsService> {
static controllerName: string;
static requiredPallets: string[][];
constructor(api: string);
protected initRoutes(): void;
/**
* Get the progress of the staking pallet system.
*
* @param _req Express Request
* @param res Express Response
*/
private getPalletStakingValidators;
}