zebra_rpc::methods

Function chain_tip_difficulty

Source
pub async fn chain_tip_difficulty<State>(
    network: Network,
    state: State,
) -> RpcResult<f64>
where State: Service<ReadRequest, Response = ReadResponse, Error = BoxError> + Clone + Send + Sync + 'static, State::Future: Send,
Expand description

Returns the proof-of-work difficulty as a multiple of the minimum difficulty.