fun indexTransaction(transaction: Transaction): Unit
Indexes a transaction.
transaction - the transaction to index
transaction