UNPKG

@substrate/api-sidecar

Version:

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

22 lines (21 loc) 649 B
import { PalletsErrorsService } from '../../services'; import AbstractController from '../AbstractController'; /** * `/pallets/{palletId}/errors` * * Returns the metadata for each error item of the pallet. * * `/pallets/{palletId}/errors/{errorItemId}` * * Returns the info for the errorItemId. * * See `docs/src/openapi-v1.yaml` for usage information. */ export default class PalletsErrorsController extends AbstractController<PalletsErrorsService> { static controllerName: string; static requiredPallets: never[]; constructor(api: string); protected initRoutes(): void; private getErrorById; private getErrors; }