{ "opencollection": "1.0.0", "info": { "name": "Nano RPC Accounts Work API", "version": "1.0.0" }, "items": [ { "info": { "name": "Work", "type": "folder" }, "items": [ { "info": { "name": "Cancel work generation", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:7076/work_cancel", "body": { "type": "json", "data": "{}" } }, "docs": "Cancels pending work generation for a given hash." }, { "info": { "name": "Generate proof-of-work", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:7076/work_generate", "body": { "type": "json", "data": "{}" } }, "docs": "Generates proof-of-work for a given block hash." }, { "info": { "name": "Validate proof-of-work", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:7076/work_validate", "body": { "type": "json", "data": "{}" } }, "docs": "Validates that a given work value satisfies difficulty for a hash." }, { "info": { "name": "Get cached work for account", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:7076/work_get", "body": { "type": "json", "data": "{}" } }, "docs": "Returns the cached proof-of-work value for the account in a wallet." }, { "info": { "name": "Set cached work for account", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:7076/work_set", "body": { "type": "json", "data": "{}" } }, "docs": "Stores a proof-of-work value in cache for an account." } ] } ], "bundled": true }