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

# Get block by number

> Block header plus `batch_number`: the HyperEVM batch containing it (null until posted).



## OpenAPI

````yaml /elysium/openapi-rest.json get /elysium/testnet/blocks/{block_number}
openapi: 3.0.3
info:
  title: HL Indexer API — Elysium Testnet
  version: 1.0.0
  description: >-
    Elysium testnet (Kinetiq L2 on HyperEVM testnet, chain 99801): blocks,
    transactions, logs, batches, bridge HyperEVM ↔ Elysium, tokens and accounts.
servers:
  - url: https://api.hypedexer.com
    description: EU production
security: []
tags:
  - name: Elysium Testnet
    description: Elysium testnet chain, settlement batches, bridge, tokens and accounts.
paths:
  /elysium/testnet/blocks/{block_number}:
    get:
      tags:
        - Elysium Testnet
      summary: Get block by number
      description: >-
        Block header plus `batch_number`: the HyperEVM batch containing it (null
        until posted).
      parameters:
        - name: block_number
          in: path
          schema:
            type: integer
            minimum: 0
            description: Block number
          required: true
          description: Block number
        - name: X-API-Key
          in: header
          schema:
            type: string
            nullable: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    default: true
                  message:
                    type: string
                  data:
                    $ref: '#/components/schemas/ElysiumBlockDetail'
                  execution_time_ms:
                    type: number
                  has_more:
                    type: boolean
        '404':
          description: Not found
        '422':
          description: Invalid parameter
components:
  schemas:
    ElysiumBlockDetail:
      properties:
        block_time:
          format: date-time
          title: Block Time
          type: string
        block_number:
          title: Block Number
          type: integer
        block_hash:
          title: Block Hash
          type: string
        parent_hash:
          title: Parent Hash
          type: string
        gas_limit:
          title: Gas Limit
          type: integer
        gas_used:
          title: Gas Used
          type: integer
        base_fee_per_gas:
          title: Base Fee Per Gas
          type: integer
        l1_block_number:
          title: L1 Block Number
          type: integer
        tx_count:
          title: Tx Count
          type: integer
        user_tx_count:
          title: User Tx Count
          type: integer
        batch_number:
          default: null
          title: Batch Number
          type: integer
          nullable: true
      required:
        - block_time
        - block_number
        - block_hash
        - parent_hash
        - gas_limit
        - gas_used
        - base_fee_per_gas
        - l1_block_number
        - tx_count
        - user_tx_count
      title: ElysiumBlockDetail
      type: object

````