# getAgGenesisCert

> Returns the Alpenglow genesis certificate: the certificate over the first block produced under Alpenglow consensus.

Source: https://docs.constant-k.com/rpc/http/getaggenesiscert/

`getAgGenesisCert` returns the Alpenglow genesis certificate, the certificate over the first block produced under Alpenglow consensus. It returns `null` on a cluster that still runs TowerBFT, so it also tells a client whether Alpenglow is active.

Mainnet-beta moved to Alpenglow on October 21, 2026. The certified block is slot 459,652,999, and the value does not change after that.

- Transport: HTTP, JSON-RPC 2.0 `POST` to `https://rpc-newyork.constant-k.com/?api-key=YOUR_API_KEY` (New York) or `https://rpc-frankfurt.constant-k.com/?api-key=YOUR_API_KEY` (Frankfurt) or `https://rpc-amsterdam.constant-k.com/?api-key=YOUR_API_KEY` (Amsterdam). The key also works as an `x-api-key` header.
- Category: Network & Cluster
- Availability: All plans
- Rate limits: Free 5/s · Operator 50/s · Blade Runner 200/s · Nexus 500/s

## Parameters

None.

## Result

- `result` (object | null, optional): The genesis certificate, or `null` if the cluster has not moved to Alpenglow.
  - `block` (object, optional): The block the certificate covers: the first block produced under Alpenglow.
    - `slot` (integer, optional): Slot of the certified block.
    - `blockId` (integer[], optional): Block ID of the certified block, as a 32-byte array.
  - `signature` (object, optional): The aggregate signature over the certified block.
    - `signature` (integer[], optional): The 192-byte aggregate BLS signature of every validator that signed.
    - `bitmap` (integer[], optional): Which validators signed. Bit i set means the validator with stake rank i for the epoch signed (rank 0 is the largest stake).

## Example: Get the mainnet-beta genesis certificate

Request:

```bash
curl "https://rpc-newyork.constant-k.com/?api-key=YOUR_API_KEY" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{ "jsonrpc": "2.0", "id": 1, "method": "getAgGenesisCert" }'
```

Response:

```json
{
  "jsonrpc": "2.0",
  "result": {
    "block": {
      "blockId": [
        56,
        223,
        112,
        94,
        154,
        159,
        56,
        136,
        152,
        223,
        195,
        91,
        135,
        52,
        137,
        63,
        40,
        11,
        228,
        89,
        180,
        134,
        36,
        69,
        106,
        222,
        207,
        124,
        111,
        146,
        211,
        125
      ],
      "slot": 459652999
    },
    "signature": {
      "bitmap": [
        0,
        160,
        2,
        255,
        175,
        254,
        246,
        239
      ],
      "signature": [
        3,
        162,
        203,
        72,
        17,
        195,
        212,
        150
      ]
    }
  },
  "id": 1
}
```

_Long arrays in this example were trimmed._

## Notes

- Agave 4.3 and later. A node on an older version answers `-32601` (method not found), which is not the same as `null`.

