LoginSignup
0
0

More than 5 years have passed since last update.

Parityで Error: Invalid params: invalid type: null, expected a string. が出る場合

Posted at

Parityを利用していて以下のようなエラーが出る場合があります。

Error: Invalid params: invalid type: null, expected a string.

web3から以下のコマンドを叩いた時に再現しました。

web3.personal.unlockAccount("0x7ad8f90cfa071c8420e3f09fe0e413d0c47502e6")

ちょっとエラーメッセージがわかりづらいのですが、単純にパラメータを指定していない場合にも発生するので、その場合は指定すれば解決です。

web3.personal.unlockAccount("0x7ad8f90cfa071c8420e3f09fe0e413d0c47502e6", 'YOURPASSWORDHERE')
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0