Returns the Alpenglow genesis certificate: the certificate over the first block
produced under Alpenglow consensus. Returns null while the cluster is still
running TowerBFT, which makes this the way to detect whether Alpenglow is active
on a cluster.
Source
Available from Agave v4.3. A node running an earlier version answers with a
Method not found error (-32601), which is different from null: null
means the node supports the method and the cluster has not migrated. The
Solana CLI exposes the same call as solana alpenglow-genesis-info.
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getAgGenesisCert"> }> '
params
Noneresult
migrated
not migrated
Response
{"jsonrpc": "2.0","result": {"block": {"slot": 412300800,"blockId": [143, 27, 209, 4, 88, 176, 61, 230, 12, 99, 174, 41, 7, 182, 250, 33,118, 65, 201, 90, 16, 133, 244, 58, 71, 190, 2, 155, 108, 223, 46, 137]},"signature": {"signature": [/* 192 bytes */],"bitmap": [/* variable length */]}},"id": 1}
object
The Alpenglow genesis certificate, as gossiped between validators. Present once the cluster has migrated to Alpenglow consensus.
Is this page helpful?