0
I have a bitcoin address and I want to get the JSON format of the balance using blockstreams api service.
It's this one: https://github.com/Blockstream/esplora/blob/master/API.md#transaction-format
It's not clear on what I need to put in the URL. I tried:
and it doesn't work.
1
I think you're confused about two things. The API needs a "/api" in the URL, and the colon indicates a value to be replaced, not a literal. For example https://blockstream.info/api/address/bc1qgsmfaz22lzy08wqjspd8xtm43hal5tgz4hyac6 works.
– Pieter Wuille – 2019-11-18T17:33:43.780yes that works. it doesn't say anywhere on that docs that I had to add api after the domain name. thanks! – Patoshi パトシ – 2019-11-18T17:52:45.880