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

Type

Description

int64_t

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