pub async fn get_bitcoin_block_height(
		&mut self,
		block_height: u32,
	) -> anyhow::Result<u32> {
		let res: Value = self
			.send_request(|| {
				self.http_client
					.get(self.block_by_height_url(block_height))
					.build()
					.unwrap()
			})
			.await?;

		Ok(res["burn_block_height"].as_u64().unwrap() as u32)
	}
Get the Bitcoin block height for a Stacks block height
romeo/src/stacks_client.rs