Inflows and Outflows calculation - Solana
currency sent and received by an address between a time
Returns 999999999 transfers on Solana, where date since 2025-06-25 and date till 2025-06-25, sorted by count in count out, highest first: amount, count big int, currency address, currency symbol and token type.
What it returns
- amount
- count big int
- currency address
- currency symbol
- token type
Filters
- date since 2025-06-25
- date till 2025-06-25
The query
query ($network: SolanaNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int!, $offset: Int!) {
solana(network: $network) {
transfers(
date: {since: $from, till: $till}
any: [{receiverAddress: {is: $address}}, {senderAddress: {is: $address}}]
options: {limit: $limit, offset: $offset, desc: ["count_in", "count_out"],
asc: "currency.symbol"}
) {
sum_in: amount(calculate: sum, receiverAddress: {is: $address})
sum_out: amount(calculate: sum, senderAddress: {is: $address})
count_in: countBigInt(receiverAddress: {is: $address})
count_out: countBigInt(senderAddress: {is: $address})
currency {
address
symbol
tokenType
}
}
}
}
Variables
{
"limit": 999999999,
"offset": 0,
"network": "solana",
"address": "ADDRESS HERE",
"from": "2025-06-25",
"till": "2025-06-25T23:59:59",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- SOL Transfers · Solana · Transfers
- Pumpfun tokens created historically on specific date · Solana · Transfers
- FOMO App: Fees Paid to the Fee Account, Last Hour (Solana) · Solana · Transfers
- SOL Transfers error Active billing · Solana · Transfers
- SOL Solana · Solana · Transfers