Skip to main content

Get NFT Collections


Query Template

Filtering Options

Parameter

Type

Description

where

object

An object that filters results based on specific conditions.

limit

integer

Maximum number of results to return.

offset

integer

Starting position of the results.

order_by

object

An object that specifies the sorting criteria. Supports sorting by multiple fields.

Query Fields

Parameter

Type

Description

decimals

integer

Number of decimal places.

is_deleted_v2

boolean

Whether deleted (v2).

is_fungible_v2

boolean

Whether fungible (v2).

largest_property_version_v1

integer

Largest property version (v1).

maximum

integer

Maximum supply.

supply

integer

Current supply.

description

string

Description.

last_transaction_timestamp

string

Timestamp of the last transaction (ISO 8601 format).

last_transaction_version

integer

Version of the last transaction.

token_data_id

string

Token data ID.

token_name

string

Token name.

token_properties

object

Token properties.

token_standard

string

Token standard.

token_uri

string

Token URI.

collection_id

string

Collection ID.

current_collection

object

Current collection information.

current_collection.creator_address

string

The address of the collection creator.

Example

Request Example

query MyQuery {
current_token_datas_v2(
limit: 5
offset: 0
where: {
collection_id: {
_eq: "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301"
}
}
) {
decimals
is_deleted_v2
is_fungible_v2
largest_property_version_v1
maximum
supply
description
last_transaction_timestamp
last_transaction_version
token_data_id
token_name
token_properties
token_standard
token_uri
collection_id
current_collection {
creator_address
}
}
}

Response Example

{
"data": {
"current_token_datas_v2": [
{
"decimals": 0,
"is_deleted_v2": null,
"is_fungible_v2": null,
"largest_property_version_v1": 0,
"maximum": 1,
"supply": 1,
"description": "",
"last_transaction_timestamp": "2022-10-25T18:00:00.291526",
"last_transaction_version": 12592928,
"token_data_id": "0x3d8b4460ee17576aaf2fb66f29422b98c632db15d7f73f8b0821dbb735f22d2f",
"token_name": "AptosMonkeys #1",
"token_properties": {},
"token_standard": "v1",
"token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/1.json",
"collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
"current_collection": {
"creator_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702"
}
},
{
"decimals": 0,
"is_deleted_v2": null,
"is_fungible_v2": null,
"largest_property_version_v1": 0,
"maximum": 1,
"supply": 1,
"description": "",
"last_transaction_timestamp": "2022-10-25T18:00:02.961162",
"last_transaction_version": 12593206,
"token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
"token_name": "AptosMonkeys #10",
"token_properties": {},
"token_standard": "v1",
"token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/10.json",
"collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
"current_collection": {
"creator_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702"
}
},
{
"decimals": 0,
"is_deleted_v2": null,
"is_fungible_v2": null,
"largest_property_version_v1": 0,
"maximum": 1,
"supply": 1,
"description": "",
"last_transaction_timestamp": "2022-10-25T18:00:04.98911",
"last_transaction_version": 12593339,
"token_data_id": "0x4f81c4e194e5330651371a8287c9a6cf4d1ce76905ce2abb9ba1e1a90eb5711e",
"token_name": "AptosMonkeys #100",
"token_properties": {},
"token_standard": "v1",
"token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/100.json",
"collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
"current_collection": {
"creator_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702"
}
},
{
"decimals": 0,
"is_deleted_v2": null,
"is_fungible_v2": null,
"largest_property_version_v1": 0,
"maximum": 1,
"supply": 1,
"description": "",
"last_transaction_timestamp": "2022-10-25T18:00:11.029321",
"last_transaction_version": 12594380,
"token_data_id": "0xc56cb108e1538fde2266c632ca424d626a887a81f21bf2b2e0fdd2013db0e93b",
"token_name": "AptosMonkeys #1000",
"token_properties": {},
"token_standard": "v1",
"token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/1000.json",
"collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
"current_collection": {
"creator_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702"
}
},
{
"decimals": 0,
"is_deleted_v2": null,
"is_fungible_v2": null,
"largest_property_version_v1": 0,
"maximum": 1,
"supply": 1,
"description": "",
"last_transaction_timestamp": "2022-10-25T18:00:11.029321",
"last_transaction_version": 12594381,
"token_data_id": "0x10db6834d12ea132fa4019a69f4f38daac7b6ef18ab5043230a047cfd939b299",
"token_name": "AptosMonkeys #1001",
"token_properties": {},
"token_standard": "v1",
"token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/1001.json",
"collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
"current_collection": {
"creator_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702"
}
}
]
}
}