/** * Rosetta * Build Once. Integrate Your Blockchain Everywhere. * * The version of the OpenAPI document: 1.4.10 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { BlockEventType, BlockIdentifier } from './'; /** * BlockEvent represents the addition or removal of a BlockIdentifier from storage. Streaming BlockEvents allows lightweight clients to update their own state without needing to implement their own syncing logic. * @export * @interface BlockEvent */ export interface BlockEvent { /** * sequence is the unique identifier of a BlockEvent within the context of a NetworkIdentifier. * @type {number} * @memberof BlockEvent */ sequence: number; /** * * @type {BlockIdentifier} * @memberof BlockEvent */ block_identifier: BlockIdentifier; /** * * @type {BlockEventType} * @memberof BlockEvent */ type: BlockEventType; } export declare function BlockEventFromJSON(json: any): BlockEvent; export declare function BlockEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlockEvent; export declare function BlockEventToJSON(value?: BlockEvent | null): any;