ATNLV Q1
Query 1
Streams DEX trades on Ethereum as they happen, where DEX owner address is 0x1f98…f984 or 0x5c69…aa6f: block number, block time, from, to, transaction hash, transaction index, transaction type and 24 more fields.
What it returns
- block number
- block time
- from
- to
- transaction hash
- transaction index
- transaction type
- delegated
- delegated to
- owner address
- decimals
- pair name
- smart contract
- protocol family
- protocol name
- protocol version
- buy amount
- buy buyer
- buy currency name
- buy currency symbol
- buy smart contract
- buy seller
- buy price
- sell amount
- sell buyer
- sell currency name
- sell smart contract
- sell currency symbol
- sell seller
- sell price
- success
Filters
- DEX owner address is 0x1f98…f984 or 0x5c69…aa6f
The subscription
subscription {
ethereum: EVM(network: eth) {
buyside: DEXTrades(
where: {Trade: {Dex: {
OwnerAddress: {in: ["0x1f98431c8ad98523631ae4a59f267346ea31f984", "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f"]}
}}}
) {
Block {
Number
Time
}
Transaction {
From
To
Hash
Index
Type
}
Trade {
Dex {
Delegated
DelegatedTo
OwnerAddress
Pair {
Decimals
Name
SmartContract
}
ProtocolFamily
ProtocolName
ProtocolVersion
SmartContract
}
Buy {
Amount
Buyer
Currency {
Name
Symbol
SmartContract
}
Seller
Price
}
Sell {
Amount
Buyer
Currency {
Name
SmartContract
Symbol
}
Seller
Price
}
}
TransactionStatus {
Success(selectWhere: true)
}
}
}
}
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