> ## 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.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.chainstack.com/feedback

```json
{
  "path": "/reference/base-getrawtransactionbyblockhashandindex",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# eth_getRawTransactionByBlockHashAndIndex | Base

Base API method `eth_getRawTransactionByBlockHashAndIndex` retrieves the raw transaction data as a hexadecimal string for a transaction in a specific block, identified by the block hash and the transaction's index position within that block. This method is useful for obtaining the complete transaction data, including its signature, without needing the transaction hash.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## Parameters

* `blockHash` — the hash of the block containing the transaction.
* `transactionIndex` — the index position of the transaction in the block, specified as a hexadecimal. The example uses `"0x1"`.

## Response

* `result` — the raw transaction data as a hexadecimal string.

## Use case

The `eth_getRawTransactionByBlockHashAndIndex` method is essential for:

* Services that need to verify or inspect the complete transaction data and signature.
* Wallets and exchanges that require the raw transaction for auditing or processing purposes.
* Developers and tools that analyze transactions at a low level for security, performance, or other research purposes.


## OpenAPI

````yaml /openapi/base_node_api/eth_getRawTransactionByBlockHashAndIndex.json POST /2fc1de7f08c0465f6a28e3c355e0cb14
openapi: 3.0.0
info:
  title: eth_getRawTransactionByBlockHashAndIndex example
  version: 1.0.0
  description: >-
    This is an API example for eth_getRawTransactionByBlockHashAndIndex, a
    method to get the raw transaction  data for a transaction in a specific
    block identified by block hash and transaction index.
servers:
  - url: https://base-mainnet.core.chainstack.com
security: []
paths:
  /2fc1de7f08c0465f6a28e3c355e0cb14:
    post:
      tags:
        - Ethereum Operations
      summary: eth_getRawTransactionByBlockHashAndIndex
      operationId: getRawTransactionByBlockHashAndIndex
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - id
                - params
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getRawTransactionByBlockHashAndIndex
                id:
                  type: integer
                  default: 1
                params:
                  type: array
                  default:
                    - >-
                      0x07fcc7d5f86839e12afa756e979de05812b5341f936b850c9409aa0938819b30
                    - '0x1'
                  items:
                    type: string
      responses:
        '200':
          description: Raw transaction data for the given block hash and index
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string

````