Skip to content

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) 

Return Value

See wallet_getCapabilities.