Trait ckb_sdk_types::transaction::MockResourceLoader[][src]

pub trait MockResourceLoader {
    fn get_header(&mut self, hash: H256) -> Result<Option<HeaderView>, String>;
fn get_live_cell(
        &mut self,
        out_point: OutPoint
    ) -> Result<Option<(CellOutput, Bytes, H256)>, String>; }

Required methods

fn get_header(&mut self, hash: H256) -> Result<Option<HeaderView>, String>[src]

fn get_live_cell(
    &mut self,
    out_point: OutPoint
) -> Result<Option<(CellOutput, Bytes, H256)>, String>
[src]

Implementors