# Track wallet address trades on Solana

**URL:** <https://community.bitquery.io/t/track-wallet-address-trades-on-solana/2241>\
**Category:** GraphQL API\
**Tags:** support, open\
**Created:** [January 21, 2025, 6:27pm UTC](https://community.bitquery.io/t/track-wallet-address-trades-on-solana/2241 "2025-01-21T18:27:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrqol123](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@rrqol123](https://community.bitquery.io/u/rrqol123)\
**Post date:** [January 21, 2025, 6:27pm UTC](https://community.bitquery.io/t/track-wallet-address-trades-on-solana/2241/1 "2025-01-21T18:27:27Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![Divya](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@Divya](https://community.bitquery.io/u/Divya)\
**Post date:** [January 22, 2025, 3:05pm UTC](https://community.bitquery.io/t/track-wallet-address-trades-on-solana/2241/2 "2025-01-22T15:05:33Z")

</div>

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

What’s the error message? @rrqol123

---

<div class="post-metadata">

**Author:** ![rrqol123](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@rrqol123](https://community.bitquery.io/u/rrqol123)\
**Post date:** [January 28, 2025, 9:36am UTC](https://community.bitquery.io/t/track-wallet-address-trades-on-solana/2241/3 "2025-01-28T09:36:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Divya](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@Divya](https://community.bitquery.io/u/Divya)\
**Post date:** [January 29, 2025, 12:42pm UTC](https://community.bitquery.io/t/track-wallet-address-trades-on-solana/2241/4 "2025-01-29T12:42:15Z")

</div>

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)](https://docs.bitquery.io/docs/examples/Solana/historical-aggregate-data/)
