@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) • 545 B
TypeScript
import { PalletsOnGoingReferendaService } from '../../services';
import AbstractController from '../AbstractController';
export default class PalletsOnGoingReferendaController extends AbstractController<PalletsOnGoingReferendaService> {
static controllerName: string;
static requiredPallets: string[][];
constructor(api: string);
protected initRoutes(): void;
/**
* Get the on-going referenda.
*
* @param _req Express Request
* @param res Express Response
*/
private getPalletOnGoingReferenda;
}