Function ckb_std::syscalls::load_block_extension
source · pub fn load_block_extension(
buf: &mut [u8],
offset: usize,
index: usize,
source: Source
) -> Result<usize, SysError>Available on non-crate feature
simulator and crate feature ckb2023 only.Expand description
Load extension field associated either with an input cell, a dep cell, or a header dep based on source and index value.
Arguments
buf- a writable buf used to receive the dataoffset- offsetindex- index of cellsource- source of cell
Note: available after ckb2023.