CoinSelectionResult

data class CoinSelectionResult(val selectedCoins: List<DustTokenEntity>, val totalValue: BigInteger, val change: BigInteger)

Result of coin selection.

Constructors

Link copied to clipboard
constructor(selectedCoins: List<DustTokenEntity>, totalValue: BigInteger, change: BigInteger)

Properties

Link copied to clipboard

Change amount to be returned (totalValue - requiredFee)

Link copied to clipboard

Coins selected to cover fee

Link copied to clipboard

Total value of selected coins (in Specks)

Functions

Link copied to clipboard

Returns true if there will be change.

Link copied to clipboard

Returns true if selection was successful (has coins).