solana query need to optimise
Returns 10 transfers on Solana, where sender address is 3uTzTX…dzwC, receiver address is C5v68q…8Z8y and currency is EPjFWd…Dt1v: transaction signature, iso8601, amount, currency address, decimals, currency name, currency symbol and 7 more fields.
What it returns
- transaction signature
- iso8601
- amount
- currency address
- decimals
- currency name
- currency symbol
- token ID
- sender address
- sender mint account
- sender type
- receiver address
- receiver mint account
- receiver type
Filters
- sender address is 3uTzTX…dzwC
- receiver address is C5v68q…8Z8y
- currency is EPjFWd…Dt1v
- success is true
- transfer type is transfer
- time since 2022-01-04
- time till 2022-06-05
The query
query MyQuery($sender: String, $receiver: String, $currency_id: String, $since: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int) {
solana(network: solana) {
transfers(
senderAddress: {is: $sender}
receiverAddress: {is: $receiver}
currency: {is: $currency_id}
options: {limit: $limit}
time: {since: $since, till: $till}
success: {is: true}
transferType: {is: transfer}
) {
hash: transaction {
hash: signature
}
time: block {
timestamp {
iso8601
}
}
amount
currency {
address
decimals
name
symbol
tokenId
}
sender {
address
mintAccount
type
}
receiver {
address
mintAccount
type
}
}
}
}
Variables
{
"sender": "3uTzTX5GBSfbW7eM9R9k95H7Txe32Qw3Z25MtyD2dzwC",
"receiver": "C5v68qSzDdGeRcs556YoEMJNsp8JiYEiEhw2hVUR8Z8y",
"currency_id": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"limit": 10,
"since": "2022-01-04T00:00:00",
"till": "2022-06-05T00:00:00"
}
Similar queries
- SOL Transfers · Solana · Transfers
- Pumpfun tokens created historically on specific date · Solana · Transfers
- Inflows and Outflows calculation - Solana · Solana · Transfers
- Pump.fun: Check if a Token Launched in Mayhem Mode · Solana · Transfers
- FOMO App: Fees Paid to the Fee Account, Last Hour (Solana) · Solana · Transfers