Invocation |
|
Parameter | Type | Description |
keyData |
| |
passphrase |
| |
Returned type | Description |
| |
curl --data '{"method":"personal_importRawKey","params":[keyData, passphrase],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
See also CLI personal.importRawKey
Invocation |
|
This method doesn't have parameters. |
Returned type | Description |
| |
curl --data '{"method":"personal_listAccounts","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
See also CLI personal.listAccounts
Invocation |
|
Parameter | Type | Description |
address |
| |
Returned type | Description |
| |
curl --data '{"method":"personal_lockAccount","params":[address],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
See also CLI personal.lockAccount
Invocation |
|
Parameter | Type | Description |
passphrase |
| |
Returned type | Description |
| |
curl --data '{"method":"personal_newAccount","params":[passphrase],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
See also CLI personal.newAccount
Invocation |
|
Parameter | Type | Description |
address |
| |
passphrase |
| |
Returned type | Description |
| |
curl --data '{"method":"personal_unlockAccount","params":[address, passphrase],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545