I am building an NFT marketplace on Cardano.
To build my transactions I use cardano-serialization-lib. When I try to use add_inputs_from()
with LargestFirstMultiAsset
strategy to choose inputs for the transaction that sends an NFT to the Plutus contract address, I get a UTxO Balance Insufficient
.
I definitely have the NFT UTxO in the wallet, and I also have around 100 tAda that isn't locked with any tokens.
Could it be related to minAdaValue? Because it will be greater for the output that goes to the contract (because of datum hash) than what is currently locked with the token...