Hi everyone,
I’m new to bitquery and try to understand the script 'language", and more precisely the filtering.
How does it work for instance if I want to get all pairs excluding those with a currency symbol == “WBNB”?
ethereum(network: bsc) {
arguments(
smartContractAddress: {is: "0xBCfCcbde45cE874adCB698cC183deBcF17952812"}
smartContractEvent: {is: "PairCreated"}
argument: {not: "pair"}
options: {desc: "block.height", limit: 10}
) {
block {
height
timestamp {
unixtime
month
year
dayOfMonth
}
}
argument {
name
type
}
reference {
address
smartContract {
currency {
name
symbol
}
}
}
}
}