RelayActions.getCapabilities
Viem Action for retrieving the capabilities of the Relay. Uses wallet_getCapabilities
under the hood.
Usage
example.ts
import { RelayActions } from 'porto/viem'
import { client } from './config'
const capabilities = await RelayActions.getCapabilities(client)