import type { INodeInfoBaseToken } from "./INodeInfoBaseToken"; import type { INodeInfoMetrics } from "./INodeInfoMetrics"; import type { INodeInfoProtocol } from "./INodeInfoProtocol"; import type { INodeInfoProtocolParamsMilestoneOpt } from "./INodeInfoProtocolParamsMilestoneOpt"; import type { INodeInfoStatus } from "./INodeInfoStatus"; /** * Response from the /info endpoint. */ export interface INodeInfo { /** * The name of the node. */ name: string; /** * The version of node. */ version: string; /** * The status of the node. */ status: INodeInfoStatus; /** * The metrics for the node. */ metrics: INodeInfoMetrics; /** * The supported protocol versions. */ supportedProtocolVersions: number[]; /** * The protocol info of the node. */ protocol: INodeInfoProtocol; /** * Pending protocol parameters. */ pendingProtocolParameters: INodeInfoProtocolParamsMilestoneOpt[]; /** * The base token info of the node. */ baseToken: INodeInfoBaseToken; /** * Features supported by the node. */ features: string[]; }