subscription EVM
Streams DEX trades on Ethereum as they happen, where DEX owner address is 0x5c69…aa6f or 0x1f98…f984: block time, protocol name, smart contract, protocol family, owner address, buy amount, buy buyer and 27 more fields.
What it returns
- block time
- protocol name
- smart contract
- protocol family
- owner address
- buy amount
- buy buyer
- buy seller
- buy decimals
- buy fungible
- buy has URI
- buy currency name
- buy protocol name
- buy smart contract
- buy currency symbol
- buy price
- buy price in USD
- sell buyer
- sell seller
- sell decimals
- sell fungible
- sell has URI
- sell currency name
- sell protocol name
- sell smart contract
- sell currency symbol
- sell price
- sell price in USD
- sell amount
- from
- transaction hash
- success
- fault error
- end error
Filters
- DEX owner address is 0x5c69…aa6f or 0x1f98…f984
The subscription
subscription {
EVM(network: eth) {
DEXTrades(where: {Trade: {Dex: {OwnerAddress: {in: ["0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f", "0x1f98431c8ad98523631ae4a59f267346ea31f984"]}}}}) {
Block {
Time
}
Trade {
Dex {
ProtocolName
SmartContract
ProtocolFamily
OwnerAddress
}
Buy {
Amount
Buyer
Seller
Currency {
Decimals
Fungible
HasURI
Name
ProtocolName
SmartContract
Symbol
}
Price
PriceInUSD
}
Sell {
Buyer
Seller
Currency {
Decimals
Fungible
HasURI
Name
ProtocolName
SmartContract
Symbol
}
Price
PriceInUSD
Amount
}
}
Transaction {
From
Hash
}
TransactionStatus {
Success
FaultError
EndError
}
}
}
}
Similar queries
- 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
- Latest BSC PancakeSwap v3 dextrades - Stream · Ethereum · DEXTrades