tron_example

missing 2230e4d8df533aa48c4b3fab7651ff3e9a98a92fc5cac9fa17686ef6b600d573

Returns contracts and transfers on Tron, where tx owner is TZ2Akd…tYXf, receiver is TZ2Akd…tYXf and sender is TZ2Akd…tYXf: count, fee, amount, currency name, currency address, currency symbol, token type and 3 more fields.

By Chris DiRubio · saved 15 July 2024 · run 5 times · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $since: ISO8601DateTime, $till: ISO8601DateTime) {
  tron {
    fees: contracts(
      txOwner: {is: $address}
      time: {since: $since, till: $till}
      options: {}
    ) {
      count
      fee
    }
    in: transfers(receiver: {is: $address}) {
      amount
      currency {
        name
        address
        symbol
        tokenType
        tokenId
      }
    }
    out: transfers(sender: {is: $address}, receiver: {not: "system"}) {
      amount
      currency {
        name
        address
        symbol
        tokenType
        tokenId
      }
    }
    stake: contracts(txOwner: {is: $address}, contractType: {in: "FreezeBalance"}) {
      amount
      contractType
    }
    Unstake: contracts(
      txOwner: {is: $address}
      contractType: {in: "UnfreezeBalance"}
    ) {
      amount
      contractType
    }
    address(address: {in: [$address]}) {
      claimableRewards
    }
  }
}

Variables

{
  "address":"TZ2AkdSbVordzqLVrNwRCtyQoLzy1stYXf",
  "offset": 0,
  "since" : null,
  "till" : null
}

Similar queries