Public Loader API

Retrieve the configuration

Endpoint

GET /api/loader/autoconfigure

Response

{
    "success": true,
    "network": {
        "nethash": "6e84d08bd299ed97c212c886c98a57e36545c8f5d645ca7eeae63a8bd62d8988",
        "token": "ARK",
        "symbol": "Ѧ",
        "explorer": "https://explorer.ark.io",
        "version": 23
    }
}

Example

curl -X GET https://explorer.ark.io:8443/api/loader/autoconfigure \
  -H "API-Version: 1"

Retrieve the status

Endpoint

GET /api/loader/status

Response

{
    "loaded": false,
    "now": 3034441,
    "blocksCount": -26,
    "success": true
}

Example

curl -X GET https://explorer.ark.io:8443/api/loader/status \
  -H "API-Version: 1"

Retrieve the syncing status

Endpoint

GET /api/loader/status/sync

Response

{
    "syncing": true,
    "blocks": -31,
    "height": 3034446,
    "id": "16245805386023811986",
    "success": true
}

Example

curl -X GET https://explorer.ark.io:8443/api/loader/status/sync \
  -H "API-Version: 1"
Last Updated: 8/24/2018, 6:39:53 AM