The getCurrentTransaction() function

Returns the current transaction ID.

Description

The function has the following syntax:
extern "C" int64 getCurrentTransaction();

Returns

A transaction ID value if one exists.