Get NFT Collections

Query Template

Filtering Options

ParameterTypeDescription
whereobject특정 조건을 기준으로 결과를 필터링하는 객체.
limitinteger반환할 최대 결과 수.
offsetinteger결과의 시작 위치를 지정.
order_byobject결과를 정렬하는 기준을 지정하는 객체. 여러 필드를 기준으로 정렬할 수 있습니다.

Query Fields

ParameterTypeDescription
decimalsinteger소수점 이하 자리 수.
is_deleted_v2boolean삭제 여부 (v2).
is_fungible_v2booleanFungible 여부 (v2).
largest_property_version_v1integer최대 속성 버전 (v1).
maximuminteger최대 공급량.
supplyinteger현재 공급량.
descriptionstring설명.
last_transaction_timestampstring마지막 트랜잭션의 타임스탬프 (ISO 8601 형식).
last_transaction_versioninteger마지막 트랜잭션의 버전.
token_data_idstring토큰 데이터 ID.
token_namestring토큰 이름.
token_propertiesobject토큰 속성.
token_standardstring토큰 표준.
token_uristring토큰 URI.
collection_idstring컬렉션 ID.
current_collectionobject현재 컬렉션 정보.
current_collection.creator_addressstring컬렉션 생성자의 주소.

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"
        }
      }
    ]
  }
}