/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.4 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { ChainInfoDTO } from '../models/index'; /** * */ export declare class ChainRoutesApi extends runtime.BaseAPI { /** * Returns the current information of the blockchain. The higher the score, the better the chain. During synchronization, nodes try to get the best blockchain in the network. The score for a block is derived from its difficulty and the time (in seconds) that has elapsed since the last block: block score = difficulty − time elapsed since last block * Get the current information of the chain */ getChainInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the current information of the blockchain. The higher the score, the better the chain. During synchronization, nodes try to get the best blockchain in the network. The score for a block is derived from its difficulty and the time (in seconds) that has elapsed since the last block: block score = difficulty − time elapsed since last block * Get the current information of the chain */ getChainInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }