PoolPairFromTrading
Returns trades, where pool address is 0x0000…8a90 and pool ID is 0xe500…a657: count, pool address, pool ID, quote token name, quote token symbol, quote token address, network bid and 3 more fields.
What it returns
- count
- pool address
- pool ID
- quote token name
- quote token symbol
- quote token address
- network bid
- token address
- token name
- token symbol
Filters
- pool address is 0x0000…8a90
- pool ID is 0xe500…a657
The query
query PoolPairFromTrading($pool: String!,$poolId:String) {
Trading {
Trades(where: {Pair: {Pool: {Address: {is: $pool}, Id:{is:$poolId}}}}) {
count
Pair {
Pool {
Address
Id
}
QuoteToken {
Name
Symbol
Address
NetworkBid
}
Token {
Address
Name
Symbol
NetworkBid
}
}
}
}
}
Variables
{"poolId":"0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657",
"pool": "0x000000000004444c5dc75cb358380d2e3de08a90"
}
Similar queries
- Trading API: Solana Trades with Transaction Hash · Trading (all chains) · Trades
- Elysium latest trades of one token (WHYPE) · Trading (all chains) · Trades
- FOMO App: Trades per Day (Trading API) · Trading (all chains) · Trades
- save with commit · Trading (all chains) · Tokens