bnb query example
Returns the latest 1000 DEX trades on BNB Chain, where transaction from is 0xC1a3…3d5c: block time, protocol name, protocol family, smart contract, buy amount, buy buyer, buy seller and 19 more fields.
What it returns
- block time
- protocol name
- protocol family
- smart contract
- buy amount
- buy buyer
- buy seller
- buy decimals
- buy fungible
- buy has URI
- buy currency name
- buy protocol name
- buy smart contract
- buy currency symbol
- buy order ID
- sell buyer
- sell seller
- sell decimals
- sell fungible
- sell has URI
- sell currency name
- sell protocol name
- sell smart contract
- sell currency symbol
- sell amount in USD
- sell amount
Filters
- transaction from is 0xC1a3…3d5c
The query
{
EVM(network: bsc, dataset: realtime) {
DEXTrades(
where: {
any: [
{Trade: {Buy: {Currency: {SmartContract: {is: "0x8b9ad5E415b78Aad213023E73f1677304Ea24444"}}}}},
{Trade: {Sell: {Currency: {SmartContract: {is: "0x8b9ad5E415b78Aad213023E73f1677304Ea24444"}}}}}],
Transaction: {From: {is: "0xC1a3F323B26aFF63BB18db0F61B49324e2583d5c"}}}
limit: {count: 1000}
orderBy: {descending: Block_Time}
) {
Block {
Time
}
Trade {
Dex {
ProtocolName
ProtocolFamily
SmartContract
}
Buy {
Amount
Buyer
Seller
Currency {
Decimals
Fungible
HasURI
Name
ProtocolName
SmartContract
Symbol
}
OrderId
}
Sell {
Buyer
Seller
Currency {
Decimals
Fungible
HasURI
Name
ProtocolName
SmartContract
Symbol
}
AmountInUSD
Amount
}
}
}
}
}
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