Atheios API

This website provides access to the Atheios blockchain via API calls.

Access cia curl

$ curl "https://api.atheios.org/api/getHashRate"

Access via javascript

var request = require('request');

var url = 'https://api.atheios.org/api/getHashRate'; request.get({ url: url, json: true, headers: {'User-Agent': 'request'}}, (err, res, data) => { if (err) { console.log('Error:', err); } else if (res.statusCode !== 200) { console.log('Status:', res.statusCode); } else { // data is already parsed as JSON: hashrate = data.getHashRate; difficulty = data.getDifficulty; blocktime = data.getBlockTime; // do things } });

API calls

Currently supported are the following API calls

api/getBlockNumber
api/currentSupply
api/getEpoch
api/getMonitaryPolicy
api/getHashRate