pub async fn get_block_by_time(time: u32) -> Result<u32>
Expand description

Return the block height for a given timestamp

Arguments

  • time: seconds since epoch