/v1/delegations
Active BTC delegations (staked Bitcoin)
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/babylon-api/v1/delegations" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/babylon-api/v1/delegations", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/babylon-api/v1/delegations");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/babylon-api/v1/delegations",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"chain": "bbn-1",
"count": 20,
"status": "ACTIVE",
"delegations": [
{
"active": true,
"btc_pk": "05ff2bedd40edb6f1997b30e5561ab8f9d710f7216303a7b9e8426f1cef25411",
"status": "ACTIVE",
"end_height": 957905,
"staked_btc": 599.999,
"staked_sat": 59999900000,
"staking_time": 64000,
"start_height": 893905,
"staker_address": "bbn1v0fg968ndnq4cjcyayhr6sr29njhh5fly0cc8t",
"finality_providers": [
"7e20f50f7882e6f75372dab46b9dd17dd3f91d4c397be25085a9d020b2aa2156"
]
},
{
"active": true,
"btc_pk": "a4a5533d54296a7a1ec49f37a23408a479e3e1ef8948677db5b3721e03d357b1",
"status": "ACTIVE",
"end_height": 1010388,
"staked_btc": 5,
"staked_sat": 500000000,
"staking_time": 64000,
"start_height": 946388,
"staker_address": "bbn1z87v9hvmjfdcsapz05g9vp55aymhzac23nlnef",
"finality_providers": [
"374601b4c400b31f3aa78dc16b4e4d589c1284118e2476d83f0c39743881032c"
]
},
{
"active": true,
"btc_pk": "d1d25f37a2b5f9ed12e092babb2a1e2b4694393294b838db13351bf9b6fe63f0",
"status": "ACTIVE",
"end_height": 1005092,
"staked_btc": 0.1,
"staked_sat": 10000000,
"staking_time": 64000,
"start_height": 941092,
"staker_address": "bbn1gfakptv453glj9w2w3fctkf0hfphfnal0s3nqq",
"finality_providers": [
"374601b4c400b31f3aa78dc16b4e4d589c1284118e2476d83f0c39743881032c"
]
},
{
"active": true,
"btc_pk": "d1d25f37a2b5f9ed12e092babb2a1e2b4694393294b838db13351bf9b6fe63f0",
"status": "ACTIVE",
"end_height": 1013596,
"staked_btc": 0.1,
"staked_sat": 10000000,
"staking_time": 64000,
"start_height": 949596,
"staker_address": "bbn1gfakptv453glj9w2w3fctkf0hfphfnal0s3nqq",
"finality_providers": [
"374601b4c400b31f3aa78dc16b4e4d589c1284118e2476d83f0c39743881032c"
]
},
{
"active": true,
"btc_pk": "4914b56f7bd9de661e6ae4e0a8cfc680836cbada2ae18d2c7923b8e4f6b442fd",
"status": "ACTIVE",
"end_height": 1008285,
"staked_btc": 5,
"staked_sat": 500000000,
"staking_time": 64000,
"start_height": 944285,
"staker_address": "bbn1z87v9hvmjfdcsapz05g9vp55aymhzac23nln
…