Skip to main content
QUICK REVIEW

[Paper Review] Designing Multidimensional Blockchain Fee Markets

Theo Diamandis, Alex Evans|arXiv (Cornell University)|Aug 16, 2022
Blockchain Technology Applications and SecurityComputer Science3 citations
TL;DR

This paper proposes a multidimensional blockchain fee market that dynamically prices non-fungible resources like computation, storage, and bandwidth using convex optimization and duality theory. By treating each resource as a separate pricing dimension, the mechanism enables efficient, real-time price discovery that improves network throughput and resists denial-of-service attacks compared to single-unit (e.g., gas-based) fee markets.

ABSTRACT

Public blockchains implement a fee mechanism to allocate scarce computational resources across competing transactions. Most existing fee market designs utilize a joint, fungible unit of account (e.g., gas in Ethereum) to price otherwise non-fungible resources such as bandwidth, computation, and storage, by hardcoding their relative prices. Fixing the relative price of each resource in this way inhibits granular price discovery, limiting scalability and opening up the possibility of denial-of-service attacks. As a result, many prominent networks such as Ethereum and Solana have proposed multi-dimensional fee markets. In this paper, we provide a principled way to design fee markets that efficiently price multiple non-fungible resources. Starting from a loss function specified by the network designer, we show how to compute dynamic prices that align the network's incentives (to minimize the loss) with those of the users and miners (to maximize their welfare), even as demand for these resources changes. Our pricing mechanism follows from a natural decomposition of the network designer's problem into two parts that are related to each other via the resource prices. These results can be used to efficiently set fees in order to improve network performance.

Motivation & Objective

  • Address the limitations of one-dimensional fee markets (e.g., Ethereum’s gas model), which fix relative prices of non-fungible resources and hinder granular price discovery.
  • Mitigate denial-of-service risks caused by resource mispricing, such as those arising from operations with high resource consumption but low gas cost.
  • Improve network scalability and resource utilization by enabling independent pricing of distinct computational resources based on real-time supply and demand.
  • Provide a principled, mathematically grounded framework for setting dynamic fees that align network and user incentives through duality in convex optimization.

Proposed method

  • Formulate the network designer’s problem as a convex optimization task: maximize transaction utility minus network loss, subject to resource capacity constraints.
  • Apply duality theory to decompose the global optimization problem into two parts: one solved on-chain (network-side resource allocation) and one off-chain (user-side transaction selection).
  • Use dual variables (resource prices) as the mechanism to coordinate the two subproblems, ensuring that optimal prices emerge from the solution of the dual problem.
  • Derive an iterative price update rule using projected gradient descent on the dual function: $ p^{k+1} = \text{proj}(p^k - \nabla g(p^k)) $, enabling on-chain computation of dynamic fees.
  • Extend the framework to handle parallel execution environments and per-contract utilization by modeling shared and parallel resources through matrix constraints.
  • Introduce resource-specific learning rates via a diagonal matrix $ D $ to allow faster price adjustments for burst-sensitive resources (e.g., memory-heavy operations).

Experimental results

Research questions

  • RQ1How can a blockchain fee market efficiently price multiple non-fungible resources (e.g., computation, storage, bandwidth) in a way that reflects real-time supply and demand?
  • RQ2What optimization framework enables dynamic, on-chain fee updates that align network incentives (minimizing loss) with user and miner incentives (maximizing welfare)?
  • RQ3Can multidimensional pricing improve network throughput and stability compared to single-unit (e.g., gas-based) fee markets under fluctuating demand?
  • RQ4How can the mechanism be extended to support parallel execution environments and per-contract resource utilization metrics?

Key findings

  • The multidimensional fee market achieves faster convergence to target resource utilization levels than uniform pricing, as demonstrated in simulations where resource 2 utilization quickly returns to steady state after a demand burst.
  • Multidimensional pricing allows more transactions to be included per block—both during and after demand shifts—due to more accurate and responsive price signals.
  • The mechanism reduces the risk of denial-of-service attacks by preventing attackers from exploiting mispriced operations, as each resource is priced independently based on actual demand.
  • The framework supports efficient on-chain computation of dynamic fees through a projected gradient descent update rule on the dual function, enabling real-time adaptation.
  • Extending the model to parallel execution environments or per-contract utilization is feasible by reformulating constraints using matrix operations and dual variables.
  • Numerical results show that multidimensional pricing leads to smoother price adjustments and higher network throughput without increasing hardware requirements for full nodes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.