base_dex
Returns DEX trades on Base, where DEX owner address is 0x3312…FDfD and block time since 2024-06-03: buy currency symbol, buy price, sell currency symbol, sell price, smart contract, pair name, sum of trade buy amount and sum of trade sell amount.
What it returns
- buy currency symbol
- buy price
- sell currency symbol
- sell price
- smart contract
- pair name
- sum of trade buy amount
- sum of trade sell amount
Filters
- DEX owner address is 0x3312…FDfD
- block time since 2024-06-03
The query
query MyQuery {
EVM(dataset: realtime, network: base) {
DEXTrades(
where: {Trade: {Dex: {OwnerAddress: {is: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD"}}}, Block: {Time: {since: "2024-06-03T10:51:31.046Z"}}}
) {
Trade {
Buy {
Currency {
Symbol
}
High: Price(maximum: Trade_Buy_Price)
Low: Price(minimum: Trade_Buy_Price)
Open: Price(minimum: Block_Number)
Close: Price(maximum: Block_Number)
}
Sell {
Currency {
Symbol
}
High: Price(maximum: Trade_Sell_Price)
Low: Price(minimum: Trade_Sell_Price)
Open: Price(minimum: Block_Number)
Close: Price(maximum: Block_Number)
}
Dex {
Pair {
SmartContract
Name
}
}
}
volumeBuy: sum(of: Trade_Buy_Amount)
volumeSell: sum(of: Trade_Sell_Amount)
}
}
}
Similar queries
- Zora Trades For A Wallet Up To A Block · Base · DEXTrades
- dex_trade_by_tx_base · Base · DEXTrades
- base dextrades · Base · DEXTrades
- trades · Ethereum · DEXTrades
- base_aerodrome_slipstream · Base · DEXTrades