UNPKG

@substrate/api-sidecar

Version:

REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.

17 lines (16 loc) 587 B
import { BlocksService } from '../../services'; import type { ControllerOptions } from '../../types/chains-config'; import AbstractController from '../AbstractController'; export default class BlocksExtrinsicsController extends AbstractController<BlocksService> { private blockStore; static controllerName: string; static requiredPallets: string[][]; constructor(api: string, options: ControllerOptions); protected initRoutes(): void; /** * * @param _req Express Request * @param res Express Response */ private getExtrinsicByTimepoint; }