These docs are for v2.0. Click to read the latest docs for v3.0.

Get the generation of a hypothetically emitted transaction

Concepts

Behaviour

  • Return the generation an emitted transaction will carry.

Definition

int64_t etxn_generation (
    void
);

Example

int64_t burden = 
  etxn_generation();

Parameters

None

Return Code

TypeDescription
int64_tThe generation an emitted transaction will need in order to be successfully passed to emit()