OHLC arb weth
Returns the latest 10 DEX trades by token on Arbitrum, where DEX smart contract is 0xc31e…a443, block time since 2023-08-17 and block time till 2023-08-19: chain ID, block time, sum of trade amount, trade price, decimals, currency symbol, smart contract and 4 more fields.
What it returns
- chain ID
- block time
- sum of trade amount
- trade price
- decimals
- currency symbol
- smart contract
- side decimals
- side currency symbol
- side smart contract
- count
Filters
- DEX smart contract is 0xc31e…a443
- block time since 2023-08-17
- block time till 2023-08-19
The query
{
EVM(network: arbitrum, dataset: combined) {
DEXTradeByTokens(
orderBy: {descendingByField: "Block_Time"}
where: {Trade: {Dex: {SmartContract: {is: "0xc31e54c7a869b9fcbecc14363cf510d1c41fa443"}}}, Block: {Time: {since: "2023-08-17T01:25:00Z", till: "2023-08-19T13:25:00Z"}}}
limit: {count: 10}
) {
ChainId
Block {
Time(interval: {in: minutes, count: 5})
}
volume: sum(of: Trade_Amount)
Trade {
close: Price(maximum: Block_Number)
open: Price(minimum: Block_Number)
high: Price(maximum: Trade_Price)
low: Price(minimum: Trade_Price)
Currency {
Decimals
Symbol
SmartContract
}
Side {
Currency {
Decimals
Symbol
SmartContract
}
}
}
count
}
}
}
Similar queries
- optimized query to get pools data · Ethereum · DEXTradeByTokens
- AfricaCryptoChainx · Ethereum · DEXTradeByTokens
- UniversalSearch EVM · Ethereum · DEXTradeByTokens
- without fragment · Ethereum · DEXTradeByTokens
- trade stats for a token pair on uniswap v4 arbitrum · Arbitrum · DEXTradeByTokens