pub trait CollectCollationInfo<Block: BlockT>: Core<Block> {
    fn collect_collation_info_before_version_2(
        &self,
        __runtime_api_at_param__: &BlockId<Block>
    ) -> Result<CollationInfoV1, ApiError> { ... } fn collect_collation_info_before_version_2_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<CollationInfoV1, ApiError> { ... } fn collect_collation_info(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        header: &Block::Header
    ) -> Result<CollationInfo, ApiError> { ... } fn collect_collation_info_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        header: &Block::Header
    ) -> Result<CollationInfo, ApiError> { ... } }
Expand description

Runtime api to collect information about a collation.

Provided Methods§

👎Deprecated

Collect information about a collation.

👎Deprecated

Collect information about a collation.

Collect information about a collation.

The given header is the header of the built block for that we are collecting the collation info for.

Collect information about a collation.

The given header is the header of the built block for that we are collecting the collation info for.

Trait Implementations§

The identifier of the runtime api.
The version of the runtime api.

Implementors§