Blockstream / Blockstream/esplora

UTXO API and Scriptpubkey

Open
#431 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
514
Avg merge
1d 10h
Merged PRs (30d)
16

Description

Hi,
I am trying to get all the UTXO for an address, for i,e [https://blockstream.info/api/address/1DX8EFJPMBimWyApUndVSnwucu29Eob4fC/utxo](https://blockstream.info/api/address/1DX8EFJPMBimWyApUndVSnwucu29Eob4fC/utxo)

But I cannot find the Scriptpubkey to actually make a transaction.

This is the Blockcypher API for UTXO: [https://api.blockcypher.com/v1/btc/main/addrs/1DX8EFJPMBimWyApUndVSnwucu29Eob4fC?includeScript=true&unspentOnly=true](https://api.blockcypher.com/v1/btc/main/addrs/1DX8EFJPMBimWyApUndVSnwucu29Eob4fC?includeScript=true&unspentOnly=true)

As you can see Blockcypher has the `script` there but Blockstream doesnt.

I dont wanna do additional extra API calls for this single request, I cannot either find any other API call for Blockstream to get the UTXO with the script, or did I miss something?

Any help is appreciated.

regards Zilveer

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.