php-example
Returns DEX trades on Solana, where DEX program address is 675kPX…1Mp8: buy account address, buy amount in USD, buy currency mint address, buy currency name, buy currency symbol, buy price in USD, program address and 9 more fields.
What it returns
- buy account address
- buy amount in USD
- buy currency mint address
- buy currency name
- buy currency symbol
- buy price in USD
- program address
- protocol family
- protocol name
- sell account address
- sell amount in USD
- sell currency mint address
- sell currency name
- sell currency symbol
- sell price in USD
- transaction signature
Filters
- DEX program address is 675kPX…1Mp8
The query
query MyQuery {
Solana {
DEXTrades(
where: {Trade: {Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}}}
) {
Trade {
Buy {
Account {
Address
}
AmountInUSD
Currency {
MintAddress
Name
Symbol
}
PriceInUSD
}
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
Sell {
Account {
Address
}
AmountInUSD
Currency {
MintAddress
Name
Symbol
}
PriceInUSD
}
}
Transaction {
Signature
}
}
}
}
Similar queries
- PumpSwap boost buy-and-burn trades · Solana · DEXTrades
- PumpSwap trades count by instruction method · Solana · DEXTrades
- FOMO App: One Wallet's Trades (Solana) · Solana · DEXTrades
- FOMO App: Latest Trades (Solana) · Solana · DEXTrades
- Solana dextrades for a token · Solana · DEXTrades