The cost for each operation can be calculated using a function called
get_global_properties. Each operation cost varies and change over time due to blockchain governance voting. The final value will be calculated based on the type of operation and the total number of runs that operation has to be executed. The fees value are in terms of PPYs.
The following list of points has to be taken into consideration while calculating the operation cost:
- 1.Execute the
get_global_propertiesin the cli wallet and copy the list of operations ID's/Fees from the return value.
- 3.Combine the two lists to derive the fee for each operation.
Click the below link to learn about the operation cost calculation in detail:
This page explains about the fees estimation, function execution, and a detailed example to understand the fees calculation.