Is there a way to get information about channels from public nodes only via API?
The best with python.
pull down to refresh
related posts
pull down to refresh
Is there a way to get information about channels from public nodes only via API?
The best with python.
One of the lightning explorers probably has an api. @apleroy?
Thanks @k00b
@m4 every lightning node offers API access to the overall graph of all nodes and channels but there are some limitations to this depending upon your use cases.
For LND it is like this in python: https://api.lightning.community/?python#describegraph
To see the results of all of the nodes and channel info, updated over time - you may have a look here: https://app.exponentiallayers.com/
I'd love to learn a bit more about what you are working on or looking for - is hosted API access something you need for a project?
Thank you for hint. No professional project so far.
LN is different from BTC blockchain. I'd like to learn more how the network works.
Sure thing. Here is a quick tweet thread (actually about an Exponential Layers analytics & explorer bug and new feature I'm working on and retroactively adjusting) , but it may offer a bit of insight into capturing the data in LN and how it works:
view on twitter.comAnd of course, tons of amazing content and overviews out there - just one starting point:
https://docs.lightning.engineering/