multiple trading pairs subscription
Streams pairs as they happen, where market address is 21vWZ5…Xvvi or 4juw4x…QPAY, market network is Solana and time duration is 60, sorted by block timestamp: token address, token ID, token name, token symbol, quote token address, quote token ID, quote token name and 23 more fields.
What it returns
- token address
- token ID
- token name
- token symbol
- quote token address
- quote token ID
- quote token name
- quote token symbol
- protocol
- program
- network
- market name
- market address
- block date
- block time
- timestamp
- start
- duration
- end
- base
- quote
- USD
- close
- high
- low
- open
- exponential moving
- mean
- simple moving
- weighted simple moving
Filters
- market address is 21vWZ5…Xvvi or 4juw4x…QPAY
- market network is Solana
- time duration is 60
The subscription
subscription($marketAddresses: [String!]) {
Trading {
Pairs(
where: {
Market: {
Network: { is: "Solana" }
Address: { in: $marketAddresses }
}
Interval: { Time: { Duration: { eq: 60 } } }
}
orderBy: { ascendingByField: "Block_Timestamp" }
) {
Token {
Address
Id
Name
Symbol
TokenId
}
QuoteToken {
Address
Id
Name
Symbol
TokenId
}
Market {
Protocol
Program
Network
Name
Address
}
Block {
Date
Time
Timestamp
}
Interval {
Time {
Start
Duration
End
}
}
Volume {
Base
Quote
Usd
}
Price {
Ohlc {
Close
High
Low
Open
}
Average {
ExponentialMoving
Mean
SimpleMoving
WeightedSimpleMoving
}
}
}
}
}
Variables
{
"marketAddresses": ["21vWZ55AUqvnEPdt9euWMUZhmsmseAc3amK9jcSSXvvi","4juw4xub3RCSTKR4ZNevDQMkTmwuEpHdWMikLSUUQPAY"]
}
Similar queries
- Stream pool price live (WETH/USDC Uniswap v3) · Trading (all chains) · Pairs
- Token Pool Liquidity Stream · Trading (all chains) · Pairs
- Arc Mainnet Trading: Latest price of a token stream (v2) · Trading (all chains) · Pairs
- Arc Mainnet Trading: Latest price of a token stream · Trading (all chains) · Pairs
- Robinhood Chain OHLCV / Candlestick API for a Token Pair · Trading (all chains) · Pairs