latest OHLC. info
Streams DEX trades by token on Solana as they happen, where currency mint address is So1111…1112, side currency mint address is EPjFWd…Dt1v and DEX program address is 83v8iP…5d6d: block date, sum of trade amount, trade price, currency name, protocol name, program address, side currency name and 2 more fields.
What it returns
- block date
- sum of trade amount
- trade price
- currency name
- protocol name
- program address
- side currency name
- side currency mint address
- count
Filters
- currency mint address is So1111…1112
- side currency mint address is EPjFWd…Dt1v
- DEX program address is 83v8iP…5d6d
The subscription
subscription {
Solana {
DEXTradeByTokens(
#WSOL-USDC trades on Orca
where: {Trade: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Side: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}, Dex: {ProgramAddress: {is: "83v8iPyZihDEjDdY8RdZddyZNyUtXngz69Lgo9Kt5d6d"}}}}
) {
Block {
Date(interval: {in: days, count: 1})
}
volume: sum(of: Trade_Amount)
Trade {
high: Price(maximum: Trade_Price)
low: Price(minimum: Trade_Price)
open: Price(minimum: Block_Height)
close: Price(maximum: Block_Height)
Currency {
Name
}
Dex {
ProtocolName
ProgramAddress
}
Side {
Currency {
Name
MintAddress
}
}
}
count
}
}
}
Similar queries
- token trades subscription · Solana · DEXTradeByTokens
- realtime trades solana · Solana · DEXTradeByTokens
- adsa · Solana · DEXTradeByTokens
- tkk raydium price · Solana · DEXTradeByTokens
- Live price of a token · Solana · DEXTradeByTokens