Using Pairs - How do I track trades for multiple tokens in one subscription?
Streams trades as they happen, where pool address is BMhbJp…9f6V, 916HUQ…z5uN or 1 more: side, circulating supply, market cap, trader address, transaction header fee, fee payer, sender and 18 more fields.
What it returns
- side
- circulating supply
- market cap
- trader address
- transaction header fee
- fee payer
- sender
- to
- base
- quote
- block date
- block time
- timestamp
- pool address
- pool ID
- market address
- program
- network
- token address
- token ID
- is native
- token symbol
- quote token address
- quote token ID
- quote token symbol
Filters
- pool address is BMhbJp…9f6V, 916HUQ…z5uN or 1 more
The subscription
subscription {
Trading {
Trades(
where: {Pair: {Pool: {Address: {in: ["BMhbJpKihPsrQwWTNrzYLFwh2LbuDwWYbHKzEZrV9f6V",
"916HUQvjHzJ3UP1LgtyoVYyxhkwqbnBxPshxNKBbz5uN",
"aXQtJ9cGr1zgLyrppKJ5BR5jv1RMjyYL5Wetd2KZNtB"]}}}}
) {
Side
Supply {
CirculatingSupply
MarketCap
}
Trader {
Address
}
TransactionHeader {
Fee
FeePayer
Sender
To
}
Amounts {
Base
Quote
}
AmountsInUsd {
Base
Quote
}
Block {
Date
Time
Timestamp
}
Pair {
Pool {
Address
Id
}
Market {
Address
Program
Network
}
Token {
Address
Id
IsNative
Symbol
TokenId
Network
}
QuoteToken {
Address
Id
IsNative
Symbol
TokenId
Network
}
}
}
}
}
Similar queries
- Stream Robinhood Chain Trades in Real Time · Trading (all chains) · Trades
- Elysium live DEX trades stream with USD · Trading (all chains) · Trades
- All Pumpswap Trade Stream · Trading (all chains) · Trades
- arc mainnet minara trade stream · Trading (all chains) · Trades
- all chains New Trades Stream - Solana, eth, bsc ,base , arbitrum, matic · Trading (all chains) · Trades