DotNetLightning


OnionPayload Type

data foreach hop_payloads in onion_packet described in bolt04

Union cases

Union case Description
Item : OnionRealm0HopData

TLVPayload(tlvs, hmac)

Full Usage: TLVPayload(tlvs, hmac)

Parameters:
tlvs : HopPayloadTLV array
hmac : uint256

Instance members

Instance member Description

this.ToBytes

Full Usage: this.ToBytes

Returns: byte[]
Returns: byte[]

Static members

Static member Description

OnionPayload.FromBytes(bytes)

Full Usage: OnionPayload.FromBytes(bytes)

Parameters:
    bytes : byte array

Returns: Result<OnionPayload, string>
bytes : byte array
Returns: Result<OnionPayload, string>