GetVersion - Algorand
Retrieves the supported API versions, binary build versions, and genesis information.
Endpoint
httpGET /versionsExample
bashexport ALGO_ALGOD=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
curl "${ALGO_ALGOD}versions"Response
Returns application/json. Top-level fields:
| Field | Type | Description |
|---|---|---|
| build | object | — |
| genesis_hash_b64 | string | — |
| genesis_id | string | — |
| versions | array | — |
Error Handling
| Error | Message | Description |
|---|---|---|
| 400 | Bad request | A parameter was missing or malformed |
| 404 | Not found | The requested resource does not exist |
| 403 / RBAC: access denied | Access denied | The GetBlock access token is missing or incorrect |