Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

[API - REST] GET Address UTXO missing #248

Open
zatJUM opened this issue Jan 20, 2022 · 2 comments
Open

[API - REST] GET Address UTXO missing #248

zatJUM opened this issue Jan 20, 2022 · 2 comments

Comments

@zatJUM
Copy link

zatJUM commented Jan 20, 2022

Hi

Try this:

curl -sSL https://mempool.space/api/address/3Adsw48SVXTGU5LNhXwnLReAE6J81yENZk/utxo | jq length
1

Then, on your umbrel node:

curl -sSL http://127.0.0.1:3006/api/address/3Adsw48SVXTGU5LNhXwnLReAE6J81yENZk/utxo | jq length
parse error: Invalid numeric literal at line 1, column 10

Tested on 0.4.11 version

@louneskmt
Copy link

louneskmt commented Jan 23, 2022

@wiz Is this endpoint not available on the self hosted version?

@softsimon
Copy link

softsimon commented Jan 23, 2022

This is one of the Blockstream/esplora (https://github.com/Blockstream/esplora/blob/master/API.md) specific API endpoint that we have not re-implemented in our NodeJS/bitcoind backend since we are not using it in the mempool app and nobody has requested it before.

If you open an issue or make a PR on https://github.com/mempool/mempool/issues I guess there is possible to re-implement this API for the Umbrel setup with romanz/electrs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants