Hi, I’ve got a query that calls trades for live tokens everything works well but sometimes for some pairs it returns an empty array.
For example, the below query returns an empty array.
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {Trade: {Dex: {SmartContract: {is: "0x3961B98Fe07767961BBA4f514E3F39F60f6A6FAB"}}}, TransactionStatus: {Success: true}, Block: {Number: {ge: "18722345"}}}
limit: {count: 20000}
orderBy: {ascending: Trade_Sell_Price}
) {
Block {
Time
Number
}
Transaction {
Hash
From
To
}
TransactionStatus {
Success
}
Trade {
Buy {
Amount
Buyer
Currency {
Name
Symbol
SmartContract
Decimals
}
Price
}
Dex {
SmartContract
ProtocolName
}
Sell {
Amount
Buyer
Seller
Price
Currency {
Name
SmartContract
Symbol
Decimals
}
}
}
}
}
}