Made it so we can get transaction data on the front end