Skip to main content

Daily Fee Stats Agg

Table Metadata​

PropertyConfiguration
Natural Key(s)day_agg
Partition Field(s)N/A
Clustered Field(s)day_agg
Documentationdbt docs

Column Details​

NameDescriptionData TypeDomain ValuesRequired?Notes
day_aggDay when the fee stats were aggregated.DATEYes
total_fee_chargedSum of fee_charged across all transactions (Classic + Soroban) for the day.INTEGERYes
max_fee_chargedMaximum fee_charged across all transactions (Classic + Soroban) for the day.INTEGERYes
txn_countTotal number of transactions (Classic + Soroban) for the day.INTEGERYes
failed_txn_countNumber of failed transactions (Classic + Soroban) for the day. Failed transactions are still included in all fee aggregates because inclusion_fee_charged and non_refundable_resource_fee_charged are charged regardless of transaction success.INTEGERNo
total_effective_txn_operation_countTotal number of effective operations across all transactions for the day. Uses effective_txn_operation_count, which adds 1 for fee-bump transactions to account for the extra inner transaction.INTEGERYes
total_raw_txn_operation_countTotal number of raw operations (txn_operation_count) across all transactions for the day. Unlike effective operation count, this does NOT include fee-bump transactions.INTEGERYes
min_ledger_sequenceFirst (minimum) ledger sequence number for the day.INTEGERYes
max_ledger_sequenceLast (maximum) ledger sequence number for the day.INTEGERYes
total_ledgersTotal number of ledgers processed for the day, regardless of whether they contain Classic or Soroban transactions. Used as the denominator for total_pct_ledgers_in_surge.INTEGERYes
classic_txn_countNumber of Classic transactions for the day. Classic transactions have resource_fee = 0.INTEGERNo
classic_failed_txn_countNumber of failed Classic transactions for the day.INTEGERNo
classic_total_effective_operation_countTotal number of effective operations across Classic transactions for the day. Adds 1 for fee-bump transactions.INTEGERNo
classic_total_raw_operation_countTotal number of raw operations across Classic transactions for the day. Does NOT include fee-bump transactions.INTEGERNo
classic_sum_fee_chargedSum of fee_charged across Classic transactions for the day. For Classic txns, fee_charged is the inclusion fee (no resource_fee component).INTEGERNo
classic_max_fee_chargedMaximum fee_charged across Classic transactions for the day.INTEGERNo
classic_sum_max_feeSum of COALESCE(new_max_fee, max_fee) across Classic transactions for the day. Represents total willingness-to-pay.INTEGERNo
classic_max_max_feeMaximum of COALESCE(new_max_fee, max_fee) across Classic transactions for the day.INTEGERNo
classic_max_inclusion_fee_per_opMaximum inclusion fee per operation (fee_charged / effective_txn_operation_count) across Classic transactions for the day.FLOATNo
classic_min_inclusion_fee_per_opMinimum inclusion fee per operation across Classic transactions for the day.FLOATNo
classic_total_ledgersTotal number of ledgers containing at least one Classic transaction for the day.INTEGERNo
classic_surge_ledger_countNumber of ledgers where at least one Classic transaction experienced surge pricing for the day.INTEGERNo
classic_total_surge_txn_countTotal number of Classic transactions that experienced surge pricing across all ledgers for the day.INTEGERNo
classic_total_surge_operation_countTotal operations in Classic transactions that experienced surge pricing across all ledgers for the day.INTEGERNo
classic_pct_ledgers_in_surgePercentage of Classic-containing ledgers that experienced surge pricing for the day. Calculated as 100 * classic_surge_ledger_count / classic_total_ledgers.FLOATNo
soroban_txn_countNumber of Soroban transactions for the day. Soroban transactions have resource_fee > 0.INTEGERNo
soroban_failed_txn_countNumber of failed Soroban transactions for the day. Even failed Soroban transactions are charged inclusion_fee_charged and non_refundable_resource_fee_charged, so they are included in all fee aggregates.INTEGERNo
soroban_total_effective_operation_countTotal number of effective operations across Soroban transactions for the day. Adds 1 for fee-bump transactions.INTEGERNo
soroban_total_raw_operation_countTotal number of raw operations across Soroban transactions for the day. Does NOT include fee-bump transactions.INTEGERNo
soroban_sum_fee_chargedSum of fee_charged across Soroban transactions for the day. fee_charged = inclusion_fee_charged + non_refundable_resource_fee_charged + refundable_resource_fee_charged.INTEGERNo
soroban_max_fee_chargedMaximum fee_charged across Soroban transactions for the day.INTEGERNo
soroban_sum_inclusion_fee_chargedSum of inclusion_fee_charged across Soroban transactions for the day. The base inclusion fee is 100 stroops per operation. If inclusion_fee_charged exceeds this base, the ledger experienced inclusion fee surge pricing.INTEGERNo
soroban_max_inclusion_fee_chargedMaximum inclusion_fee_charged across Soroban transactions for the day.INTEGERNo
soroban_sum_inclusion_fee_bidSum of inclusion_fee_bid across Soroban transactions for the day. inclusion_fee_bid = COALESCE(new_max_fee, max_fee) - resource_fee.INTEGERNo
soroban_max_inclusion_fee_bidMaximum inclusion_fee_bid across Soroban transactions for the day.INTEGERNo
soroban_max_inclusion_fee_per_opMaximum inclusion fee per operation (inclusion_fee_charged / effective_txn_operation_count) across Soroban transactions for the day.FLOATNo
soroban_min_inclusion_fee_per_opMinimum inclusion fee per operation across Soroban transactions for the day.FLOATNo
soroban_sum_resource_feeSum of resource_fee (the pre-execution budget for Soroban resource consumption) across Soroban transactions for the day.INTEGERNo
soroban_max_resource_feeMaximum resource_fee across Soroban transactions for the day.INTEGERNo
soroban_min_resource_feeMinimum resource_fee across Soroban transactions for the day.INTEGERNo
soroban_sum_non_refundable_resource_fee_chargedSum of non_refundable_resource_fee_charged across Soroban transactions for the day. Covers CPU instructions, read bytes, write bytes, and bandwidth. Charged based on declared resources regardless of tx success/failure.INTEGERNo
soroban_max_non_refundable_resource_fee_chargedMaximum non_refundable_resource_fee_charged across Soroban transactions for the day.INTEGERNo
soroban_min_non_refundable_resource_fee_chargedMinimum non_refundable_resource_fee_charged across Soroban transactions for the day.INTEGERNo
soroban_sum_refundable_resource_fee_chargedSum of refundable_resource_fee_charged across Soroban transactions for the day. Covers rent, events, and return value. Based on actual usage; 0 for failed transactions.INTEGERNo
soroban_max_refundable_resource_fee_chargedMaximum refundable_resource_fee_charged across Soroban transactions for the day.INTEGERNo
soroban_min_refundable_resource_fee_chargedMinimum refundable_resource_fee_charged across Soroban transactions for the day.INTEGERNo
soroban_sum_resource_fee_refundSum of resource_fee_refund across Soroban transactions for the day. NOTE: Currently broken -- always 0.INTEGERNo
soroban_max_resource_fee_refundMaximum resource_fee_refund across Soroban transactions for the day. NOTE: Currently broken -- always 0.INTEGERNo
soroban_min_resource_fee_refundMinimum resource_fee_refund across Soroban transactions for the day. NOTE: Currently broken -- always 0.INTEGERNo
soroban_sum_rent_fee_chargedSum of rent_fee_charged across Soroban transactions for the day. This is the portion of refundable_resource_fee_charged that went to ledger entry TTL extensions.INTEGERNo
soroban_max_rent_fee_chargedMaximum rent_fee_charged across Soroban transactions for the day.INTEGERNo
soroban_min_rent_fee_chargedMinimum rent_fee_charged across Soroban transactions for the day.INTEGERNo
soroban_total_ledgersTotal number of ledgers containing at least one Soroban transaction for the day.INTEGERNo
soroban_surge_ledger_countNumber of ledgers where at least one Soroban transaction experienced surge pricing for the day.INTEGERNo
soroban_total_surge_txn_countTotal number of Soroban transactions that experienced surge pricing across all ledgers for the day.INTEGERNo
soroban_total_surge_operation_countTotal operations in Soroban transactions that experienced surge pricing across all ledgers for the day.INTEGERNo
soroban_pct_ledgers_in_surgePercentage of Soroban-containing ledgers that experienced surge pricing for the day. Calculated as 100 * soroban_surge_ledger_count / soroban_total_ledgers.FLOATNo
total_pct_ledgers_in_surgePercentage of all ledgers for the day where at least one transaction (Classic or Soroban) experienced surge pricing.FLOATNo
fee_poolSum of fee_pool across all ledgers for the day. Represents all fees collected across the network for the day.INTEGERNo
airflow_start_tsTimestamp when the Airflow DAG run started. Used for pipeline metadata and debugging.STRINGNo