new Base stream
Streams 500 DEX trades by token on Base as they happen, where side currency smart contract is not 0x4200…0006 or 0x8335…2913 and side type is sell, sorted by block time: block time, block number, trade amount, amount in USD, buyer, seller, price in USD and 16 more fields.
What it returns
- block time
- block number
- trade amount
- amount in USD
- buyer
- seller
- price in USD
- currency symbol
- smart contract
- currency name
- protocol name
- side amount
- side amount in USD
- side buyer
- side seller
- side type
- side currency symbol
- side smart contract
- from
- transaction hash
- transaction type
- to
- success
Filters
- side currency smart contract is not 0x4200…0006 or 0x8335…2913
- side type is sell
The subscription
subscription {
buybot_base: EVM(network: base) {
DEXTradeByTokens(
orderBy: {ascending: Block_Time}
where: {TransactionStatus: {Success: true}, Trade: {Side: {Type: {is: sell}, Currency: {SmartContract: {notIn: ["0x4200000000000000000000000000000000000006", "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"]}}}}}
limit: {count: 500}
) {
Block {
Time
Number
}
Trade {
Amount
AmountInUSD
Buyer
Seller
PriceInUSD
Currency {
Symbol
SmartContract
Name
}
Dex {
ProtocolName
SmartContract
}
Side {
Amount
AmountInUSD
Buyer
Seller
Type
Currency {
Symbol
SmartContract
}
}
}
Transaction {
Maker: From
Hash
Type
To
}
TransactionStatus {
Success
}
}
}
}
Similar queries
- base DexTradeByTokens · Base · DEXTradeByTokens
- Development Talk base query · Base · DEXTradeByTokens
- BASE ALL BUY · Base · DEXTradeByTokens
- base all dextrades · Base · DEXTradeByTokens
- base dextrades for a particular token · Base · DEXTradeByTokens