Websocket to catch transactions with specific buy currency on Ethereum network
Streams DEX trades on Ethereum as they happen, where buy currency smart contract is 0xB8c7…DD52: block time, buy amount, buy buyer, buy seller, buy price, buy price in USD, buy currency name and 13 more fields.
What it returns
- block time
- buy amount
- buy buyer
- buy seller
- buy price
- buy price in USD
- buy currency name
- buy smart contract
- buy currency symbol
- protocol family
- protocol name
- smart contract
- sell amount
- sell buyer
- sell smart contract
- sell currency symbol
- sell currency name
- sell price
- sell price in USD
- sell seller
Filters
- buy currency smart contract is 0xB8c7…DD52
The subscription
subscription {
EVM(network: eth) {
DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0xB8c77482e45F1F44dE1745F52C74426C631bDD52"}}}}}
) {
Block {
Time
}
Trade {
Buy {
Amount
Buyer
Seller
Price
PriceInUSD
Currency {
Name
SmartContract
Symbol
}
}
Dex {
ProtocolFamily
ProtocolName
SmartContract
Pair {
SmartContract
}
}
Sell {
Amount
Buyer
Currency {
SmartContract
Symbol
Name
}
Price
PriceInUSD
Seller
}
}
}
}
}
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