latest trades for a token sell _ JP
latest trades for a token - both buy and sell
Returns the latest DEX trade on Ethereum, where buy currency smart contract is 0x2e51…82e0, 0x2e85…ae15 or 1 more: block number, block time, buy amount, buy buyer, buy currency name, buy currency symbol, buy smart contract and 2 more fields.
What it returns
- block number
- block time
- buy amount
- buy buyer
- buy currency name
- buy currency symbol
- buy smart contract
- buy seller
- buy price
Filters
- buy currency smart contract is 0x2e51…82e0, 0x2e85…ae15 or 1 more
The query
query MyQuery($addresses: [String!]!) {
EVM(dataset: combined, network: eth) {
sellside: DEXTrades(
limit: {count: 1}
orderBy: {descending: Block_Time}
where: {Trade: {Buy: {Currency: {SmartContract: {in: $addresses}}}}}
) {
Block {
Number
Time
}
Trade {
Buy {
Amount
Buyer
Currency {
Name
Symbol
SmartContract
}
Seller
Price
}
}
}
}
}
Variables
{
"addresses": ["0x2e516ba5bf3b7ee47fb99b09eadb60bde80a82e0", "0x2e85ae1c47602f7927bcabc2ff99c40aa222ae15", "0x30dcba0405004cf124045793e1933c798af9e66a"]
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades