§ 06 public utilities
Bitcoin UTXO listing
Every unspent output for a given address, the way the SDK would return them to your code. Useful for fee planning, dust analysis, or just satisfying curiosity.
api · same call, in code
Use this in your code.
The lookup above is a real call to chainkit's public API. Here's the same request as curl, in Go via the SDK, and the raw JSON response — everything you need to wire it into your own app.
curl -sS '/v1/public/btc/utxos?address=bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq'utxos, err := provider.GetUTXOs(ctx, "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq")
if err != nil {
log.Fatal(err)
}
for _, u := range utxos {
fmt.Printf("%s:%d %d sat\n", u.TxHash, u.Vout, u.Amount)
}// run the lookup above to see the live response