Function load_cell_capacity
Source pub fn load_cell_capacity(index: usize, source: Source) -> Result<u64, SysError>
Available on crate feature ckb-types only.
Expand description
Load cell capacity
Return the loaded data length or a syscall error
§Arguments
index - index
source - source
§Example
let capacity = syscalls::load_cell_capacity(index, source).unwrap();