Lightning
Lightning Network Base Fee (Median)
GET
https://api.glassnode.com/v1/metrics/lightning/base_fee_median
The median base fee in the Lightning Network in Satoshi, derived from the channel graph. Base fees are fees that have to be paid for each payment that is routed through the channel. For payments between two peers that share a direct channel connection no fees have to be spent.
Query Parameters
Lightning Network Capacity
GET
https://api.glassnode.com/v1/metrics/lightning/network_capacity_sum
The total amount of BTC locked in the Lightning Network. The Bitcoin Lightning Network is a Layer 2 payment protocol built on top of the Bitcoin blockchain. It is designed to provide faster, cheaper, and more scalable transactions than traditional on-chain Bitcoin transactions.
Query Parameters
Lightning Network Channel Size (Mean)
GET
https://api.glassnode.com/v1/metrics/lightning/channel_size_mean
The mean BTC size of public Lightning Network channels. The Lightning Network works by creating payment channels between two parties, where multiple transactions can be made without the need for each individual transaction to be recorded on the Bitcoin blockchain. These transactions are instead recorded off-chain, which makes them faster and cheaper.
Query Parameters
Lightning Network Channel Size (Median)
GET
https://api.glassnode.com/v1/metrics/lightning/channel_size_median
The median BTC size of public Lightning Network channels. The Lightning Network works by creating payment channels between two parties, where multiple transactions can be made without the need for each individual transaction to be recorded on the Bitcoin blockchain. These transactions are instead recorded off-chain, which makes them faster and cheaper.
Query Parameters
Lightning Network Fee Rate (Median)
GET
https://api.glassnode.com/v1/metrics/lightning/fee_rate_median
The median fee rate in the Lightning Network, derived from the channel graph. On top of a base fee, fees for payments are proportional to the transferred amount. Values here are given in units sat / BTC. E.g., a value of 1000 indicates that a fee of 1000 Satoshi is required to transfer 1 BTC.
Query Parameters
Lightning Network Gini Capacity Distribution
GET
https://api.glassnode.com/v1/metrics/lightning/gini_capacity_distribution
The Gini coefficient of the Lightning network capacity is a statistical measure of the distribution of Bitcoin capacity among the nodes on the Lightning Network. It is calculated by comparing the actual distribution of Bitcoin capacity among the nodes to a hypothetical uniform distribution. It ranges from 0 to 1, with 0 representing perfect equality and 1 representing maximum inequality. A higher Gini coefficient indicates a more unequal distribution of Bitcoin capacity among nodes, while a lower Gini coefficient indicates a more even distribution of Bitcoin capacity. The Gini coefficient of the Lightning network capacity can be used to monitor the degree of centralization and potential risks associated with a highly concentrated distribution of Bitcoin capacity.
Query Parameters
Lightning Network Gini Channel Distribution
GET
https://api.glassnode.com/v1/metrics/lightning/gini_channel_distribution
The Gini coefficient of the Lightning network channel distribution is a statistical measure of the distribution of numbers of channels among the nodes on the Lightning Network. It is calculated by comparing the actual distribution of channels among the nodes to a hypothetical uniform distribution. It ranges from 0 to 1, with 0 representing perfect equality and 1 representing maximum inequality. A higher Gini coefficient indicates a more unequal distribution of channel numbers among nodes, while a lower Gini coefficient indicates a more even distribution of channel counts. The Gini coefficient of the Lightning network channel distribution can be used to monitor the degree of centralization and potential risks associated with a highly concentrated influence of network nodes.
Query Parameters
Lightning Network Node Connectivity
GET
https://api.glassnode.com/v1/metrics/lightning/node_connectivity
The number of nodes in the Lightning Network that are connected via IP, TOR, or both.
Query Parameters
Lightning Network Number of Channels
GET
https://api.glassnode.com/v1/metrics/lightning/channels_count
The number of public Lightning Network channels. The Lightning Network works by creating payment channels between two parties, where multiple transactions can be made without the need for each individual transaction to be recorded on the Bitcoin blockchain. These transactions are instead recorded off-chain, which makes them faster and cheaper.
Query Parameters
Lightning Network Number of Nodes
GET
https://api.glassnode.com/v1/metrics/lightning/nodes_count
The number of Lightning Network nodes.
Query Parameters
Last updated