sp_objects

Trait ObjectsApi

source
pub trait ObjectsApi<Block: BlockT>: Core<Block> {
    // Provided method
    fn extract_block_object_mapping(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        block: Block,
    ) -> Result<BlockObjectMapping, ApiError> { ... }
}

Provided Methods§

source

fn extract_block_object_mapping( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, block: Block, ) -> Result<BlockObjectMapping, ApiError>

Extract block object mapping for a given block

Trait Implementations§

source§

impl<Block: BlockT> RuntimeApiInfo for dyn ObjectsApi<Block>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§