pl price query
Returns one DEX trade on Ethereum, where buy currency smart contract is 0xa0b8…eb48 and block time after tttt, sorted by block time: block time and buy price.
What it returns
- block time
- buy price
Filters
- buy currency smart contract is 0xa0b8…eb48
- block time after tttt
The query
{
EVM(dataset: combined, network: eth) {
min_trade: DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}}}}, Block: {Time: {after: "tttt"}}}
limit: {count: 1}
orderBy: {ascending: Block_Time}
) {
Block {
Time
}
Trade {
Buy {
Price
}
}
}
latest: DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}}}}, Block: {Time: {after: "tttt"}}}
limit: {count: 1}
orderBy: {ascending: Block_Time}
) {
Block {
Time
}
Trade {
Buy {
Price
}
}
}
}
}
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