Skip to main content

Get Node Health

You can check the health of any node.

Client in Wallet

If you are using a wallet you can always get the client by calling the client()/getClient()/get_client() method

The following code example will:

  1. Create a Client which will connect to the Shimmer Testnet.
  2. Use the created client to get the health of the specified url.
  3. Print the information to the console.

Code Example

sdk/examples/how_tos/client/get_health.rs
loading...

Expected Output

Healthy: true