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
.
Implementors
impl<BE, E, B, RA> IndexedBody<B> for Client<BE, E, B, RA> where
BE: Backend<B>,
E: CallExecutor<B>,
B: BlockT,
impl<BE, E, B, RA> IndexedBody<B> for Client<BE, E, B, RA> where
BE: Backend<B>,
E: CallExecutor<B>,
B: BlockT,