UNPKG

rosetta-sdk-typescript

Version:

Typescript SDK to create and interact with Rosetta API implementations.

35 lines (34 loc) 1.37 kB
/** * 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 { BlockEvent } from './'; /** * EventsBlocksResponse contains an ordered collection of BlockEvents and the max retrievable sequence. * @export * @interface EventsBlocksResponse */ export interface EventsBlocksResponse { /** * max_sequence is the maximum available sequence number to fetch. * @type {number} * @memberof EventsBlocksResponse */ max_sequence: number; /** * events is an array of BlockEvents indicating the order to add and remove blocks to maintain a canonical view of blockchain state. Lightweight clients can use this event stream to update state without implementing their own block syncing logic. * @type {Array<BlockEvent>} * @memberof EventsBlocksResponse */ events: Array<BlockEvent>; } export declare function EventsBlocksResponseFromJSON(json: any): EventsBlocksResponse; export declare function EventsBlocksResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventsBlocksResponse; export declare function EventsBlocksResponseToJSON(value?: EventsBlocksResponse | null): any;