UNPKG

@substrate/api-sidecar

Version:

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

11 lines (10 loc) 292 B
import { ErrorRequestHandler } from 'express'; /** * Handle errors from transaction POST methods * * @param exception unknown * @param _req Express Request * @param res Express Response * @param next Express NextFunction */ export declare const txErrorMiddleware: ErrorRequestHandler;