Get NFT Transfers By Token ID

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: {
      token_data_id: {
        _eq: “0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da”
      }
    }
  ) {
    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": 1019994299,
        "type": "0x3::token::DepositEvent",
        "transaction_timestamp": "2024-07-08T09:48:22.938911",
        "token_standard": "v1",
        "token_data_id": "0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da",
        "token_amount": 1,
        "to_address": "0x67dbec453adfb79e0a7585bde660ed696f611e9f621850bef926a6609d0701db",
        "from_address": null,
        "event_index": 368,
        "event_account_address": "0x67dbec453adfb79e0a7585bde660ed696f611e9f621850bef926a6609d0701db",
        "entry_function_id_str": "0xde220d873e4f5eab5859f368b86fca00fa6fd395279cf54a7d7a5020cb527391::safari::end_adventure_bulk",
        "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": 12593221,
          "token_data_id": "0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da",
          "token_name": "AptosMonkeys #14",
          "token_standard": "v1",
          "token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/14.json",
          "token_properties": {},
          "supply": 1,
          "maximum": 1,
          "last_transaction_timestamp": "2022-10-25T18:00:03.448912"
        }
      },
      {
        "transaction_version": 1019994299,
        "type": "0x3::token::WithdrawEvent",
        "transaction_timestamp": "2024-07-08T09:48:22.938911",
        "token_standard": "v1",
        "token_data_id": "0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da",
        "token_amount": 1,
        "to_address": null,
        "from_address": "0x7b3326b15944d40740f1a7543e880e9bef1c1553510a9b7021e7933f1019c841",
        "event_index": 367,
        "event_account_address": "0x7b3326b15944d40740f1a7543e880e9bef1c1553510a9b7021e7933f1019c841",
        "entry_function_id_str": "0xde220d873e4f5eab5859f368b86fca00fa6fd395279cf54a7d7a5020cb527391::safari::end_adventure_bulk",
        "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": 12593221,
          "token_data_id": "0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da",
          "token_name": "AptosMonkeys #14",
          "token_standard": "v1",
          "token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/14.json",
          "token_properties": {},
          "supply": 1,
          "maximum": 1,
          "last_transaction_timestamp": "2022-10-25T18:00:03.448912"
        }
      },
      {
        "transaction_version": 57288960,
        "type": "0x3::token::WithdrawEvent",
        "transaction_timestamp": "2022-12-25T22:55:44.532453",
        "token_standard": "v1",
        "token_data_id": "0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da",
        "token_amount": 1,
        "to_address": null,
        "from_address": "0x67dbec453adfb79e0a7585bde660ed696f611e9f621850bef926a6609d0701db",
        "event_index": 0,
        "event_account_address": "0x67dbec453adfb79e0a7585bde660ed696f611e9f621850bef926a6609d0701db",
        "entry_function_id_str": "0xde220d873e4f5eab5859f368b86fca00fa6fd395279cf54a7d7a5020cb527391::safari::start_adventure",
        "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": 12593221,
          "token_data_id": "0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da",
          "token_name": "AptosMonkeys #14",
          "token_standard": "v1",
          "token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/14.json",
          "token_properties": {},
          "supply": 1,
          "maximum": 1,
          "last_transaction_timestamp": "2022-10-25T18:00:03.448912"
        }
      },
      {
        "transaction_version": 57288960,
        "type": "0x3::token::DepositEvent",
        "transaction_timestamp": "2022-12-25T22:55:44.532453",
        "token_standard": "v1",
        "token_data_id": "0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da",
        "token_amount": 1,
        "to_address": "0x7b3326b15944d40740f1a7543e880e9bef1c1553510a9b7021e7933f1019c841",
        "from_address": null,
        "event_index": 1,
        "event_account_address": "0x7b3326b15944d40740f1a7543e880e9bef1c1553510a9b7021e7933f1019c841",
        "entry_function_id_str": "0xde220d873e4f5eab5859f368b86fca00fa6fd395279cf54a7d7a5020cb527391::safari::start_adventure",
        "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": 12593221,
          "token_data_id": "0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da",
          "token_name": "AptosMonkeys #14",
          "token_standard": "v1",
          "token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/14.json",
          "token_properties": {},
          "supply": 1,
          "maximum": 1,
          "last_transaction_timestamp": "2022-10-25T18:00:03.448912"
        }
      },
      {
        "transaction_version": 27069240,
        "type": "0x3::token::DepositEvent",
        "transaction_timestamp": "2022-11-08T15:12:32.42139",
        "token_standard": "v1",
        "token_data_id": "0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da",
        "token_amount": 1,
        "to_address": "0x67dbec453adfb79e0a7585bde660ed696f611e9f621850bef926a6609d0701db",
        "from_address": null,
        "event_index": 6,
        "event_account_address": "0x67dbec453adfb79e0a7585bde660ed696f611e9f621850bef926a6609d0701db",
        "entry_function_id_str": "0x2c7bccf7b31baf770fdbcc768d9e9cb3d87805e255355df5db32ac9a669010a2::inbox::claim_many",
        "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": 12593221,
          "token_data_id": "0x9a47523002a8940afaae60cb01d13ccea0408b17e958ebf1940a9f687785d6da",
          "token_name": "AptosMonkeys #14",
          "token_standard": "v1",
          "token_uri": "ipfs://bafybeihnochxvsv6h43qvg4snenpeasoml66nwxhuiadfzkefix7vbetyq/14.json",
          "token_properties": {},
          "supply": 1,
          "maximum": 1,
          "last_transaction_timestamp": "2022-10-25T18:00:03.448912"
        }
      }
    ]
  }
}