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: StringId of this CJitEntry
state: CJitStateEnumState of this entry
fee_sat: u64Fee in satoshi to open this channel.
network_fee_sat: u64Onchain transaction fees for the channel open. This is variable depending on the network fee conditions.
service_fee_sat: u64Service fees to pay for us to fulfill the channel open. Includes liquidity fees.
channel_size_sat: u64Requested channel size in satoshi
channel_expiry_weeks: u32Number of weeks before Blocktank might close then channel.
channel_open_error: Option<String>Channel open error if the channel open failed.
node_id: StringNode id of the node to open the channel to.
invoice: IBtBolt11InvoiceInvoice to be paid for the channel open.
channel: Option<IBtChannel>Opened channel
lsp_node: ILspNodeLSP 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: StringDate when this CJit offer expires.
updated_at: String§created_at: StringTrait 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