Latest buys and sells for a four meme coin
Returns the latest DEX trades on BNB Chain, where buy currency smart contract is 0x9b48…0d40, sell currency smart contract is 0x9b48…0d40 and DEX protocol name is fourmeme_v1: block time, buy amount, buy buyer, buy price, buy price in USD, buy seller, sell currency name and 10 more fields.
What it returns
- block time
- buy amount
- buy buyer
- buy price
- buy price in USD
- buy seller
- sell currency name
- sell currency symbol
- sell smart contract
- buy currency name
- buy currency symbol
- buy smart contract
- sell amount
- sell buyer
- sell price
- sell price in USD
- sell seller
Filters
- buy currency smart contract is 0x9b48…0d40
- sell currency smart contract is 0x9b48…0d40
- DEX protocol name is fourmeme_v1
The query
query MyQuery($currency: String) {
EVM(network: bsc, dataset: combined) {
buys: DEXTrades(
where: {
Trade: {
Buy: {Currency: {SmartContract: {is: $currency}}},
Success: true,
Dex: {ProtocolName: {is: "fourmeme_v1"}}
}
}
orderBy: {descending: Block_Time}
) {
Block {
Time
}
Trade {
Buy {
Amount
Buyer
Price
PriceInUSD
Seller
}
Sell {
Currency {
Name
Symbol
SmartContract
}
}
}
}
sells: DEXTrades(
where: {
Trade: {
Sell: {Currency: {SmartContract: {is: $currency}}},
Success: true,
Dex: {ProtocolName: {is: "fourmeme_v1"}}
}
}
orderBy: {descending: Block_Time}
) {
Block {
Time
}
Trade {
Buy {
Currency {
Name
Symbol
SmartContract
}
}
Sell {
Amount
Buyer
Price
PriceInUSD
Seller
}
}
}
}
}
Variables
{
"currency": "0x9b48a54bcce09e59b0479060e9328ab7dbdb0d40"
}
Similar queries
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades
- Top DODO liquidity pools by 24h volume on BSC · BNB Chain · DEXTrades
- trades · Ethereum · DEXTrades
- metric_v1_bsc · BNB Chain · DEXTrades
- bsc_tessera · BNB Chain · DEXTrades