NFT
All NFT related stuff
nft_current
Current owners and sale ssate of the NFTs
address
- NFT address, primary keycollection
- NFT collection addressowner
- ownerprice
- item price in case it is on sale
nft_deals
NFT sale deals
sale_address
- smart contract address, primary keyaddress
- NFT item addressdeal_time
- deal timeseller
- previous ownerbuyer
- new ownerprice
- price of the sale
nft_collection
Information from collection smart contract
address
- collection addressowner
- adminname, description, image, metadata_url
- metadata fields
NFT stats
Additional methods are available in Business subscription plan:
api_business_get_nft_owners_distribution
Provides information about owners distribuition in terms of NFT counts. Has arguments:
collection_address
collection address for analysisranges - list of ticks to split all values into ranges, must be stored as a string in format like
{0, 20, 40}
Returns list of intervals identified by interval_start
(inclusive) interval_end
(exclusive, null
value means infinity) and owners_count
- count of unique owners which holds NFTs in the interval.
Example:
query test{ api_business_get_nft_owners_distribution(
args:{
collection_address:"EQDvRFMYLdxmvY3Tk-cfWMLqDnXF_EclO2Fp4wwj33WhlNFT",
ranges: "{0, 20, 40}"
}
) {
interval_end
interval_start
owners_count
} }
api_business_get_nft_stats
Extended stats for NFT collections. Arguments:
collection_address
- collection address (required)marketplace
- marketplace address (optional)code_hash
- code hash of NFT sale contract (optional)interval_start
- interval start in unixtime seconds (for volume estimation) (optional)interval_end
- interval end in unixtime seconds (for volume estimation) (optional)
Returned fields:
floor_price
- floor price (optionally filtered bycode_hash
andmarketplace
)items
- total items in collectionburned
- total items owned by null address (EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c
)listed
- total items listed (optionally filtered bycode_hash
andmarketplace
)total_volume
- total volume (optionally filtered byinterval_start
,interval_end
,code_hash
andmarketplace
)owners
- total unique ownersunique_owners_index
=owners
/items
* 100 %
api_business_get_nft_history
History related to either NFT collection or NFT item. Arguments:
collection_address
- collection addressnft_item_address
- NFT item addressinterval_start
- interval start in unixtime seconds (optional)interval_end
- interval end in unixtime seconds (optional)query_limit
- query limit (optional, default 100)query_offset
- query offset (optional, default 0)
Returned fields:
event_time
- event timeevent_type
- event type. Supported types:sale
mint
init_sale
cancel_sale
burn
transfer
nft_item_address
- NFT item addressnft_item_name
- NFT item namenft_item_image
- NFT item imagecurrent_owner
- current ownernew_owner
- new ownerprice
- price for sale related eventsis_auction
- flag for auctions
api_business_get_top_nft_buyers
Returns top NFT buyers for the last 24 hour period.
Returned fields:
buyer
- buyer addressamount
- total sales amount for the period
api_business_get_top_nft_collections
Returns top NFT collections in terms of sales count for the last 24 hour period.
Returned fields:
collection_address
- collection addresscollection_name
- collection namecollection_image
- collection imagedeal_count
- deals count
api_business_get_top_nft_owners
Returns top NFT owners for the collection. Arguments:
collection_address
- collection address
Returned fields:
owner
- owner addressnft_count
- count of NFTsamount
- amount spent on the owner NFTsnft_count_delta
- delta in NFTs count for the last 7 daysamount_delta
- amount of trades for the last 7 days
Last updated