# Fair Fees for Shared Space: Pricing Blob Aggregation with Shapley Values > TL;DR: Spire proposes using Shapley Values to fairly distribute blob transaction fees, improving inclusion, lowering costs, and aligning with Ethereum’s modular future. **Published by:** [Spire Labs](https://paragraph.com/@spire/) **Published on:** 2025-04-14 **URL:** https://paragraph.com/@spire/fair-fees-for-shared-space-pricing-blob-aggregation-with-shapley-values ## Content Our previous post discussed how shared blob aggregation optimizes Ethereum's blob space by combining DA requirements. Today, we dive deeper into a critical piece of that efficiency puzzle: how to price aggregated blob transactions fairly and effectively. Understanding Blob AggregationBlob aggregation intelligently packs multiple Ethereum transactions into a compact, space-efficient unit—potentially spanning multiple blobs. Ethereum’s blob space is limited. Competing transactions need to be packed in a way that maximizes utilization. Blob aggregation helps by grouping transactions to reduce overall gas costs, with additional savings from amortizing base costs across the group. Think of it like a version of the “knapsack problem”—how do we fit a set of transactions into limited blob space while maximizing efficiency and minimizing cost? How Blob Transactions Are PricedBlob transactions consist of three fee components:Blob Base FeeTransaction Base FeePriority FeeThe first two are set by the Ethereum network. Only the Priority Fee is user-defined, making it the key mechanism for signaling urgency and inclusion preference.The Core Pricing Dilemma in Aggregated BlobsWhat happens when different transactions in an aggregated blob have varying willingness to pay? How do we fairly divide the shared cost of the blob space? Enter Shapley Values - a concept from cooperative game theory used to distribute costs (or rewards) fairly among participants based on their marginal contribution to the group.Our Pricing Approach at SpireAt Spire, we are exploring ways to dynamically price blob usage and transaction costs, then calculate each transaction's marginal utilization. This results in a pricing model where:You always pay less than you would in isolationCosts are distributed fairly based on declared willingness to pay and actual usageFast inclusion is guaranteed by setting the group’s priority fee to match the highest participant’sThe result is a system optimized for maximum inclusion and minimal latency, without undercharging smaller contributors.Benefits of Fair Aggregation PricingFair and efficient blob pricing enables:✅ Reduced transaction costs by sharing gas across many participants✅ Fairer pricing mechanisms using transparent, marginal-impact-based calculations✅ Fast inclusion for lower-fee users, and cheaper fees for higher-fee onesAs we continue to iterate, we aim to improve fairness and efficiency to support long-term scalability and economic sustainability.📊 Example: Shapley Value Cost AllocationLet’s walk through a simplified example (excluding Blob Base Fee and Transaction Base Fee for clarity):Transaction APriority Fee: 2 weiUses 50% of a blobStandalone gas cost: 42,000 weiTransaction BPriority Fee: 1 weiUses 50% of a blobStandalone gas cost: 21,000 weiIf included together, the total cost remains 42,000 wei, thanks to shared intrinsic gas savings. To calculate Shapley Values, we look at all possible orderings in which transactions could be added and compute each transaction's marginal contribution to the total cost. We then average those contributions across all permutations. This ensures each participant pays an amount that reflects their impact on the collective cost. Using Shapley Value cost sharing we allocate costs as:Transaction A pays: 31,500 weiTransaction B pays: 10,500 weiTotal: 42,000 wei📈 Outcome: Both users pay less than they would individually, while still benefiting from top-priority inclusion. Efficiency meets fairness.Looking AheadThis pricing model aligns with Ethereum’s long-term vision for modular scalability, economic sustainability, and equitable resource distribution. As rollups and blobspace continue to take centre stage in Ethereum’s execution landscape, fair aggregation pricing will be critical to ensuring healthy, sustainable network growth. This is just the first iteration. As the ecosystem evolves and new dynamics emerge, we’ll revisit and refine the underlying game mechanics. Our goal is to stay ahead of the curve—continuously exploring how to make blob packaging on Ethereum as fair and efficient as possible. ## Publication Information - [Spire Labs](https://paragraph.com/@spire/): Publication homepage - [All Posts](https://paragraph.com/@spire/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@spire): Subscribe to updates - [Twitter](https://twitter.com/@Spire_Labs): Follow on Twitter ## Optional - [Collect as NFT](https://paragraph.com/@spire/fair-fees-for-shared-space-pricing-blob-aggregation-with-shapley-values): Support the author by collecting this post - [View Collectors](https://paragraph.com/@spire/fair-fees-for-shared-space-pricing-blob-aggregation-with-shapley-values/collectors): See who has collected this post