HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

Get block statistics

Retrieves detailed statistical information for a specific block, including transaction counts and resource consumption.

Returns

FieldTypeDescription
data[i].txStatobjectAn object containing transaction statistics. Only returned if get_tx_detail is set to true.
data[i].txStat.trxAnd10TransferCountintegerThe number of TRX and TRC-10 transfer transactions.
data[i].txStat.trc20And721TransferCountintegerThe number of TRC-20 and TRC-721 transfer transactions.
data[i].txStat.trc1155TransferCountintegerThe number of TRC-1155 transfer transactions.
data[i].txStat.transferCountintegerThe number of all transfer-type transactions.
data[i].txStat.failTxCountintegerThe number of failed transactions.
data[i].txStat.internalTxCountintegerThe number of all internal transactions generated within the block.
data[i].txStat.containInternalTxCountintegerThe number of transactions that contain at least one internal transaction.
data[i].txStat.contractTypeDistributeobjectThe total count for each transaction type in the block, keyed by enum ID (see here for details).
data[i].feeStatobjectAn object containing fee and resource consumption statistics.
data[i].feeStat.netUsageintegerThe total Bandwidth usage in the caller's account.
data[i].feeStat.energyUsageintegerThe amount of Energy consumed in the caller's account.
data[i].feeStat.otherFeeintegerTotal fee (excluding Bandwidth and Energy) for all other operations. (Unit: sun)
data[i].feeStat.srCandidateRegistrationFeeintegerTotal fee for Super Representative (SR) candidate registration. (Unit: sun)
data[i].feeStat.accountActivationFeeintegerTotal fee for account activations. (Unit: sun)
data[i].feeStat.permissionUpdateFeeintegerTotal fee for updating account permissions. (Unit: sun)
data[i].feeStat.multiSignatureFeeintegerTotal fee for a multi-signature transaction. (Unit: sun)
data[i].feeStat.memoFeeintegerTotal fee for including a memo in a transaction. (Unit: sun)
data[i].feeStat.trc10AssetIssueFeeintegerTotal fee for issuing a TRC-10 token. (Unit: sun)
data[i].feeStat.dexPairCreateFeeintegerTotal fee for creating a DEX trading pair. (Unit: sun)
data[i].feeStat.dexOrderSellFeeintegerTotal fee for creating a DEX sell order. (Unit: sun)
data[i].feeStat.dexOrderCancelFeeintegerTotal fee for cancelling a DEX order. (Unit: sun)
data[i].feeStat.energyBurnFeeSunAmtintegerThe total amount of TRX burned for Energy. (Unit: sun)
data[i].feeStat.bandwidthConsumedFromBurnCntintegerThe Bandwidth obtained by burning TRX.
data[i].feeStat.freeBandwidthUsageCntintegerThe total usage of staked and free Bandwidth.
data[i].feeStat.bandwidthBurnFeeSunAmtintegerThe total amount of TRX burned for Bandwidth. (Unit: sun)
data[i].feeStat.energyConsumedFromOwnerBurnCntintegerThe total Energy usage obtained by the transaction owner burning TRX.
data[i].feeStat.freeEnergyUsageCntintegerThe total usage of staked Energy.
successbooleanWhether the request was successful.
meta.atlongThe response timestamp. (Unit: millisecond)
meta.page_sizeintegerThe number of items returned on the current page.
Language
Click Try It! to start a request and see the response here!