This page is the Simplified Technical English version of ZIP 235. The source ZIP is the normative text. Read the writing rules to understand the marked words.
ZIP 235: Remove 60% of Transaction Fees From Circulation
ZIP: 235
Title: Remove 60% of Transaction Fees From Circulation
Owners: Jason McGee <jason@shieldedlabs.net>
Zooko Wilcox <zooko@shieldedlabs.net>
Mark Henderson <mark@shieldedlabs.net>
Tomek Piotrowski <tomek@eiger.co>
Mariusz Pilarek <mariusz@eiger.co>
Paul Dann <paul@eiger.co>
Original-Authors: Nathan Wilcox
Credits:
Status: Final
Category: Consensus / Ecosystem
Created: 2023-09-21
License: BSD-2-Clause
Discussions-To: <https://github.com/zcash/zips/issues/924>
Terminology
On this page, STE words are in the place of the BCP 14 key words of the source. Refer to the key word table.
The term "network upgrade" has the same meaning as in ZIP 200 [zip-0200].
The character § is the mark for a reference to a section of the Zcash Protocol Specification [protocol].
The terms "Mainnet" and "Testnet" have the same meanings as in § 3.12 ‘Mainnet and Testnet’ [protocol-networks].
The symbol "\(\,\cdot\,\)" means multiplication, as in § 2 ‘Notation’ [protocol-notation].
"ZEC/TAZ" is the native currency of Zcash on the applicable network: ZEC on Mainnet and TAZ on Testnet.
The definition of \(\mathsf{MAX\_MONEY}\) is in § 5.3 ‘Constants’ [protocol-constants]. Its value is \(2\_100\_000\_000\_000\_000\) zatoshi.
"Block Subsidy" is the algorithmic issuance of ZEC/TAZ at the creation of a block. The definition of this issuance is in the consensus rules. This issuance is divided among the miner and any Funding Streams.
"Issuance" is the mechanism for ZEC/TAZ to become available for circulation.
Abstract
This ZIP is a proposal to remove 60% of transaction fees from circulation. The remaining 40% has the same destination as before. The intent of this removal is that the funds are reissued automatically and algorithmically through future block subsidies. The intent is that the funds are not destroyed permanently or kept as a discretionary reserve.
Motivation
ZIP 233 ("Network Sustainability Mechanism: Removing Funds From Circulation" [zip-0233]) contains a method to remove ZEC from circulation, to support network sustainability.
We add a requirement to remove a specified proportion of transaction fees from circulation. With this requirement, we aim to contribute to the long-term sustainability of the network, as follows:
Benefits to the Network
- Network Sustainability: With this mechanism, the supply of ZEC decreases temporarily. This is similar to asset burning in Ethereum’s EIP-1559 [eip-1559], but it has long-term sustainability benefits. The removal is different from a permanent burn: the intent is that the removed funds are reissued through future block subsidies.
- Incentivizing Transaction Inclusion: We keep a 40% share of transaction fees for miners. Thus miners continue to have an incentive to give priority to the inclusion of transactions in their blocks. This is a contribution to the continued efficient processing of transactions. It is also a support for a robust and responsive network.
Aligning Interests: When transaction fees are removed from circulation, the interests of miners align with the long-term health of the network. Thus miners have an incentive to give priority to security and efficiency. When miners work to keep the network robust, overall adoption and usage can increase. In the long run, the result can be higher transaction volumes.
With this structure, miners have less incentive for short-term profit-seeking behaviors. The reason is that miners get more benefit from a stable and thriving ecosystem than from malicious activities. Such activities can be a risk to the reputation and security of the network.
- Future-Proofing the Network: The removal of a portion of transaction fees from circulation is a forward-looking approach. With this approach, the Zcash network is prepared for long-term sustainability. These funds are returned to circulation through future block subsidies. Thus the network has a viable security budget after the original issuance schedule.
Privacy Implications
The amount removed from circulation and the miner's fee entitlement are calculated from transaction fees that are already public. No additional transaction information is disclosed by these calculations.
Requirements
- For each block, 60% (rounded down) of the total fees are to be removed from circulation.
- With this rule, no change to the transaction format is necessary.
- There are no restrictions on the destination of the remaining proportion of fees.
- Any fractions are rounded in favor of the miner.
Specification
Changes to ZIP 237
This ZIP contains a proposal to register this mechanism for removal from circulation in the list that is defined in ZIP 237 [zip-0237]:
| Mechanism | Source |
|---|---|
| Transaction fees | \(\mathsf{NSMFeeContribution}(\mathsf{height})\) |
Consensus Rule Changes
Let \(\mathsf{TransactionFees}(\mathsf{height}) \in \{0\,..\,\mathsf{MAX\_MONEY}\}\) be the total value in zatoshi of the transaction fees paid by the non-coinbase transactions in the block at height \(\mathsf{height}\). Define the integers \(q \in \{0\,..\,210\_000\_000\_000\_000\}\) and \(r \in \{0\,..\,9\}\) by \(q := \mathsf{floor}(\mathsf{TransactionFees}(\mathsf{height}) / 10)\) and \(r := \mathsf{TransactionFees}(\mathsf{height}) \bmod 10\). Then define:
\[\mathsf{NSMFeeContribution}(\mathsf{height}) := 6 \cdot q + \mathsf{floor}\!\left(\frac{6 \cdot r}{10}\right)\]
\[\mathsf{MinerFees}(\mathsf{height}) := \mathsf{TransactionFees}(\mathsf{height}) - \mathsf{NSMFeeContribution}(\mathsf{height})\]
\(\mathsf{NSMFeeContribution}(\mathsf{height})\) and \(\mathsf{MinerFees}(\mathsf{height})\) are also in \(\{0\,..\,\mathsf{MAX\_MONEY}\}\). They are integer numbers of zatoshi. This calculation is exactly equal to \(\mathsf{floor}(6 \cdot \mathsf{TransactionFees}(\mathsf{height}) / 10)\). But with this calculation, it is not necessary to multiply the aggregate fee value by 6. The input to the calculation is the aggregate fees of the block, not the fees of each transaction.
In § 7.8 ‘Calculating Block Subsidy, Funding Streams, Lockbox Disbursement, and Founders' Reward’ [protocol-subsidies], add these definitions:
- \(\mathsf{TransactionFees}\)
- \(\mathsf{NSMFeeContribution}\)
- \(\mathsf{MinerFees}\)
In the protocol specification, the definition of \(\mathsf{NSMFeeContribution}(\mathsf{height})\) is directly \(\mathsf{floor}(6 \cdot \mathsf{TransactionFees}(\mathsf{height}) / 10)\). The form above is in a non-normative note in the protocol specification.
In § 7.1.2 ‘Transaction Consensus Rules’ [protocol-txnconsensus], change the definition of the total input value of a coinbase transaction to this text:
define the total input value of its coinbase transaction to be the value in zatoshi of the block subsidy, plus the transaction fees paid by transactions in the block (pre-NU7) or \(\mathsf{MinerFees}(\mathsf{height})\) (NU7 onward), plus \(\mathsf{totalDeferredInput}(\mathsf{height})\).
This rule stays the same: the total output value of a coinbase transaction must be equal to its total input value [zip-0236].
In § 3.4 ‘Transactions and Treestates’ [protocol-transactions], replace this text:
As in Bitcoin, the remaining value in the transparent transaction value pool of a non-coinbase transaction is available to miners as a transaction fee. That is, the sum of those values for non-coinbase transactions in each block is treated as an implicit input to the transparent transaction value pool balance of the block's coinbase transaction (in addition to the implicit input created by issuance).
Put this text in its place:
As in Bitcoin, the remaining value in the transparent transaction value pool of a non-coinbase transaction is a transaction fee. The sum of those values for non-coinbase transactions in each block (pre-NU7), or \(\mathsf{MinerFees}(\mathsf{height})\) for the block at height \(\mathsf{height}\) (NU7 onward), is available to miners: it is treated as an implicit input to the transparent transaction value pool balance of the block's coinbase transaction (in addition to the implicit input created by issuance).
In § 3.10 ‘Block Subsidy, Funding Streams, and Founders' Reward’ [protocol-subsidyconcepts], replace this text:
As in Bitcoin, the miner of a block also receives transaction fees.
Put this text in its place:
As in Bitcoin, the miner of a block also receives transaction fees (pre-NU7), or \(\mathsf{MinerFees}(\mathsf{height})\) (NU7 onward).
In § 3.11 ‘Coinbase Transactions’ [protocol-coinbasetransactions], replace this text:
The purpose of this coinbase transaction is to collect and spend any miner subsidy, and transaction fees paid by other transactions included in the block.
Put this text in its place:
The purpose of this coinbase transaction is to collect and spend any miner subsidy, and the transaction fees paid by other transactions included in the block (pre-NU7) or \(\mathsf{MinerFees}(\mathsf{height})\) (NU7 onward).
Applicability
All of these changes apply in the same way to Mainnet and Testnet.
Rationale
We think that the proposed changes have a relatively small effect on implementations and on the protocol. Also, at this time, transaction fees are sufficiently small that the decrease in miner fees is probably not a concern.
Rationale for a block-level rule
The amount removed from circulation is a function of only the fees of the block. Thus every node calculates this amount from data that the node already validates. The coinbase transaction does not contain the amount. Thus no transaction field is necessary. As a result, the rule can apply to coinbase transactions of every transaction version that is valid at NU7. Also, the explicit NSM field of ZIP 233 [zip-0233] is not necessary.
In ZIP 236 [zip-0236], it is a requirement that the coinbase transaction claims its full total input value. Thus the miner receives exactly \(\mathsf{MinerFees}(\mathsf{height})\). A miner cannot claim less than its entitlement and thus remove less than the necessary amount. Also, a miner cannot claim more than its entitlement.
The contribution is rounded down one time for the whole block. If the fee of each transaction is rounded separately, the aggregate removal is less than 60% of the fees. For example, with separate rounding, two transactions that each pay a fee of 1 zatoshi each contribute 0.
Estimated impact on miners
In the 100,000 blocks from block 2235515, there were 316130 transactions. Of these transactions, 60608 are categorized as 'sandblasting' transactions. The remaining transactions have an average of 5.46 logical actions (refer to ZIP 317 [zip-0317]).
With the assumption of the ZIP 317 regime, the total fees paid to miners from those transactions are 87.86 ZEC. Miners mined these 100,000 blocks at the 75-second target block spacing. These blocks span approximately 86.8 days. For a 365.25-day year (420,768 such blocks), the scaled value is approximately 369.7 ZEC in fees per year.
If 60% of these fees are removed from circulation, the removed amount is approximately 221.8 ZEC per year [zsf-fee-estimator].
Considerations for the Future
If transaction fees increase, it is easy to propose further changes to the 60%/40% split. To find the optimal fee split, an iterative approach can be necessary. This approach includes adjustments based on real-world data and network dynamics.
Further in the future, a time can come when the transaction fees become greater than the block subsidy issuance. At that time, it can be necessary for us to examine the 60/40 split again. But, from forecasts based on issuance models and network traffic, this will probably not be the case for the next 8-10 years.
Further ZIPs can be proposed to remove ZEC from circulation in different ways, to support network sustainability. These ways include the items that follow, but are not limited to them:
- ZSA fees
- Fees and donations specific to decentralized applications
- “Storage fees” for any future data availability
- Cross-chain bridge usage / Cross-chain messaging
- Note sorting micro-transactional fees
Deployment
This ZIP was activated with Network Upgrade 7 [zip-0259]. The activation of ZIP 233 ("NSM: Removing Funds From Circulation" [zip-0233]) is not necessary for this ZIP.
Reference implementation
- Zebra: [zebra-11487] [zebra-11530]
- Zakura: [zakura-1056]
References
- [BCP14]
- Information on BCP 14 — "RFC 2119: Key words for use in RFCs to Indicate Requirement Levels" and "RFC 8174: Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"
- [protocol]
- Zcash Protocol Specification, Version 2026.8.0 [NU6.3] or later
- [protocol-notation]
- Zcash Protocol Specification, Version 2026.8.0 [NU6.3]. Section 2: Notation
- [protocol-transactions]
- Zcash Protocol Specification, Version 2026.8.0 [NU6.3]. Section 3.4: Transactions and Treestates
- [protocol-subsidyconcepts]
- Zcash Protocol Specification, Version 2026.8.0 [NU6.3]. Section 3.10: Block Subsidy, Funding Streams, and Founders' Reward
- [protocol-coinbasetransactions]
- Zcash Protocol Specification, Version 2026.8.0 [NU6.3]. Section 3.11: Coinbase Transactions
- [protocol-networks]
- Zcash Protocol Specification, Version 2026.8.0 [NU6.3]. Section 3.12: Mainnet and Testnet
- [protocol-chainvaluepoolbalances]
- Zcash Protocol Specification, Version 2026.8.0 [NU6.3]. Section 4.17: Chain Value Pool Balances
- [protocol-constants]
- Zcash Protocol Specification, Version 2026.8.0 [NU6.3]. Section 5.3: Constants
- [protocol-txnconsensus]
- Zcash Protocol Specification, Version 2026.8.0 [NU6.3]. Section 7.1.2: Transaction Consensus Rules
- [protocol-subsidies]
- Zcash Protocol Specification, Version 2026.8.0 [NU6.3]. Section 7.8: Calculating Block Subsidy, Funding Streams, Lockbox Disbursement, and Founders' Reward
- [zip-0200]
- ZIP 200: Network Upgrade Mechanism
- [zip-0233]
- ZIP 233: Network Sustainability Mechanism: Removing Funds From Circulation
- [zip-0236]
- ZIP 236: Blocks should balance exactly
- [zip-0237]
- ZIP 237: Network Sustainability Mechanism: Halving-Preserving Issuance
- [zip-0259]
- ZIP 259: Deployment of the NU7 Network Upgrade
- [zip-0317]
- ZIP 317: Proportional Transfer Fee Mechanism
- [zsf-fee-estimator]
- GitHub repository eigerco/zsf-fee-estimator
- [eip-1559]
- EIP-1559: Fee market change for ETH 1.0 chain
- [zakura-1056]
- Zakura PR 1056: feat(consensus): recycle NU7 transaction fees into NSM
- [zebra-11487]
- Zebra PR 11487: feat(chain, state, rpc): remove 60% of transaction fees from NU7 (ZIP 235)
- [zebra-11530]
- Zebra PR 11530: feat(nsm)!: enable merged issuance and fee accounting