BlockResponse: { blockhash: Blockhash; blockTime: number | null; parentSlot: number; previousBlockhash: Blockhash; rewards?: { commission?: number | null; lamports: number; postBalance: number | null; pubkey: string; rewardType: string | null; }[]; transactions: { meta: ConfirmedTransactionMeta | null; transaction: { message: Message; signatures: string[]; }; version?: TransactionVersion; }[]; } Type declaration
blockTime: number | null
parentSlot: number
previousBlockhash: Blockhash
Optional
rewards?: {
commission?: number | null;
lamports: number;
postBalance: number | null;
pubkey: string;
rewardType: string | null;
}[]
A processed block fetched from the RPC API