Inputs and outputs to transactions



  • Why are Inputs to a transaction outgoing money and Outputs incoming money? This is so confusing. Is it a legacy from bitcoin or a design decision specific to Sia? If the latter, why is it this way? Links to pages that explain this are most welcome.


  • admins

    A transaction is composed of inputs and outputs. The inputs fund the transaction, and the outputs decide who gets funding (or outputs can fund a file contract).

    When you fund a transaction, that money is outgoing from the wallet. That's why the transaction inputs correspond to outgoing money, and the transaction outputs correspond to incoming money. It's a matter of looking at things in terms of the transaction instead of in terms of the wallet.


Log in to reply