Latest Trades on DEX Protocol
Returns the latest 10 DEX trades on Ethereum, where DEX protocol name is uniswap_v2, block date since 2023-05-02 and block date till 2023-05-09: chain ID, block time, block number, transaction hash, smart contract, protocol family, protocol name and 15 more fields.
What it returns
- chain ID
- block time
- block number
- transaction hash
- smart contract
- protocol family
- protocol name
- protocol version
- buy currency symbol
- buy smart contract
- buy currency name
- buy price
- buy buyer
- buy seller
- buy ids
- buy uris
- sell seller
- sell amount
- sell price
- sell currency name
- sell currency symbol
- sell smart contract
Filters
- DEX protocol name is uniswap_v2
- block date since 2023-05-02
- block date till 2023-05-09
The query
query ($network: evm_network, $limit: Int!, $offset: Int!, $from: String, $till: String, $protocol: String) {
EVM(dataset: combined, network: $network) {
DEXTrades(
orderBy: {descending: Block_Number}
limit: {offset: $offset, count: $limit}
where: {Block: {Date: {since: $from, till: $till}}, Trade: {Dex: {ProtocolName: {is: $protocol}}}}
) {
ChainId
Block {
Time
Number
}
Transaction {
Hash
}
Trade {
Dex {
SmartContract
ProtocolFamily
ProtocolName
ProtocolVersion
}
Buy {
Currency {
Symbol
SmartContract
Name
}
Price
Buyer
Seller
Ids
URIs
}
Sell {
Seller
Amount
Price
Currency {
Name
Symbol
SmartContract
}
}
}
}
}
}
Variables
{
"network": "eth",
"limit": 10,
"offset": 0,
"from": "2023-05-02",
"till": "2023-05-09",
"protocol": "uniswap_v2"
}
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