electrum setconfig rpcport 7777
electrum daemon start
curl --data-binary '{ "id": 0, "method": "wallet.create_new_address()", "params": [] }' http://127.0.0.1:7777
Returns:
{"error": {"message": "Method wallet.create_new_address() not supported.", "code": -32601}, "jsonrpc": "2.0", "id": 0}
Is there any way to generate new address via RPC or command line ?