Skip to content

skalenetwork/skale-watchdog

skale-watchdog

Discord

SKALE Watchdog microservice: exposes health/status info for SKALE/FAIR node components.

REST API (current)

Base URL: http://<NODE_IP>:3009

All endpoints return JSON in format: {"data": |null, "error": <string|null>}.

Common group

GET /api/v1/common/hardware
GET /api/v1/common/meta-info
GET /api/v1/common/btrfs
GET /api/v1/common/sgx
GET /api/v1/common/check-report
GET /api/v1/common/endpoint
GET /api/v1/common/containers (query: all=True)
GET /api/v1/common/ssl

SKALE network specific (SKALE_NETWORK_TYPE=skale)

GET /api/v1/skale/schains
GET /api/v1/skale/ima
GET /api/v1/skale/schain-containers-versions
GET /api/v1/skale/public-ip
GET /api/v1/skale/validator-nodes
GET /api/v1/skale/sm-abi
GET /api/v1/skale/ima-abi

Fair network specific (SKALE_NETWORK_TYPE=fair)

GET /api/v1/fair/chain-checks

Notes:

  • Add header/body option {"_no_cache": true} (JSON) to force a cold fetch.
  • Response time is logged; caching reduces latency.
  • Non-200 upstream responses are wrapped with error message in "error" field.

License

GitHub

All contributions are made under the GNU Affero General Public License v3. See LICENSE.

About

SKALE microservice for providing statuses of SKALE node docker containers

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •