Granite Upgrade Activates in12d:13h:16m:08s
Personal

personal_unlockAccount

Unlocks an account with the given password and optional duration.

⚠️ Security Note: This method is NOT available on public RPC endpoints for security reasons. Personal methods manage private keys and must only be used on nodes you control.

POST
/ext/bc/C/rpc#personal_unlockAccount

JSON-RPC request

jsonrpcstring
methodstring
paramsarray<unknown>
idinteger

Response Body

application/json

application/json

curl -X POST "https://api.avax.network/ext/bc/C/rpc#personal_unlockAccount" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "personal_unlockAccount",    "params": [      "0x...",      "strong_password",      300    ],    "id": 1  }'
{
  "jsonrpc": "2.0",
  "result": null,
  "error": {
    "code": 0,
    "message": "string",
    "data": null
  },
  "id": 1
}
{
  "jsonrpc": "2.0",
  "error": {
    "code": 0,
    "message": "string",
    "data": null
  },
  "id": 1
}

Is this guide helpful?