ckb_std::high_level
pub fn load_input(index: usize, source: Source) -> Result<CellInput, SysError>
Load input
Return the input or a syscall error
index
source
let input = load_input(0, Source::Input).unwrap();