Function flow_rust_sdk::get_block[][src]

pub async fn get_block(
    network_address: &String,
    block_id: Option<String>,
    block_height: Option<u64>,
    is_sealed: Option<bool>
) -> Result<BlockResponse, Box<dyn Error>>
Expand description

get_block accepts either the block_id or block_height. If neither are defined it returns the latest block.