Wmatic / USDT trade subscription
Streams DEX trades as they happen, where buy currency smart contract is 0x0d50…1270 and sell currency smart contract is 0xc213…8e8f: smart contract, buy buyer, buy seller, buy amount, buy amount in USD, buy currency name, buy currency symbol and 6 more fields.
What it returns
- smart contract
- buy buyer
- buy seller
- buy amount
- buy amount 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
Filters
- buy currency smart contract is 0x0d50…1270
- sell currency smart contract is 0xc213…8e8f
The subscription
subscription {
EVM {
DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"}}}, Sell: {Currency: {SmartContract: {is: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f"}}}}}
) {
Trade {
Dex {
SmartContract
}
Buy {
Buyer
Seller
Amount
AmountInUSD
Currency {
Name
Symbol
SmartContract
}
}
Sell {
Amount
AmountInUSD
Currency {
Name
Symbol
SmartContract
}
}
}
}
}
}
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