The nfts.trades table aggregates ERC721 and ERC1155 token sales from popular NFT marketplaces and protocols.

Our current NFT trades model supports single-currency trades (trades involving either one ERC20 token or ETH alone), which constitute most of the current NFT trades.

Table Columns

Unique Key: unique_id

Column NameData TypeDescription
marketplaceVARCHARMarketplace where the trade occurred (e.g., opensea, aavegotchi, magiceden, oneplanet, nftkey)
protocolVARCHARProtocol used for the trade (e.g., x2y2, seaport)
order_match_typeVARCHARType of order match: ‘ACCEPT_BID’ or ‘BUY’
trade_typeVARCHARType of trade: ‘SINGLE_TRADE’ or ‘BUNDLE_TRADE’
buyer_addressVARCHARAddress of the buyer
seller_addressVARCHARAddress of the seller
token_standardVARCHARToken standard of the NFT (e.g., ERC721, ERC1155)
token_addressVARCHARContract address of the NFT collection
token_idVARCHARID of the NFT traded
token_nameVARCHARName of the NFT collection
token_symbolVARCHARSymbol of the NFT collection
item_quantityBIGINTNumber of NFTs bought
currency_addressVARCHARAddress of the currency used in the trade (zero address for native tokens)
currency_symbolVARCHARSymbol of the currency used in the trade
raw_priceFLOATPrice of the NFT in the original currency (not divided by decimals)
priceFLOAT’raw_price’ divided by the number of decimals of the currency
usd_priceFLOATUSD price of the NFTs in this trade
agg_feesVARIANTAggregated fees information including creator, platform, and total fees
buyer_feesVARIANTFees paid by the buyer
seller_feesVARIANTFees paid by the seller
aggregator_nameVARCHARName of the aggregator used for the trade (if applicable)
aggregator_addressVARCHARContract address of the aggregator used for the trade (if applicable)
extra_fieldsVARIANTAdditional information specific to the trade or protocol
transaction_hashVARCHARTransaction hash of this trade
block_timestampTIMESTAMP_NTZ(9)Timestamp of the block when the trade occurred
block_numberBIGINTNumber of the block when the trade occurred
block_hashVARCHARHash of the block when the trade occurred
unique_idVARCHARUnique identifier for each trade