Get Coin Transfers By Account

Query Template

Filtering Options

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

Query Fields

ParameterTypeDescription
amountinteger자산의 양.
asset_typestring자산 유형 식별자.
block_heightinteger블록 높이.
owner_addressstring소유자의 주소.
entry_function_id_strstring엔트리 함수 ID 문자열.
event_indexinteger이벤트 인덱스.
gas_fee_payer_addressstring가스 요금을 지불한 주소.
is_frozenboolean자산이 동결되었는지 여부.
is_gas_feeboolean가스 요금 여부.
is_transaction_successboolean트랜잭션 성공 여부.
storage_idstring저장소 ID.
storage_refund_amountinteger저장소 환불 금액.
token_standardstring토큰 표준.
transaction_timestampstring트랜잭션의 타임스탬프 (ISO 8601 형식).
transaction_versioninteger트랜잭션의 버전.
typestring이벤트 유형.

Example

Request Example

query MyQuery {
  fungible_asset_activities(
    limit: 5
    offset: 0
    where: {
      owner_address: {
        _eq: "0x274c398a921b8e2ba345feac3039e1c8b196a7eb1395cdd3584af3a85eb9ec50"
      }
    }
    order_by: { transaction_version: desc, event_index: desc }
  ) {
    amount
    asset_type
    block_height
    owner_address
    entry_function_id_str
    event_index
    gas_fee_payer_address
    is_frozen
    is_gas_fee
    is_transaction_success
    storage_id
    storage_refund_amount
    token_standard
    transaction_timestamp
    transaction_version
    type
  }
}

Response Example

{
  "data": {
    "fungible_asset_activities": [
      {
        "amount": 18620000,
        "asset_type": "0x1::aptos_coin::AptosCoin",
        "block_height": 42022697,
        "owner_address": "0x274c398a921b8e2ba345feac3039e1c8b196a7eb1395cdd3584af3a85eb9ec50",
        "entry_function_id_str": "0x1::aptos_account::transfer",
        "event_index": 1,
        "gas_fee_payer_address": null,
        "is_frozen": null,
        "is_gas_fee": false,
        "is_transaction_success": true,
        "storage_id": "0x607571217df151528914b3622272e371dadc8094d3bf8c10e3949783f938f128",
        "storage_refund_amount": 0,
        "token_standard": "v1",
        "transaction_timestamp": "2023-03-26T21:48:28",
        "transaction_version": 108478684,
        "type": "0x1::coin::WithdrawEvent"
      },
      {
        "amount": 280418,
        "asset_type": "0x1::aptos_coin::AptosCoin",
        "block_height": 42022697,
        "owner_address": "0x274c398a921b8e2ba345feac3039e1c8b196a7eb1395cdd3584af3a85eb9ec50",
        "entry_function_id_str": "0x1::aptos_account::transfer",
        "event_index": -1,
        "gas_fee_payer_address": null,
        "is_frozen": null,
        "is_gas_fee": true,
        "is_transaction_success": true,
        "storage_id": "0x607571217df151528914b3622272e371dadc8094d3bf8c10e3949783f938f128",
        "storage_refund_amount": 0,
        "token_standard": "v1",
        "transaction_timestamp": "2023-03-26T21:48:28",
        "transaction_version": 108478684,
        "type": "0x1::aptos_coin::GasFeeEvent"
      },
      {
        "amount": 356557,
        "asset_type": "0x1::aptos_coin::AptosCoin",
        "block_height": 42022572,
        "owner_address": "0x274c398a921b8e2ba345feac3039e1c8b196a7eb1395cdd3584af3a85eb9ec50",
        "entry_function_id_str": "0x3::token_transfers::offer_script",
        "event_index": -1,
        "gas_fee_payer_address": null,
        "is_frozen": null,
        "is_gas_fee": true,
        "is_transaction_success": true,
        "storage_id": "0x607571217df151528914b3622272e371dadc8094d3bf8c10e3949783f938f128",
        "storage_refund_amount": 0,
        "token_standard": "v1",
        "transaction_timestamp": "2023-03-26T21:47:45",
        "transaction_version": 108478394,
        "type": "0x1::aptos_coin::GasFeeEvent"
      },
      {
        "amount": 30000000,
        "asset_type": "0x1::aptos_coin::AptosCoin",
        "block_height": 40823390,
        "owner_address": "0x274c398a921b8e2ba345feac3039e1c8b196a7eb1395cdd3584af3a85eb9ec50",
        "entry_function_id_str": "0x1::aptos_account::transfer",
        "event_index": 0,
        "gas_fee_payer_address": null,
        "is_frozen": null,
        "is_gas_fee": false,
        "is_transaction_success": true,
        "storage_id": "0x607571217df151528914b3622272e371dadc8094d3bf8c10e3949783f938f128",
        "storage_refund_amount": 0,
        "token_standard": "v1",
        "transaction_timestamp": "2023-03-21T21:55:41",
        "transaction_version": 105634644,
        "type": "0x1::coin::WithdrawEvent"
      },
      {
        "amount": 59590,
        "asset_type": "0x1::aptos_coin::AptosCoin",
        "block_height": 40823390,
        "owner_address": "0x274c398a921b8e2ba345feac3039e1c8b196a7eb1395cdd3584af3a85eb9ec50",
        "entry_function_id_str": "0x1::aptos_account::transfer",
        "event_index": -1,
        "gas_fee_payer_address": null,
        "is_frozen": null,
        "is_gas_fee": true,
        "is_transaction_success": true,
        "storage_id": "0x607571217df151528914b3622272e371dadc8094d3bf8c10e3949783f938f128",
        "storage_refund_amount": 0,
        "token_standard": "v1",
        "transaction_timestamp": "2023-03-21T21:55:41",
        "transaction_version": 105634644,
        "type": "0x1::aptos_coin::GasFeeEvent"
      }
    ]
  }
}