BTB
/

Babylon Protocol

Restakingwebsite
Bitcoin staking with native BTC and no bridge or wrapped asset. An agent can read a staker delegations, finality providers, network parameters and APR through the Babylon Staking API, and check or request unbonding.

What you can do

check delegationsList active delegations for a stakerCall GET /v2/delegations with staker_pk_hex or babylon_address and state=active.
list finality providersPick finality providers with statsCall GET /v2/finality-providers and page with pagination_key.
check unbondingSee if a delegation can be unbondedCall 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.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).