Trades of token on pancake v3

Returns the latest 100 DEX trades on BNB Chain, where block date since 2024-08-01: smart contract, protocol name, protocol version, buy amount, buy amount in USD, buy buyer, buy currency name and 14 more fields.

By gaurav · saved 8 October 2024 · run 5 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: bsc) {
    DEXTrades(
      orderBy: {descending: Block_Time}
      limit: {count: 100}
      where: {Block: {Date: {since: "2024-08-01"}}, any: [{Trade: {Buy: {Currency: {SmartContract: {is: "0xcac007926755e2675e201223f7d4d68c74fd3439"}}}}}, {Trade: {Sell: {Currency: {SmartContract: {is: "0xcac007926755e2675e201223f7d4d68c74fd3439"}}}}}]}
    ) {
      Trade {
        Dex {
          SmartContract
          ProtocolName
          ProtocolVersion
        }
        Buy {
          Amount
          AmountInUSD
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          Seller
          Price
          PriceInUSD
        }
        Sell {
          Amount
          AmountInUSD
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          Seller
          Price
          PriceInUSD
        }
      }
    }
  }
}

Similar queries