---
title: "Submit solution for current candidate"
method: POST
path: "/mining/solution"
tags: ["mining"]
---

# Submit solution for current candidate

`POST /mining/solution`

## Request body

- PowSolutions — An object containing all components of pow solution
  - `pk` string, required — Base16-encoded public key
  - `w` string, required
  - `n` string, required
  - `d` number, required

## Response `200`

Solution is valid

## Other responses

- `400` — Solution is invalid
- `default` — Error

## Changes

- **2026-08-11** `a731602272c6` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
- **2026-08-02** `dc0b9844c2d1` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
- **2026-07-22** `2788fc3df4e4` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
- **2026-07-17** `ef97e678f020` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
- **2026-07-08** `ac1f674d89f0` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API

[Full history](https://skmtc.dev/ergoplatform/apis/ergo-node-api/changes/mining/solution/post.md)

---

[API](https://skmtc.dev/ergoplatform/apis/ergo-node-api.md) · [All operations](https://skmtc.dev/ergoplatform/apis/ergo-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ergoplatform/ergo-node-api/revisions/a731602272c6/schema)
