Price of token against USDT in pool of PancakeSwap v2 in BSC

Returns the latest DEX trade on BNB Chain, where sell currency smart contract is 0x55d3…7955, DEX smart contract is 0x11c4…12dc and DEX owner address is 0xca14…0c73: block time, transaction hash, transaction index, buy amount, buy seller, buy price, buy currency name and 16 more fields.

By Vishal · saved 24 May 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: bsc) {
    DEXTrades(
      limit: {count: 1}
      where: {Trade: {Sell: {Currency: {SmartContract: {is: "0x55d398326f99059ff775485246999027b3197955"}}}, Dex: {SmartContract: {is: "0x11c468c077cb597775e73633dfc7233c876312dc"}, OwnerAddress: {is: "0xca143ce32fe78f1f7019d7d551a6402fc5350c73"}}, Buy: {Currency: {SmartContract: {is: "0x82f516f960b428c0a31f1f127057eec3e03effd3"}}}}, Block: {Date: {is: "2024-05-24"}}}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
        Index
      }
      Trade {
        Buy {
          Amount
          Seller
          Price
          Currency {
            Name
            SmartContract
          }
          Buyer
          PriceInUSD
        }
        Dex {
          ProtocolName
          OwnerAddress
          SmartContract
          Pair {
            Name
            SmartContract
            Symbol
          }
          ProtocolFamily
        }
        Sell {
          Amount
          Buyer
          Seller
          Price
          Currency {
            Name
            SmartContract
          }
          PriceInUSD
        }
      }
    }
  }
}

Similar queries