Import a private key

(.config = "webaccess": {"active": true, "access_private_key": true})

POST http://127.0.0.1/api/access/importkey

{ 
	"private_key": "AAIAAEg***evnCd1Sc4oZir7Fnn0EDAAAAAEAAAABAAAAEQAAAOGR"
}

success response:

{"success": true, "id": 94, "name": "q1@q.ru", "address": "RtEtXcBsEYj7x2vBSuFuYdCtFak8y36H"}

fail response:

{"success":"false","error":"access to private keys is disabled"}

Last updated