Get NFT Collection By Collection

Query Template

Filtering Options

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

Query Fields

ParameterTypeDescription
collection_idstring컬렉션 ID.
collection_namestring컬렉션 이름.
creator_addressstring생성자의 주소.
descriptionstring설명.
current_supplyinteger현재 공급량.
last_transaction_versioninteger마지막 트랜잭션의 버전.
last_transaction_timestampstring마지막 트랜잭션의 타임스탬프 (ISO 8601 형식).
max_supplyinteger최대 공급량.
mutable_descriptionboolean설명 수정 가능 여부.
mutable_uribooleanURI 수정 가능 여부.
token_standardstring토큰 표준.
total_minted_v2integer총 발행량 (v2).
uristringURI.
table_handle_v1string테이블 핸들 (v1).

Example

Request Example

query MyQuery {
  current_collections_v2(
    where: {
      collection_id: {
        _eq: "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301"
      }
    }
  ) {
    collection_id
    collection_name
    creator_address
    description
    current_supply
    last_transaction_version
    last_transaction_timestamp
    max_supply
    mutable_description
    mutable_uri
    token_standard
    total_minted_v2
    uri
    table_handle_v1
  }
}

Response Example

{
  "data": {
    "current_collections_v2": [
      {
        "collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
        "collection_name": "Aptos Monkeys",
        "creator_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702",
        "description": "A group of skilled monkeys working together to build a civilized jungle. Each monkey has its unique intelligence to create long-lasting products to foster productivity and effectiveness in the Aptos ecosystem.",
        "current_supply": 7777,
        "last_transaction_version": 12727777,
        "last_transaction_timestamp": "2022-10-25T19:40:43.191924",
        "max_supply": 7777,
        "mutable_description": true,
        "mutable_uri": true,
        "token_standard": "v1",
        "total_minted_v2": null,
        "uri": "https://ibb.co/t3ckz86",
        "table_handle_v1": "0xb718feaaf6a00862ad067cdbac3f3ba54f0603026183ed4a7c06940da6b37e93"
      }
    ]
  }
}