# 3.4 Proof of Work Consensus Algorithm

Participants in the blockchain network are rewarded based on their contributions to the creation of blocks. To achieve this, participants execute a Proof of Work (PoW) through the blockchain's consensus algorithm, a process known as "mining".

Proof of Work (PoW): This is a mechanism for verifying and confirming transactions by solving complex mathematical problems. Miners compete to generate new blocks by solving these problems and are rewarded with block rewards.

Hash Function: Based on the Keccak-256 (SHA-3) hash function.

<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc1A6C3FBm_V6LzoIOCsQdK36dubZnkPIjvyuWoiz0weSMkNgmbFRDN5DWoNwHu17LUKB2y58YV_Qz-xDTudMdrIpNgHCb10eMK78DzHVzdZAGmVgCPhyxcQNitVw5EKQhIMvQEhsbDkISFP-bNKw?key=5XZ-nso-X2d5xjt0asyHbOX8" alt=""><figcaption></figcaption></figure>


---

# 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://pemcoin.gitbook.io/pem-project/3.-blockchain-technology-applications/3.4-proof-of-work-consensus-algorithm.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.
