Class CoinSelection


  • public class CoinSelection
    extends java.lang.Object
    Represents the results of a CoinSelector.select(Coin, List) operation. A coin selection represents a list of spendable transaction outputs that sum together to a totalValue() value gathered. Different coin selections could be produced by different coin selectors from the same input set, according to their varying policies.
    • Method Detail

      • totalValue

        public Coin totalValue()
        Returns:
        Total value of gathered outputs.
      • outputs

        public java.util.List<TransactionOutput> outputs()
        Returns:
        List of gathered outputs