Skip to main content

Hourly Soroban Fee Agg Contract

Table Metadata​

PropertyConfiguration
Natural Key(s)hour_agg, contract_id
Partition Field(s)hour_agg (DAY partition)
Clustered Field(s)hour_agg, contract_id
Documentationdbt docs

Column Details​

NameDescriptionData TypeDomain ValuesRequired?Notes
hour_aggHour-truncated UTC timestamp of the aggregation window. Derived from timestamp_trunc(closed_at, hour).TIMESTAMPYes
contract_idThe Soroban smart contract address invoked by the transaction.STRINGYes
txn_countTotal number of Soroban transactions invoking this contract in the hour.INTEGERYes
failed_txn_countNumber of failed Soroban transactions for this contract in the hour. Failed transactions are still charged inclusion_fee_charged and non_refundable_resource_fee_charged.INTEGERNo
unique_fee_source_accountsCount of distinct fee-paying accounts for this contract in the hour. For fee-bump transactions this is the fee sponsor; for regular transactions this is the transaction originator. Useful for distinguishing between a single account driving a contract's fee volume vs. broad usage.INTEGERYes
total_fee_chargedSum of fee_charged across all transactions invoking this contract in the hour.INTEGERYes
avg_fee_chargedAverage fee_charged per transaction invoking this contract in the hour.FLOATNo
max_fee_chargedMaximum fee_charged across transactions invoking this contract in the hour.INTEGERNo
total_max_feeSum of the effective fee ceiling -- coalesce(new_max_fee, max_fee) -- across transactions invoking this contract. For fee-bump transactions, new_max_fee is the actual ceiling used by the network; max_fee is the inner transaction's original max. Represents total willingness-to-pay.INTEGERNo
fee_efficiencyRatio of total_fee_charged to total_max_fee. Bounded (0, 1]. Values closer to 1.0 indicate callers are bidding close to what they actually pay; lower values indicate overbidding.FLOATNo
total_inclusion_fee_chargedSum of inclusion_fee_charged across transactions invoking this contract.INTEGERNo
avg_inclusion_fee_chargedAverage inclusion_fee_charged per transaction invoking this contract.FLOATNo
total_inclusion_fee_bidSum of inclusion_fee_bid across transactions invoking this contract. Represents total willingness-to-pay for inclusion.INTEGERNo
total_resource_feeSum of resource_fee (pre-execution budget) across transactions invoking this contract.INTEGERNo
avg_resource_feeAverage resource_fee per transaction invoking this contract.FLOATNo
total_non_refundable_resource_feeSum of non_refundable_resource_fee_charged across transactions. Covers CPU instructions, read bytes, write bytes, and bandwidth. Charged regardless of tx success/failure.INTEGERNo
total_refundable_resource_feeSum of refundable_resource_fee_charged across transactions. Covers rent, events, and return value. Based on actual usage; 0 for failed transactions.INTEGERNo
total_rent_feeSum of rent_fee_charged across transactions. The portion of refundable_resource_fee_charged that went to ledger entry TTL extensions.INTEGERNo
total_resource_fee_refundSum of resource_fee_refund across transactions. Represents the unused portion of resource_fee returned to the account after execution.INTEGERNo
surge_txn_countNumber of Soroban transactions for this contract where inclusion_fee_charged exceeded the base fee (effective_operation_count * 100 stroops), indicating surge pricing.INTEGERNo
airflow_start_tsTimestamp when the Airflow DAG run started. Used for pipeline metadata and debugging.STRINGNo