Tokens

Tokens are digital assets that can be created and managed on blockchain platforms like Ethereum. They represent a wide range of assets, from cryptocurrencies to digital collectibles. Currently, tokens are primarily categorized into three main types:

  1. ERC20: The most common type of token, used for cryptocurrencies and utility tokens.

  2. ERC721: Non-fungible tokens (NFTs) that represent unique digital assets.

  3. ERC1155: Multi-token standard that can represent both fungible and non-fungible tokens.

ERC721 and ERC1155 are commonly used for NFTs (Non-Fungible Tokens), which represent unique digital assets such as art, collectibles, or in-game items.

ETL data class

Column Name
Data Type
Note

address

str

token_type

str

ERC20, ERC721, or ERC1155

name

str

symbol

str

decimals

int

block_number

int

total_supply

int

Examples


{
  "address": "0x0DC808ADCE2099A9F62AA87D9670745ABA741746",
  "token_type": "ERC20",
  "name": "Wrapped Ether",
  "symbol": "WETH",
  "decimals": 18,
  "block_number": 19025325,
  "total_supply": 5133665930482359665722
}

Model in the Database

Column Name
Data Type
Note

address

bytea

primary key

name

varchar

symbol

varchar

total_supply

numeric(100)

decimals

numeric(100)

token_type

varchar

ERC20, ERC721, or ERC1155

holder_count

integer

transfer_count

integer

icon_url

varchar

urls

jsonb

volume_24h

numeric(38, 2)

price

numeric(38, 6)

previous_price

numeric(38, 6)

market_cap

numeric(38, 2)

on_chain_market_cap

numeric(38, 2)

is_verified

boolean

cmc_id

integer

CoinMarketCap ID

cmc_slug

varchar

CoinMarketCap slug

gecko_id

varchar

CoinGecko ID

description

varchar

create_time

timestamp

default now()

update_time

timestamp

default now()

block_number

bigint

Examples

Last updated