# Bitquery Builder

**URL:** https://community.bitquery.io/t/bitquery-builder/455
**Category:** GraphQL Tutorials
**Tags:** builder, graphql-ide
**Created:** [August 31, 2021, 12:25pm UTC](https://community.bitquery.io/t/bitquery-builder/455 "2021-08-31T12:25:49Z")
**Posts on this page:** 1
**Page:** 1

<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 31, 2021, 12:25pm UTC](https://community.bitquery.io/t/bitquery-builder/455/1 "2021-08-31T12:25:49Z")

</div>

# The Bitquery Builder

The ‘Builder’ makes the whole process of querying data from the blockchain network pretty easy. As long as you are sure about what information you need to extract, writing queries is a hassle-free task.

# Getting Started

The first step is to select the blockchain whose information you require. We provide support for blockchains like Bitcoin, Binance, Ethereum, Cardano, Tron, Diem, Hedera among many others.

Once you select the blockchain network, you’ll be presented with a number of options like the address, blocks, [coinpath](https://bitquery.io/products/coinpath), transactions, transfers, smartContractCalls, [DEX](https://bitquery.io/products/dex) etc. depending on the blockchain network you use. All these options are written in blue and their sub-options are written in purple for distinction and clarity.

> **Remember, the options written in purple are used for filtering your GraphQL query while the blue ones are the values that can be obtained and queried.**

Let’s start by taking an example. Let try to create a query to

# Get the token pairs when liquidity is added (in PancakeSwap)

Check this video where the **BITQUERY BUILDER** has been put into use in order to obtain the **block height** and **argument value** of a **MINT** smart contract event on a given smart contract address. Here, the smart contract address is **0x1b96b92314c44b159149f7e0303511fb2fc4774f**.

[![](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/19509d76e9da6a693e45db705cc7e4d03acc467f.jpeg "Query to get the token pairs when liquidity is added") ](https://www.youtube.com/watch?v=R2193mOmMak)

```auto

```

As visible in the video, all you need to do is select the desired parameters regarding which you want the information and then simply run the query by clicking on the green arrow in the middle of the screen as shown here.

 ![community-forum-use-2](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/3d939be10b46c76b299809ead241222d7b301bd0.png)

The GraphQL query used in the above example.

> **[token pairs when liquidity is added - Blockchain Data API](https://ide.bitquery.io/9L1IwSKr11)**
>
> Bitquery is analytical engine for blockchains

Let’s take another example, but this time to

# Find out the monthly trade volume of Uniswap V3

In this video, the monthly trade volume of the Uniswap V3 protocol has been shown made using the **BITQUERY BUILDER**.

[![](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/3ba3c60fe4e77ab9cd3632a4d9b09496d27f7d86.jpeg "Monthly trade volume of Uniswap V3") ](https://www.youtube.com/watch?v=bD1e48rO9C8)

Here also we’ve simply selected the fields regarding which we wanted to make a query and ran it in the builder. If you notice that the monthly trade amount of **Uniswap v3** since the month of July 2021 is over 26 billion and increasing as shown in the below bar graph.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/3d984d730f5d044ea31e4e8ddc977e3ed7495f6c.png)

While on contrary to the monthly trade amount of **One Inch Liquidity Pool** since the month of July 2021 is just 400 million with a sharp decrease in the upcoming months as shown in the bar graph below.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/9a8ecc5e0c5b8f062f426533db54b143f1a66683.png)

The GraphQL query used in the above example is as follows.

> **[monthly trade volume of Uniswap V3 - Blockchain Data API](https://ide.bitquery.io/LTJbLHkVwU)**
>
> Bitquery is analytical engine for blockchains

In the next query, we’ll see

# The Latest DEX trades of Uniswap v2

Check out this video, where using the **BITQUERY BUILDER** the latest DEX trades of the Uniswap v2 protocol has been made in the [Bitquery GraphQL IDE](https://graphql.bitquery.io/ide). The **buyCurrency** data along with the **sellCurrency** data is queried for Uniswap v2 protocol.

[![](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/6ff6d240018d3b4c9ba0bc12544a41a3a11e4a1c.jpeg "Latest trades for DEX trades’ “Uniswap v2” protocol") ](https://www.youtube.com/watch?v=sXWKkai6gy0)

Notice, that some fields like **buyCurrency** and **sellCurrency** require additional details in order to function as shown below. You will be able to see the available fields which can be queried.

```auto
buyCurrency { 
    symbol 
    address 
} 

```

The GraphQL query used in this example is

> **[DEX Trades in Uniswap V2 protocol - Blockchain Data API](https://ide.bitquery.io/plvikNR23k)**
>
> Bitquery is analytical engine for blockchains
