nfts

Get NFT transfers by transaction

Get NFT transfers by transaction

get/v1/nfts/transfers/transaction/{transaction_hash}

Request

  • Base URL: https://insight.thirdweb.com
  • URL: https://insight.thirdweb.com/v1/nfts/transfers/transaction/{transaction_hash}
  • Auth: API key in header x-client-id

Path parameters

transaction_hashstring required

Query parameters

chainnumber[]

Use chain_id instead

[
  20,
  56,
  1
]
chain_idnumber[]

The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., ?chain_id=20&chain_id=56. Optional, because a single chain can as well be specified as a subdomain

[
  20,
  56,
  1
]
limitinteger

The number of items to return

Example:20
pageinteger nullable

Page number (0-indexed)

metadata'true' | 'false'

Whether to include metadata for the tokens

Example:false
include_owners'true' | 'false'

Whether to include owner addresses in the NFT metadata (only if metadata is requested)

Example:false
token_typesstring[]

The types of tokens to include in the response. Can be an empty array to include all types

Response

Success

Example response

{
  "data": [
    {
      "nft_metadata": {
        "contract": {
          "chain_id": 1,
          "address": "vitalik.eth"
        }
      },
      "nft_sale": {
        "items_sold": [
          {
            "token_address": "vitalik.eth",
            "from_address": "vitalik.eth",
            "to_address": "vitalik.eth"
          }
        ],
        "payment": [
          {
            "token_address": "vitalik.eth",
            "from_address": "vitalik.eth",
            "to_address": "vitalik.eth"
          }
        ]
      }
    }
  ]
}

Changes

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