MigaLabs Logo

MigaLabs

Blockchain Ecosystem Observatory

Beacon

Get the genuine exit queue or one validator's position

Returns the genuine exit queue ordered by exit_epoch (consolidation sources excluded). If a pubkey is provided, returns that validator's position, or position -1 if it is not in the genuine exit queue.

GET
/eth/v1/beacon/consensus/exit_queue_position
X-Api-Key<token>

API key used for authentication. It provides access to all endpoints.

In: header

Query Parameters

networkstring

Network name

Default"mainnet"
pubkey?string

Validator BLS public key (hex, with or without 0x prefix)

page?integer

Page number

Default0
Range0 <= value
limit?integer

Number of results per page

Default10
Range1 <= value <= 1000

Response Body

application/json; charset=utf-8

application/json; charset=utf-8

application/json; charset=utf-8

application/json; charset=utf-8

curl -X GET "https://www.migalabs.io/api/eth/v1/beacon/consensus/exit_queue_position?network=mainnet"
{
  "data": [
    {
      "exit_epoch": 123789,
      "pool_name": "string",
      "position": 0,
      "pubkey": "0x8c...",
      "validator_index": 123456
    }
  ],
  "meta": {
    "limit": 0,
    "network": "string",
    "page": 0,
    "total_count": 0
  }
}
{
  "detail": "string",
  "errors": [
    {
      "detail": "string",
      "parameter": "string"
    }
  ],
  "instance": "string",
  "status": 0,
  "title": "string",
  "type": "string"
}
{
  "detail": "string",
  "errors": [
    {
      "detail": "string",
      "parameter": "string"
    }
  ],
  "instance": "string",
  "status": 0,
  "title": "string",
  "type": "string"
}
{
  "detail": "string",
  "errors": [
    {
      "detail": "string",
      "parameter": "string"
    }
  ],
  "instance": "string",
  "status": 0,
  "title": "string",
  "type": "string"
}