> ## 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_getRawTransactionByBlockNumberAndIndex | Base

> Base API method eth_getRawTransactionByBlockNumberAndIndex retrieves the raw transaction data as a hexadecimal string for a transaction in a specific block.

Base API method `eth_getRawTransactionByBlockNumberAndIndex` retrieves the raw transaction data as a hexadecimal string for a transaction in a specific block, identified by the block number 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

* `blockNumber` — the number of the block.
* `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_getRawTransactionByBlockNumberAndIndex` 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_getRawTransactionByBlockNumberAndIndex.json POST /2fc1de7f08c0465f6a28e3c355e0cb14
openapi: 3.0.0
info:
  title: eth_getRawTransactionByBlockNumberAndIndex example
  version: 1.0.0
  description: >-
    This is an API example for eth_getRawTransactionByBlockNumberAndIndex, a
    method to get the raw transaction  data for a transaction in a specific
    block identified by block number and transaction index.
servers:
  - url: https://base-mainnet.core.chainstack.com
security: []
paths:
  /2fc1de7f08c0465f6a28e3c355e0cb14:
    post:
      tags:
        - Ethereum Operations
      summary: eth_getRawTransactionByBlockNumberAndIndex
      operationId: getRawTransactionByBlockNumberAndIndex
      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_getRawTransactionByBlockNumberAndIndex
                id:
                  type: integer
                  default: 1
                params:
                  type: array
                  default:
                    - '0xbb623d'
                    - '0x1'
                  items:
                    type: string
      responses:
        '200':
          description: Raw transaction data for the given block number and index
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string

````