[][src]Function ckb_std::high_level::load_witness_args

pub fn load_witness_args(
    index: usize,
    source: Source
) -> Result<WitnessArgs, SysError>

Load witness args

Return the witness args or a syscall error

Arguments

Example

let witness_args = load_witness_args(0, Source::Input).unwrap();