XEM
POST
GET
Last updated on January 1, 1970
1 min read
Method /account/unlock undefined ()
connect with REST protocol
/account/unlock
Method not allowed
Unlocks an account (starts harvesting).
Parameters
privateKey
-
A PrivateKey JSON object. A private key is a key to an account. Anyone having the private key to an account can initiate any account related action. Therefore a private key must be kept secret at all costs.
Request
curl --location --request POST 'https://xem.getblock.io/account/unlock'
--header 'x-api-key: YOUR-API-KEY'
--header 'Content-Type: application/json'
--data-raw '{'privateKey':{'value':'68e4f79f886927de698df4f857de2aada41ccca6617e56bb0d61623b35b08cc0'}}'
Response
{
"result": "null",
"id": "getblock.io",
"status_code": 405,
"message": "Method not allowed"
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }