Total buy sell of an NFT on opensea fixed
Returns 10 DEX trades on Ethereum, where buy currency smart contract is 0xd774…c367, transaction to is 0x0000…14dc and DEX protocol name is seaport_v1.4, sorted by count, highest first: sum of trade buy amount, count, buy currency name, buy protocol name, buy currency symbol, buy fungible and buy smart contract.
What it returns
- sum of trade buy amount
- count
- buy currency name
- buy protocol name
- buy currency symbol
- buy fungible
- buy smart contract
Filters
- buy currency smart contract is 0xd774…c367
- transaction to is 0x0000…14dc
- DEX protocol name is seaport_v1.4
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {Trade: {Dex: {ProtocolName: {in: "seaport_v1.4"}}, Buy: {Currency: {Fungible: false, SmartContract: {is: "0xd774557b647330c91bf44cfeab205095f7e6c367"}}}}, Transaction: {To: {is: "0x00000000000000adc04c56bf30ac9d3c0aaf14dc"}}}
orderBy: {descendingByField: "count"}
limit: {count: 10}
) {
tradeVol: sum(of: Trade_Buy_Amount)
count
buyer: count(distinct: Trade_Buy_Buyer)
seller: count(distinct: Trade_Buy_Seller)
nfts: count(distinct: Trade_Buy_Ids)
Trade {
Buy {
Currency {
Name
ProtocolName
Symbol
Fungible
SmartContract
}
}
}
}
}
}
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