Track wallet address trades on Solana

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 ?

Which endpoint are you running it on? V2 or EAP?

What’s the error message? @rrqol123

I’m using the EAP and there is no error message in the Bitquery IDE it’s just not showing any transactions done.

EAP is only realtime data + 8h of past data. We will enable complete historical data in 1-2 months. Currently you can view historical trade aggregates Historical Solana Data | Blockchain Data API (V2)