Nano.to PoW API

Standalone GPU powered Proof of Work API. Scale Nano apps, easily.

Authentication

Get Free API Key

Free 30 PoW / 30 minute for testing. For production get prepaid GPU credits.

Use via API

curl -d '{
  "action": "work_generate",
  "hash": ":FRONTIER",
  "key": "RPC-API-KEY"
}' \
-H "Content-Type: application/json" \
"https://rpc.nano.to"

{
  "difficulty": "fffffff800000000",
  "multiplier": "1.4403398628545552",
  "work": "4e278d4edc807508",
  "frontier": "7D27B311666C82....6C8637D277F1FD2ED",
  "duration": "0.883s"
  "credits": 9,
  "cached": false,
}

Add Directly to Node

EXPERIMENTAL

  • Windows: C:\Users\<user>\AppData\Local\Nano\config-node.toml
  • macOS: /Users/<user>/Library/Nano/config-node.toml
  • Linux: /home/<user>/Nano/config-node.toml
  • Docker: As defined by the -v flag in the docker run command
  • .deb/rpm: /var/nanocurrency/Nano/config-node.toml
[node]
work_threads = 0
work_peers = [
    "rpc.nano.to/pow/:API_KEY",
]

Common Errors

Rarely, but it's important to be ready for them. We recommend you precache work. By requesting it, before you need it.

Code 429: Exhausted your free usage:

{
    "error": 429,
    "message": "Too many requests."
}

Code 503: GPUs are not available, (very rare):

{
    "error": 503, 
    "message": "Sorry, no GPUs available. Try again in a few seconds."
}

Code 500: Service is not available (very rare):

{
    "error": 500, 
    "message": "Service not available. Try again in a few minutes."
}

Questions or Comments?