Listen for SDK events and inspect the provider after connect() :
const client = await createEVMClient({ /* ... */ });
client.on('connect', (info) => {
console.log('Connected via:', info.transport); // 'extension' | 'mwp' | 'mobile'
});
await client.connect();
This is useful for diagnostics and for routing transport-specific UX (e.g., showing a “Switch to mobile” button only when on the extension path).