I get OutputTooSmallUTxO even with 2 ADA, is there any formula to predict the min output?

Command failed: transaction submit  Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraMary (ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (OutputTooSmallUTxO [(Addr Testnet (KeyHashObj (KeyHash "fd39564503fb2202a2fcbe55dd3bb54cc4121c9a5d729a384e432d49")) (StakeRefBase (KeyHashObj (KeyHash "b4f1c2fbf4268fb784ff29631c4bb96e9d6cb3c6764f9c0718ab641b"))),Value 2000000 (fromList [(PolicyID {policyID = ScriptHash "c3a79051ed13af016c01b2d639518620939328b4850c573169c35a65"},fromList [("43dff6dc96b32060",1),("ALIENS1",1),("SpaceBeep",1),("ack2",1),("electri2c",1),("electric",1),("shock2a",1),("spacesound",1)])]))])))])
  • 4
    I’m voting to close this question because it was easily researchable (answer found in ~15 min) and is not up to the standards of comprehensive, unique questions that is usually expected of Stack Exchange answers.
    – Joe Kerr
    Apr 27 at 23:43
  • Didn't see this before, but also look at @NikeDattani 's comment below under the answer for more feedback.
    – Joe Kerr
    Apr 27 at 23:45
  • wutzeber: I was not one of the 2 users that downvoted, nor was I the one that initiated the close voting. But ignoring this advice here has started to cost you, and it will probably get worse over time if you continue to (appear to) take no notice. Apr 28 at 2:00

It seems we have an answer here:

For a UTxO containing a token bundle B the min-ada-value calculation is as follows :

Case 1 : Token bundle B in the UTxO u contains only ada (no other tokens) minAda (u) = minUTxOValue

Case 2 : Token bundle B in the UTxO u contains ada as well as other tokens minAda (u) = max (minUTxOValue, (quot (minUTxOValue, adaOnlyUTxOSize)) * (utxoEntrySizeWithoutVal + (size B)))

it is too much information to fully paste it here

  • 1
    Users throughout the SE network are expected to "basic research" before asking a question, which is the reason why the network is respected so much for having "high-quality content'. If you were able to find the answer in 14 minutes after asking the question, perhaps you shouldn't have asked the question? I do appreciate the enthusiasm though! Apr 27 at 22:52
  • 2
    @NikeDattani thank you i was looking for this information pretty long, it was a fortuity that i found the answer shortly after posting here, but maybe i just was to dumb to find the right keywords, hope others are smarter than me =)
    – wutzebaer
    Apr 28 at 6:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.