Skip to content
chainkit / signal · providers — · 24h fleet telemetry
p95 ·
Public utilities · tool 06 of 07

BTC → fiat converter.

Live exchange rates against the five fiat currencies the chainkit SDK supports today. Sourced from real provider RPC via the same multi-provider rotation a chainkit customer app would use.

how this works

One call, two providers in rotation.

This page calls /v1/public/btc/rates, which asks the chainkit SDK for every supported fiat rate in one shot. Behind the scenes mempool and CoinGecko take turns — whichever is healthiest answers, the other backs it up. The multiplication happens in your browser.

See live provider performance
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
curl -sS '/v1/public/btc/rates'
client.go
rates, err := provider.GetExchangeRates(ctx, types.CoinTickerBTC)
if err != nil {
    log.Fatal(err)
}
for _, r := range rates {
    fmt.Printf("BTC → %s  %s\n", r.Currency, r.Rate.Text('f', 2))
}
response.json
// run the lookup above to see the live response