near.nft Table: ez_nft_sales Type: View
Description
This table provides a comprehensive view of all NFT sales on the NEAR Protocol blockchain, combining minting and transfer data with marketplace information, pricing details, and fee structures. The table includes both raw and USD prices, platform fees, royalties, and affiliate information, making it the primary table for NFT marketplace analytics and sales analysis. This easy view eliminates the need for complex joins and calculations, providing ready-to-use data for NFT analytics, reporting, and business intelligence workflows.Key Use Cases
- NFT marketplace volume analysis and sales performance tracking
- NFT pricing analysis and market trend identification
- Platform fee analysis and marketplace economics assessment
- Royalty tracking and creator revenue analysis
- Affiliate program analysis and user acquisition tracking
- Cross-platform NFT sales comparison and performance benchmarking
- NFT collection performance analysis and market health monitoring
Important Relationships
- Combines data from
nft.fact_nft_mintsandnft.fact_nft_transfersfor comprehensive sales analysis - Provides sales data for marketplace analytics and platform comparison
- Supports
nft.dim_nft_contract_metadatawith collection context - Enables analysis in
stats.ez_core_metrics_hourlyfor NFT metrics - Provides foundation for all NFT marketplace analytics and reporting
- Powers cross-collection analysis and ecosystem mapping
Commonly-used Fields
priceandprice_usd: Essential for sales value analysis and market trendsblock_timestamp: Primary field for time-series analysis and trend detectionseller_addressandbuyer_address: Critical for user behavior analysis and flow trackingplatform_name: Important for marketplace comparison and platform analysistoken_idandnft_address: Essential for NFT identification and collection analysisplatform_feeandroyalties: Important for marketplace economics analysisaffiliate_id: Useful for affiliate program analysis and user acquisition tracking
Columns
| Column Name | Data Type | Description |
|---|---|---|
| RECEIPT_ID | TEXT | The identifying hash for a receipt. |
| BLOCK_ID | NUMBER | The height of the chain this block corresponds with. |
| BLOCK_TIMESTAMP | TIMESTAMP_NTZ | The date and time at which the block began. |
| TX_HASH | TEXT | Unique identifier (hash) of this transaction. |
| SELLER_ADDRESS | TEXT | The address the sends the token. |
| BUYER_ADDRESS | TEXT | The receiver of usn token. |
| PLATFORM_ADDRESS | TEXT | The contract address of the NFT marketplace where the sale occurred |
| PLATFORM_NAME | TEXT | The name of the NFT marketplace (e.g., Mintbase, Paras, Apollo42, etc.) |
| NFT_ADDRESS | TEXT | The contract address of the NFT collection |
| TOKEN_ID | TEXT | The identifier of the token being transferred or minted. |
| PRICE | FLOAT | The unadjusted price as reported by the source. This should be decimal adjusted to get the real value. |
| PRICE_USD | FLOAT | The asset price, in US Dollars. |
| METHOD_NAME | TEXT | Name of the method(s) approved for use. NULL if permission is FullAccess. |
| LOG | VARIANT | Logs (array) for this receipt. |
| GAS_BURNED | NUMBER | Units of gas (figure is not decimal adjusted, 10^12) attached to the transaction (this is often higher than ‘Gas Used’). |
| AFFILIATE_ID | TEXT | Affiliate id |
| AFFILIATE_AMOUNT | FLOAT | Affiliate amount (currency near) |
| AFFILIATE_AMOUNT_USD | FLOAT | The USD value of the affiliate amount at the time of the sale |
| ROYALTIES | OBJECT | Royalties breakdown (currency near) |
| PLATFORM_FEE | FLOAT | Platform fee (currency near) |
| PLATFORM_FEE_USD | FLOAT | The USD value of the platform fee at the time of the sale |
| EZ_NFT_SALES_ID | TEXT | A unique identifier for the record. |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | The timestamp at which the record was initially created and inserted into this table. |
| MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | The timestamp at which this record was last modified by an internal process. |