@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) • 403 B
TypeScript
import { ISidecarConfig } from './types/sidecar-config';
/**
* Access a singleton config object that will be intialized on first use.
*/
export declare class SidecarConfig {
private static _config;
/**
* Gather env vars for config and make sure they are valid.
*/
private static create;
/**
* Sidecar's configuaration.
*/
static get config(): ISidecarConfig;
}