@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) • 518 B
TypeScript
import { ContractsInkService } from '../../services';
import AbstractController from '../AbstractController';
export default class ContractsInkController extends AbstractController<ContractsInkService> {
static controllerName: string;
static requiredPallets: never[];
constructor(api: string);
protected initRoutes(): void;
/**
* Send a message call to a contract. It defaults to get if nothing is inputted.
*
* @param _req
* @param res
*/
private callContractQuery;
}