Skip to main content
Version: 1.28.0

personal namespace

personal_importRawKey

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "personal_importRawKey",
"params": [keyData, passphrase]
}'

personal_listAccounts

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "personal_listAccounts",
"params": []
}'

personal_lockAccount

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "personal_lockAccount",
"params": [address]
}'

personal_newAccount

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "personal_newAccount",
"params": [passphrase]
}'

personal_unlockAccount

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "personal_unlockAccount",
"params": [address, passphrase]
}'