tron_check2

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 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $till: ISO8601DateTime) {
  tron {
    sent: transfers(
      sender: {is: $address}
      currency: {is: "TRX"}
      date: {till: $till}
      success: true
    ) {
      amount(calculate: sum, external: true)
      amount_internal:amount(calculate: sum, external: false)
      currency {
        address
        symbol
        name
      }
    }
    received: transfers(
      receiver: {is: $address}
      currency: {is: "TRX"}
      date: {till: $till}
      success: true
      external: true
    ) {
      amount(calculate: sum, external: true)
      amount_internal: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": null,
  "dateFormat": "%Y-%m-%d"
}

Similar queries