tobias
Streams DEX trades on Ethereum as they happen, where DEX smart contract is 0xa43f…ec9f: buy amount, buy amount in USD, buy price in USD, buy currency name, buy currency symbol, buy smart contract, sell amount and 7 more fields.
What it returns
- buy amount
- buy amount in USD
- buy price 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
- sell price in USD
- smart contract
- transaction hash
Filters
- DEX smart contract is 0xa43f…ec9f
The subscription
subscription ($network: evm_network, $address: String!) {
EVM(network: $network) {
DEXTrades(where: {Trade: {Dex: {SmartContract: {is: $address}}}}) {
Trade {
Buy {
Amount
AmountInUSD
PriceInUSD
Currency {
Name
Symbol
SmartContract
}
}
Sell {
Amount
AmountInUSD
Currency {
Name
Symbol
SmartContract
}
PriceInUSD
}
Dex {
SmartContract
}
}
Transaction {
Hash
}
}
}
}
Variables
{
"network": "eth",
"address": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f"
}
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