Dextrades 2

Pancake Pool's volume for a date

Returns one DEX trade on Ethereum and BNB Chain, where smart contract address is 0xc781…354e, date since 2022-03-30 and date till 2022-03-31, sorted by block height transaction index, highest first: count, trade amount, date date, full name, exchange name, full name with ID, base currency symbol and 19 more fields.

By edinson · saved 31 March 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
   ethereum (network: bsc){
    dexTrades( options: {desc: "count"},
      smartContractAddress: 
      {is:"0xc78153b15ccc931205c62af311aebbb9751d354e"},
      date: {since:"2022-03-30", till: "2022-03-31"}
    ) {
      count
      tradeAmount(in:USD)
    }
    dexTrades(
      smartContractAddress: {is: "0xc78153b15ccc931205c62af311aebbb9751d354e"}
      options: {desc: ["block.height", "transaction.index"], limit: 1}
      
    ) {
      date {
              date
            }
            exchange {
              fullName
              name
              fullNameWithId
            }
            baseCurrency {
              symbol
              name
              decimals
              tokenType
              address
            }
            quoteCurrency {
              symbol
              name
              decimals
              address
            }
            transaction {
              index
            }
            block {
              height
              timestamp {
                time(format: "%Y-%m-%d %H:%M:%S")
              }
            }
            trades: count
            tradeAmount(in: USD)
            sellAmount(in: USD)
            buyAmount(in: USD)
            tradeIndex
            volume: quoteAmount
            maximum_price: quotePrice(calculate: maximum)
            minimum_price: quotePrice(calculate: minimum)
            open_price: minimum(of: block, get: quote_price)
            close_price: maximum(of: block, get: quote_price)
            baseAmount
            side
            quotePrice
    }
  }
}

Similar queries