The article is pointing to the "
command line" which is a little different than the GUI's console.
If you want, you can try it in the command line as described or if you're in Windows, run electrum from source via Python v3.8 and above.
Note: the latest source needs "
paymentrequest_pb2.py" and "
libsecp256k1-0.dll" to work which should be built using the provided scripts in 'contrib' folder.
Or if you have no choice, get those pre-build from an older version of the code.
Example. When I use the code, I went to i and I saw "ismine". This makes it not understandable as I was expecting ismine("your bitcoin address"). Also that is how other ones are. Is there not a way that I can get it like in my example like ismine("your bitcoin address")?
In the command line (
not console), the command should be:
help <command>Example.:
./run_electrum help ismine
It'll show you info about the command and required positional arguments, but no example.
Result:
Check if address is in wallet. Return true if and only address is in wallet
positional arguments:
address Bitcoin address
Alternatively, you can check the available commands and the args in this code:
github.com/spesmilo/electrum/blob/master/electrum/commands.py#L168