cardano-multiplatform-lib
cardano-multiplatform-lib copied to clipboard
Check the balance before create transaction
Now it is possible to build a transaction having the same total ADA amount between inputs and outputs. For example, a user can build a transaction sending 7 ADA out while he/she only have 7 ADA in total, which is not enough to cover the fee but the fee would be calculate as usual. How about fail the building process when the inputs cannot cover the outputs?