Table of Contents

Class LNURLHostedChannelRequest

Namespace
LNURL
Assembly
LNURL.Core.dll

Represents an LNURL hosted channel request as defined in LUD-07. A hosted channel is a trust-based channel where the host holds all funds on behalf of the client.

public class LNURLHostedChannelRequest
Inheritance
LNURLHostedChannelRequest
Inherited Members

Properties

Alias

Gets or sets the alias (human-readable name) of the host node.

[JsonProperty("alias")]
[JsonPropertyName("alias")]
public string Alias { get; set; }

Property Value

string

K1

Gets or sets the unique identifier for this hosted channel request.

[JsonProperty("k1")]
[JsonPropertyName("k1")]
public string K1 { get; set; }

Property Value

string

Tag

Gets or sets the LNURL tag. For hosted channel requests this is always "hostedChannelRequest".

[JsonProperty("tag")]
[JsonPropertyName("tag")]
public string Tag { get; set; }

Property Value

string

Uri

Gets or sets the node URI of the host that will provide the hosted channel.

[JsonProperty("uri")]
[JsonConverter(typeof(NodeUriJsonConverter))]
[JsonPropertyName("uri")]
public NodeInfo Uri { get; set; }

Property Value

NodeInfo