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