Introduction
A transaction fee on Radix is the $XRD a transaction pays for the computation and storage it uses. Every transaction manifest, the list of instructions a transaction runs, written in the manifest language, names the vault that pays the fee with a lock_fee call, usually its first instruction.
Unlike on an EVM chain, the fee is not attached to the account that signs. $XRD is held in vaults owned by components, so whichever component locks the fee pays it: the user’s Smart Account, a dApp’s component, or both. The fee is also not one figure, as gas is on Ethereum: it adds a network fee, an optional tip and any royalties the called code charges, and each part goes to a different place.
What Makes Up a Fee
The fee model prices each transaction in three parts, the first of which is metered as three separate quantities:
- Network fee – the cost of running the transaction and of the state it leaves behind. It adds an execution cost, a finalization cost and a storage cost. The first two are counted in cost units, the engine’s fixed measure of the work each operation takes, and priced from a fee table; the third is charged per byte written to state and to archive.
- Tip – an optional percentage the submitter adds when demand exceeds capacity. It is charged on the execution and finalization costs only, not on storage or royalties.
- Royalties – amounts a package publisher or component owner sets, charged whenever a transaction calls that code; Events, Metadata, and Royalties shows how to configure them.
Because royalties count inside the fee, a transaction that calls code charging a royalty costs more than the same transaction without it, and the wallet shows the total in its transaction summary before the user signs.
The Prices, and the Fiat Peg Behind Them
The prices are protocol constants, declared in radix-common/src/constants/transaction_execution.rs and assembled by the engine into a CostingParameters struct. The Gateway API returns the values in force for any committed transaction under receipt.costing_parameters.
| Parameter | Value | What it controls |
EXECUTION_COST_UNIT_PRICE_IN_XRD | 0.00000005 $XRD | Price of one execution cost unit |
FINALIZATION_COST_UNIT_PRICE_IN_XRD | 0.00000005 $XRD | Price of one finalization cost unit |
STATE_STORAGE_PRICE_IN_XRD | 0.00009536743 $XRD | Price of one byte of state storage |
ARCHIVE_STORAGE_PRICE_IN_XRD | 0.00009536743 $XRD | Price of one byte of archive storage (payload, events, logs) |
EXECUTION_COST_UNIT_LIMIT | 100,000,000 | Ceiling on execution cost units in one transaction |
FINALIZATION_COST_UNIT_LIMIT | 50,000,000 | Ceiling on finalization cost units in one transaction |
EXECUTION_COST_UNIT_LOAN | 4,000,000 | Cost units advanced before the first lock_fee |
USD_PRICE_IN_XRD | 16.666… $XRD | Conversion rate from dollars to $XRD |
Mainnet transaction txid_rdx15gl7urc8kn36mjeq0hwru4mhn9t6uknkh7c7vsnw7tkh6t85zh9q6t3jzn, committed on 23 August 2026 at state version 553,951,096, paid a network fee of 0.50110159972 $XRD. Its receipt.fee_summary breaks that down: 7,286,902 execution cost units come to 0.3643451 $XRD, 820,152 finalization cost units to 0.0410076 $XRD, and 0.09574889972 $XRD of storage is 1,004 bytes. The receipt matches these constants exactly.
USD_PRICE_IN_XRD fixes 1 $XRD at $0.06. The protocol uses it to convert anything priced in dollars into $XRD. It is compiled in rather than read from an oracle, so it does not follow the market: CostingParameters::latest() in transaction_executor.rs returns babylon_genesis(), and the receipt of the transaction above reports xrd_usd_price at the value set at Babylon.
Network fees are set in $XRD, so a transaction costs the same $XRD whatever $XRD trades at. A royalty declared in USD converts to $XRD at the fixed rate, not at the market price. Two other constants are sized in dollars at the same rate: the per-function royalty cap, MAX_PER_FUNCTION_ROYALTY_IN_XRD, is 166.666… $XRD, commented in the source as $10; and PREVIEW_CREDIT_IN_XRD, the free credit a transaction preview runs on, is 1,000,000 $XRD, commented as $60,000.
Locking a Fee
The lock_fee call names the vault that pays. Called on a component that owns an $XRD vault, it establishes the fee reserve the transaction pays from:
CALL_METHOD
Address("account_rdx...")
"lock_fee"
Decimal("5")
;The amount is a ceiling, not a charge: whatever the transaction does not spend returns to the vault it was locked from. If the reserve runs dry mid-execution the transaction fails, and the fees already consumed are not refunded.
Multiple Payers
More than one vault can lock a fee in the same transaction, and later locks are spent first. A dApp component can lock part or all of the fee, so the user needs no $XRD to call it, and an application that takes a cut of each trade can pay a share of the fee from it. Neither needs a meta-transaction relayer, the third-party service EVM chains use to submit a user’s signed request and pay its gas.
The Bootstrap Loan
The instructions that run before the first lock_fee still cost something. The network covers them with a loan of execution cost units, EXECUTION_COST_UNIT_LOAN in the table above, which must be repaid the moment the reserve is established. A transaction that uses up the loan without locking enough is rejected outright and leaves no ledger record. One that repays the loan and then fails is committed as failed: its state changes roll back, but the fees spent up to the failure are kept.
Where Fees Go
Spent fees are split by type, and the shares are protocol constants rather than a validator setting:
- Network fee – 25% goes to the validator that proposed the round and 25% to the validator set, shared at the end of each epoch, the period for which the validator set stays fixed, in the same shape as network emissions; the remaining 50% is burnt. The two validator shares are
NETWORK_FEES_PROPOSER_SHARE_PERCENTAGEandNETWORK_FEES_VALIDATOR_SET_SHARE_PERCENTAGEin transaction_execution.rs, andto_burn_amount()computes the burn as what remains after both rather than as a share of its own. - Tips – paid immediately and entirely to the round proposer:
TIPS_PROPOSER_SHARE_PERCENTAGEis 100 andTIPS_VALIDATOR_SET_SHARE_PERCENTAGEis 0, so a tip is never burnt or shared. - Royalties – deposited into a system-generated vault owned by the component (or, for package royalties, by the package). A component’s royalties are claimed through its
royalty_claimerrole, which the instantiator assigns and which defaults to the component’s owner; a package’s royalties are claimed by the package owner, who for a package published withPUBLISH_PACKAGEholds an owner badge the system mints at publication.
The Gateway returns the split for any committed transaction under receipt.fee_destination. For the 23 August 2026 transaction above:
| Destination | $XRD |
| Burnt | 0.25055079986 |
| Round proposer | 0.12527539993 |
| Validator set (epoch pool) | 0.12527539993 |
Fee Tables and Fee Auctions
On Bitcoin the fee is a bid in an auction, as it was on Ethereum until EIP-1559 added a burnt base fee that rises and falls with how full blocks are; Vitalik Buterin argued in 2018 that such an auction leaves a sender no simple rule for choosing a bid. The Radix network fee is not a bid: it follows from the cost units and bytes a transaction uses, priced at the constants above, and the only part a sender chooses is the tip, the counterpart of EIP-1559’s priority fee.
Practical Guidance
- Estimate, then lock above the estimate. Preview the transaction through the Gateway API for a fee estimate rather than guessing, especially for a manifest whose cost varies with input size.
- Gate any method that pays fees. If your component locks the fee, anyone who can call that method spends your $XRD, so gate it with a badge or a business rule.
Next Steps
- Radix Engine Toolkit – build and sign transactions from your own code, with no wallet in the loop
External Links
- How do Transaction Fees Work on Radix? – Radix Knowledge Base
- Using Royalties – Radix Documentation
- Transactions – Radix Documentation
- transaction_execution.rs – the costing constants in radixdlt-scrypto
- fee_summary.rs – how a spent fee is split between proposer, validator set and burn
- Transaction Costing – Radix Documentation
- First and second-price auctions and improved transaction-fee markets – Vitalik Buterin, ethresear.ch, 2018
