Renamed transaction_details to transaction