Skip to main content
GET
/
v1
/
babylon
/
finalityProviders
/
{finality_provider}
/
state
Get finality provider state information
curl --request GET \
  --url https://api.rated.network/v1/babylon/finalityProviders/{finality_provider}/state \
  --header 'Authorization: Bearer <token>'
{
  "next": "https://api.rated.network//v1/babylon/finalityProviders/{finality_provider}/state?limit=10&offset=30",
  "pages": 10,
  "previous": "https://api.rated.network//v1/babylon/finalityProviders/{finality_provider}/state?limit=10&offset=10",
  "results": [
    [
      {
        "activeStake": 45236.52239464253,
        "day": "2025-01-21",
        "finalityProviderAddress": "bbn14q9h3m6fy9d66p6mzdksc55lq3ug7djdhxp0a0",
        "finalityProviderBtcAddress": "bc1pk7stcynsc353zsxaww0jmdu30negz4ru4ljp56futaype28m46xq9hl7jw",
        "finalityProviderBtcPubkey": "b7a0bc1270c4691140dd739f2db7917cf281547cafe41a693c5f481ca8fbae8c",
        "fromBabylonHeight": 100001,
        "fromBtcHeight": 40000,
        "toBabylonHeight": 107701,
        "toBtcHeight": 40001,
        "totalDelegators": 1357
      }
    ]
  ]
}
Using this endpoint, you can query the historical daily stake balance of a finality provider by their unique finality_provider identifier/s. This identifier can be their Babylon address, BTC public key, or BTC address. The data is aggregated by finality provider across all of their respective delegators based on the latter’s Babylon Genesis addresses. You can use the fromDate and toDate parameters to query a range of days.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

finality_provider
string
required

Query Parameters

limit
integer
default:10

The number of results returned per page

offset
integer
default:0

The number of results to skip before starting to return

fromDate
string<date> | null

Start date

Examples:

"2023-01-01"

toDate
string<date> | null

End date

Examples:

"2023-12-31"

Response

Successful Response

previous
string | null
required
next
string | null
required
pages
integer
required
Required range: x >= 0
results
BabylonFinalityProviderStake · object[]
required
I