> ## 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_getTransactionByBlockHashAndIndex | Ronin

> Ronin API method that returns information about a transaction by specifying the block hash and the transaction's index position within the block.

Ronin API method that returns information about a transaction by specifying the block hash and the transaction's index position within the block. This method allows for precise queries about specific transactions contained in a block.

## Parameters

* `blockHash` — the hash of the block.
* `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_getTransactionByBlockHashAndIndex` method is useful for applications that need to retrieve specific transactions from a block, such as blockchain explorers, wallets, or auditing tools. It provides a direct way to access transaction details without needing to retrieve all transactions in a block.


## OpenAPI

````yaml openapi/ronin_node_api/eth_getTransactionByBlockHashAndIndex.json POST /3997273fc956a67dc6982384500e669e
openapi: 3.0.0
info:
  title: eth_getTransactionByBlockHashAndIndex
  version: 1.0.0
  description: >-
    Returns information about a transaction by block hash and transaction index
    position.
servers:
  - url: https://ronin-mainnet.core.chainstack.com
security: []
paths:
  /3997273fc956a67dc6982384500e669e:
    post:
      tags:
        - blockchain
      summary: Get transaction by block hash and index
      operationId: getTransactionByBlockHashAndIndex
      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_getTransactionByBlockHashAndIndex
                params:
                  type: array
                  items:
                    type: string
                  default:
                    - >-
                      0x66d67565dc84eb6e579ebe142683e4338498653ff6b7a6e2724e80a73aca4f20
                    - '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

````