Function get_block_header

Source
pub fn get_block_header(
    conn: &Connection,
    block_address: &ContentAddress,
) -> Result<Option<BlockHeader>>
Expand description

Given a block address, returns the header for that block.

Returns the block number and block timestamp in that order.