Balancer Swapper on Ethereum
Curated by
Galxe
ID Type
EVM ADDRESS
Cred Type
SUBGRAPH
Last Update Time
01/18/2024, 13:09:14
Query
query user($address: String){
  swaps(where:{caller:$address})
  {
    id
   
  }
}
Expression
function(data) {
  if (data == null || data.swaps == null) {
    return 0
  } else if (Array.isArray(data.swaps) && data.swaps.length == 0) {
    return 0
  }
  return 1
}