VCS API Documentation
VeChain Stats
  • Introduction
  • Getting Started
    • 🗝️Getting an API Key
    • 🔓Authentication
    • 📬Postman
    • ✳️Swagger
  • API Endpoints
    • Account
      • Account Stats
      • ✨Account Extended Stats
      • Account Info
      • ✨Account VTHO Info
      • VET/VTHO Balance
      • ✨Transactions In
      • Transactions Out
      • ✨Token Transfers
      • ✨NFT Transfers
      • ✨DEX Trades
      • DEPRECATED: Internal Transfers
      • Historic VET/VTHO
    • Token
      • Token List
      • Token Info
      • Token Price
      • ✨Token Price List
      • Token Supply
      • ✨VIP180 Balance
      • VIP180 Balance Custom
      • ✨Token Holder List
    • Transaction
      • Transaction Status
      • Transaction Info
    • Block
      • Block Daily Stats
      • Block Info
      • Block Height
      • Block by reference
      • Block by timestamp
    • Contract
      • Contract Stats
      • Contract Info
      • Contract Code
    • NFT
      • NFT Token List
      • NFT Info
      • ✨VIP181 Balance
      • VIP181 Balance Custom
      • ✨NFT Holder List
    • Carbon
      • Address Emission
      • Block Emission
      • Transaction Emission
      • Network Emission
    • Network
      • Network Totals
      • Network Stats
      • Network Gas Stats
      • Authority Nodes
      • ✨Mempool
      • Node Token Count
      • ✨Node Token Stats
      • Thor Instance Size
      • X-Node List
    • API Info
      • API Info
      • API Ping
  • Support
    • FAQ
    • Rate Limits
    • Response HTTP Status
    • Common Error Messages
    • Socials
    • Change Log
  • Visit VeChain Stats
Powered by GitBook
On this page

Was this helpful?

  1. API Endpoints
  2. Block

Block Info

Returns metadata and raw block information for a requested block number

https://api.vechainstats.com/v2/block/info
    ?blocknum=16581454
    &VCS_API_KEY=your_api_key
Parameter
Description

blocknum

The block number to get more information of

{
    "status": {
        "success": true,
        "message": "OK"
    },
    "data": {
        "gas_target_perc": 5.4,
        "txns_total_count": 4,
        "txns_reverted": 0,
        "txns_mtt": 2,
        "clauses_total_count": 15,
        "vtho_total_paid": "22.864030862744759573",
        "vtho_total_rewarded": "6.859209258823427871",
        "vtho_total_burned": "16.004821603921330686"
    },
    "block": {
        "number": 16581454,
        "id": "0x00fd034ea5738ca0a76a1a6edf2a383ac5e68b93b22f75c4c0cceb29e18329d5",
        "size": 3534,
        "parentID": "0x00fd034d0a4bd59abb550f0c423fbe80fc3429e250a74a66b63c68abae55bfdb",
        "timestamp": 1696338910,
        "gasLimit": 30000000,
        "beneficiary": "0x7100a4dd6c3cf9c54aed649832a6c0170cf71329",
        "gasUsed": 1619885,
        "totalScore": 1617097443,
        "txsRoot": "0x8759cb394a74093dcd045af9c4e8b49ba24f453b5adfd83c15d7ac8574dac35b",
        "txsFeatures": 1,
        "stateRoot": "0x6dd41f63fab92a7798c62065c52b191f1a25832f85380847305920ddc61d2351",
        "receiptsRoot": "0x2b57ea02036d294cd4fd315385213ac9c6492f4c6779dbeed9255125ee9756d6",
        "com": true,
        "signer": "0x454055c76bc7381d1d8880a80e817691a9de1fd0",
        "isTrunk": true,
        "isFinalized": true,
        "transactions": [
            "0x8981c599fb132afef11457c3439b915067152dad3d2e9e12932489f8441f9002",
            "0x4feed6903dea70e9e62fba04afb4f8fcbef7c8013717d1b54ecd8d1603e510ad",
            "0xc967d57b0ba0a1438457910d257ec8b50d882fef09b2cf059b22feeceb86dc82",
            "0x448449c8ddd43132b4679ac7ced399ef53147e6744d635436bae53cd09b554de"
        ]
    },
    "meta": {
        "blocknum": 16581454,
        "timestamp": 1696414827
    }
}
PreviousBlock Daily StatsNextBlock Height

Last updated 1 year ago

Was this helpful?