Transfers of a TRON wallet address

Transfers of a wallet address

Returns the latest 200 transfers on Tron, where sender is TMgPFE…Gq5x, receiver is TMgPFE…Gq5x and amount is above 0: timestamp time, unixtime, block height, receiver address, annotation, sender address, currency name and 9 more fields.

By Rocco · saved 10 May 2024 · run 2 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: { gteq: $height }
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
          unixtime
        }
        height
      }
      to: receiver {
        address
        annotation
      }
      from: sender {
        address
        annotation
      }
      currency {
        name
        address
        symbol
        tokenId
        tokenType
      }
      amount
      fee
      txHash
      success
      contractType
    }
    
    outbound: transfers(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      amount: {gt: 0}
      receiver: {is: $address}
      height: { gteq: $height }
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
          unixtime
        }
        height
      }
      to: receiver {
        address
        annotation
      }
      from: sender {
        address
        annotation
      }
      currency {
        name
        address
        symbol
        tokenId
        tokenType
      }
      amount
      fee
      txHash
      success
      contractType
    }
  }
}

Variables

{
  "limit": 200,
  "offset": 0,
  "address": "TMgPFEPtyT4RBL8VfGBYKjua5EPdjHGq5x",
  "height": 0
}

Similar queries