Skip to main content

Interface: GetNFTTradesOperationRequest

moralis-monorepo / @moralisweb3/common-evm-utils / GetNFTTradesOperationRequest

Interface: GetNFTTradesOperationRequest

@moralisweb3/common-evm-utils.GetNFTTradesOperationRequest

Table of contents

Properties

Properties

address

Readonly address: EvmAddressInput

Description

The address of the NFT contract


chain

Optional Readonly chain: string | EvmChain

Description

The chain to query


cursor

Optional Readonly cursor: string

Description

The cursor returned in the previous response (used for getting the next page).


fromBlock

Optional Readonly fromBlock: number

Description

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.

fromDate

Optional Readonly fromDate: string

Description

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

Optional Readonly limit: number

Description

The desired page size of the result.


marketplace

Optional Readonly marketplace: "opensea"

Description

Marketplace from which to get the trades (only OpenSea is supported at the moment)


toBlock

Optional Readonly toBlock: number

Description

The block number to get the trades from


toDate

Optional Readonly toDate: Date

Description

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.