1

There is a command personal.listWallets in geth cli to get the account locked/unlocked status such as below:

> personal.listWallets[1]
{
  accounts: [{
      address: "0x175ec34c2b545a4e2195bfbfe03a82b67e594390",
      url: "keystore:///var/geth/keystore/UTC--2018-07-16T09-18-23.192773724Z--175ec34c2b545a4e2195bfbfe03a82b67e594390"
  }],
  status: "Locked",
  url: "keystore:///var/geth/keystore/UTC--2018-07-16T09-18-23.192773724Z--175ec34c2b545a4e2195bfbfe03a82b67e594390"
}

How can I get the similar account status from python web3 package or send the same command to fetch the information via python web3?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.