GET
/
pools
/
{pool_id}
/
blocks
Stake pool blocks
curl --request GET \
  --url https://mainnet.gomaestro-api.org/v1/pools/{pool_id}/blocks \
  --header 'api-key: <api-key>'
{
  "data": [
    {
      "epoch_no": 241,
      "epoch_slot": 416235,
      "abs_slot": 19165035,
      "block_height": 5213445,
      "block_hash": "6ecd67bb8515cf7ab82c5c0c4a3f6e99c390fdfaaffca4bd7ab0a3365c5327ce",
      "block_time": 1610731326
    },
    {
      "epoch_no": 243,
      "epoch_slot": 166752,
      "abs_slot": 19779552,
      "block_height": 5243962,
      "block_hash": "3ad8d2bafc5ad3e7fed82318f03f7b4ae221b5c9ca0b20b47b72a96bdf82a71b",
      "block_time": 1611345843
    },
    {
      "epoch_no": 280,
      "epoch_slot": 401137,
      "abs_slot": 35997937,
      "block_height": 6042598,
      "block_hash": "4a0572125268fd327258a6fea5c35bdc1e619bd81d542c36c8cf0a8a92214e21",
      "block_time": 1627564228
    },
    {
      "epoch_no": 281,
      "epoch_slot": 105848,
      "abs_slot": 36134648,
      "block_height": 6049318,
      "block_hash": "0cdef0adaf13b7db4a469637439b7847ba822bc05c94710ca4f517b57ac0f3a8",
      "block_time": 1627700939
    },
    {
      "epoch_no": 281,
      "epoch_slot": 246962,
      "abs_slot": 36275762,
      "block_height": 6056368,
      "block_hash": "8590d0e47ed7d50a39fed48e9f556c99f644626a08a90d04198810bff8c41bac",
      "block_time": 1627842053
    }
  ],
  "last_updated": {
    "timestamp": "2022-10-10 20:25:28",
    "block_hash": "6d0c6e1c0966c5ba824fedd4dfa963ee2cab1091e33e3c76551d1dbae50ccd25",
    "block_slot": 96404672
  },
  "next_cursor": "AAAAAAAAAAA"
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

pool_id
string
required

Pool ID in bech32 format

Query Parameters

epoch_no
integer | null

Epoch number to fetch results for

Required range: x >= 0
count
integer
default:100

The max number of results per page

Required range: x >= 0
order
enum<string>
default:asc

The order in which the results are sorted (by block absolute slot)

Available options:
asc,
desc
cursor
string | null

Pagination cursor string, use the cursor included in a page of results to fetch the next page

Response

200
application/json

Return information about blocks minted by a given pool for all epochs (or epoch_no if provided)

A paginated response. Pass in the next_cursor in a subsequent request as the cursor query parameter to fetch the next page of results.