filter_failed_txn
latest trades for a token - both buy and sell
Returns the latest DEX trades on Ethereum, where pair smart contract is 0xde82…f105 and DEX protocol name is uniswap_v2 or uniswap_v3: protocol name, buy currency name, buy smart contract, buy amount, buy price, sell currency name, sell smart contract and 7 more fields.
What it returns
- protocol name
- buy currency name
- buy smart contract
- buy amount
- buy price
- sell currency name
- sell smart contract
- sell amount
- sell price
- transaction hash
- from
- transaction index
- block number
- block time
Filters
- pair smart contract is 0xde82…f105
- DEX protocol name is uniswap_v2 or uniswap_v3
The query
{
EVM(network: eth, dataset: combined) {
DEXTrades(
where: {Trade: {Dex: {ProtocolName: {in: ["uniswap_v2", "uniswap_v3"]}, Pair: {SmartContract: {is: "0xde824e9f7d4728fadf93f25c6bdd7537b67df105"}}}}, TransactionStatus: {Success: true}}
orderBy: {descending: Block_Number, descendingByField: "Transaction_Index"}
) {
Trade {
Dex {
ProtocolName
}
Buy {
Currency {
Name
SmartContract
}
Amount
Price
}
Sell {
Currency {
Name
SmartContract
}
Amount
Price
}
}
Transaction {
Hash
From
Index
}
Block {
Number
Time
}
}
}
}
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