Blockstream Esplora
id: blockstream
Most-feature-complete BTC backend in the matrix.
What this provider does inside chainkit
- Balance
Look up the confirmed balance of an address.
- UTXOs
List the unspent transaction outputs held by an address.
- Tx status
Check the confirmation status and depth of a transaction.
- Broadcast
Submit a signed raw transaction to the network.
- Fee tiers
Get current sat/vByte recommendations for priority / standard / economy.
- Address check
Validate an address string is well-formed for the active network.
Running it in production
- Auth
- optional
- Chains
- btc/mainnetbtc/testnet3btc/testnet4
- Free tier
- public esplora is unrestricted (best-effort)
- Paid tier
- Blockstream Enterprise (OAuth client_id/secret)
- Rate limit
- no published limit on public; SLA on Enterprise
Wire Blockstream Esplora via the chainkit builder
The builder accepts every provider you want in rotation. chainkit handles failover, retries, and scoring across them — pick capability coverage, not a single vendor.
import (
"github.com/exapsy/chainkit"
"github.com/exapsy/chainkit/bitcoin/providers"
bttypes "github.com/exapsy/chainkit/bitcoin/types"
)
p := providers.NewBlockstream(/* opts — see godoc */)
client, _ := chainkit.NewMixedProvidersBuilder().
WithProvider(p).
Build(ctx) Snippet illustrative; refer to the godoc for the exact constructor signature.
Live performance
Pulled from the same scoreboard as /scoreboard, narrowed to Blockstream Esplora. Polled every minute.