Compute proof of work

Computes a PoW nonce for a block hash. Convenience endpoint — clients may also compute PoW locally.

POST
/pow

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

hash*Hash

Hex-encoded SHA-256 (64 chars)

Response Body

application/json

curl -X POST "https://ldn.test.network/pow" \  -H "Content-Type: application/json" \  -d '{    "hash": "f2a3b4c5d6e7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3"  }'
{
  "nonce": 67890
}