[][src]Trait sc_client_api::client::BlockBody

pub trait BlockBody<Block: BlockT> {
    fn block_body(
        &self,
        id: &BlockId<Block>
    ) -> Result<Option<Vec<<Block as BlockT>::Extrinsic>>>; }

Fetch block body by ID.

Required methods

fn block_body(
    &self,
    id: &BlockId<Block>
) -> Result<Option<Vec<<Block as BlockT>::Extrinsic>>>

Get block body by ID. Returns None if the body is not stored.

Loading content...

Implementors

Loading content...