Get NFT Collections
Query Template
Filtering Options
Parameter | Type | Description |
|---|---|---|
where | object | An object that filters results based on specific conditions. |
limit | integer | The maximum number of results to return. |
offset | integer | Specifies the starting position of the results. |
order_by | object | An object that specifies the sorting criteria for the results. Multiple fields can be used for sorting. |
Query Fields
Parameter | Type | Description |
|---|---|---|
decimals | integer | The number of decimal places. |
is_deleted_v2 | boolean | Whether the token is deleted (v2). |
is_fungible_v2 | boolean | Whether the token is fungible (v2). |
largest_property_version_v1 | integer | The largest property version (v1). |
maximum | integer | The maximum supply. |
supply | integer | The current supply. |
description | string | The description. |
last_transaction_timestamp | string | The timestamp of the last transaction (ISO 8601 format). |
last_transaction_version | integer | The version of the last transaction. |
token_data_id | string | The token data ID. |
token_name | string | The token name. |
token_properties | object | The token properties. |
token_standard | string | The token standard. |
token_uri | string | The token URI. |
collection_id | string | The collection ID. |
current_collection | object | The 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"
}
}
]
}
}