"getNetworkInfo" command is missing from commands.js file. please add it or better solution would be to add a method to call custom json-rpc endpoint.