trades for a transaction

Returns 100 DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4c…095c, quote currency is 0xe9e7…7d56 and tx hash is 0x8615…85ca: base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount, quote price and 2 more fields.

By gaurav · saved 14 April 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 100}
      time: {since: "2022-04-12T08:32:00Z", till: "2022-04-12T08:33:00Z"}
      exchangeName: {is: "Pancake v2"}
      baseCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      txHash: {is: "0x86151ecce8356e0ff61dd9063d772a051b16c308cec29b3f4eaf8fb4e43485ca"}
    ) {
      baseCurrency {
        symbol
        address
      }
      baseAmount
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      quotePrice
			tradeIndex
      transaction{
        hash
        
      }
      
    }
  }
}

Similar queries