Function ckb_std::syscalls::load_transaction
source · pub fn load_transaction(
buf: &mut [u8],
offset: usize
) -> Result<usize, SysError>
Available on non-crate feature
simulator
only.Expand description
Load transaction
Return the loaded data length or a syscall error
Arguments
buf
- a writable buf used to receive the dataoffset
- offset