---
title: "GET /v1/{chainName}/block_v2/{blockHeight}/"
method: GET
path: "/v1/{chainName}/block_v2/{blockHeight}/"
tags: ["get-a-block"]
---

# GET /v1/{chainName}/block_v2/{blockHeight}/

`GET /v1/{chainName}/block_v2/{blockHeight}/`

## Request

- Base URL: `https://api.covalenthq.com`
- URL: `https://api.covalenthq.com/v1/{chainName}/block_v2/{blockHeight}/`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/goldrush/apis/goldrush-multichain-data-apis/docs/v1/:chainName/block_v2/:blockHeight/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetches a single block, for example to render it in a block explorer.

## Path parameters

- `chainName` string, required
- `blockHeight` string, required

## Response `200`

Successful response

- object
  - `updated_at` string, date-time: The timestamp when the response was generated. Useful to show data staleness to users.
  - `chain_id` integer: The requested chain ID eg: `1`.
  - `chain_name` string: The requested chain name eg: `eth-mainnet`.
  - `items` object[]: List of response items.
    - `block_hash` string: The hash of the block.
    - `signed_at` string, date-time: The block signed timestamp in UTC.
    - `height` integer: The block height.
    - `block_parent_hash` string: The parent block hash.
    - `extra_data` string: Extra data written to the block.
    - `miner_address` string: The address of the miner.
    - `mining_cost` integer: The associated mining cost.
    - `gas_used` integer: The associated gas used.
    - `gas_limit` integer: The associated gas limit.
    - `transactions_link` string: The link to the related tx by block endpoint.

---

[API](https://skmtc.dev/goldrush/apis/goldrush-multichain-data-apis.md) - [All operations](https://skmtc.dev/goldrush/apis/goldrush-multichain-data-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/goldrush/apis/goldrush-multichain-data-apis/revisions/31713d2c30bc?raw)
