buy trades of a specific token for a specific wallet
Returns DEX trades on Ethereum, where sell buyer is 0x417B…2fAd and sell currency smart contract is 0xcf0c…6a2e: block time, protocol name, protocol family, buy amount in USD, buy amount, buy buyer, buy currency name and 15 more fields.
What it returns
- block time
- protocol name
- protocol family
- buy amount in USD
- buy amount
- buy buyer
- buy currency name
- buy smart contract
- buy currency symbol
- buy seller
- buy price in USD
- buy price
- sell price in USD
- sell price
- sell amount in USD
- sell amount
- sell buyer
- sell currency name
- sell protocol name
- sell currency symbol
- sell seller
- transaction hash
Filters
- sell buyer is 0x417B…2fAd
- sell currency smart contract is 0xcf0c…6a2e
The query
query MyQuery {
EVM(network: eth, dataset: realtime) {
DEXTrades(
where: {Trade: {Sell: {Buyer: {is: "0x417B03A9A2Fe39cC4543057bE3509EBA77a92fAd"}, Currency: {SmartContract: {is: "0xcf0c122c6b73ff809c693db761e7baebe62b6a2e"}}}}, TransactionStatus: {Success: true}}
) {
Block {
Time
}
Trade {
Dex {
ProtocolName
ProtocolFamily
}
Buy {
AmountInUSD
Amount
Buyer
Currency {
Name
SmartContract
Symbol
}
Seller
PriceInUSD
Price
}
Sell {
PriceInUSD
Price
AmountInUSD
Amount
Buyer
Currency {
Name
ProtocolName
Symbol
}
Seller
}
}
Transaction {
Hash
}
}
}
}
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