Tron transactions

Returns 1000 transfers on Tron, where receiver is TWw4Wi…aRAD, sender is TWw4Wi…aRAD and tx from is TWw4Wi…aRAD, sorted by block timestamp iso8601 block height: amount, currency symbol, token ID, currency address, tx hash, block height, iso8601 and fee.

By Federico · saved 21 June 2023 · run 8 times · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $limit: Int, $lastInputHeight: Int, $lastOutputHeight: Int, $lastFeesHeight: Int) {
  tron {
    inputs: transfers(
      options: {asc: ["block.timestamp.iso8601", "block.height"], limit: $limit}
      height: {gt: $lastInputHeight}
      receiver: {is: $address}) {
      amount
      currency {
        symbol
        tokenId
        address
      }
      hash: txHash
      block {
        height
        timestamp {
          iso8601
        }
      }
    }
    outputs: transfers(
      options: {asc: ["block.timestamp.iso8601", "block.height"], limit: $limit}
      height: {gt: $lastOutputHeight}
      sender: {is: $address}) {
      amount
      currency {
        symbol
        tokenId
        address
      }
      hash: txHash
      block {
        height
        timestamp {
          iso8601
        }
      }
    }
    fees: transfers(
      options: {asc: ["block.timestamp.iso8601", "block.height"], limit: $limit}
      height: {gt: $lastFeesHeight}
      txFrom: {is: $address}) {
      fee
      hash: txHash
      block {
        height
        timestamp {
          iso8601
        }
      }
    }
  }
}

Variables

{
  "address": "TWw4WibpzjTAScgsCPmz5CjF94bBfPaRAD",
  "limit": 1000
}

Similar queries