Trades of an address for a currency
Returns DEX trades by token on Ethereum: trade amount, buyer, currency name, currency symbol, smart contract, seller, trade price and 8 more fields.
What it returns
- trade amount
- buyer
- currency name
- currency symbol
- smart contract
- seller
- trade price
- protocol name
- protocol version
- protocol family
- owner address
- side smart contract
- side currency symbol
- side currency name
- side buyer
The query
{
EVM(network: eth, dataset: combined) {
DEXTradeByTokens(
where: {any: [{Trade: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}, Sender: {is: "0xe70920d37052cb34c003684c216145b4d68f15fe"}}}, {Trade: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}, Buyer: {is: "0xe70920d37052cb34c003684c216145b4d68f15fe"}}}, {Trade: {Side: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}, Buyer: {is: "0xe70920d37052cb34c003684c216145b4d68f15fe"}}}}]}
) {
Trade {
Amount
Buyer
Currency {
Name
Symbol
SmartContract
}
Seller
Price
Dex {
ProtocolName
ProtocolVersion
ProtocolFamily
OwnerAddress
}
Side {
Currency {
SmartContract
Symbol
Name
}
Buyer
}
}
}
}
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens