Returns the index of the transaction within its block

function simTransactionIndex() internal returns (uint64 index)

Return Values

NameTypeDescription
indexuint64the index of the transaction within its block

Notes

  1. Can only be called within a transaction hook