otxn_generation
Get the generation of the originating transaction
Behaviour
Return the generation of the originating transaction or
1
if no generation field is present.
Definition
int64_t otxn_generation (
void
);
Example
int64_t generation =
otxn_generation();
Parameters
None
Return Code
Type
Description
number
Returns the generation number as a number.
Last updated
Was this helpful?