CollateralUnavailableException
scalus.cardano.txbuilder.TxBuilderException.CollateralUnavailableException
final case class CollateralUnavailableException(required: Coin, bestAvailable: Coin, maxCollateralInputs: Long, sponsorAddress: Address) extends TxBuilderException
Sufficient collateral cannot be selected within the protocol's collateral input limit.
Thrown when the required collateral cannot be covered by at most ProtocolParams.maxCollateralInputs UTxOs at the sponsor address (e.g. the wallet is fragmented into many small UTxOs). Consolidate UTxOs or provide explicit collateral via collaterals(...).
Attributes
- Graph
-
- Supertypes
-
trait Producttrait Equalsclass TxBuilderExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Throwable
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Inherited from:
- Throwable
In this article