Lightspark
Lightspark

Channel

This is an object representing a channel on the Lightning Network. You can retrieve this object to get detailed information on a specific Lightning Network channel.Fields (20)
id
The unique identifier of this entity across all Lightspark systems. Should be treated as an opaque string.
created_at
The date and time when the entity was first created.
updated_at
The date and time when the entity was last updated.
funding_transaction
The transaction that funded the channel upon channel opening.
capacity
CurrencyAmount (optional)
The total amount of funds in this channel, including the channel balance on the local node, the channel balance on the remote node and the on-chain fees to close the channel.
local_balance
CurrencyAmount (optional)
The channel balance on the local node.
local_unsettled_balance
CurrencyAmount (optional)
The channel balance on the local node that is currently allocated to in-progress payments.
remote_balance
CurrencyAmount (optional)
The channel balance on the remote node.
remote_unsettled_balance
CurrencyAmount (optional)
The channel balance on the remote node that is currently allocated to in-progress payments.
unsettled_balance
CurrencyAmount (optional)
The channel balance that is currently allocated to in-progress payments.
total_balance
CurrencyAmount (optional)
The total balance in this channel, including the channel balance on both local and remote nodes.
uptime_percentage
Int (optional)
An integer between 0 and 100 (included) that represents the percentage of uptime for this channel.
DEPRECATED: Not supported.
A connection to all transactions that have occurred on the channel including outgoing payments, incoming payments, routing transactions and on-chain transactions.
DEPRECATED: Use account.transactions filtering with lightning_node_id instead.
status
ChannelStatus (optional)
The current status of this channel.
estimated_force_closure_wait_minutes
Int (optional)
The estimated time to wait for the channel's hash timelock contract to expire when force closing the channel. It is in unit of minutes.
commit_fee
CurrencyAmount (optional)
The amount to be paid in fees for the current set of commitment transactions.
fees
ChannelFees (optional)
The fees charged for routing payments through this channel.
DEPRECATED: Customer nodes do not route payments anymore.
remote_node
Node (optional)
If known, the remote node of the channel.
local_node
The local Lightspark node of the channel.
short_channel_id
String (optional)
The unique identifier of the channel on Lightning Network, which is the location in the chain that the channel was confirmed. The format is <block-height>:<tx-index>:<tx-output>.
Interfaces (1)
  • Entity