Query request: Transfer to burn address

NoFace
Sun, 24 Sep 2023 23:37:10 +0000
GraphQL API

Trying to check if tokens have been transferred to burn, I need a query for sum and another for each transfer; Need to specify the currency (lp) and the receiver (burn)

This code is what I got but it does not work:

  EVM(dataset: combined, network: eth) {
    Transfers {
      Transfer {
        Currency {
          SmartContract(selectWhere: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"})
        }
      }
      sum(if: {Transfer: {Receiver: {in: ["0x0000000000000000000000000000000000000000","0x000000000000000000000000000000000000dead"]}}})
    }
  }
}

type or paste code here

type or paste code here

2 posts - 2 participants