getNFTTradesByToken
Retrieve NFT trade data for a specific contract and token ID using block numbers or date ranges. Includes optional metadata and pagination for efficient data analysis.
Instructions
Get trades of NFTs for a given contract and token ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | No | The address of the NFT contract | |
cursor | No | The cursor returned in the previous response (used for getting the next page). | |
from_block | No | The minimum block number from which to get the transfers * Provide the param 'from_block' or 'from_date' * If 'from_date' and 'from_block' are provided, 'from_block' will be used. | |
from_date | No | The start date from which to get the transfers (format in seconds or datestring accepted by momentjs) * Provide the param 'from_block' or 'from_date' * If 'from_date' and 'from_block' are provided, 'from_block' will be used. | |
limit | No | The desired page size of the result. | |
nft_metadata | No | Include the NFT Metadata of the NFT Token | |
to_block | No | The block number to get the trades from | |
to_date | No | The end date from which to get the transfers (format in seconds or datestring accepted by momentjs) * Provide the param 'to_block' or 'to_date' * If 'to_date' and 'to_block' are provided, 'to_block' will be used. | |
token_id | No | The token ID of the NFT contract |