query sales on multiple NFTs
Returns DEX trades on Ethereum, where buy currency smart contract is 0xBC4C…f13D or 0xF5b0…cb8d and block date since 2023-01-01: buy currency name, buy smart contract and sum of trade buy amount.
What it returns
- buy currency name
- buy smart contract
- sum of trade buy amount
Filters
- buy currency smart contract is 0xBC4C…f13D or 0xF5b0…cb8d
- block date since 2023-01-01
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {in: ["0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D","0xF5b0A3eFB8e8E4c201e2A935F110eAaF3FFEcb8d"]}}}}, Block: {Date: {since: "2023-01-01"}}}
) {
Trade {
Buy {
Currency {
Name
SmartContract
}
}
}
sum(of: Trade_Buy_Amount)
}
}
}
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