Check the input amount during transaction.