Latest Trades of Token in Network
Returns the latest 10 DEX trades by token on Ethereum, where currency smart contract is 0x8ce5…796f, currency smart contract is not 0x and side currency smart contract is not 0x: chain ID, block number, block time, seller, buyer, trade amount, smart contract and 6 more fields.
What it returns
- chain ID
- block number
- block time
- seller
- buyer
- trade amount
- smart contract
- currency symbol
- trade price
- side amount
- side smart contract
- side currency symbol
- transaction hash
Filters
- currency smart contract is 0x8ce5…796f
- currency smart contract is not 0x
- side currency smart contract is not 0x
- trade seller is not 0x
- trade buyer is not 0x
The query
query ($network: evm_network, $limit: Int!, $token: String!) {
EVM(network: $network, dataset: combined) {
DEXTradeByTokens(
orderBy: {descending: Block_Number}
limit: {count: $limit}
where: {Trade: {Currency: {SmartContract: {is: $token, not: "0x"}}, Side: {Currency: {SmartContract: {not: "0x"}}}, Seller: {not: "0x"}, Buyer: {not: "0x"}}}
) {
ChainId
Block {
Number
Time
}
Trade {
Seller
Buyer
Amount
Currency {
SmartContract
Symbol
}
Price
Side {
Amount
Currency {
SmartContract
Symbol
}
}
}
Transaction {
Hash
}
}
}
}
Variables
{
"network": "eth",
"limit": 10,
"offset": 0,
"token": "0x8ce578bad214d59aefafb49bd20408e81271796f"
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens