solana_balance
Returns transfers on Solana, where currency is not SOL: currency address, token type, currency symbol, token ID, amount and expression.
What it returns
- currency address
- token type
- currency symbol
- token ID
- amount
- expression
Filters
- currency is not SOL
The query
query Balance($address: [String!]) {
solana(network: solana) {
transfers(
any: [{receiverAddress: {in: $address}}, {senderAddress: {in: $address}}]
currency: {not: "SOL"}
) {
currency {
address
tokenType
symbol
tokenId
}
sent_amount: amount(senderAddress: {in: $address})
received_amount: amount(receiverAddress: {in: $address})
balance: expression(get: "received_amount - sent_amount")
}
}
}
Variables
{
"address": [
"EUq2AuVW65cnZf9oitpxqacXiHD9pxDMdEbPRAg5L8sh"
]
}
Similar queries
- SOL Transfers · Solana · Transfers
- Pumpfun tokens created historically on specific date · Solana · Transfers
- Inflows and Outflows calculation - Solana · Solana · Transfers
- FOMO App: Fees Paid to the Fee Account, Last Hour (Solana) · Solana · Transfers
- SOL Transfers error Active billing · Solana · Transfers