tron v1 adds

Returns the latest 10 transfers on Tron, where receiver is TJqwA7…9TFj, TR7NHq…Lj6t or 2 more, sender is TJqwA7…9TFj, TR7NHq…Lj6t or 2 more and amount is above 0: tx hash, receiver address, sender address, currency name, currency symbol, decimals, fee and 4 more fields.

By jhf · saved 25 July 2025 · Bitquery API v2

What it returns

Filters

The query

query ($address: [String!],$limit: Int!,$startTimestamp: ISO8601DateTime!,$endTimestamp: ISO8601DateTime!,$symbol:[String!]) {
  tron {
    inbound: transfers(
      receiver: {in: $address}
       sender: {in: $address}
      currency:{in:$symbol}
      amount:{gt:0}
      options:{limit:$limit desc:"block.timestamp.time" }
      date:{between:[$startTimestamp,$endTimestamp]}
    ) {
     
      txHash
      receiver {
        address
      }
      sender {
        address
      }
      currency {
        name
        symbol
        decimals
      }
      fee
      amount
      contractType
      txHash
      block {
        height
        timestamp {
          time
        }
      }
    }
    outbound: transfers(  
        receiver: {in: $address}
      sender: {in: $address}
      options:{limit:$limit desc:"block.timestamp.time" }
              currency:{in:$symbol}
        amount:{gt:0}
            date:{between:[$startTimestamp,$endTimestamp]}
    ) {
      receiver {
        address
      }
      sender {
        address
      }
      amount
      
      currency {
        name
        symbol
        decimals
      }
      fee
      contractType
      txHash
      block {
        height
        timestamp {
          time
        }
      }
    }
  }
}

Variables

{
  "address":["TJqwA7SoZnERE4zW5uDEiPkbz4B66h9TFj","TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t","TXBmjVMsrJuSgspjbGo62GsSFKySXE5d2F","TRmCFUZ6Dr8mYh8b6rt97SpDZqsc5BdYXy"],
  "limit":10,
  "startTimestamp":"2025-01-01",
  "endTimestamp":"2025-09-01"
}

Similar queries