---
title: "GET /v1/indexer/blockchain/info"
method: GET
path: "/v1/indexer/blockchain/info"
tags: ["Blocks"]
---

# GET /v1/indexer/blockchain/info

`GET /v1/indexer/blockchain/info`

Get blockchain info.

## Response `200`

Successful operation

- object
  - `code` 0 | -1
  - `msg` string
  - `data` object
    - `chain` string
    - `blocks` integer
    - `headers` integer
    - `bestBlockHash` string
    - `prevBlockHash` string
    - `medianTime` integer
    - `chainwork` string

## Other responses

- `401` — Invalid API Key

---

[API](https://skmtc.net/unisat/apis/unisat-wallet-openapi.md) · [All operations](https://skmtc.net/unisat/apis/unisat-wallet-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unisat/unisat-wallet-openapi/revisions/68de350419c7/schema)
