TOTO Trades Control.

Returns the latest DEX trades on BNB Chain, where sell currency smart contract is 0x5854…eaae: 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 27 December 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: bsc) {
    DEXTrades(
      where: {Trade: {Sell: {Currency: {SmartContract: {is: "0x5854682292f89346f446079acb2e3b527452eaae"}}}}}
      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