tron api

Returns transfers on Tron, where receiver is THRvEu…YFDV, sender is THRvEu…YFDV and contract type is Transfer: minimum of time, maximum of time, minimum of amount, maximum of amount and count big int.

By gaurav · saved 26 February 2024 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query MyQuery($address: String!) {
  tron(network: tron) {
    out_tx_stats_receiver: transfers(
      contractType: {is: "Transfer"}
      receiver: {is: $address}
    ) {
      first_tx_time: minimum(of: time, get: time)
      last_tx_time: maximum(of: time, get: time)
      lowest_tx_value: minimum(of: amount, get: amount)
      highest_tx_value: maximum(of: amount, get: amount)
      c1: countBigInt
    }
    out_tx_stats_sender: transfers(
      contractType: {is: "Transfer"}
      sender: {is: $address}
    ) {
      first_tx_time: minimum(of: time, get: time)
      last_tx_time: maximum(of: time, get: time)
      lowest_tx_value: minimum(of: amount, get: amount)
      highest_tx_value: maximum(of: amount, get: amount)
      c1: countBigInt
    }
    in_tx_stats_receiver: transfers(
      contractType: {is: "Transfer"}
      receiver: {is: $address}
    ) {
      first_tx_time: minimum(of: time, get: time)
      last_tx_time: maximum(of: time, get: time)
      lowest_tx_value: minimum(of: amount, get: amount)
      highest_tx_value: maximum(of: amount, get: amount)
      c1: countBigInt
    }
    in_tx_stats_sender: transfers(
      contractType: {is: "Transfer"}
      sender: {is: $address}
    ) {
      first_tx_time: minimum(of: time, get: time)
      last_tx_time: maximum(of: time, get: time)
      lowest_tx_value: minimum(of: amount, get: amount)
      highest_tx_value: maximum(of: amount, get: amount)
      c1: countBigInt
    }
  }
}

Variables

{
  "address": "THRvEuQWg5ATobFB4Mk7A4My8BcQJhYFDV"
}

Similar queries