getumbrel / umbrel-os

umbrelOS for Raspberry Pi 4 (only). Covert your Raspberry Pi into a home server in one click. For other hardware, checkout https://github.com/getumbrel/umbrel

Home Page:https://umbrel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[API - REST] GET Address UTXO missing

zatJUM opened this issue · comments

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

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

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.