New Transactions
This statistic tracks the volume of new transactions processed on the Hedera network over time, providing insights into network activity and usage patterns. The data is segmented by transaction service type (Crypto, HCS, HFS, HSCS, HTS, and Other), enabling detailed analysis of which Hedera services are being utilized most frequently.
To access this Hedera network statistic (and others) via Hgraph's GraphQL & REST APIs, get started here.
Hedera Stat Names:
new_transactions
- Total of all new transactionsnew_crypto_transactions
- New cryptocurrency transfer transactionsnew_hcs_transactions
- New Hedera Consensus Service transactionsnew_hfs_transactions
- New Hedera File Service transactionsnew_hscs_transactions
- New Hedera Smart Contract Service transactionsnew_hts_transactions
- New Hedera Token Service transactionsnew_other_transactions
- New miscellaneous/other transactions
Methodology
Identifying New Transactions (All)
To determine the number of new transactions on the Hedera network, the calculation queries the canonical transaction
table for all entries that satisfy the following conditions:
- Time Window: The transaction's
consensus_timestamp
must fall within the boundaries defined by the user-specifiedstart_timestamp
andend_timestamp
parameters. - Periodization: Transactions are grouped by the specified period (day, week, month, quarter, or year) based on their consensus timestamp.
This provides a count of all transactions occurring within each time period in the requested window.
Transaction Type Categories
The Hedera network classifies transactions into different service categories based on their type ID. Each category represents a different set of operations available on the network:
Crypto Transactions (new_crypto_transactions
)
Cryptocurrency-related operations including account management and HBAR transfers.
Type IDs: 10, 11, 12, 13, 14, 15, 48, 49
These types include:
- Account creation and updates
- Cryptocurrency transfers
- Account deletion
- System operations
HCS (Hedera Consensus Service) Transactions (new_hcs_transactions
)
Operations related to consensus topics for decentralized ordering of messages.
Type IDs: 24, 25, 26, 27
These types include:
- Topic creation
- Topic updates
- Topic deletion
- Message submission to topics
HFS (Hedera File Service) Transactions (new_hfs_transactions
)
File storage and management operations on the Hedera network.
Type IDs: 16, 17, 18, 19
These types include:
- File creation
- File append operations
- File updates
- File deletion
HSCS (Hedera Smart Contract Service) Transactions (new_hscs_transactions
)
Smart contract deployment and interaction operations.
Type IDs: 7, 8, 9, 22, 50
These types include:
- Contract creation
- Contract calls
- Contract updates
- Contract deletion
- Ethereum transactions
HTS (Hedera Token Service) Transactions (new_hts_transactions
)
Token creation and management operations for both fungible and non-fungible tokens.
Type IDs: 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 45, 46, 47, 53, 57, 58, 59, 60
These types include:
- Token creation and deletion
- Token minting and burning
- Token transfers and associations
- Token freezing and unfreezing
- KYC grant/revoke operations
- Token fee schedule updates
- NFT operations
Other Transactions (new_other_transactions
)
Miscellaneous operations not falling into the above categories.
Type IDs: 20, 21, 23, 28, 42, 43, 44, 51, 52, 54, 55, 56, 65
These types include:
- System administration operations
- Network management transactions
- Schedule operations
- Network node operations
- Utility transactions
Counting Methodology
For each transaction category, the function:
- Filters transactions by the appropriate type IDs within the time window
- Groups transactions by the specified period (day, week, month, etc.)
- Counts the number of transactions in each period
- Returns the count along with an integer range representing the period boundaries
The result is a time series showing how many new transactions of each type occurred in each period.
GraphQL API Examples
Test out these queries using our developer playground.
Fetch current new transactions (all types, daily)
query NewTransactionsDay {
ecosystem_metric(
order_by: {end_date: desc_nulls_last}
limit: 1
where: {name: {_eq: "new_transactions"}, period: {_eq: "day"}}
) {
total
end_date
}
}
Fetch monthly new crypto transactions for 1 year (timeseries)
query NewCryptoTransactionsMonthly {
ecosystem_metric(
order_by: {end_date: desc_nulls_last}
limit: 12
where: {name: {_eq: "new_crypto_transactions"}, period: {_eq: "month"}}
) {
total
end_date
}
}
Fetch daily new HTS transactions for 30 days (timeseries)
query NewHTSTransactionsDaily {
ecosystem_metric(
order_by: {end_date: desc_nulls_last}
limit: 30
where: {name: {_eq: "new_hts_transactions"}, period: {_eq: "day"}}
) {
total
end_date
}
}
Fetch weekly new smart contract transactions for 3 months
query NewHSCSTransactionsWeekly {
ecosystem_metric(
order_by: {end_date: desc_nulls_last}
limit: 12
where: {name: {_eq: "new_hscs_transactions"}, period: {_eq: "week"}}
) {
total
end_date
}
}
Compare all transaction types for the last day
query CompareTransactionTypes {
crypto: ecosystem_metric(
order_by: {end_date: desc_nulls_last}
limit: 1
where: {name: {_eq: "new_crypto_transactions"}, period: {_eq: "day"}}
) {
total
end_date
}
hcs: ecosystem_metric(
order_by: {end_date: desc_nulls_last}
limit: 1
where: {name: {_eq: "new_hcs_transactions"}, period: {_eq: "day"}}
) {
total
end_date
}
hts: ecosystem_metric(
order_by: {end_date: desc_nulls_last}
limit: 1
where: {name: {_eq: "new_hts_transactions"}, period: {_eq: "day"}}
) {
total
end_date
}
hscs: ecosystem_metric(
order_by: {end_date: desc_nulls_last}
limit: 1
where: {name: {_eq: "new_hscs_transactions"}, period: {_eq: "day"}}
) {
total
end_date
}
}
Available Time Periods
The period
field supports the following values:
hour
day
week
month
quarter
year
SQL Implementation
Below is a link to the Hedera Stats GitHub repository. The repo contains the SQL functions that calculate the New Transactions statistics outlined in this methodology.
SQL Functions:
ecosystem.new_transactions
- Total of all new transactionsecosystem.new_crypto_transactions
- New cryptocurrency transfer transactionsecosystem.new_hcs_transactions
- New Hedera Consensus Service transactionsecosystem.new_hfs_transactions
- New Hedera File Service transactionsecosystem.new_hscs_transactions
- New Hedera Smart Contract Service transactionsecosystem.new_hts_transactions
- New Hedera Token Service transactionsecosystem.new_other_transactions
- New miscellaneous/other transactions
Dependencies
- Hedera mirror node