# Ethereum-\>dexTrades-\>side is not working

**URL:** <https://community.bitquery.io/t/ethereum-dextrades-side-is-not-working/376>\
**Category:** GraphQL API\
**Tags:** bug, closed\
**Created:** [August 3, 2021, 5:09am UTC](https://community.bitquery.io/t/ethereum-dextrades-side-is-not-working/376 "2021-08-03T05:09:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pshenmic](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pshenmic](https://community.bitquery.io/u/pshenmic)\
**Post date:** [August 3, 2021, 5:09am UTC](https://community.bitquery.io/t/ethereum-dextrades-side-is-not-working/376/1 "2021-08-03T05:09:02Z")

</div>

Hey there! I cant get the side of the trades when querying BigQuery. It errors with two different error. Tickets on main website is not working apparently. Have anyone faced this before?

 ![Screenshot from 2021-08-03 12-03-05](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/53dfe322d18d358e7d17132405444749deb8b54d.png)

---

<div class="post-metadata">

**Author:** ![pshenmic](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pshenmic](https://community.bitquery.io/u/pshenmic)\
**Post date:** [August 3, 2021, 5:09am UTC](https://community.bitquery.io/t/ethereum-dextrades-side-is-not-working/376/2 "2021-08-03T05:09:35Z")

</div>

![Screenshot from 2021-08-03 11-44-49](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/056f0010f8638e27a9223f38ff5b94a71435fa90.png)

---

<div class="post-metadata">

**Author:** ![sayon](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sayon](https://community.bitquery.io/u/sayon)\
**Post date:** [August 3, 2021, 7:58am UTC](https://community.bitquery.io/t/ethereum-dextrades-side-is-not-working/376/3 "2021-08-03T07:58:51Z")

</div>

Can you send the query here?

---

<div class="post-metadata">

**Author:** ![pshenmic](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@pshenmic](https://community.bitquery.io/u/pshenmic)\
**Post date:** [August 3, 2021, 10:40am UTC](https://community.bitquery.io/t/ethereum-dextrades-side-is-not-working/376/4 "2021-08-03T10:40:06Z")

</div>

For example,

```auto
 {
        ethereum(network: bsc) {
          dexTrades(
            options: {limit: 10}
          ) {
            side
            transaction {
              hash
            }
          }
        }
      }

```

---

<div class="post-metadata">

**Author:** ![sayon](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sayon](https://community.bitquery.io/u/sayon)\
**Post date:** [August 3, 2021, 5:30pm UTC](https://community.bitquery.io/t/ethereum-dextrades-side-is-not-working/376/5 "2021-08-03T17:30:24Z")

</div>

You can only use **side** param when you are querying the Trade details of a particular token pair like the query below.

```auto
{
  ethereum(network: bsc) {
    dexTrades(
      options: {desc: "tradeAmount", limit: 50}
      baseCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
      buyCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
      time: {
        since: "2021-08-02T12:17:00", 
        till: "2021-08-02T23:59:59"
      }
    ) {
      exchange {
        fullName
      }
      smartContract {
        address {
          address
        }
      }
      buyCurrency {
        symbol
        address
      }
      sellCurrency {
        symbol
        address
      }
      tradeAmount(in: USD)
      trades_count: count
      side
    }
  }
}

```
