Skip to main content

Transaction Fees

A transaction fee is a fee that is required in order to process a transaction on the Aleo network. Currently, there are two types of transaction fees that correspond to each transaction type: deploy and execute.

Aleo Credits Denomination Table​

DenominationSize of TransactionValueExample
microcreditByte1Smallest denomination
millicreditKilobyte (KB)1000 microcreditsMost transactions average between 3 and 10 millicredits
creditMegabyte (MB)1000 millicreditsLargest denomination

Note that transaction sizes are averages using Big O notation (on the order of).

Types of Transaction Fees

Deploy Transaction Fee​

A fee incurred when deploying an application on the Aleo blockchain

Structure​

Part of Deploy TransactionSizeMultiplierCost
Transaction wrapper0 KB10 millicredits
Transition wrapper0 KB10 millicredits
Verifying key1 KB22 millicredits
Certificate1 MB22 millicredits
Program bytecode1 KB11 millicredit
TotalSizeMultiplierTotal cost
Transaction -> Transition5 KB1000 *5 credits

Notes​

  • To prevent bad actors from spamming the network with superfluous transactions, a variable Deploy Transaction Multiplier will be added to all deploy transactions.

Execute Transaction Fee​

A fee incurred when executing an application on the Aleo blockchain

Structure (minimum cost example)​

Part of Execute TransactionSizeMultiplierCost
Transaction wrapper0 KB10 millicredits
Transition wrapper0 KB10 millicredits
Input1 KB22 millicredits
Output1 KB22 millicredits
Proof1 KB11 millicredit
TotalSizeMultiplierTotal cost
Transaction -> Transition5 KB15 millicredits

Structure (maximum cost example)​

Part of Execute TransactionSizeMultiplierCost
Transaction wrapper1 KB6565 millicredits
Transition wrapper1 MB3232 credits
Input1 KB16 * 32512 millicredits
Output1 KB16 * 32512 millicredits
Proof1 KB11 millicredit
TotalSizeMultiplierTotal cost
Transaction -> Transition32 MB132 credits

Notes

  • The minimum execute transaction fee may increase to prevent spamming; it is currently stable between 3 and 5 millicredits for a basic credits.aleo transfer