Behavior shared by every chain, in four groups. The connection is lazy — the transport is created on the first call that reaches the device, so the lifecycle setters are cached and applied on connect.
Connection API
| Method | Purpose |
|---|
setTransport | Choose WebHID or Bluetooth. v2 new |
setConnectionListener | Popup 'connected' / 'disconnected' events, plus the separate device axis in the second argument — including the device-screen approval wait ('awaiting-connect-approval') and the disconnect reason (deviceReason). v2 new |
setSignProgressListener | Multi-signature progress (step / total). v2 new |
setTimeOutMs | Request timeout. |
popupWindowClose | Close popup, release transport. |
Device API
Account API
Sign API
A single entry point — sign({ method, chainId, payload }) — covers signTransaction / signMessage / signTypedData / signAuthEntry.