v2- trades
Returns DEX trades, where transaction hash is 0xdcfa…12bf: block time, block number, trade index, protocol name, protocol version, protocol family, buy amount and 9 more fields.
What it returns
- block time
- block number
- trade index
- protocol name
- protocol version
- protocol family
- buy amount
- buy amount in USD
- buy currency name
- buy currency symbol
- buy smart contract
- sell amount
- sell amount in USD
- sell currency name
- sell currency symbol
- sell smart contract
Filters
- transaction hash is 0xdcfa…12bf
The query
query MyQuery {
EVM(dataset: combined) {
DEXTrades(
where: {TransactionStatus: {Success: true}, Transaction: {Hash: {is: "0xdcfa8f5732dd98f78b0563d4b3b82ccf833109d86d378005a257587998c712bf"}}}
) {
Block {
Time
Number
}
Trade {
Index
Dex {
ProtocolName
ProtocolVersion
ProtocolFamily
}
Buy {
Amount
AmountInUSD
Currency {
Name
Symbol
SmartContract
}
}
Sell {
Amount
AmountInUSD
Currency {
Name
Symbol
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