ckb_std::high_level
pub fn load_header(index: usize, source: Source) -> Result<Header, SysError>
Load header
Return the header or a syscall error
index
source
let header = load_header(0, Source::HeaderDep).unwrap();