# Assistance with Filtering Solana Token Transfers in GraphQL API

**URL:** <https://community.bitquery.io/t/assistance-with-filtering-solana-token-transfers-in-graphql-api/2328>\
**Category:** GraphQL API\
**Created:** [March 25, 2025, 1:57pm UTC](https://community.bitquery.io/t/assistance-with-filtering-solana-token-transfers-in-graphql-api/2328 "2025-03-25T13:57:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yairgr](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/yairgr/32/993_2.png) [@yairgr](https://community.bitquery.io/u/yairgr)\
**Post date:** [March 25, 2025, 1:57pm UTC](https://community.bitquery.io/t/assistance-with-filtering-solana-token-transfers-in-graphql-api/2328/1 "2025-03-25T13:57:26Z")

</div>

I’m using the GraphQL API at [https://graphql.bitquery.io/](https://graphql.bitquery.io/) to fetch Solana token transfer data for a specific mint address (e.g., “5DWZ1RAMXwuSr9beXQyfaevX2f6mj6SUn8NbexE6pump”) within a time range (e.g., 2025-03-18T15:01:41Z to 2025-03-19T15:01:41Z). I’ve tried querying under the `solana` root field using subfields like `transfers`, `instructions`, `coinpath`, `instructionAccounts`, and `address`, but none support filtering arguments (`where`, `time`) or pagination arguments (`first`, `skip`). Without filtering, the query exceeds the memory limit (74.51 GiB), as seen in this error:

“DB::Exception: Memory limit (for query) exceeded: would use 74.51 GiB (attempt to allocate chunk of 6291456 bytes), maximum: 74.51 GiB: While executing AggregatingTransform.”

Here’s an example query that works syntactically but hits the memory limit:  
{ solana { transfers { amount currency { symbol } sender { address } receiver { address } block { timestamp { iso8601 } } } } }

My questions are:

1. How can I filter Solana token transfers server-side by mint address and time range to avoid the memory limit error?
2. Is there a different endpoint or query structure for fetching DEX trade data on Solana (e.g., a `dexTrades` field)?
3. Does the API support pagination in a different way (e.g., a global pagination mechanism)?

Thank you for your assistance!

---

<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:** [March 25, 2025, 1:58pm UTC](https://community.bitquery.io/t/assistance-with-filtering-solana-token-transfers-in-graphql-api/2328/2 "2025-03-25T13:58:20Z")

</div>

Please check the new APIs on EAP endpoint ( only realtime data ) [Solana Transfers API | Blockchain Data API (V2)](https://docs.bitquery.io/docs/examples/Solana/solana-transfers/)
