LastTrades Trading
Returns the latest 50 trades, where transaction header hash is 0x503c…9955 and token ID is bid:bsc:0x1b9cf733c04c7bc3b81f1dc3e580755597f59ce4: side, base, quote, block time, trader address, market cap, protocol family and 8 more fields.
What it returns
- side
- base
- quote
- block time
- trader address
- market cap
- protocol family
- protocol
- token address
- token symbol
- quote token address
- quote token symbol
- pool ID
- pool address
- transaction header hash
Filters
- transaction header hash is 0x503c…9955
- token ID is bid:bsc:0x1b9cf733c04c7bc3b81f1dc3e580755597f59ce4
The query
query LastTrades($tokenID: String!, $minutesAgo: Int!) {
Trading {
Trades(
limit: {count: 50}
orderBy: {descending: Block_Time}
where: {
TransactionHeader:{
Hash:{
is:"0x503c181ad7b581172b4d015cec166e2def2546c2d3abe65fdaa3a08946d59955"
}
}
Block: {Time: {since_relative: {minutes_ago: $minutesAgo}}},
Pair: {Token: {Id: {is: $tokenID}}}}
) {
Side
Amounts {
Base
Quote
}
AmountsInUsd {
Base
Quote
}
Block {
Time
}
Trader {
Address
}
Supply {
MarketCap
}
Pair {
Market {
ProtocolFamily
Protocol
}
Token {
Address
Symbol
}
QuoteToken {
Address
Symbol
}
Pool {
Id
Address
}
}
TransactionHeader{
Hash
}
}
}
}
Variables
{
"tokenID": "bid:bsc:0x1b9cf733c04c7bc3b81f1dc3e580755597f59ce4",
"minutesAgo": 1000
}
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