Subscription Token Trades
Streams the latest 10 DEX trades on Ethereum as they happen, where DEX protocol name is uniswap_v2: chain ID, block time, block number, transaction hash, smart contract, protocol family, protocol name and 13 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 amount
- buy amount in USD
- buy buyer
- buy seller
- sell seller
- sell amount
- sell amount in USD
- sell currency symbol
- sell smart contract
- sell currency name
Filters
- DEX protocol name is uniswap_v2
The subscription
subscription ($network: evm_network, $limit: Int!, $offset: Int!, $protocol: String) {
EVM(network: $network) {
DEXTrades(
orderBy: {descending: Block_Number}
limit: {offset: $offset, count: $limit}
where: {Trade: {Dex: {ProtocolName: {is: $protocol}}, Buy: {Currency: {Fungible: false}}}}
) {
ChainId
Block {
Time
Number
}
Transaction {
Hash
}
Trade {
Dex {
SmartContract
ProtocolFamily
ProtocolName
ProtocolVersion
}
Buy {
Currency {
Symbol
SmartContract
}
Amount
AmountInUSD
Buyer
Seller
}
Sell {
Seller
Amount
AmountInUSD
Currency {
Symbol
SmartContract
Name
}
}
}
}
}
}
Variables
{
"network": "eth",
"limit": 10,
"offset": 0,
"from": "2024-01-04",
"till": "2024-01-10",
"protocol": "uniswap_v2"
}
Similar queries
- subscription EVM · Ethereum · DEXTrades
- Stablecoin trades for etheruem · Ethereum · DEXTrades
- Realtime Uniswap V3 Trades · Ethereum · DEXTrades
- get swaps by pair address -eth -stream · Ethereum · DEXTrades
- Realtime Uniswap v1 Uniswap v2 Uniswap V3 Trades · Ethereum · DEXTrades