pub fn otxn_id(hash: &mut [u8], flags: u32) -> Result<u64>
Output the canonical hash of the originating transaction