InsufficientFunds
scalus.cardano.txbuilder.TxBalancingError.InsufficientFunds
Insufficient funds to balance the transaction.
This error indicates that the transaction outputs (including fees) exceed what the inputs can provide. The valueDiff contains the full deficit including both ADA and native tokens.
When valueDiff has negative values, those represent the amounts needed:
- Negative ADA means more lovelace is needed
- Negative token amounts mean more of those tokens are needed
Value parameters
- minRequired
-
minimum additional lovelace needed, accounting for minAda requirements on change outputs
- valueDiff
-
the value difference (consumed - produced). Negative values indicate deficit.
Attributes
Members list
In this article