Subscription Token Trades
Streams the latest 10 DEX trades on Ethereum as they happen, where block date since 2023-07-23 and block date till 2023-07-23: block time, block number, chain ID, buy currency symbol, buy smart contract, buy amount, sell currency symbol and 7 more fields.
What it returns
- block time
- block number
- chain ID
- buy currency symbol
- buy smart contract
- buy amount
- sell currency symbol
- sell smart contract
- sell amount
- protocol family
- protocol name
- protocol version
- smart contract
- transaction hash
Filters
- block date since 2023-07-23
- block date till 2023-07-23
The subscription
subscription ($network: evm_network, $limit: Int!, $offset: Int!, $from: String, $till: String) {
EVM( network: $network) {
DEXTrades(
limit: {count: $limit, offset: $offset}
where: {Block: {Date: {since: $from, till: $till}}}
orderBy: {descending: Block_Number}
) {
Block {
Time
Number
}
ChainId
Trade {
Buy {
Currency {
Symbol
SmartContract
}
Amount
}
Sell {
Currency {
Symbol
SmartContract
}
Amount
}
Dex {
ProtocolFamily
ProtocolName
ProtocolVersion
SmartContract
}
}
Transaction {
Hash
}
}
}
}
Variables
{
"network": "eth",
"limit": 10,
"offset": 0,
"from": "2023-07-23",
"till": "2023-07-23"
}
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