---
title: "Get an NFT transaction by its hash"
method: GET
path: "/v3/nft/transaction/{chain}/{hash}"
tags: ["NFT (ERC-721 or compatible)"]
---

# Get an NFT transaction by its hash

`GET /v3/nft/transaction/{chain}/{hash}`

## Request

- Base URL: `https://api.tatum.io`
- URL: `https://api.tatum.io/v3/nft/transaction/{chain}/{hash}`
- Auth: API key in header `x-api-key`

/v3/nft/transaction/{chain}/{hash}

**1 credit per API call**

Get an NFT transaction by its hash.

This API is supported for the following blockchains:

*   BNB Smart Chain
*   Celo
*   Ethereum
*   Harmony
*   Klaytn
*   KuCoin Community Chain
*   Polygon
*   TRON
*   Flare
*   Cronos
*   Base
*   Avalanche
*   Fantom
*   Optimism

## Path parameters

- `chain` 'ETH' | 'MATIC' | 'KCS' | 'ONE' | 'KLAY' | 'CELO' | 'TRON' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'FTM' | 'OPTIMISM', required
- `hash` string, required

## Query parameters

- `testnetType` 'ethereum-sepolia' | 'flare-coston' | 'flare-coston2' | 'flare-songbird': Specifies the testnet type. The default is ethereum-sepolia for Ethereum (ETH) currency and flare-coston for Flare (FLR) currency. Valid testnet types depend on the specified currency.

## Headers

- `x-testnet-type` Schema (unresolved $ref)

## Response `200`

OK

- union
  - CeloTx
    - `blockHash` string: Hash of the block where this transaction was in.
    - `status` boolean: TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction.
    - `blockNumber` number: Block number where this transaction was in.
    - `from` string: Address of the sender.
    - `gas` number: Gas provided by the sender.
    - `gasPrice` string: Gas price provided by the sender in wei.
    - `feeCurrency` string: Address of the currency used to pay for gas.
    - `transactionHash` string: Hash of the transaction.
    - `input` string: The data sent along with the transaction.
    - `nonce` number: The number of transactions made by the sender prior to this one.
    - `to` string: Address of the receiver. 'null' when its a contract creation transaction.
    - `transactionIndex` number: Integer of the transactions index position in the block.
    - `value` string: Value transferred in wei.
    - `gasUsed` number: The amount of gas used by this specific transaction alone.
    - `cumulativeGasUsed` number: The total amount of gas used when this transaction was executed in the block.
    - `contractAddress` string: The contract address created, if the transaction was a contract creation, otherwise null.
    - `logs` object[]: Log events, that happened in this transaction.
      - `address` string: From which this event originated from.
      - `topics` string[]: An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.
      - `data` string: The data containing non-indexed log parameter.
      - `logIndex` number: Integer of the event index position in the block.
      - `transactionIndex` number: Integer of the transaction’s index position, the event was created in.
      - `transactionHash` string: Hash of the transaction this event was created in.
  - EthTx
    - `blockHash` string: Hash of the block where this transaction was in.
    - `status` boolean: TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction.
    - `blockNumber` number: Block number where this transaction was in.
    - `from` string: Address of the sender.
    - `gas` number: Gas provided by the sender.
    - `gasPrice` string: Gas price provided by the sender in wei.
    - `transactionHash` string: Hash of the transaction.
    - `input` string: The data sent along with the transaction.
    - `nonce` number: The number of transactions made by the sender prior to this one.
    - `to` string: Address of the receiver. 'null' when its a contract creation transaction.
    - `transactionIndex` number: Integer of the transactions index position in the block.
    - `value` string: Value transferred in wei.
    - `gasUsed` number: The amount of gas used by this specific transaction alone.
    - `cumulativeGasUsed` number: The total amount of gas used when this transaction was executed in the block.
    - `contractAddress` string: The contract address created, if the transaction was a contract creation, otherwise null.
    - `logs` object[]: Log events, that happened in this transaction.
      - `address` string: From which this event originated from.
      - `topics` string[]: An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.
      - `data` string: The data containing non-indexed log parameter.
      - `logIndex` number: Integer of the event index position in the block.
      - `transactionIndex` number: Integer of the transaction’s index position, the event was created in.
      - `transactionHash` string: Hash of the transaction this event was created in.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
- `403`: Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
- `500`: Internal server error. There was an error on the server during the processing of the request.

---

[API](https://skmtc.dev/tatum/apis/smart-contracts.md) - [All operations](https://skmtc.dev/tatum/apis/smart-contracts/llms.txt) - [OpenAPI document](https://skmtc.dev/tatum/apis/smart-contracts/revisions/c0146043bb37?raw)
