ServerActions.health
Viem Action for retrieving the health status of the RPC server. Uses health
under the hood.
Usage
example.ts
import { ServerActions } from 'porto/viem'
import { client } from './config'
const health = await ServerActions.health(client)
Parameters
This action takes no parameters.
Return Value
See health
.