referrerpolicy=no-referrer-when-downgrade

Function finalized_heads

pub async fn finalized_heads(
    relay_chain: impl RelayChainInterface + Clone,
    para_id: Id,
) -> Result<impl Stream<Item = (Vec<u8>, Header<u32, BlakeTwo256>)>, RelayChainError>
Expand description

Returns a stream that will yield finalized heads for the given para_id.