Get NFT Transfers By Collection

Query Template

Filtering Options

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

Query Fields

ParameterTypeDescription
transaction_versioninteger트랜잭션 버전
typestring이벤트 유형
transaction_timestampstring트랜잭션 타임스탬프
token_standardstring토큰 표준
token_data_idstring토큰 데이터 ID
token_amountinteger토큰 수량
to_addressstring수신자 주소
from_addressstring송신자 주소
event_indexinteger이벤트 인덱스
event_account_addressstring이벤트 계정 주소
entry_function_id_strstring엔트리 함수 ID
before_valuestring이전 값
is_fungible_v2booleanFungible V2 여부
property_version_v1integer속성 버전 V1
after_valuestring이후 값
current_token_dataobject현재 토큰 데이터
collection_idstring컬렉션 ID
decimalsinteger소수점 자리수
descriptionstring설명
is_deleted_v2boolean삭제 여부
largest_property_version_v1integer가장 큰 속성 버전 V1
last_transaction_versioninteger마지막 트랜잭션 버전
token_namestring토큰 이름
token_uristring토큰 URI
token_propertiesobject토큰 속성
supplyinteger공급량
maximuminteger최대 공급량
last_transaction_timestampstring마지막 트랜잭션 타임스탬프

Example

Request Example

query MyQuery {
  token_activities_v2(
    limit: 5
    offset: 0
    order_by: {transaction_version: desc, event_index: desc}
    where: {current_token_data: {collection_id: {_eq: “0x003e57fe72fc6eb072de5ec3d48bc552ebf7a0489a1bdb917aad7da2e313b3a0”}}}
  ) {
    transaction_version
    type
    transaction_timestamp
    token_standard
    token_data_id
    token_amount
    to_address
    from_address
    event_index
    event_account_address
    entry_function_id_str
    before_value
    is_fungible_v2
    property_version_v1
    after_value
    current_token_data {
      collection_id
      decimals
      description
      is_deleted_v2
      is_fungible_v2
      largest_property_version_v1
      last_transaction_version
      token_data_id
      token_name
      token_standard
      token_uri
      token_properties
      supply
      maximum
      last_transaction_timestamp
    }
  }
}

Response Example

{
  "data": {
    "token_activities_v2": [
      {
        "transaction_version": 12593206,
        "type": "0x3::token::DepositEvent",
        "transaction_timestamp": "2022-10-25T18:00:02.961162",
        "token_standard": "v1",
        "token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
        "token_amount": 1,
        "to_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702",
        "from_address": null,
        "event_index": 3,
        "event_account_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702",
        "entry_function_id_str": "0xd9d4314512a7d23acff5d282a1e64f1228ba8aca2f952621dd57f49cf101854e::launchpad_nft::mint",
        "before_value": null,
        "is_fungible_v2": null,
        "property_version_v1": 0,
        "after_value": null,
        "current_token_data": {
          "collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
          "decimals": 0,
          "description": "",
          "is_deleted_v2": null,
          "is_fungible_v2": null,
          "largest_property_version_v1": 0,
          "last_transaction_version": 12593206,
          "token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
          "token_name": "AptosMonkeys #10",
          "token_standard": "v1",
          "token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/10.json",
          "token_properties": {},
          "supply": 1,
          "maximum": 1,
          "last_transaction_timestamp": "2022-10-25T18:00:02.961162"
        }
      },
      {
        "transaction_version": 12593206,
        "type": "0x3::token::MintTokenEvent",
        "transaction_timestamp": "2022-10-25T18:00:02.961162",
        "token_standard": "v1",
        "token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
        "token_amount": 1,
        "to_address": null,
        "from_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702",
        "event_index": 4,
        "event_account_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702",
        "entry_function_id_str": "0xd9d4314512a7d23acff5d282a1e64f1228ba8aca2f952621dd57f49cf101854e::launchpad_nft::mint",
        "before_value": null,
        "is_fungible_v2": null,
        "property_version_v1": 0,
        "after_value": null,
        "current_token_data": {
          "collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
          "decimals": 0,
          "description": "",
          "is_deleted_v2": null,
          "is_fungible_v2": null,
          "largest_property_version_v1": 0,
          "last_transaction_version": 12593206,
          "token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
          "token_name": "AptosMonkeys #10",
          "token_standard": "v1",
          "token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/10.json",
          "token_properties": {},
          "supply": 1,
          "maximum": 1,
          "last_transaction_timestamp": "2022-10-25T18:00:02.961162"
        }
      },
      {
        "transaction_version": 12593206,
        "type": "0x3::token::WithdrawEvent",
        "transaction_timestamp": "2022-10-25T18:00:02.961162",
        "token_standard": "v1",
        "token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
        "token_amount": 1,
        "to_address": null,
        "from_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702",
        "event_index": 5,
        "event_account_address": "0xf932dcb9835e681b21d2f411ef99f4f5e577e6ac299eebee2272a39fb348f702",
        "entry_function_id_str": "0xd9d4314512a7d23acff5d282a1e64f1228ba8aca2f952621dd57f49cf101854e::launchpad_nft::mint",
        "before_value": null,
        "is_fungible_v2": null,
        "property_version_v1": 0,
        "after_value": null,
        "current_token_data": {
          "collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
          "decimals": 0,
          "description": "",
          "is_deleted_v2": null,
          "is_fungible_v2": null,
          "largest_property_version_v1": 0,
          "last_transaction_version": 12593206,
          "token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
          "token_name": "AptosMonkeys #10",
          "token_standard": "v1",
          "token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/10.json",
          "token_properties": {},
          "supply": 1,
          "maximum": 1,
          "last_transaction_timestamp": "2022-10-25T18:00:02.961162"
        }
      },
      {
        "transaction_version": 12593206,
        "type": "0x3::token::DepositEvent",
        "transaction_timestamp": "2022-10-25T18:00:02.961162",
        "token_standard": "v1",
        "token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
        "token_amount": 1,
        "to_address": "0x57e6cb62f2a15a1744ed6fed86843b140422e5168525d0500f3a90038b60ebe4",
        "from_address": null,
        "event_index": 6,
        "event_account_address": "0x57e6cb62f2a15a1744ed6fed86843b140422e5168525d0500f3a90038b60ebe4",
        "entry_function_id_str": "0xd9d4314512a7d23acff5d282a1e64f1228ba8aca2f952621dd57f49cf101854e::launchpad_nft::mint",
        "before_value": null,
        "is_fungible_v2": null,
        "property_version_v1": 0,
        "after_value": null,
        "current_token_data": {
          "collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
          "decimals": 0,
          "description": "",
          "is_deleted_v2": null,
          "is_fungible_v2": null,
          "largest_property_version_v1": 0,
          "last_transaction_version": 12593206,
          "token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
          "token_name": "AptosMonkeys #10",
          "token_standard": "v1",
          "token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/10.json",
          "token_properties": {},
          "supply": 1,
          "maximum": 1,
          "last_transaction_timestamp": "2022-10-25T18:00:02.961162"
        }
      },
      {
        "transaction_version": 12595379,
        "type": "0x3::token::WithdrawEvent",
        "transaction_timestamp": "2022-10-25T18:00:19.613031",
        "token_standard": "v1",
        "token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
        "token_amount": 1,
        "to_address": null,
        "from_address": "0x57e6cb62f2a15a1744ed6fed86843b140422e5168525d0500f3a90038b60ebe4",
        "event_index": 0,
        "event_account_address": "0x57e6cb62f2a15a1744ed6fed86843b140422e5168525d0500f3a90038b60ebe4",
        "entry_function_id_str": "0x2c7bccf7b31baf770fdbcc768d9e9cb3d87805e255355df5db32ac9a669010a2::marketplace_v2::list",
        "before_value": null,
        "is_fungible_v2": null,
        "property_version_v1": 0,
        "after_value": null,
        "current_token_data": {
          "collection_id": "0x7ac8cecb76edbbd5da40d719bbb9795fc5744e4098ee0ce1be4bb86c90f42301",
          "decimals": 0,
          "description": "",
          "is_deleted_v2": null,
          "is_fungible_v2": null,
          "largest_property_version_v1": 0,
          "last_transaction_version": 12593206,
          "token_data_id": "0x618a2af6897d72f866f161c00723c826f6c26c1124cd2728b9afe49dfd23b434",
          "token_name": "AptosMonkeys #10",
          "token_standard": "v1",
          "token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/10.json",
          "token_properties": {},
          "supply": 1,
          "maximum": 1,
          "last_transaction_timestamp": "2022-10-25T18:00:02.961162"
        }
      }
    ]
  }
}