For the complete documentation index, see llms.txt. This page is also available as Markdown.

Block by reference

Returns the block number and variables for a given block reference (blockref)

https://api.vechainstats.com/v2/block/blockref
    ?blockref=0x00fb6fb52e0d6d67
    &VCS_API_KEY=your_api_key
Parameter
Description

blockref

A block reference on an EVM-compatible blockchain refers to a specific block's unique identifier based on the block hash.

{
    "status": {
        "success": true,
        "message": "OK"
    },
    "data": {
        "number": 16478133,
        "hash": "0x00fb6fb52e0d6d678d5d17871a458d07fe9b738f5271f4e65f2b0cfe4e98f3c8",
        "timestamp": 1695305650
    },
    "meta": {
        "blockref": "0x00fb6fb52e0d6d67",
        "timestamp": 1695642736
    }
}

Last updated