Block Information

GET <API_ENDPOINT>/v0/<CHAIN>/block/id/<BLOCK_HASH>

Returns a Block object for the block specified by the <CHAIN> and <BLOCK_HASH> values.

By default, only minimal Transaction information is returned. For additional Transaction details use the ?showtxn=1 and showtxnio=1 query parameters.

Examples

Example Output

{
    "status": "success",
    "data": {
        "block": {
            "id": "2A75A531E41FC27AE94C677F10D1921C691CA07B0D7015A87CD5F842F1D226BA",
            "size": "227",
            "height": 157995,
            "version": 6422530,
            "merkel_root": "01414FB7FCFE2A7AF0603AC5C75426756CDF8F4622EDDBC2DD09BC9BA46F2B5B",
            "time": 1407214382,
            "time_display": "2014-08-05T04:53:02+00:00",
            "nonce": 820187392,
            "chainwork": "000000000000000000000000000000000000000000000000000000000000000000542BB5CEA3",
            "bits": "503847802",
            "prev_block_id": "BD8FC5732FDDC4800D7948952E378C8D38D2809050855442F0A7F61A1F9EAE9B",
            "next_block_id": "",
            "_confirmations": 0,
            "_is_main_chain": 1,
            "_tx_count": 1,
            "_coinbase": 25000000000000,
            "_coinbase_fiat_now": 0,
            "_coinbase_disp": "250,000.00000000",
            "_input_value": 0,
            "_input_value_fiat_now": 0,
            "_input_value_disp": "0.00000000",
            "_output_value": 25000000000000,
            "_output_value_fiat_now": 0,
            "_output_value_disp": "250,000.00000000",
            "_fees": 0,
            "_fees_fiat_now": 0,
            "_fees_disp": "0.00000000",
            "_total_satoshies": 6461901501800000000,
            "_total_seconds": 15711093,
            "_satoshi_seconds": 9223372036854775807,
            "_total_satoshi_seconds": 9223372036854775807,
            "_destroyed_satoshi_seconds": 0,
            "Transactions": [
                {
                    "id": "01414FB7FCFE2A7AF0603AC5C75426756CDF8F4622EDDBC2DD09BC9BA46F2B5B"
                }
            ]
        },
        "_request": {
            <REQUEST_OBJECT>
        }
    }
}

Also see

Access Criteria

  1. Return to API
  2. Return to Blocks
  3. Block Object
  4. block
  5. blockHeight
  6. blockLatest
  7. Table of Contents