/** * 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 { BmTreeSignature } from './BmTreeSignature'; import type { StageEnum } from './StageEnum'; /** * * @export * @interface MessageGroup */ export interface MessageGroup { /** * Finalization stage (prevote, precommit, or count). * @type {StageEnum} * @memberof MessageGroup */ stage: StageEnum; /** * 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 MessageGroup */ height: string; /** * Block hashes voted for at this stage. Ordered by height; the first hash corresponds to `height`, * subsequent hashes to consecutive block heights. * * @type {Array} * @memberof MessageGroup */ hashes: Array; /** * BLS aggregate signatures from the finalizer set attesting to the votes. * Each entry contains `root` and `bottom` of the Bm tree. * * @type {Array} * @memberof MessageGroup */ signatures: Array; } /** * Check if a given object implements the MessageGroup interface. */ export declare function instanceOfMessageGroup(value: Record): value is MessageGroup; export declare function MessageGroupFromJSON(json: any): MessageGroup; export declare function MessageGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): MessageGroup; export declare function MessageGroupToJSON(json: any): MessageGroup; export declare function MessageGroupToJSONTyped(value?: MessageGroup | null, ignoreDiscriminator?: boolean): any;