stack_unstake

Returns contracts on Tron, where tx owner is TYxSeR…7ZPk, contract type is FreezeBalance or FreezeBalanceV2 and contract type is UnfreezeBalance or UnfreezeBalanceV2: amount and currency name.

By Omkar_BQ · saved 25 October 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  tron {
    stacked:contracts(
      txOwner: {is: "TYxSeRJLEHX4FXRzG6s28tL2WuA9pZ7ZPk"}
      contractType: {in: ["FreezeBalance","FreezeBalanceV2"]}
      date: {till: "2024-07-29"}
    ) {
      amount(calculate: sum)
      currency {
        name
      }
    }
    un_stacked:contracts(
      txOwner: {is: "TYxSeRJLEHX4FXRzG6s28tL2WuA9pZ7ZPk"}
      contractType: {in: ["UnfreezeBalance","UnfreezeBalanceV2"]}
      date: {till: "2024-07-29"}
    ) {
      amount(calculate: sum)
      currency {
        name
      }
    }
  }
}

Similar queries