Trait ChainQuerier

Source
pub trait ChainQuerier {
    // Required methods
    fn get_transaction_by_hash(
        &self,
        tx_hash: &Hash,
    ) -> ProtocolResult<Option<SignedTransaction>>;
    fn get_epoch_by_epoch_id(
        &self,
        epoch_id: Option<u64>,
    ) -> ProtocolResult<Option<Epoch>>;
    fn get_receipt_by_hash(
        &self,
        tx_hash: &Hash,
    ) -> ProtocolResult<Option<Receipt>>;
}

Required Methods§

Implementors§