NFT (ERC-721 or compatible)

Get an NFT transaction by its hash

/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
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

Path parameters

chain'ETH' | 'MATIC' | 'KCS' | 'ONE' | 'KLAY' | 'CELO' | 'TRON' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'FTM' | 'OPTIMISM' required

The blockchain to work with

hashstring required
Example:0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7

The hash (ID) of the NFT transaction

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.

Type of testnet in query. The default type is based on the currency: ethereum-sepolia for ETH, and flare-coston for FLR. This parameter is valid only for ETH or FLR invocations with a testnet API Key. For mainnet API Key, this value is ignored. The currency/chain must be specified to determine the applicable set of testnet types.

Headers

x-testnet-typeSchema (unresolved $ref)

Type of testnet in header. The default type is based on the currency: ethereum-sepolia for ETH, and flare-coston for FLR. This parameter is valid only for ETH or FLR invocations with a testnet API Key. For mainnet API Key, this value is ignored. The currency/chain must be specified to determine the applicable set of testnet types.

Response

OK

OR

Example response

{
  "blockHash": "0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137",
  "status": true,
  "blockNumber": 6470854,
  "from": "0x81b7E08F65Bdf5648606c89998A9CC8164397647",
  "gas": 21000,
  "gasPrice": "1000000000",
  "feeCurrency": "0xef4229c8c3250c675f21bcefa42f58efbff6002a",
  "transactionHash": "0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7",
  "input": "0x",
  "nonce": 26836405,
  "to": "0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d",
  "transactionIndex": 3,
  "value": "1000000000000000000",
  "gasUsed": 21000,
  "cumulativeGasUsed": 314159,
  "contractAddress": "0x81b7E08F65Bdf5648606c89998A9CC8164397647",
  "logs": [
    {
      "address": "0x81b7E08F65Bdf5648606c89998A9CC8164397647",
      "topics": [
        "0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"
      ],
      "transactionHash": "0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.