pub async fn best_finalized_peer_header_at_self<SelfChain, PeerChain>(
self_client: &impl Client<SelfChain>,
at_self_hash: HashOf<SelfChain>,
) -> Result<Option<HeaderIdOf<PeerChain>>, Error>where
SelfChain: Chain,
PeerChain: Chain,Expand description
Reads best PeerChain header known to the SelfChain using provided runtime API method.
Method is supposed to be the <PeerChain>FinalityApi::best_finalized() method.