pub trait IndexedBody<B: BlockT> {
// Required methods
fn block_indexed_body(
&self,
number: NumberFor<B>,
) -> Result<Option<Vec<Vec<u8>>>, Error>;
fn number(&self, hash: B::Hash) -> Result<Option<NumberFor<B>>, Error>;
}
Expand description
An interface to request indexed data from the client.