zebra_rpc::methods

Function best_chain_tip_height

source
pub fn best_chain_tip_height<Tip>(latest_chain_tip: &Tip) -> RpcResult<Height>
where Tip: ChainTip + Clone + Send + Sync + 'static,
Expand description

Returns the best chain tip height of latest_chain_tip, or an RPC error if there are no blocks in the state.