Bitquery<>CheaperTownHall query issue
Returns DEX trades on BNB Chain, where transaction hash is 0x2af5…21de, DEX protocol family is not FourMeme and DEX protocol name is not uniswap_v4, sorted by transaction index: block time, block number, transaction hash, transaction index, nonce, log index, smart contract and 24 more fields.
What it returns
- block time
- block number
- transaction hash
- transaction index
- nonce
- log index
- smart contract
- sender
- buy buyer
- buy amount in USD
- buy amount
- buy seller
- buy price in USD
- buy price
- buy currency name
- buy currency symbol
- buy smart contract
- buy fungible
- protocol name
- protocol version
- protocol family
- sell buyer
- sell amount in USD
- sell amount
- sell seller
- sell price in USD
- sell price
- sell currency name
- sell currency symbol
- sell smart contract
- signature name
Filters
- transaction hash is 0x2af5…21de
- DEX protocol family is not FourMeme
- DEX protocol name is not uniswap_v4
The query
{
EVM(network: bsc, mempool: false) {
DEXTrades(
orderBy: {ascending: Transaction_Index}
where: {any: [{Trade: {Buy: {AmountInUSD: {gt: "10"}}}}, {Trade: {Sell: {AmountInUSD: {gt: "10"}}}}], Trade: {Dex: {ProtocolFamily: {not: "FourMeme"}, ProtocolName: {not: "uniswap_v4"}}}, TransactionStatus: {Success: true}, Transaction: {Hash: {is: "0x2af553d2538146d2bc568b209884f4d6b0579ef467f52a275593b5a32aa721de"}}}
) {
Block {
Time
Number
}
Transaction {
Hash
Index
Nonce
}
Log {
Index
SmartContract
}
Trade {
Sender
Buy {
Buyer
AmountInUSD
Amount
Seller
PriceInUSD
Price
Currency {
Name
Symbol
SmartContract
Fungible
}
}
Dex {
SmartContract
ProtocolName
ProtocolVersion
ProtocolFamily
}
Sell {
Buyer
AmountInUSD
Amount
Seller
PriceInUSD
Price
Currency {
Name
Symbol
SmartContract
}
}
}
Call {
Signature {
Name
}
}
}
}
}
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