> For the complete documentation index, see [llms.txt](https://nownodes.gitbook.io/xmr-monero/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nownodes.gitbook.io/xmr-monero/monero-xmr/add-aux-pow.md).

# Add aux pow

## Add auxiliary PoW to a Monero block template for merge mining

> Enables merge mining without manually altering the coinbase transaction. Accepts auxiliary block information and returns a modified block template with the auxiliary PoW included.

```json
{"openapi":"3.0.3","info":{"title":"Monero Daemon RPC API","version":"1.0.0"},"servers":[{"url":"https://xmr.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}}},"paths":{"/json_rpc":{"post":{"tags":["Add aux pow"],"summary":"Add auxiliary PoW to a Monero block template for merge mining","description":"Enables merge mining without manually altering the coinbase transaction. Accepts auxiliary block information and returns a modified block template with the auxiliary PoW included.","operationId":"add_aux_pow","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string"},"id":{"type":"string"},"method":{"type":"string"},"params":{"type":"object","properties":{"blocktemplate_blob":{"type":"string","description":"Hexadecimal representation of the block template"},"aux_pow":{"type":"array","description":"List of auxiliary block hashes and IDs","items":{"type":"object","properties":{"id":{"type":"string"},"hash":{"type":"string"}}}}}}}}}}},"responses":{"200":{"description":"Auxiliary PoW added successfully","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"jsonrpc":{"type":"string"},"result":{"type":"object","properties":{"blocktemplate_blob":{"type":"string"},"blockhashing_blob":{"type":"string"},"merkle_root":{"type":"string"},"merkle_tree_depth":{"type":"integer"},"aux_pow":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hash":{"type":"string"}}}},"status":{"type":"string"},"untrusted":{"type":"boolean"}}}}}}}},"400":{"description":"Bad Request – invalid parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"403":{"description":"Forbidden – insufficient permissions","content":{"application/json":{"schema":{"type":"string"}}}},"404":{"description":"Not Found – block template not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}}}}
```
