/** * 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. */ import type { MessageGroup } from './MessageGroup'; /** * Cryptographic proof that a block was finalized. Contains the finalized block identity * (epoch, point, height, hash) and message groups (prevote, precommit, count) with BLS signatures. * * @export * @interface FinalizationProofDTO */ export interface FinalizationProofDTO { /** * Proof format version. Incremented when the binary structure of the finalization proof changes. * * @type {number} * @memberof FinalizationProofDTO */ version: number; /** * [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 FinalizationProofDTO */ 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 FinalizationProofDTO */ 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 FinalizationProofDTO */ height: string; /** * 256-bit hash encoded as a 64-character hexadecimal string. * @type {string} * @memberof FinalizationProofDTO */ hash: string; /** * Message groups from the finalization voting process: prevote, precommit, and count stages. * Each group contains block hashes and BLS signatures from the finalizers attesting to the vote. * * @type {Array} * @memberof FinalizationProofDTO */ messageGroups: Array; } /** * Check if a given object implements the FinalizationProofDTO interface. */ export declare function instanceOfFinalizationProofDTO(value: Record): value is FinalizationProofDTO; export declare function FinalizationProofDTOFromJSON(json: any): FinalizationProofDTO; export declare function FinalizationProofDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FinalizationProofDTO; export declare function FinalizationProofDTOToJSON(json: any): FinalizationProofDTO; export declare function FinalizationProofDTOToJSONTyped(value?: FinalizationProofDTO | null, ignoreDiscriminator?: boolean): any;