gazelle trades

Returns the latest DEX trade on BNB Chain, where buy currency smart contract is 0xCE5C…216F: protocol family, protocol name, sender, buy amount, buy buyer, buy currency name, buy smart contract and 10 more fields.

By Divyasshree N · saved 7 June 2023 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: bsc, dataset: combined) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0xCE5C72a775A3e4D032Fbb08C66c8BdfA9A5d216F"}}}}}
      limit: {count: 1}
      orderBy: {descending: Block_Time}
    ) {
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Sender
        Buy {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          Price
          Seller
        }
        Sell {
          Amount
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          Price
          Seller
        }
      }
    }
  }
}

Similar queries