[][src]Trait sc_client::BlockBody

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

Fetch block body by ID.

Required methods

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

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

Loading content...

Implementors

impl<B, E, Block, RA> BlockBody<Block> for Client<B, E, Block, RA> where
    B: Backend<Block>,
    E: CallExecutor<Block>,
    Block: BlockT
[src]

Loading content...