# Cost Estimation

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_properties`*** in the cli wallet and copy the list of operations ID's/Fees from the return value.
2. Download the latest copy of Operation ID mapping. The below link directs to the latest list of operations:\
   <https://devs.peerplays.com/supporting-and-reference-docs/operation-ids-list>
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:

{% embed url="<https://devs.peerplays.com/development-guides/calculating-costs>" %}

This page explains about the fees estimation, function execution, and a detailed example to understand the fees calculation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://community.peerplays.com/operation-cost-estimation/cost-estimation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
