All chains
    Preparing search index...

    Type Alias ancestor_relay_parent_info

    ancestor_relay_parent_info: RuntimeDescriptor<
        [session_index: number, relay_parent: SizedHex<32>],
        { number: number; state_root: SizedHex<32> } | undefined,
    >

    Look up relay parent info for a block that is an ancestor of the block this API is called at. Returns None if the relay parent is not found in the allowed relay parents for the given session.

    NOTE: A block is not in its own AllowedRelayParents storage (it gets added during the next block's inherent). Querying a block about itself will always return None. Use the node-side check_relay_parent_session utility for a general-purpose check that handles both the self and ancestor cases.