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

# Get EVM transactions by height

> Returns EVM transactions at a specific block height. Only available on EVM chains.



## OpenAPI

````yaml /api-reference/rollup-indexer/openapi.yaml get /indexer/tx/v1/evm-txs/by_height/{height}
openapi: 3.1.0
info:
  title: Indexer API
  description: >-
    Query indexed data including transactions, blocks, NFTs, and token holders
    across Initia Stack chains.
  version: 1.0.0
servers:
  - url: https://rollytics-api-evm-1.anvil.asia-southeast.initia.xyz
    description: evm-1 (testnet)
  - url: https://rollytics-api-move-1.anvil.asia-southeast.initia.xyz
    description: move-1 (testnet)
  - url: https://rollytics-api-wasm-1.anvil.asia-southeast.initia.xyz
    description: wasm-1 (testnet)
security: []
paths:
  /indexer/tx/v1/evm-txs/by_height/{height}:
    get:
      tags:
        - EVM Transactions
      summary: Get EVM transactions by height
      description: >-
        Returns EVM transactions at a specific block height. Only available on
        EVM chains.
      operationId: getEvmTransactionsByHeight
      parameters:
        - name: height
          in: path
          description: The block height.
          required: true
          schema:
            type: integer
        - $ref: '#/components/parameters/paginationKey'
        - $ref: '#/components/parameters/paginationOffset'
        - $ref: '#/components/parameters/paginationLimit'
        - $ref: '#/components/parameters/paginationCountTotal'
        - $ref: '#/components/parameters/paginationReverse'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  txs:
                    type: array
                    items:
                      $ref: '#/components/schemas/EvmTx'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
        '404':
          description: EVM routes are not available on this chain
components:
  parameters:
    paginationKey:
      name: pagination.key
      in: query
      description: Cursor key for pagination.
      required: false
      schema:
        type: string
    paginationOffset:
      name: pagination.offset
      in: query
      description: Number of records to skip.
      required: false
      schema:
        type: integer
    paginationLimit:
      name: pagination.limit
      in: query
      description: Maximum number of records to return. Defaults to 100.
      required: false
      schema:
        type: integer
        default: 100
    paginationCountTotal:
      name: pagination.count_total
      in: query
      description: Whether to return the total count. Defaults to `true`.
      required: false
      schema:
        type: boolean
        default: true
    paginationReverse:
      name: pagination.reverse
      in: query
      description: When `true`, returns results in descending order. Defaults to `true`.
      required: false
      schema:
        type: boolean
        default: true
  schemas:
    EvmTx:
      type: object
      properties:
        blockHash:
          type: string
          description: Hash of the block containing this transaction.
        blockNumber:
          type: string
          description: Block number (hex-encoded).
        contractAddress:
          type: string
          nullable: true
          description: >-
            Address of the contract created, if this was a contract creation
            transaction.
        cumulativeGasUsed:
          type: string
          description: Total gas used in the block up to and including this transaction.
        effectiveGasPrice:
          type: string
          description: Effective gas price paid (hex-encoded).
        from:
          type: string
          description: Sender address.
        gasUsed:
          type: string
          description: Gas consumed by this transaction.
        logs:
          type: array
          description: Event logs emitted during execution.
          items:
            $ref: '#/components/schemas/EvmLog'
        logsBloom:
          type: string
          description: Bloom filter for the logs.
        status:
          type: string
          description: '`0x1` for success, `0x0` for failure.'
        to:
          type: string
          description: Recipient address.
        transactionHash:
          type: string
          description: Transaction hash.
        transactionIndex:
          type: string
          description: Index of this transaction in the block.
        type:
          type: string
          description: Transaction type.
    Pagination:
      type: object
      description: Pagination metadata for list responses.
      properties:
        previous_key:
          type: string
          nullable: true
          description: Cursor key for the previous page.
        next_key:
          type: string
          nullable: true
          description: Cursor key for the next page. Null when there are no more results.
        total:
          type: string
          description: Total number of records matching the query.
    EvmLog:
      type: object
      properties:
        address:
          type: string
          description: Contract address that emitted the log.
        topics:
          type: array
          description: Indexed event topics.
          items:
            type: string
        data:
          type: string
          description: Non-indexed event data (hex-encoded).
        blockNumber:
          type: string
          description: Block number (hex-encoded).
        transactionHash:
          type: string
          description: Transaction hash.
        transactionIndex:
          type: string
          description: Transaction index in the block.
        blockHash:
          type: string
          description: Block hash.
        logIndex:
          type: string
          description: Log index in the block.
        removed:
          type: boolean
          description: Whether the log was removed due to a chain reorganization.

````