[][src]Function ckb_std::high_level::load_cell

pub fn load_cell(index: usize, source: Source) -> Result<CellOutput, SysError>

Load cell

Return the cell or a syscall error

Arguments

Example

let cell_output = load_cell(0, Source::Input).unwrap();