| Type | Description |
|---|---|
| int64_t | On success, the number of bytes of transaction hash written (32), or: If negative, an error: OUT_OF_BOUNDS- pointers/lengths specified outside of hook memory. PREREQUISITE_NOT_MET- emit_reserve must be called firstTOO_MANY_EMITTED_TXN- the number of emitted transactions is now greater than the promise made when emit_reserve was called earlierEMISSION_FAILURE- the transaction was malformed according to the emission rules. |
| Type | Description |
|---|---|
| int64_t | On success, the number of bytes of transaction hash written (32), or: If negative, an error: OUT_OF_BOUNDS- pointers/lengths specified outside of hook memory. PREREQUISITE_NOT_MET- etxn_reserve must be called firstTOO_MANY_EMITTED_TXN- the number of emitted transactions is now greater than the promise made when etxn_reserve was called earlierEMISSION_FAILURE- the transaction was malformed according to the emission rules. |