Fees on Algorand

from Structure - Algorand Developer Portal

Fees for transactions on Algorand are set as a function of network congestion and based on the size in bytes of the transaction.

Where is the function for calculate network congestion ?

Thank’s

Marco

1 Like

The function can be seen here: https://github.com/algorand/go-algorand/blob/3ff5722f4ca5645b670d9b34a1071b4c17fa60fe/data/pools/transactionPool.go#L304.

Congestion fees are based on how many blocks the transactions in the mempool could fill.

More information on fees can be found on the developer portal: Structure - Algorand Developer Portal

2 Likes

Thank you for info.

Now many things are clearer.

Marco

1 Like