lnurl/
channel.rs

1use crate::Tag;
2use serde::{Deserialize, Serialize};
3
4#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5pub struct ChannelResponse {
6    /// Remote node address of form node_key@ip_address:port_number
7    pub uri: String,
8    /// a second-level URL which would initiate an OpenChannel message from target LN node
9    pub callback: String,
10    /// random or non-random string to identify the user's LN WALLET when using the callback URL
11    pub k1: String,
12    /// tag of the request
13    pub tag: Tag,
14}