No DexTrades

Returns the latest DEX trades on BNB Chain, where pair smart contract is 0xCc2F…f1d6: block number, block time, buy amount, buy smart contract, buy currency symbol, buy currency name, buy decimals and 17 more fields.

By Emre A · saved 29 December 2023 · run 4 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: bsc) {
    DEXTrades(
      where: {Trade: {Dex: {Pair: {SmartContract: {is: "0xCc2FD4d968dE6f7AcBB636EECb37e4903DF1f1d6"}}}}}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Number
        Time
      }
      Trade {
        Buy {
          Amount
          Currency {
            SmartContract
            Symbol
            Name
            Decimals
          }
          Price
        }
        Sell {
          Amount
          Currency {
            SmartContract
            Symbol
            Name
            Decimals
          }
          Price
        }
        Dex {
          ProtocolVersion
          ProtocolName
          ProtocolFamily
          SmartContract
          Pair {
            Decimals
            Name
            SmartContract
            Symbol
          }
          DelegatedTo
          Delegated
          OwnerAddress
        }
      }
    }
  }
}

Similar queries