> ## 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_getRawTransactionByBlockHashAndIndex | Hyperliquid EVM

> Returns the raw transaction data by block hash and transaction index. eth_getRawTransactionByBlockHashAndIndex on Hyperliquid EVM via Chainstack.

<Info>
  This method is available on Chainstack. Not all Hyperliquid methods are available on Chainstack, as the open-source node implementation does not support them yet — see [Hyperliquid methods](/docs/hyperliquid-methods) for the full availability breakdown.
</Info>

Returns the raw transaction data by block hash and transaction index. Use this method to retrieve the RLP-encoded raw transaction from a specific position within a known block.

<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` (string, required) — The 32-byte hash of the block
* `transactionIndex` (string, required) — The index position of the transaction in the block (hex string)

## Returns

Returns the raw transaction data as a hex-encoded string, or `null` if the block or transaction is not found.

The raw transaction data is RLP-encoded and includes all transaction fields in their original binary format.

<Note>
  Transaction indices start from 0x0. Use hex format for the index parameter (e.g., "0x0" for the first transaction, "0x1" for the second).
</Note>

## Use cases

* **Block analysis** — Extract raw transactions from specific blocks
* **Transaction reconstruction** — Rebuild transactions from block data
* **Cross-chain verification** — Verify transaction encoding across networks
* **Archive tools** — Efficiently process transactions by block position
* **Forensic investigation** — Analyze transaction ordering within blocks
* **Data migration** — Transfer transaction data between systems


## OpenAPI

````yaml /openapi/hyperliquid_node_api/evm_eth_get_raw_transaction_by_block_hash_and_index.json post /evm
openapi: 3.0.0
info:
  title: Hyperliquid EVM API - eth_getRawTransactionByBlockHashAndIndex
  version: 1.0.0
servers:
  - url: >-
      https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274
security: []
paths:
  /evm:
    post:
      summary: eth_getRawTransactionByBlockHashAndIndex
      description: Returns the raw transaction data by block hash and transaction index.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - params
                - id
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  default: '2.0'
                  description: JSON-RPC version
                method:
                  type: string
                  enum:
                    - eth_getRawTransactionByBlockHashAndIndex
                  default: eth_getRawTransactionByBlockHashAndIndex
                  description: The RPC method name
                params:
                  type: array
                  description: 'Parameters: [blockHash, transactionIndex]'
                  default:
                    - >-
                      0x2ce91ae0ed242b4b78b432a45b982fb81a414d6b04167762ed3c7446710a4b8e
                    - '0x0'
                id:
                  type: integer
                  default: 1
                  description: Request identifier
            example:
              jsonrpc: '2.0'
              method: eth_getRawTransactionByBlockHashAndIndex
              params:
                - >-
                  0x2ce91ae0ed242b4b78b432a45b982fb81a414d6b04167762ed3c7446710a4b8e
                - '0x0'
              id: 1
      responses:
        '200':
          description: Successful response with raw transaction data
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: JSON-RPC version
                  id:
                    type: integer
                    description: Request identifier
                  result:
                    type: string
                    description: >-
                      Raw transaction data as hex-encoded string, or null if not
                      found
              example:
                jsonrpc: '2.0'
                id: 1
                result: >-
                  0xf86c0185037e11d6008252089433c3321b162edac1fdbb53af2962b2940c07e334880de0b6b3a76400008026a01234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdefa0abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab

````