otxn_id

Function otxn_id 

Source
pub unsafe extern "C" fn otxn_id(
    write_ptr: u32,
    write_len: u32,
) -> i64
Expand description

Retrieve the TXNID of the originating transaction. @param write_ptr A buffer at least 32 bytes long @param write_len The length of the buffer. @return The number of bytes written into the buffer or a negative integer on failure.