V2 api - Trades for all tokens
Returns the latest 10 DEX trades by token on Ethereum, where DEX owner address is 0x5c69…aa6f, block time since 2023-09-24 and block time till 2023-09-25: owner address, smart contract, protocol name, trade amount, currency symbol, trade price, side amount and 2 more fields.
What it returns
- owner address
- smart contract
- protocol name
- trade amount
- currency symbol
- trade price
- side amount
- side smart contract
- side currency symbol
Filters
- DEX owner address is 0x5c69…aa6f
- block time since 2023-09-24
- block time till 2023-09-25
The query
{
EVM(network: eth, dataset: combined) {
DEXTradeByTokens(
limit: {count: 10}
orderBy: {descending: Block_Time}
where: {Trade: {Dex: {OwnerAddress: {is: "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f"}}}, Block: {Time: {since: "2023-09-24T20:25:00Z", till: "2023-09-25T20:25:00Z"}}}
) {
Trade {
Dex {
OwnerAddress
SmartContract
ProtocolName
}
Amount
Currency {
SmartContract
Symbol
}
Price(maximum: Block_Number)
Side {
Amount
Currency {
SmartContract
Symbol
}
}
}
}
}
}
Variables
{
"network": "eth",
"limit": 10,
"offset": 0,
"token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
}
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