본문으로 건너뛰기

personal_replaceRawKey

Replaces the encrypted key file in the key store with the given unencrypted private key (hex string without leading '0x') or a Kaia wallet key, encrypting it with the new passphrase. It also receives the old passphrase to decrypt the old private key before replacement. If it is failed to decrypt, or can not find the matching account, it throws an error.

Returns the address of the replaced account if successful.

JSONRPC: personal_replaceRawKey

Request

Responses

Return the address of the replaced account.

페이지를 개선해 주세요