Skip to content

ServerActions.getCapabilities

Viem Action for retrieving the capabilities of the RPC server. Uses wallet_getCapabilities under the hood.

Usage

example.ts
import { ServerActions } from 'porto/viem'
import { client } from './config'
 
const capabilities = await ServerActions.getCapabilities(client) 

Return Value

See wallet_getCapabilities.