Skip to content

hook_account

  • Write the 20 byte Account ID to the write_ptr
int64_t hook_account (
uint32_t write_ptr,
uint32_t write_len
);
NameTypeDescription
write_ptruint32_tPointer to a buffer of a suitable size to store the output. Should be at least 20 bytes.
write_lenuint32_tLength of the output buffer.
TypeDescription
int64_t

The number of bytes written

If negative, an error:
OUT_OF_BOUNDS
- pointers/lengths specified outside of hook memory.