UNPKG

@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) 577 B
import { PalletsStakingValidatorsService } from '../../../services'; import AbstractController from '../../AbstractController'; export default class RcPalletsStakingValidatorsController 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; }