/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * A block that has been finalized. It is made permanent and irreversible. Contains the * finalization epoch, point, block height, and hash. * * @export * @interface FinalizedBlockDTO */ export interface FinalizedBlockDTO { /** * [Finalization epoch](https://docs.symbol.dev/concepts/block.html#finalization) is a sequential * integer. Each epoch groups a set of blocks for finalization voting; the interval is defined * by the `votingSetGrouping` network property (e.g. 1440 blocks, ~12h on mainnet). * * @type {number} * @memberof FinalizedBlockDTO */ finalizationEpoch: number; /** * Finalization point within an epoch. Each [epoch](https://docs.symbol.dev/concepts/block.html#finalization) * is divided into multiple points; blocks are finalized at specific points. * * @type {number} * @memberof FinalizedBlockDTO */ finalizationPoint: number; /** * Height of a block in the blockchain. Starts at 1 and increments by one per block. * Represented as a string to preserve precision, since the value is an unsigned 64-bit integer. * * @type {string} * @memberof FinalizedBlockDTO */ height: string; /** * 256-bit hash encoded as a 64-character hexadecimal string. * @type {string} * @memberof FinalizedBlockDTO */ hash: string; } /** * Check if a given object implements the FinalizedBlockDTO interface. */ export declare function instanceOfFinalizedBlockDTO(value: Record): value is FinalizedBlockDTO; export declare function FinalizedBlockDTOFromJSON(json: any): FinalizedBlockDTO; export declare function FinalizedBlockDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FinalizedBlockDTO; export declare function FinalizedBlockDTOToJSON(json: any): FinalizedBlockDTO; export declare function FinalizedBlockDTOToJSONTyped(value?: FinalizedBlockDTO | null, ignoreDiscriminator?: boolean): any;