What you can do
| check delegations | List active delegations for a staker | Call GET /v2/delegations with staker_pk_hex or babylon_address and state=active. |
| list finality providers | Pick finality providers with stats | Call GET /v2/finality-providers and page with pagination_key. |
| check unbonding | See if a delegation can be unbonded | Call GET /v1/unbonding/eligibility for the staking transaction, then POST /v1/unbonding if eligible. |
Staked BTC is locked for the staking period. Early exit uses the fast unbonding path, which takes a few days.
Slashing removes a part of the stake when a finality provider misbehaves. Pick providers with care.
Several v1 endpoints are marked deprecated in the spec. Use the v2 endpoints.
Use of the API is governed by Babylon API Access License. Read it before building a product on the API.