TOTO Trades Control.

Returns the latest DEX trades on BNB Chain, where sell currency smart contract is 0x8f89…3ed2: 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: "0x8f8941921b4eb7d0a13ca620298667b7b4ac3ed2"}}}}}
      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