subs all trades
Streams the latest DEX trades by token on Ethereum as they happen: block time, transaction hash, buyer, seller, trade amount, amount in USD, price in USD and 15 more fields.
What it returns
- block time
- transaction hash
- buyer
- seller
- trade amount
- amount in USD
- price in USD
- currency symbol
- smart contract
- currency name
- decimals
- side type
- side currency symbol
- side smart contract
- side currency name
- side decimals
- side amount in USD
- side amount
- protocol family
- protocol name
- delegated
- delegated to
The subscription
subscription getTokensTrades(
$network: evm_network!
) {
EVM(network: $network) {
DEXTradeByTokens(
orderBy: { descending: Block_Time }
where: {
Trade: { Success: true }
}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
Buyer
Seller
Amount
AmountInUSD
PriceInUSD
Currency {
Symbol
SmartContract
Name
Decimals
}
Side {
Type
Currency {
Symbol
SmartContract
Name
Decimals
}
AmountInUSD
Amount
}
Dex {
ProtocolFamily
ProtocolName
Delegated
DelegatedTo
}
}
}
}
}
Variables
{
"network": "ethereum"
}
Similar queries
- Stablecoin Depeg tracking Stream for evm · Ethereum · DEXTradeByTokens
- realtime trades EVM -subscription · Ethereum · DEXTradeByTokens
- EVM chain currency details stream · Ethereum · DEXTradeByTokens
- Real time price stream for tokens on Ethereum · Ethereum · DEXTradeByTokens
- Top Bought/Sold/Trending/Volatility Tokens on Eth · Ethereum · DEXTradeByTokens