Hey,
I’ve seen that the correct query for tracking a specific wallet address trades across the Solana blockchain (such as trades from Solana to memcoins) is:
subscription {
Solana {
DEXTrades(
where: {Trade: {Buy: {Account: {Address: {is: “wallet-address”}}}}}
) {
Trade {
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
Buy {
Amount
Account {
Address
}
Currency {
MetadataAddress
Key
IsMutable
EditionNonce
Decimals
CollectionAddress
Fungible
Symbol
Native
Name
}
Order {
LimitPrice
LimitAmount
OrderId
}
AmountInUSD
PriceInUSD
Price
}
Market {
MarketAddress
}
Sell {
Account {
Address
}
Currency {
MetadataAddress
Key
IsMutable
EditionNonce
Decimals
CollectionAddress
Fungible
Symbol
Native
Name
}
}
}
Instruction {
Program {
Address
AccountNames
Method
Parsed
Name
}
}
}
}
}
But for some reason it doesn’t work. Is there a mistake here somewhere ?