UNPKG

@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) 556 B
import { AccountsBalanceInfoService } from '../../../services'; import AbstractController from '../../AbstractController'; export default class AccountsBalanceController extends AbstractController<AccountsBalanceInfoService> { static controllerName: string; static requiredPallets: string[][]; constructor(_api: string); protected initRoutes(): void; /** * Get the latest account balance summary of `address`. * * @param req Express Request * @param res Express Response */ private getAccountBalanceInfo; }