Class Event.PaymentReceived

  • Enclosing class:
    Event

    public static final class Event.PaymentReceived
    extends Event
    • Field Detail

      • payment_hash

        public final byte[] payment_hash
        The hash for which the preimage should be handed to the ChannelManager.
      • amt

        public final long amt
        The value, in thousandths of a satoshi, that this payment is for. Note that you must compare this to the expected value before accepting the payment (as otherwise you are providing proof-of-payment for less than the value you expected!).
      • purpose

        public final PaymentPurpose purpose
        Information for claiming this received payment, based on whether the purpose of the payment is to pay an invoice or to send a spontaneous payment.