---
title: "Get Transaction By Hash"
method: POST
path: "/node/rest/eth_getTransactionByHash"
tags: ["node"]
---

# Get Transaction By Hash

`POST /node/rest/eth_getTransactionByHash`

## Request body

- TransactionHashIn
  - `trx_hash` string, required

## Response `200`

Successful Response

- Transaction
  - `hash` string, required
  - `nonce` string, nullable
  - `transactionIndex` string, required
  - `from` string, required
  - `to` string, nullable
  - `value` string, nullable
  - `gasPrice` string, nullable
  - `gas` string, nullable
  - `maxFeePerGas` string, nullable
  - `maxPriorityFeePerGas` string, nullable
  - `chainId` string, nullable
  - `accessList` unknown[], nullable
    - unknown
  - `blockHash` string, required
  - `blockNumber` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/watchdata/apis/fastapi.md) · [All operations](https://skmtc.dev/watchdata/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/watchdata/fastapi/revisions/1f56b91b44f0/schema)
