Add a getter for the Transaction from TransactionEvent.