How to get newly created Ethereum Tokens?
Tags: product, tutorial, bitqueryapis
Published: 2020-10-14 09:36:56

---
title: How to get newly created Ethereum Tokens?
published: true
date: 2020-10-06 05:12:04 UTC
tags: Product,Tutorial,bitqueryapis
canonical_url: https://bitquery.io/blog/newly-created-etheruem-token?utm_source=rss&utm_medium=rss&utm_campaign=newly-created-etheruem-token
---

Anyone can create different types of tokens using Etheruem smart contracts. At the time of writing this article, more than 112,373 different tokens were already created on the Ethereum blockchain using [ERC20](https://bloxy.info/list_tokens/ERC20), [ERC721](https://bloxy.info/list_tokens/ERC721), [ERC223](https://bloxy.info/list_tokens/ERC223), [ERC827](https://bloxy.info/list_tokens/ERC827) standards.

Ethereum users create more than 100 tokens on an average day. This data can help you to get early access to new projects, which can 

This article will show you how to get newly created Ethereum tokens using a simple GraphQL query.

The following query provides all the newly created token for ERC20, ERC721, ERC223, ERC827 standards. It means whenever a new smart contract of this standard is deployed, our database index those smart contract as Tokens.

You can run the given query, our [Bitquery GraphQL editor](https://graphql.bitquery.io/). ([https://graphql.bitquery.io/](https://graphql.bitquery.io/))

## Newly created Ethereum Tokens

```
{
 ethereum {
 smartContractCalls(options: {desc: "block.height", limit: 10}, 
 smartContractMethod: {is: "Contract Creation"}, 
 smartContractType: {is: Token}) {
 block {
 height
 timestamp {
 time
 }
 }
 smartContract {
 contractType
 address {
 address
 annotation
 }
 currency {
 name
 symbol
 decimals
 tokenType
 }
 }
 }
 }
}
```

[Here](https://gist.github.com/buddies2705/33ada862f305a9f4d0145298f96aa564) is the Github gist for the above query. Besides, the above GraphQL query can be used as an API.

## **Results**

Here is how results look like when you run the following query.

```
{
 "data": {
 "ethereum": {
 "smartContractCalls": [
 {
 "block": {
 "height": 10999795,
 "timestamp": {
 "time": "2020-10-06 03:36:28"
 }
 },
 "smartContract": {
 "contractType": "Token",
 "address": {
 "address": "0xc5ffbdce0a51b96f3df227b48245389d4c3ed833",
 "annotation": null
 },
 "currency": {
 "name": "MachiX Dao Shares",
 "symbol": "MACHIXDAO",
 "decimals": 18,
 "tokenType": "ERC20"
 }
 }
 },
 {
 "block": {
 "height": 10998520,
 "timestamp": {
 "time": "2020-10-05 22:47:49"
 }
 },
 "smartContract": {
 "contractType": "Token",
 "address": {
 "address": "0x6065651e64e94e3148490ab56027034aebb3fe86",
 "annotation": null
 },
 "currency": {
 "name": "ydex.finance",
 "symbol": "YDEX",
 "decimals": 18,
 "tokenType": "ERC20"
 }
 }
 },
 {
 "block": {
 "height": 10998232,
 "timestamp": {
 "time": "2020-10-05 21:38:47"
 }
 },
 "smartContract": {
 "contractType": "Token",
 "address": {
 "address": "0x02413c345233f06963cf86c642f5f41f3a189c16",
 "annotation": null
 },
 "currency": {
 "name": "Gifts by Adam Priester",
 "symbol": "GIFTSBYADAMPRIESTER",
 "decimals": 0,
 "tokenType": "ERC721"
 }
 }
 }
```

As you can see above query provide the token details and also the token standard types. 

You can tweak the query to get more details or filter the results based on your needs. Besides, you can also add a data time filter if you want.

Here is an example:

```
{
 ethereum {
 smartContractCalls(options: {desc: "block.height", limit: 10}, 
 date:{since: "2020-10-01", till: "2020-10-31"},
 smartContractMethod: {is: "Contract Creation"}, 
 smartContractType: {is: Token}) {
 block {
 height
 timestamp {
 time
 }
 }
 smartContract {
 contractType
 address {
 address
 annotation
 }
 currency {
 name
 symbol
 decimals
 tokenType
 }
 }
 }
 }
}
```

Let us know how you plan to use this API. If you have any questions, you can ask them on our [Telegram channel](https://t.me/Bloxy_info). Also, let us know if you are looking for blockchain data APIs.

You might also be interested in:

- [API to get Ethereum Smart Contract Events](https://bitquery.io/blog/ethereum-events-api)
- [Why GraphQL is better for blockchain data APIs](https://bitquery.io/blog/blockchain-graphql)
- [APIs to get Latest Uniswap Pair Listing](https://bitquery.io/blog/uniswap-pool-api)
- [Simple rest APIs to get Uniswap data (DEX Data APIs)](https://bitquery.io/blog/dex-data-apis)
- [API to Get Ethereum Token Balance](https://bitquery.io/blog/etheruem-token-api)
- [Simple API To Get Ethereum Supply And Data](https://bitquery.io/blog/get-ethereum-total-supply)
- [Who is actually using Ethereum?](https://bitquery.io/blog/who-is-actually-using-ethereum)

#### **About** Bitquery

[**Bitquery**](https://bitquery.io/?source=blog&utm_medium=about_coinpath) is a set of software tools that parse, index, access, search, and use information across blockchain networks in a unified way. Our products are:

- **[Coinpath®](https://bitquery.io/products/coinpath?utm_source=blog) APIs** provide [blockchain money flow analysis](https://blog.bitquery.io/coinpath-blockchain-money-flow-apis) for more than 24 blockchains. With Coinpath’s APIs, you can monitor blockchain transactions, investigate crypto crimes such as bitcoin money laundering, and create crypto forensics tools. Read [this to get started with Coinpath®](https://blog.bitquery.io/coinpath-api-get-start).

- **[Digital Assets API](https://bitquery.io/products/digital_assets?utm_source=blog&utm_medium=about)** provides index information related to all major cryptocurrencies, coins, and tokens. 

- **[DEX API](https://bitquery.io/products/dex?utm_source=blog&utm_medium=about)** 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](https://t.me/Bloxy_info) or email us at [hello@bitquery.io](mailto:hello@bitquery.io). Also, subscribe to our newsletter below, we will keep you updated with the latest in the cryptocurrency world.

The post [How to get newly created Ethereum Tokens?](https://bitquery.io/blog/newly-created-etheruem-token) appeared first on [Bitquery](https://bitquery.io).