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

# Metrics - By Blockchain

> Get metrics for a specific blockchain.



## OpenAPI

````yaml get /metrics/latest
openapi: 3.1.0
info:
  title: blockchain-api
  version: '2'
servers:
  - url: https://api.amberdata.com/blockchains
security:
  - sec0: []
paths:
  /metrics/latest:
    get:
      summary: Metrics - By Blockchain
      description: Get metrics for a specific blockchain.
      operationId: blockchains-metrics-latest
      parameters:
        - name: x-amberdata-blockchain-id
          in: header
          description: The id of the blockchain
          schema:
            type: string
            enum:
              - bitcoin-mainnet
              - bitcoin-abc-mainnet
              - ethereum-mainnet
              - litecoin-mainnet
              - polygon-mainnet
            default: ethereum-mainnet
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                    default: 0
                  title:
                    type: string
                    example: OK
                  description:
                    type: string
                    example: Successful request
                  payload:
                    type: object
                    properties:
                      algorithm:
                        type: string
                        example: Ethash
                      blockchainId:
                        type: string
                        example: 1c9c969065fcd1cf
                      color:
                        type: string
                        example: '#222222'
                      consensus:
                        type: string
                        example: PoW
                      decimals:
                        type: string
                        example: '18'
                      icon:
                        type: string
                        example: >-
                          https://cdn.amberdata.io/images/blockchains/1c9c969065fcd1cf.png
                      name:
                        type: string
                        example: Ethereum
                      network:
                        type: string
                        example: Mainnet
                      sizeTotal:
                        type: integer
                        example: 252047415438
                        default: 0
                      slug:
                        type: string
                        example: ethereum-mainnet
                      unit:
                        type: string
                        example: wei
                      utility:
                        type: string
                        example: gas
                      website:
                        type: string
                        example: https://ethereum.org
        '401':
          description: '401'
          content:
            text/plain:
              examples:
                Result:
                  value: Unauthorized
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````