get swaps by pair address -eth -stream
Streams DEX trades on Ethereum as they happen, where DEX smart contract is 0x4d68…2bBD: block time, block number, transaction hash, transaction index, trade index, smart contract, protocol family and 23 more fields.
What it returns
- block time
- block number
- transaction hash
- transaction index
- trade index
- smart contract
- protocol family
- protocol name
- buy amount
- buy amount in USD
- buy buyer
- buy seller
- buy currency name
- buy smart contract
- buy fungible
- buy currency symbol
- buy decimals
- buy price
- buy price in USD
- sell amount
- sell amount in USD
- sell buyer
- sell seller
- sell currency name
- sell smart contract
- sell fungible
- sell currency symbol
- sell decimals
- sell price
- sell price in USD
Filters
- DEX smart contract is 0x4d68…2bBD
The subscription
subscription {
EVM(network: eth) {
DEXTrades(
where: {TransactionStatus: {Success: true}, Trade: {Dex: {SmartContract: {is: "0x4d68B530920D26c3b01C99fecC19e21011B72bBD"}}}}
) {
Block {
Time
Number
}
Transaction {
Hash
Index
}
Trade {
Index
Dex {
SmartContract
ProtocolFamily
ProtocolName
}
Buy {
Amount
AmountInUSD
Buyer
Seller
Currency {
Name
SmartContract
Fungible
Symbol
Decimals
}
Price
PriceInUSD
}
Dex {
SmartContract
ProtocolName
ProtocolFamily
}
Sell {
Amount
AmountInUSD
Buyer
Seller
Currency {
Name
SmartContract
Fungible
Symbol
Decimals
}
Price
PriceInUSD
}
}
}
}
}
Similar queries
- subscription EVM · Ethereum · DEXTrades
- Stablecoin trades for etheruem · Ethereum · DEXTrades
- Realtime Uniswap V3 Trades · Ethereum · DEXTrades
- Realtime Uniswap v1 Uniswap v2 Uniswap V3 Trades · Ethereum · DEXTrades
- ethereum trades subscription to get current price, Price changes, volume, buys, sells · Ethereum · DEXTrades