pub async fn get_block_by_time(time: u32) -> Result<u32>
Return the block height for a given timestamp
time