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
C
int64_t otxn_generation (
void
);
Example
C
int64_t generation =
otxn_generation();
Parameters
None
Return Code
The generation of the originating transaction, or 1
if no generation was present on the originating transaction.