Providers

Blockstream

Bitcoin through Esplora at blockstream.info. An independent second backend for the same chain, so a Mempool outage is not your outage.
provider
create("blockstream")
auth
none
chains
Bitcoin
capabilities
balance, history, tx detail, block
endpoint
blockstream.info
default chain
bitcoin

Address it

const blockstream = await create("blockstream");
await blockstream.getBalance("1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa");

Bitcoin only, no key.

What it reads

The Esplora wire format: /api/address/:address, /api/address/:address/txs, /api/tx/:hash and /api/blocks/:height, a page of blocks the provider searches for the exact height. Balances with funded and spent totals, history, one transaction, blocks.

Gotchas

  • /api/fee-estimates does not match Mempool's recommendation shape, so gas data stays unsupported rather than approximated. Read fees through Mempool.
  • Blockstream and Mempool share the mapping in src/core/esplora.ts, so a transaction from either has the same fields; only OP_RETURN decoding is Mempool's.
  • In provider selection Blockstream sits after Mempool among keyless Bitcoin providers, so it answers when Mempool is rate limiting and you did not name a provider.

Where it lives

src/providers/blockstream.ts.

@agntn/explorers·MIT license· Read-only. Addresses you type go to a public explorer API, never to a wallet.