24h
, 3d
, 1w
, 1m
, 3m
, 6m
, 1y
, 2y
, 3y
";
const emptyCodeSample = {
@@ -6513,7 +6514,7 @@ export const restApiDocsData = [
category: "lightning",
fragment: "lightning",
title: "Lightning",
- showConditions: bitcoinNetworks
+ showConditions: lightningNetworks
},
{
type: "endpoint",
@@ -6525,7 +6526,7 @@ export const restApiDocsData = [
default: "Returns network-wide stats such as total number of channels and nodes, total capacity, and average/median fee figures.
Pass one of the following for :interval
: latest
, 24h
, 3d
, 1w
, 1m
, 3m
, 6m
, 1y
, 2y
, 3y
.
Returns Lightning nodes and channels that match a full-text, case-insensitive search :query
across node aliases, node pubkeys, channel IDs, and short channel IDs.
Returns a list of Lightning nodes running on clearnet in the requested :country
, where :country
is an ISO Alpha-2 country code.
Returns aggregate capacity and number of clearnet nodes per country. Capacity figures are in satoshis.
" }, urlString: "/v1/lightning/nodes/countries", - showConditions: bitcoinNetworks, + showConditions: lightningNetworks, showJsExamples: showJsExamplesDefaultFalse, codeExample: { default: { @@ -7072,7 +7073,7 @@ export const restApiDocsData = [ default: "Returns a list of nodes hosted by a specified :isp
, where :isp
is an ISP's ASN.
Returns aggregate capacity, number of nodes, and number of channels per ISP. Capacity figures are in satoshis.
" }, urlString: "/v1/lightning/nodes/isp-ranking", - showConditions: bitcoinNetworks, + showConditions: lightningNetworks, showJsExamples: showJsExamplesDefaultFalse, codeExample: { default: { @@ -7303,7 +7304,7 @@ export const restApiDocsData = [ default: "Returns two lists of the top 100 nodes: one ordered by liquidity (aggregate channel capacity) and the other ordered by connectivity (number of open channels).
" }, urlString: "/v1/lightning/nodes/rankings", - showConditions: bitcoinNetworks, + showConditions: lightningNetworks, showJsExamples: showJsExamplesDefaultFalse, codeExample: { default: { @@ -7426,7 +7427,7 @@ export const restApiDocsData = [ default: "Returns a list of the top 100 nodes by liquidity (aggregate channel capacity).
" }, urlString: "/v1/lightning/nodes/rankings/liquidity", - showConditions: bitcoinNetworks, + showConditions: lightningNetworks, showJsExamples: showJsExamplesDefaultFalse, codeExample: { default: { @@ -7623,7 +7624,7 @@ export const restApiDocsData = [ default: "Returns a list of the top 100 nodes by connectivity (number of open channels).
" }, urlString: "/v1/lightning/nodes/rankings/connectivity", - showConditions: bitcoinNetworks, + showConditions: lightningNetworks, showJsExamples: showJsExamplesDefaultFalse, codeExample: { default: { @@ -7819,7 +7820,7 @@ export const restApiDocsData = [ default: "Returns a list of the top 100 oldest nodes.
" }, urlString: "/v1/lightning/nodes/rankings/age", - showConditions: bitcoinNetworks, + showConditions: lightningNetworks, showJsExamples: showJsExamplesDefaultFalse, codeExample: { default: { @@ -8006,7 +8007,7 @@ export const restApiDocsData = [ default: "Returns details about a node with the given :pubKey
.
Returns historical stats for a node with the given :pubKey
.
Returns info about a Lightning channel with the given :channelId
.
Returns channels that correspond to the given :txid
(multiple transaction IDs can be specified).
Returns a list of a node's channels given its :pubKey
. Ten channels are returned at a time. Use :index
for paging. :channelStatus
can be open
, active
, or closed
.
Returns a list of channels with corresponding node geodata.
" }, urlString: "/v1/lightning/channels-geo", - showConditions: bitcoinNetworks, + showConditions: lightningNetworks, showJsExamples: showJsExamplesDefaultFalse, codeExample: { default: { @@ -8878,7 +8879,7 @@ export const restApiDocsData = [ default: "Returns a list of channels with corresponding geodata for a node with the given :pubKey
.
{{electrsPort}}
SSL
Enabled
-Electrum RPC interface for Bitcoin Signet is publicly available. Electrum RPC interface for all other networks is available to sponsors only—whitelisting is required.
+Electrum RPC interface for Bitcoin Signet and Bitcoin Testnet4 is publicly available. Electrum RPC interface for all other networks is available to sponsors only—whitelisting is required.