Querying Conflux blockchain using GraphQL APIs

Conflux launched its mainnet Tethys in Oct 2020, and today we will show you how to query the Conflux network using our GraphQL APIs.

The APIs in this article are just the tip of the iceberg, you can query any on-chain data for the Conflux network using our APIs. Besides, check out our Conflux blockchain explorer.

Conflux blocks

Let’s start simple and check the daily blocks on the Conflux network. You can use the following query for this.

As you can see, the Conflux network produced more than 5 million blocks in November.

Conflux transaction by date

Now, let’s check the number of transactions the Conflux network processing every day.

Conflux blockchain volume in USD

As we mentioned above, the Conflux blockchain launched just a few weeks before, so let’s check its USD volume.

As you can see, the volume on the network increased multifold in December. 

Conflux Gas spent by date

As shown above, Conflux processed more than 1.12 million transactions in the month of November. Let’s see how much Gas (transaction fee) was used to process these transactions.

As you can see, the total transaction fee was less than $5 for 1.12 million transactions. 

Unique smart contracts deployed on Conflux 

Conflux is a smart contract blockchain and supports Solidity. In other words, you can write Solidity smart contracts and deploy them on the Conflux network. Let’s see how many unique smart contracts are already deployed on the Conflux network. 

Top Conflux tokens based on transfer count

It’s been a month since the launch of Conflux mainnet, and there are plenty of tokens already deployed on the network. Let’s see top Conflux tokens based on the number of transfers. 

Conflux active addresses

Active addresses is one of the critical metrics to understand the growth and usage of any blockchain. So let’s see how to query active addresses on the Conflux network.

Data aggregation

Usually, we need to aggregate different properties while analyzing any dataset. For example, when querying Conflux blockchain, we might ask questions like “What is the average or median Gas fee on the blockchain.” To get this, let me show you how to perform aggregation using our GraphQL APIs. 

Conflux blockchain data and APIs

We just showed you how to get primary on-chain data for the Conflux network. Additionally, our GrpahQL APIs have comprehensive coverage for the Conflux blockchain data, and you can build more complex APIs using Bitquery IDE.

If you have any questions or building any application on the Conflux network, join our Telegram group and let us know. To learn how we are showing the charts above, read this article.

You might also be interested in:

About Bitquery

Bitquery is a set of software tools that parse, index, access, search, and use information across blockchain networks in a unified way. Our products are:

  • Digital Assets API provides index information related to all major cryptocurrencies, coins, and tokens.
  • DEX API provides real-time deposits and transactions, trades, and other related data on different DEX protocols like Uniswap, Kyber Network, Airswap, Matching Network, etc.

If you have any questions about our products, ask them on our Telegram channel or email us at hello@bitquery.io. Also, subscribe to our newsletter below, we will keep you updated with the latest in the cryptocurrency world.

Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors