API地址
https://hashpool.com/api/
获取矿池币种信息
Request: GET /coins
Response:
{
    "code": 0,
    "data": [
        {
            "coin": "BSHA3",
            "fee": 0,
            "minPay": 0.1,
            "poolHashrate": 11.6,
            "poolHashrateUnit": "GH/s",
            "netHashrate": 1,
            "netHashrateUnit": "H/s"
        },
        {
            "coin": "CKB",
            "fee": 0,
            "minPay": 0.1,
            "poolHashrate": 0,
            "poolHashrateUnit": "H/s",
            "netHashrate": 1,
            "netHashrateUnit": "H/s"
        }
    ]
}
coin: 币种代码
fee: 手续费百分比
minPay: 起付金额
poolHashrate: 矿池算力
poolHashrateUnit: 矿池算力单位
netHashrate: 全网算力
netHashrateUnit: 全网算力单位
获取币种暴块信息
Request: GET /blocks/CKB?offset=0&limit=50
Response:
{
    "code": 0,
    "data": {
        "data": [
            {
                "blockHash": "96968a5c88970b26eabb...07d6b91fdf86768003051c478fd77331",
                "blockHeight": 2829626,
                "reward": 4.803386,
                "dateTime": 1567907462000
            },
            {
                "blockHash": "c5dc64e03e0e32bce80dc6f...ae223a6653afe19e1756c52e0af6d",
                "blockHeight": 2829616,
                "reward": 4.803421,
                "dateTime": 1567906935000
            }
        ],
        "pageNum": 1,
        "pageSize": 50,
        "pages": 6,
        "total": 251
    }
}
blockHash:区块hash
blockHeight: 区块高度
reward: 块奖励 包括手续费
datetime:出块时间