Tables

Token Transfers
The stablecoin_transfers table is the foundational dataset for all of our analysis. It is populated by querying blockchain logs for Transfer events. The table is partitioned by block_timestamp and clustered by chain and stablecoin_address to optimize query performance.
ColumnTypeDescription
block_numberINT64Block number where the transfer occurred
block_hashSTRINGHash of the block containing the transfer transaction
block_timestampTIMESTAMPTimestamp when the block was mined
transaction_hashSTRINGHash of the transaction containing the transfer
transaction_indexINT64Index of the transaction within the block
log_indexINT64Index of the log/event within the transaction
chainSTRINGBlockchain network where the transfer occurred
stablecoin_addressSTRINGContract address of the stablecoin token
from_addressSTRINGAddress that sent the stablecoin tokens
to_addressSTRINGAddress that received the stablecoin tokens
amountNUMERICAmount of stablecoin tokens transferred (in the token's base unit)
Daily Metrics
The daily_metrics table is a materialized view of the token transfers table, providing a summary of daily activity for each stablecoin. This pre-aggregated data allows for fast retrieval of daily statistics without needing to re-query the entire stablecoin_transfers table.
ColumnTypeDescription
transfer_dateDATEThe date of the stablecoin transfer activity.
chainSTRINGThe blockchain network where the transfers occurred.
stablecoin_addressSTRINGThe contract address of the stablecoin.
daily_transfer_volumeBIGNUMERICThe total volume of stablecoin transferred on a given day.
daily_transfer_countINT64The total number of stablecoin transfers on a given day.
daily_unique_txn_countINT64The count of unique transaction hashes involving stablecoin transfers on a given day.
daily_unique_sendersINT64The count of unique sender addresses for stablecoin transfers on a given day.
daily_unique_receiversINT64The count of unique receiver addresses for stablecoin transfers on a given day.
daily_mintsBIGNUMERICThe total volume of stablecoin minted (transferred from '0x0' address) on a given day.
daily_burnsBIGNUMERICThe total volume of stablecoin burned (transferred to '0x0' address) on a given day.
bucket_0_to_1INT64Count of transfers with amount between 0 (inclusive) and 1 (exclusive).
bucket_1_to_10INT64Count of transfers with amount between 1 (inclusive) and 10 (exclusive).
bucket_10_to_100INT64Count of transfers with amount between 10 (inclusive) and 100 (exclusive).
bucket_100_to_1KINT64Count of transfers with amount between 100 (inclusive) and 1,000 (exclusive).
bucket_1K_to_10KINT64Count of transfers with amount between 1,000 (inclusive) and 10,000 (exclusive).
bucket_10K_to_100KINT64Count of transfers with amount between 10,000 (inclusive) and 100,000 (exclusive).
bucket_100K_to_1MINT64Count of transfers with amount between 100,000 (inclusive) and 1,000,000 (exclusive).
bucket_1M_plusINT64Count of transfers with amount 1,000,000 or greater.
Stablecoins
The stablecoins table contains a list of all the stablecoins that are tracked by Blockscope.
ColumnTypeDescription
stablecoin_nameSTRINGHuman-readable name of the stablecoin
stablecoin_slugSTRINGURL-friendly identifier for the stablecoin
stablecoin_symbolSTRINGTicker like symbol for the stablecoin
chainSTRINGBlockchain network where the stablecoin is deployed
addressSTRINGContract address of the stablecoin token on the specified chain
decimalsINT64Number of decimal places for the stablecoin token

Cron Jobs

Job NameFrequencyDependenciesTables Impacted
Token Transfers Update24 hoursNonestablecoin_transfers
Daily Metrics Update24 hoursToken Transfers Updatedaily_metrics