@substrate/api-sidecar
Version:
REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.
18 lines (17 loc) • 607 B
TypeScript
import { ParasService } from '../../services';
import AbstractController from '../AbstractController';
export default class ParasController extends AbstractController<ParasService> {
static controllerName: string;
static requiredPallets: string[][];
constructor(api: string);
protected initRoutes(): void;
private getParas;
private getParasHeadIncludedCandidates;
private getParasHeadBackedCandidates;
private getCrowdloanInfo;
private getCrowdloans;
private getLeaseInfo;
private getLeasesCurrent;
private getAuctionsCurrent;
private checkParasModule;
}