Block Height

This endpoint returns the ID and hash of the most recent block and the amount of transactions in this block.

https://api.vechainstats.com/v2/block/height
    ?VCS_API_KEY=your_api_key
{
    "status": {
        "success": true,
        "message": "OK"
    },
    "data": {
        "block_height": 16225597,
        "block_hash": "0x00f7953d744c648cac09367b6e0abb65a129eb69584504c1e32c002e1ee5b0d5",
        "block_timestamp": 1692780130,
        "tx_count": 20
    },
    "meta": {
        "timestamp": 1692780130
    }
}

The timestamp is returned as a Unix Timestamp

Last updated