I'm trying to understand the Bitcoin transaction creation process and how inputs and outputs work. From what I know, when a user creates a Bitcoin transaction, they typically select UTXOs (Unspent Transaction Outputs) as inputs to the transaction.
Given this, it seems that the amount of the transaction is implicitly determined by the UTXOs selected, since the sum of the inputs is what gets spent. In other words, the total amount of Bitcoin being sent would be based on the value of the UTXOs used in the inputs, while the user doesn't need to explicitly specify the amount.
Is that correct? Does the user really need to specify the amount at all, or is it entirely determined by the selected UTXOs? And if there's any difference, what is the role of specifying the amount in some wallet interfaces?