Websocket - Token's first trade
Streams one DEX trade as they happen, where buy currency smart contract is 0x5dad…69a7, sorted by block time: buy amount, buy buyer, buy currency name, buy currency symbol, buy smart contract, buy price, buy seller and 2 more fields.
What it returns
- buy amount
- buy buyer
- buy currency name
- buy currency symbol
- buy smart contract
- buy price
- buy seller
- transaction hash
- block time
Filters
- buy currency smart contract is 0x5dad…69a7
The subscription
subscription {
EVM(trigger_on: all) {
DEXTrades(
limit: {count: 1}
orderBy: {ascending: Block_Time}
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x5dad0ffbef20409f88134834039a80bd97f269a7"}}}}}
) {
Trade {
Buy {
Amount
Buyer
Currency {
Name
Symbol
SmartContract
}
Price
Seller
}
}
Transaction {
Hash
}
Block {
Time
}
}
}
}
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