Type Alias ParsedBlockResponse

ParsedBlockResponse: {
    blockhash: Blockhash;
    blockHeight: number | null;
    blockTime: number | null;
    parentSlot: number;
    previousBlockhash: Blockhash;
    rewards?: {
        commission?: number | null;
        lamports: number;
        postBalance: number | null;
        pubkey: string;
        rewardType: string | null;
    }[];
    transactions: {
        meta: ParsedTransactionMeta
        | null;
        transaction: ParsedTransaction;
        version?: TransactionVersion;
    }[];
}

A block with parsed transactions

Type declaration

  • blockhash: Blockhash

    Blockhash of this block

  • blockHeight: number | null

    The number of blocks beneath this block

  • blockTime: number | null

    The unix timestamp of when the block was processed

  • parentSlot: number

    Slot index of this block's parent

  • previousBlockhash: Blockhash

    Blockhash of this block's parent

  • Optionalrewards?: {
        commission?: number | null;
        lamports: number;
        postBalance: number | null;
        pubkey: string;
        rewardType: string | null;
    }[]

    Vector of block rewards

  • transactions: {
        meta: ParsedTransactionMeta | null;
        transaction: ParsedTransaction;
        version?: TransactionVersion;
    }[]

    Vector of transactions with status meta and original message