gel_all_token_transactions
Returns DEX trades on Ethereum: sell amount, sell amount in USD, sell smart contract, buy amount, buy amount in USD, buy smart contract, sender fee in USD and from.
What it returns
- sell amount
- sell amount in USD
- sell smart contract
- buy amount
- buy amount in USD
- buy smart contract
- sender fee in USD
- from
The query
query ($address: String!) {
EVM(network: eth) {
DEXTrades(
where: {TransactionStatus: {Success: true}, any: [{Trade: {Buy: {Currency: {SmartContract: {is: $address}}}}}, {Trade: {Sell: {Currency: {SmartContract: {is: $address}}}}}]}
) {
Trade {
Sell {
Amount
AmountInUSD
Currency {
SmartContract
}
}
Buy {
Amount
AmountInUSD
Currency {
SmartContract
}
}
}
Fee {
SenderFeeInUSD
}
Transaction {
From
}
}
}
}
Variables
{"address": "0x6d551bd441fb65513c0d815747b3409c1eb56886"}
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