Function load_transaction

Source
pub fn load_transaction() -> Result<Transaction, SysError>
Available on crate feature ckb-types only.
Expand description

Load transaction

Return the transaction or a syscall error

ยงExample

let tx = load_transaction().unwrap();

Note: This function can panic if the underlying data is too large, potentially causing an out-of-memory error.