The client instance.
Parameters including the smart account and execution mode details.
A boolean indicating whether the execution mode is supported.
If the account is not found.
import { supportsExecutionMode } from '@biconomy/abstractjs'
const isSupported = await supportsExecutionMode(nexusClient, {
type: 'call',
revertOnError: true,
selector: '0x12345678'
})
console.log(isSupported) // true or false
Checks if a smart account supports a specific execution mode.