// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { MinerId } from "./MinerId"; /** * A block trimmed for the live ticker: what scrolls past on the front page. * * Separate from [`BlockObservation`] because the ticker is pushed on every * block to every connected browser, and shipping the full record — including * the difficulty string, which changes rarely — would multiply the socket's * bandwidth for nothing. */ export type RecentBlock = { /** * Block number. */ height: number, /** * Author's reward preimage. */ miner: MinerId, /** * Display name for the author at the time the block was pushed. */ display: string, /** * When this observer first saw it. */ observed_at: string, /** * Seconds since the previous block, by observation. `None` for the first * block after a restart, where there is no previous observation to * subtract. */ gap_seconds: number | null, };