pub struct ICJitEntry {Show 18 fields
pub id: String,
pub state: CJitStateEnum,
pub fee_sat: u64,
pub network_fee_sat: u64,
pub service_fee_sat: u64,
pub channel_size_sat: u64,
pub channel_expiry_weeks: u32,
pub channel_open_error: Option<String>,
pub node_id: String,
pub invoice: IBtBolt11Invoice,
pub channel: Option<IBtChannel>,
pub lsp_node: ILspNode,
pub coupon_code: String,
pub source: Option<String>,
pub discount: Option<IDiscount>,
pub expires_at: String,
pub updated_at: String,
pub created_at: String,
}
Fields§
§id: String
Id of this CJitEntry
state: CJitStateEnum
State of this entry
fee_sat: u64
Fee in satoshi to open this channel.
network_fee_sat: u64
Onchain transaction fees for the channel open. This is variable depending on the network fee conditions.
service_fee_sat: u64
Service fees to pay for us to fulfill the channel open. Includes liquidity fees.
channel_size_sat: u64
Requested channel size in satoshi
channel_expiry_weeks: u32
Number of weeks before Blocktank might close then channel.
channel_open_error: Option<String>
Channel open error if the channel open failed.
node_id: String
Node id of the node to open the channel to.
invoice: IBtBolt11Invoice
Invoice to be paid for the channel open.
channel: Option<IBtChannel>
Opened channel
lsp_node: ILspNode
LSP node the channel is opened from. The client needs to establish a peer connection to it before the channel open.
coupon_code: String
@deprecated Use source
instead
source: Option<String>
Source what created this Cjit. Example: ‘bitkit’, ‘widget’.
discount: Option<IDiscount>
Discount if available
expires_at: String
Date when this CJit offer expires.
updated_at: String
§created_at: String
Trait Implementations§
Source§impl Clone for ICJitEntry
impl Clone for ICJitEntry
Source§fn clone(&self) -> ICJitEntry
fn clone(&self) -> ICJitEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more