etxn_nonce
Generate a 32 byte nonce for use in an emitted transaction
Last updated
Was this helpful?
Generate a 32 byte nonce for use in an emitted transaction
Last updated
Was this helpful?
Write the 32 byte Hash to the write_ptr
write_ptr
uint32_t
Pointer to a buffer of a suitable size to store the output. Should be at least 32 bytes.
write_len
uint32_t
Length of the output buffer.
int64_t
The number of bytes written
If negative, an error:
OUT_OF_BOUNDS
- pointers/lengths specified outside of hook memory.