etxn_generation
Concepts
Section titled “Concepts”Behaviour
Section titled “Behaviour”- Return the generation an emitted transaction will carry.
Definition
Section titled “Definition”int64_t etxn_generation ( void);
function etxn_generation(): ErrorCode | number
Example
Section titled “Example”int64_t generation = etxn_generation();
const generation = etxn_generation()
Parameters
Section titled “Parameters”None
Return Code
Section titled “Return Code”Type | Description |
---|---|
int64_t | The generation an emitted transaction will need in order to be successfully passed to emit() |
Type | Description |
---|---|
number | Returns An ErrorCode if there is an error, or a number indicating the generation result on success. |