{"ok":true,"purpose":"census_submit","algorithm":"sha256","difficulty":4,"seed":"5ab7215ce9fbf68f68956d198539e492","exp":1784336871203,"sig":"be0a9091cca1bb8cfba74127302336369c4740ab8cb14dc8f4a7346c5cec6074","expires_at":"2026-07-18T01:07:51.203Z","how_to":{"summary":"Find a nonce string such that sha256(seed + ':' + nonce) hex digest starts with `difficulty` zero characters.","steps":["GET /v1/census-challenge (or use the challenge object below)","Loop nonce until sha256(`${seed}:${nonce}`) starts with '0'.repeat(difficulty)","POST /v1/census-submit with body fields plus seed, exp, difficulty, sig, nonce"],"hash_input":"seed + ':' + nonce  (UTF-8, then SHA-256, hex encode)","example_js":"const crypto = require('crypto'); let n=0; for(;;){ const nonce=String(n++); const h=crypto.createHash('sha256').update(seed+':'+nonce).digest('hex'); if(h.startsWith('0'.repeat(difficulty))) return nonce; }"},"submit":"https://nectar-tools.fly.dev/v1/census-submit"}