interface EventResponse {
    archiveHeight?: number;
    data: Event[];
    nextBlock: number;
    rollbackGuard?: RollbackGuard;
    totalExecutionTime: number;
}

Properties

archiveHeight?: number

Current height of the source hypersync instance

data: Event[]

Response data

nextBlock: number

Next block to query for, the responses are paginated so, the caller should continue the query from this block if they didn't get responses up to the to_block they specified in the Query.

rollbackGuard?: RollbackGuard

Rollback guard, supposed to be used to detect rollbacks

totalExecutionTime: number

Total time it took the hypersync instance to execute the query.