Search

A technology, a device or an article

Chia fees are the difference between spent and newly created value

XCH fees are removed value minus newly created value, including change. A mojo ledger explains RESERVE_FEE, aggregation, and why CLVM cost uses different units.

Gold paper circle, a separate crescent, and two circles on the right
ITNWS AI-generated conceptual illustration. The remainder between shapes evokes fees as a difference; sizes do not encode exact amounts.ITNWS · image_gen · Original ITNWS AI-generated conceptual editorial illustration

A regular XCH payment does not require a separate user-created coin with a "fee" address. The amount arises as the difference: how much value is removed by the spent coins and how much is created anew. If you look for a fee only among the outputs to the recipient, the payment ledger will not balance. But if you collect all the removals and additions within the correct accounting scope, the missing value receives an exact meaning. For Chia, this is a property of the coin model, and not an arbitrary string that the wallet interface has the right to assign regardless of the signed expenditure.

The analysis concerns only XCH. There is no market forecast, recommendation to buy an asset, or an actual payment made by the editors. Chia documentation and verification code were re-read on October 27, 2026; this is a technical explanation of the current model from trusted sources, and not a message about a new activation. The hypothetical amounts below are needed to verify the cost in mojo. They do not reflect the recommended fee, the current mempool load, or the promise of payment inclusion within a certain time.

The ledger for one payment

In the description of Chia’s coin set a coin is a separate object with a certain amount and conditions for spending. The wallet balance is obtained from the coins that match it, and not from one global account record. To transfer part of the value, the wallet spends the selected coins in full and creates new ones. An old coin cannot be reduced in place. Therefore, the calculation of the fee inevitably applies to both deleted objects and all created ones, including the change returned to the owner.

Let’s assume the wallet has selected two coins of 0.6 and 0.4 XCH. Together this is 1 XCH, or 1,000,000,000,000 mojo: one XCH has exactly 10¹² mojo. A coin worth 0.7 XCH is created for the recipient, and change of 0.2999 XCH is returned to the owner. The value created is 0.9999 XCH. The difference with one XCH spent is 0.0001 XCH, that is, 100,000,000 mojo. The latter value is the fee for our hypothetical spend.

It is convenient to check in whole units. From 1,000,000,000,000, subtract 700,000,000,000 and 299,900,000,000, leaving 100,000,000. In this representation, there is no ambiguity in rounding a decimal floating point number. The interface may show a truncated XCH fraction, but spend preparation and validation work with whole amounts. If a user compares two screens with different precisions, the apparent discrepancy should first be returned to the same unit rather than being declared an additional network fee.

The change in this statement is not a fee and is not lost just because the sender sees the full amount of the original coins being spent. This is a new object of value that is usually controlled by his wallet again. External observation “all 1 XCH was written off” without taking into account the change will exaggerate the payment. But the change label in the interface does not have magical powers: you need to check the real condition of the new coin and its ownership. The accounting purpose of the line does not replace the actual spending rules that determine who can use the new value.

One mistake in the statement is especially expensive. If our example creates only the recipient’s 0.7 XCH coin and omits the 0.2999 XCH change, the difference becomes 0.3 XCH. The protocol is not required to return the "extra" out of respect for the user’s intent. If the other conditions are satisfied, that difference is the fee, rather than an automatically frozen remainder of the original coin. Therefore, the fee amount is related to the complete outcome of the spend. A small expected fee displayed in a form cannot correct an already constructed allocation of value.

The official Spend Bundles page describes combining multiple coin spends and an aggregated signature. Each coin spend includes a puzzle and a solution; execution produces the conditions, including the creation of new coins. The signature is part of the validation process, but does not automatically mean the user understands all monetary implications. The program must check which set of conditions and amounts it allows. To calculate the fee, the final consistent set of spends is important, and not the beautiful name of the operation in the wallet history.

Lower bound in condition

Chialisp has a RESERVE_FEE condition. Its name can easily be read as a separate way to pay another fee on top of the difference. In effect, it requires that the value remaining after the outputs are created be at least a specified value. This is a lower bound tested in the appropriate aggregate context, not the creation of a farmer’s coin. The condition does not replace the arithmetic of removals and additions and does not establish that the final fee is equal to the specified number.

Let the hypothetical spend require at least 80,000,000 mojo. Our calculated difference of 100,000,000 mojo satisfies this requirement. But the fee will remain 100,000,000, and will not decrease to 80,000,000. If you create so many outputs that only 60,000,000 remain, the requirement will not be met. RESERVE_FEE will not take the missing 20,000,000 from a random neighboring wallet and will not automatically reduce the amount to the recipient. We need a valid total of the entire set of conditions being tested.

When multiple RESERVE_FEE requirements are present in a set, their total required amount is taken into account. The hypothetical 50,000,000 and 30,000,000 mojo give the same lower bound of 80,000,000, rather than choosing the maximum of them. In Chia block body verification code, the result of condition processing is compared with the calculated fee; the code also checks the consistency of the fee itself with the block data. This is a verifiable rule rather than trusting a UI explanatory field.

The scope of the requirement is also important. A single coin spend is not always an independent economically complete transaction. Spends can depend on one another and be aggregated. Therefore, it cannot be demanded without justification that each individual input itself covers all the outputs that seem to relate to it in the wallet picture. Conservation of value is checked for the appropriate aggregate set. At the same time, checks on each spend, its signatures, and additional conditions still apply: the cash balance is not the only check of the protocol.

Overlapping green watercolor circles with a separate amber remainder
ITNWS AI-generated conceptual illustration. Overlaps evoke intermediate coins and cancellation of value, not an actual payment. — ITNWS · image_gen · Original ITNWS AI-generated conceptual editorial illustration

What changes when merging

Spend bundle is useful for passing intent to a node, but the documentation explicitly separates it from the primary storage object in a block. In a block, spends, removals and additions matter; the original boundaries of user bundles do not have to be stored as independent entries. Therefore, finding a familiar bundle identifier in the chain and treating it as an immutable bank receipt is too much of an expectation. The wallet can remember its operation and the associated coin IDs, while consensus verifies the aggregate result at another level of representation.

Aggregation preserves the arithmetic of total value. When independent valid sets are combined without conflicting inputs and with their conditions satisfied, their removals and additions add together. Attributing the total fee to earlier user operations can nevertheless depend on which boundaries the observer retained. Block validation does not require the protocol to record each interface’s private accounting label. The money has not disappeared: checking the total difference is distinct from explaining which user intended to pay which share of inclusion.

An intermediate coin can be created and then spent in the same block. It is often called ephemeral coin. For transparent mental calculation, the amount of such a coin appears among additions and removals and cancels out. For example, the intervening 100,000,000,000 mojo does not become a new fee just because the item was short-lived. If you count only one side of the intermediate transition, the statement will give a fictitious increase or expense. The completeness of the set is more important than the number of lines on the selected screen.

This cancellation concerns value, not the disappearance of all rules for intermediate spends. Conditions must be met that bind creation and permissibility of subsequent use. It is impossible to declare an arbitrary negative difference of one separately cut fragment to be evidence of newly issued value or a protocol error. First, boundaries and dependencies are established. Likewise, you cannot add reward coins to the regular list of user additions, forgetting their individual consensus rules, and then be surprised that the block value does not seem to be preserved.

Fees are accounted for in the protocol-defined farmer reward; the user is not obliged to create a regular output for him in his payment. This explains the initial absence of the "fee" coin from the list. But it does not follow from this that any farmer independently chooses the final difference of the already signed spend without fulfilling its conditions. The order of inclusion and distribution of protocol rewards is another part of the system. For the sender, the basis remains the verifiable result of spending his own coins, and not an assumption about the future actions of the selected network participant.

Finally, CLVM cost is not another currency amount. It is a measure of the expenditure of computational and associated protocol resources according to established cost rules. Mojo measures XCH, cost units – the work that the system limits. The same fee can accompany sets of different complexity, and the same amount to the recipient does not determine the same cost. If the interface shows fee per cost, it is a ratio of quantities with different units, useful for selection policy, but not a new way to create money.

A higher per-unit charge may affect the attractiveness of a bundle for inclusion, but it does not make an invalid spend valid or guarantee a specific wait time. Nodes have a mempool policy, the farmer assembles the block, and conditions can limit the permissibility of the operation itself. There is no current research on the network queue here, so our 0.0001 XCH example should not be read as advice to today’s user. It is chosen for a clear balance in whole mojo and only for it.

To verify the confirmation, you need the actual included spends and the corresponding new coins. A wallet’s pending record describes a prepared attempt, not a change to a coin set that has already taken place. If the operation changed before confirmation or the application generated a replacement, it is the final set that needs to be compared. At the same time, including the same already-spent input again is impossible as an ordinary new spend: the one-time use of the coin remains part of the model. The history of the interface must be correlated with this verifiable history of the objects.

In our hypothetical payment, the final entry remains simple: 1 XCH spent, 0.7 generated for the recipient and 0.2999 in change, a difference of 0.0001. Everything else explained why, in a real set, you first need to find the correct lines and boundaries. The fee is established by the on-chain amounts and the fulfilled conditions; a separate “fee” label on the screen only helps a person read the already existing arithmetic.

Sources & documentation

  1. Chia spend bundles ↗
  2. Chialisp conditions RESERVE_FEE ↗
  3. Chia costs ↗
  4. Chia coin set introduction ↗
  5. Chia consensus block body validation implementation ↗