---
title: "Get Transaction By Block Hash And Index"
method: POST
path: "/node/rest/eth_getTransactionByBlockHashAndIndex"
tags: ["node"]
---

# Get Transaction By Block Hash And Index

`POST /node/rest/eth_getTransactionByBlockHashAndIndex`

## Request

- Base URL: `https://api.watchdata.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.watchdata.io/node/rest/eth_getTransactionByBlockHashAndIndex`
- Auth: none declared

## Request body

- BlockHashAndIndexIn
  - `block_hash` string, required
  - `trx_index` integer, required

## Response `200`

Successful Response

- string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/watchdata/apis/watchdata-api.md) - [All operations](https://skmtc.dev/watchdata/apis/watchdata-api/llms.txt) - [OpenAPI document](https://skmtc.dev/watchdata/apis/watchdata-api/revisions/8ce15acc50a3?raw)
