isReady
Check the status of the client object. If it returns true
, then the client is successfully connected to both the chain RPC and the PRuntime node.
Usage
const ready = client.isReady()
Returns
boolean
The connect state of current client object.