tron_check

Returns transfers on Tron, where sender is TMvdQK…syP2, receiver is TMvdQK…syP2 and currency is TRX: amount, currency address, currency symbol and currency name.

By George · saved 30 July 2024 · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $till: ISO8601DateTime) {
  tron {
    sent_internal: transfers(
      sender: {is: $address}
      currency: {is: "TRX"}
      date: {till: $till}
      success: true
      external: false
    ) {
      amount(calculate: sum, external: false)
      currency {
        address
        symbol
        name
      }
    }
    received_internal: transfers(
      receiver: {is: $address}
      currency: {is: "TRX"}
      date: {till: $till}
      success: true
      external: false
    ) {
      amount(calculate: sum, external: false)
      currency {
        address
        symbol
        name
      }
    }
    fee: transfers(date: {till: $till}) {
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
    }
  }
}

Variables

{
  "address": "TMvdQKWAnq5mrMFpuy25Ns7Tpw2FDnsyP2",
  "till": "2024-05-15",
  "dateFormat": "%Y-%m-%d"
}

Similar queries