Transfers of a TRON wallet address

Transfers of a wallet address

Returns the latest 400 transfers on Tron, where sender is TEK73X…hvBp, receiver is TEK73X…hvBp and amount is above 0: timestamp time, unixtime, block height, receiver address, annotation, sender address, currency address and 6 more fields.

By Rocco · saved 9 May 2024 · run 12 times · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $limit: Int!, $offset: Int!, $height: Int!) {
  tron {
    inbound: transfers(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      amount: {gt: 0}
      sender: {is: $address}
      height: { lteq: $height }
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
          unixtime
        }
        height
      }
      to: receiver {
        address
        annotation
      }
      from: sender {
        address
        annotation
      }
      currency {
        address
        symbol
        tokenId
        tokenType
      }
      amount
      fee
      txHash
    }
    
    outbound: transfers(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      amount: {gt: 0}
      receiver: {is: $address}
      height: { lteq: $height }
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      to: receiver {
        address
        annotation
      }
      from: sender {
        address
        annotation
      }
      currency {
        address
        symbol
        tokenId
        tokenType
      }
      amount
      fee
      txHash
    }
  }
}

Variables

{
  "limit": 400,
  "offset": 0,
  "address": "TEK73XPNXEdASPR28t8BWty6hqLacXhvBp",
  "currency": "",
  "height": 61301230
}

Similar queries