- Version: 5.2.2
- Python: 3.6
- OS: osx
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?