All sell buys of an NFT on opensea
Returns 10 DEX trades on Ethereum, where buy currency smart contract is 0x4ebb…b95a, transaction to is 0x0000…14dc and sell currency smart contract is 0x4ebb…b95a: sum of trade buy amount, count, buy currency name, buy protocol name, buy currency symbol, buy fungible, buy smart contract and 6 more fields.
What it returns
- sum of trade buy amount
- count
- buy currency name
- buy protocol name
- buy currency symbol
- buy fungible
- buy smart contract
- sum of trade sell amount
- sell currency name
- sell protocol name
- sell currency symbol
- sell fungible
- sell smart contract
Filters
- buy currency smart contract is 0x4ebb…b95a
- transaction to is 0x0000…14dc
- sell currency smart contract is 0x4ebb…b95a
- DEX protocol name is seaport_v1.4
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
buys: DEXTrades(
where: {Trade: {Dex: {ProtocolName: {in: "seaport_v1.4"}}, Buy: {Currency: {SmartContract: {is: "0x4ebb2384cc1e86f578e37f2057b336b9027cb95a"}}}}, Transaction: {To: {is: "0x00000000000000adc04c56bf30ac9d3c0aaf14dc"}}}
limit: {count: 10}
) {
tradeVolbuy: sum(of: Trade_Buy_Amount)
count
buyers: count(distinct: Trade_Buy_Buyer)
nfts: count(distinct: Trade_Buy_Ids)
Trade {
Buy {
Currency {
Name
ProtocolName
Symbol
Fungible
SmartContract
}
}
}
}
sells: DEXTrades(
where: {Trade: {Dex: {ProtocolName: {in: "seaport_v1.4"}}, Sell: {Currency: {SmartContract: {is: "0x4ebb2384cc1e86f578e37f2057b336b9027cb95a"}}}}, Transaction: {To: {is: "0x00000000000000adc04c56bf30ac9d3c0aaf14dc"}}}
limit: {count: 10}
) {
tradeVolsell: sum(of: Trade_Sell_Amount)
count
sellers: count(distinct: Trade_Sell_Seller)
nfts: count(distinct: Trade_Sell_Ids)
Trade {
Sell {
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