get amounts for transaction