Get the burden of the originating transaction

Behaviour

  • Return the burden of the originating transaction or 1 if no burden field is present.

Definition

int64_t otxn_burden (
    void
);

Example

int64_t burden = 
  otxn_burden();

Parameters

None

Return Code

TypeDescription
int64_tThe burden of the originating transaction, or 1 if no burden was present on the originating transaction.