Skip to main content
edited tags
Link
Source Link

How to select UTXOs needed for covering a given ada amount using the Cardano Serialization Lib?

Is there any prebuild method in Cardano Serialization Lib that allows to select some UTXOs that cover the balance needed for a transaction?

Or should i make a script that querys all the utxo in that addres and selects the first ones that covers this given amount?