The client instance.
Parameters including the smart account and optional selector.
A tuple containing the call type and address of the fallback handler.
If the account is not found.
import { getFallbackBySelector } from '@biconomy/sdk'
const [callType, handlerAddress] = await getFallbackBySelector(nexusClient, {
selector: '0x12345678'
})
console.log(callType, handlerAddress) // '0x1' '0x...'
Retrieves the fallback handler for a given selector in a smart account.