Solana Buy sell
Returns 10 DEX trades on Solana, where buy currency program address is Tokenk…Q5DA, buy currency mint address is DpF3T1…MC6p and DEX program address is 675kPX…1Mp8: program address, protocol family, protocol name, buy account address, buy amount, buy decimals, buy currency symbol and 17 more fields.
What it returns
- program address
- protocol family
- protocol name
- buy account address
- buy amount
- buy decimals
- buy currency symbol
- buy program address
- buy currency name
- buy currency mint address
- buy price
- sell account address
- sell amount
- sell decimals
- sell currency symbol
- sell program address
- sell currency name
- sell currency mint address
- sell price
- block time
- block height
- transaction signature
- fee payer
- signer
Filters
- buy currency program address is Tokenk…Q5DA
- buy currency mint address is DpF3T1…MC6p
- DEX program address is 675kPX…1Mp8
- sell currency program address is Tokenk…Q5DA
The query
query MyQuery {
Solana {
Buyside: DEXTrades(
limit: {count: 10}
where: {Trade: {Buy: {Currency: {ProgramAddress: {is: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}, MintAddress: {is: "DpF3T1GJiEWrUm9aWTKEYYA6oELSpQNGv3Y4axf9MC6p"}}}, Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}}}
) {
Trade {
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
Buy {
Account {
Address
}
Amount
Currency {
Decimals
Symbol
ProgramAddress
Name
MintAddress
}
PriceAgaistSellCurrency: Price
}
Sell {
Account {
Address
}
Amount
Currency {
Decimals
Symbol
ProgramAddress
Name
MintAddress
}
PriceAgaistBuyCurrency: Price
}
}
Block {
Time
Height
}
Transaction {
Signature
FeePayer
Signer
}
}
Sellside: DEXTrades(
limit: {count: 10}
where: {Trade: {Sell: {Currency: {ProgramAddress: {is: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}}}, Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}}}
) {
Trade {
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
Buy {
Account {
Address
}
Amount
Currency {
Decimals
Symbol
ProgramAddress
Name
MintAddress
}
PriceAgaistSellCurrency: Price
}
Sell {
Account {
Address
}
Amount
Currency {
Decimals
Symbol
ProgramAddress
Name
MintAddress
}
PriceAgaistBuyCurrency: Price
}
}
Block {
Time
Height
}
Transaction {
Signature
FeePayer
Signer
}
}
}
}
Similar queries
- Solana DEX Trades: Buy and Sell Accounts with DEX Name · Solana · DEXTrades
- Solana DEXTrades Archive Coverage, Last 7 Days · 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