> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gomaestro.org/llms.txt
> Use this file to discover all available pages before exploring further.

> Get the current Cardano blockchain tip information including latest block hash, number, and slot.

# Chain-tip



## OpenAPI

````yaml cardano/blockchain-indexer-api/openapi.json get /chain-tip
openapi: 3.0.3
info:
  title: Cardano - Blockchain Indexer API
  description: Core indexer endpoints dedicated to Cardano.
  contact:
    name: Maestro Blockchain Inc.
    url: https://gomaestro.org/
    email: info@gomaestro.org
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.txt
  version: v1.8.0
servers:
  - url: https://mainnet.gomaestro-api.org/v1
    description: Cardano Mainnet
  - url: https://preprod.gomaestro-api.org/v1
    description: Cardano Preprod
  - url: https://preview.gomaestro-api.org/v1
    description: Cardano Preview
security:
  - api-key: []
tags:
  - name: Maestro
paths:
  /chain-tip:
    get:
      tags:
        - General
      summary: Chain-tip
      description: >-
        Returns the identifier of the most recently processed block on the
        network
      operationId: chain_tip
      responses:
        '200':
          description: Get details of the chain-tip (lastest block)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TimestampedChainTip'
              example:
                data:
                  block_hash: >-
                    4c0916eea22254efc2a35f72b4fa8ec5caaf3cd0b193a4df8efb4c0f5ff2be4a
                  slot: 32284578
                  height: 1102039
                last_updated:
                  timestamp: '2022-10-10 20:25:28'
                  block_hash: >-
                    4c0916eea22254efc2a35f72b4fa8ec5caaf3cd0b193a4df8efb4c0f5ff2be4a
                  block_slot: 32284578
        '500':
          description: Internal server error
components:
  schemas:
    TimestampedChainTip:
      type: object
      description: >-
        Timestamped response. Returns the endpoint response data along with the
        chain-tip of the indexer, which details at which point in the chain's
        history the data was correct as-of.
      required:
        - data
        - last_updated
      properties:
        data:
          $ref: '#/components/schemas/ChainTip'
        last_updated:
          $ref: '#/components/schemas/LastUpdated'
    ChainTip:
      type: object
      description: Blockchain chain-tip (most recently adopted block)
      required:
        - block_hash
        - slot
        - height
      properties:
        block_hash:
          type: string
          description: Block hash of the most recent block
        height:
          type: integer
          format: int64
          description: Height (number) of the most recent block
          minimum: 0
        slot:
          type: integer
          format: int64
          description: Absolute slot of the most recent block
          minimum: 0
    LastUpdated:
      type: object
      description: >-
        Details of the most recent block processed by the indexer (aka chain
        tip); that is, the data returned is correct as of this block in time.
      required:
        - timestamp
        - block_hash
        - block_slot
      properties:
        block_hash:
          type: string
          description: >-
            Hex-encoded hash of the most recently processed block (aka chain
            tip)
        block_slot:
          type: integer
          format: int64
          description: Absolute slot of the most recently processed block (aka chain tip)
          minimum: 0
        timestamp:
          type: string
          description: UTC timestamp of when the most recently processed block was minted
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: api-key
      description: Project API Key

````