DotNetLightning


PaymentPreimage Type

The preimage for HTLC which the LN payment recipient must reveal when receiving the payment. Thus it also works as proof of payment (receipt)

Instance members

Instance member Description

this.Hash

Full Usage: this.Hash

Returns: PaymentHash
Returns: PaymentHash

this.ToByteArray

Full Usage: this.ToByteArray

Returns: byte array
Returns: byte array

this.ToBytes

Full Usage: this.ToBytes

Returns: seq<byte>
Returns: seq<byte>

this.ToHex

Full Usage: this.ToHex

Returns: string
Returns: string

this.ToPrivKey

Full Usage: this.ToPrivKey

Returns: Key
Returns: Key

this.ToPubKey

Full Usage: this.ToPubKey

Returns: PubKey
Returns: PubKey

this.Value

Full Usage: this.Value

Returns: seq<byte>
Returns: seq<byte>

Static members

Static member Description

PaymentPreimage.Create(data)

Full Usage: PaymentPreimage.Create(data)

Parameters:
    data : seq<byte>

Returns: PaymentPreimage
data : seq<byte>
Returns: PaymentPreimage

PaymentPreimage.LENGTH

Full Usage: PaymentPreimage.LENGTH

Returns: int
Returns: int