MintAmountOptions class

Options for mintAmount (spend up to a premium budget, floor the quantity received).

Constructors

MintAmountOptions({required num spend, required num minQuantity, num? maxCost})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxCost → num?
All-in cost ceiling in quote units (premium + fees). Omitted → uncapped.
final
minQuantity → num
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spend → num
Premium budget in quote units — the max premium paid (chain also caps it at the account balance).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → Side
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited