Trait sp_transaction_storage_proof::IndexedBody[][src]

pub trait IndexedBody<B: BlockT> {
    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.

Required methods

Get all indexed transactions for a block, including renewed transactions.

Note that this will only fetch transactions that are indexed by the runtime with storage_index_transaction.

Get block number for a block hash.

Implementors