Trait ckb_sdk::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>;
}