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

# eth_getTransactionByBlockNumberAndIndex | Ronin

> Ronin API method that returns information about a transaction by specifying the block number (or tag) and the transaction's index position within the block.

Ronin API method that returns information about a transaction by specifying the block number (or tag) and the transaction's index position within the block. This method facilitates accessing details of specific transactions within a given block.

## Parameters

* `blockNumber` — the number of the block (or a tag such as "latest", "earliest", "pending") encoded as a hexadecimal.
* `transactionIndex` — the index position of the transaction in the block, encoded as a hexadecimal.

## Response

* `result` — an object containing detailed information about the transaction, including fields like `from`, `to`, `value`, `gas`, `gasPrice`, `nonce`, `hash`, and more.

## Use case

The `eth_getTransactionByBlockNumberAndIndex` method is particularly useful for applications requiring information on specific transactions within a block, such as for transaction tracking, auditing, or displaying detailed transaction information in blockchain explorers.


## OpenAPI

````yaml openapi/ronin_node_api/eth_getTransactionByBlockNumberAndIndex.json POST /3997273fc956a67dc6982384500e669e
openapi: 3.0.0
info:
  title: eth_getTransactionByBlockNumberAndIndex
  version: 1.0.0
  description: >-
    Returns information about a transaction by block number and transaction
    index position.
servers:
  - url: https://ronin-mainnet.core.chainstack.com
security: []
paths:
  /3997273fc956a67dc6982384500e669e:
    post:
      tags:
        - blockchain
      summary: Get transaction by block number and index
      operationId: getTransactionByBlockNumberAndIndex
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getTransactionByBlockNumberAndIndex
                params:
                  type: array
                  items:
                    type: string
                  default:
                    - latest
                    - '0x0'
      responses:
        '200':
          description: Information about the requested transaction
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object

````