Get import status for a HD Account
Check if an import or a rescan is currently processed by Dojo for a given HD Account.
GET /xpub/:xpub/import/statusParameters
Section titled “Parameters”- :xpub -
string- The extended public key for the HD Account - at -
string(optional) - Access Token (json web token). Required if authentication is activated. Alternatively, the access token can be passed through theAuthorizationHTTP header (with theBearerscheme).
Example
Section titled “Example”GET /xpub/xpub0123456789/import/statusSuccess
Section titled “Success”Status code 200 with JSON response:
{ "status": "ok", "data": { "import_in_progress": false }}{ "status": "ok", "data": { "import_in_progress": true, "status": "rescan", "hits": 1143 }}Failure
Section titled “Failure”Status code 400 with JSON response:
{ "status": "error", "error": "<error message>"}