GetGenesis - Algorand

Returns the entire genesis file in JSON.

Endpoint

httpGET /genesis

Example

bashexport ALGO_ALGOD=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${ALGO_ALGOD}genesis"

Response

Returns application/json. Top-level fields:

FieldTypeDescription
allocarray—
commentstring—
devmodeboolean—
feesstring—
idstring—
networkstring—
protostring—
rwdstring—
timestampinteger—

Error Handling

ErrorMessageDescription
400Bad requestA parameter was missing or malformed
404Not foundThe requested resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect