import { Block } from "./block" ; import { EventType , Network } from "./index" ; export class BlockEvent { constructor ( readonly type , readonly network , readonly block ) { } get blockHash ( ) { return this . block . hash ; } get blockNumber ( ) { return this . block . number ; } }