Channel ID
\nAlias
\nCapacity
\nChannel Point
\n{{formatCapacity(v.capacity)}} BTC
\n{{formatCapacity(v.capacity)}} BTC
\n\n Return information about a specific node. Including addresses, total number of channels and total channel capacity.\n
\n\n GET https://api.public.money/nodes/{id}
\n
\n Where {id}
can be either a node public key or alias.\n
\n Example Response:\n
\n\n{\n \"alias\": \"ln1.public.money\",\n \"pub_key\": \"0313a13913428e083a4498ee4da1bf7277046ec65a0a3df7a96473ea5b54fea066\",\n \"last_update\": 1588889339,\n \"color\": \"#3399ff\",\n \"addresses\": [\n {\n \"id\": 107636,\n \"addr\": \"fhiy33dzvbpkhyxgzkwvg6csjas4o3qnvzb7jq4f4fjjxprkbzqbmpqd.onion:9735\",\n \"network\": \"tcp\"\n },\n {\n \"id\": 49231,\n \"addr\": \"54.154.147.194:9735\",\n \"network\": \"tcp\"\n }\n ],\n \"channelCount\": 5,\n \"capacity\": 21050000\n}
\n
\n \n Return an array of channels that a node is a participant of.\n
\n\n GET https://api.public.money/channels?nodePubKey={pubKey}
\n
\n Where {pubKey}
is a node public key.\n
\n Example Response:\n
\n\n[\n {\n \"alias\": \"ln1.public.money\",\n \"pub_key\": \"0313a13913428e083a4498ee4da1bf7277046ec65a0a3df7a96473ea5b54fea066\",\n \"id\": \"691510350626816001\",\n \"capacity\": 10000000,\n \"chan_point\": \"6c4712c2b0b7dddf4a0cb0ec75b43fc5f4111e593459028f4e4b65076a514d98:1\",\n \"other_alias\": \"yalls.org\",\n \"other_pub_key\": \"03d06758583bb5154774a6eb221b1276c9e82d65bbaceca806d90e20c108f4b1c7\"\n }\n]
\n
\n \n Return information about a specific channel, including basic information about the participating nodes and their channel policies.\n
\n\n GET https://api.public.money/channels/{id}
\n
\n Where {id}
is a channel ID.\n
\n Example Response:\n
\n\n{\n \"channel\": {\n \"id\": 115018,\n \"created\": \"1588618214865\",\n \"last_update\": 1588878539,\n \"channel_id\": \"691510350626816001\",\n \"chan_point\": \"6c4712c2b0b7dddf4a0cb0ec75b43fc5f4111e593459028f4e4b65076a514d98:1\",\n \"node2_pub\": \"03d06758583bb5154774a6eb221b1276c9e82d65bbaceca806d90e20c108f4b1c7\",\n \"capacity\": \"10000000\",\n \"node1_pub\": \"0313a13913428e083a4498ee4da1bf7277046ec65a0a3df7a96473ea5b54fea066\"\n },\n \"node\": {\n \"id\": 6105,\n \"alias\": \"yalls.org\",\n \"color\": \"#f8e71c\",\n \"last_update\": 1588876001,\n \"pub_key\": \"03d06758583bb5154774a6eb221b1276c9e82d65bbaceca806d90e20c108f4b1c7\"\n },\n \"otherNode\": {\n \"id\": 3622,\n \"alias\": \"ln1.public.money\",\n \"color\": \"#3399ff\",\n \"last_update\": 1588889339,\n \"pub_key\": \"0313a13913428e083a4498ee4da1bf7277046ec65a0a3df7a96473ea5b54fea066\"\n },\n \"policy\": {\n \"id\": 130723,\n \"time_lock_delta\": 40,\n \"fee_base_msat\": \"1000\",\n \"last_update\": 1588877801,\n \"max_htlc_msat\": \"9900000000\",\n \"disabled\": false,\n \"fee_rate_milli_msat\": \"2500\",\n \"min_htlc\": \"1000\"\n },\n \"otherPolicy\": {\n \"id\": 130722,\n \"time_lock_delta\": 40,\n \"fee_base_msat\": \"1000\",\n \"last_update\": 1588878539,\n \"max_htlc_msat\": \"9900000000\",\n \"disabled\": false,\n \"fee_rate_milli_msat\": \"1\",\n \"min_htlc\": \"1000\"\n }\n}
\n
\n \n Bitcoin is a new global currency that anyone can use without permission. It is native to the internet and with its foundations in computer code,\n mathematics and cryptography. Its architecture is technically and politically decentralised. This means that there is no central point of control and\n it is resilient to corruption and manipulation. Bitcoin has a fixed supply of 21 million BTC with an inflation rate that is reduced by 50% every four years (210000 blocks).\n
\n\n A block is a batch of transactions. They can only be created by special nodes on the network called miners, that expend capital in order\n to compete to solve a mathematical puzzle (Proof of Work). The blocks are created roughly every ten minutes, but the timing can vary widely\n (between 1 and 60 minutes is usual). A transaction on the Bitcoin network is not complete until it has been included in a block.\n
\n\n The Lightning Network is a new protocol designed to greatly increase the scale and utility of Bitcoin. It increases privacy, reduces transaction times,\n and increases throughput. Unlike the Bitcoin (layer one) protocol that broadcasts every transaction to all nodes in the network the Lightning Network (layer two)\n only sends transactions to nodes which are a party in that transaction. There are no blocks to wait for on the Lightning Network, so transactions are confirmed instantly.\n
\n\n A transaction is how Bitcoin is transferred from one party to another. There are some notable differences between Bitcoin and Lightning transactions.\n
\n\n On Bitcoin sending a transaction costs a fee that goes to the miners as a reward for securing the network.\n A Bitcoin transaction can be sent to anyone else on the network without the need for intermediaries. The fees change depending on how busy\n the network is, but the amount being sent is not a factor.\n
\n\n A Lightning transaction also has fees but these are paid to other nodes on the network that help in routing the transaction to its recipient.\n The fees are set by each node and can vary greatly depending on many factors.\n
\n\n A node is a computer that runs the Bitcoin and/or Lightning software. These computers form a peer to peer network that communicate with each other about\n other nodes, channels and send cryptographically signed transactions.\n
\n\n There are multiple implementations of the Bitcoin and Lighting software, written by people from all over the world. Although these implementations\n may have different features or be optimised for certain use cases they all have one thing in common in that they all understand the Bitcoin protocol.\n
\n\n Nodes can be run by individuals (serving only one or a few people) or by organisations (perhaps serving thousands or millions of people). The most secure\n way to use Bitcoin is to run your own node but it is a personal choice and there are many considerations.\n
\n\n A channel is a concept specific to the Lightning Network. It is a persistent connection between two nodes that contains a certain amount of Bitcoin (the balance)\n that can be transmitted between the connecting nodes very quickly and at very low cost. The channels form a graph that allow for payments to be routed\n automatically from one node to another across distant parts of the network.\n
\n\n A channel can be either public or private:\n
\n\n There is a maximum supply of 21 000 000 BTC, of which about 18 000 000 have already been created.\n
\n\n Each BTC is divisible into smaller units called Sats (short for Satoshis). There are 100 000 000 Sats in 1 BTC.\n
\n\n The Lightning Network supports an increased resolution of mSats (milli-Satoshi). There are 1000 mSats in 1 Sat..\n
\nAlias
\nCapacity
\nChannels
\nPublic Key
\n{{formatCapacity(v.capacity)}} BTC
\n{{v.channels}}
\n{{v.pub_key}}
\n