[][src]Function ckb_std::high_level::load_input

pub fn load_input(index: usize, source: Source) -> Result<CellInput, SysError>

Load input

Return the input or a syscall error

Arguments

Example

let input = load_input(0, Source::Input).unwrap();