pub fn etxn_details<const EMIT_DETAILS_LEN: usize>() -> Result<[u8; EMIT_DETAILS_LEN]>
Expand description
Produce emit details for for a soon-to-be emitted transaction. Normally, it is appended at the end of the transaction buffer.
It is generally recommended to use insert_etxn_details_from_ptr instead of this function to avoid unnecessary memory allocations.