Class PaymentProtocol.Output

java.lang.Object
org.bitcoinj.protocols.payments.PaymentProtocol.Output
All Implemented Interfaces:
Serializable
Enclosing class:
PaymentProtocol

public static class PaymentProtocol.Output extends Object implements Serializable
Value object to hold amount/script pairs.
See Also:
  • Field Details

    • amount

      @Nullable public final Coin amount
    • scriptData

      public final byte[] scriptData
  • Constructor Details

    • Output

      public Output(@Nullable Coin amount, byte[] scriptData)