with no CantonConnectProvider above it, and from ledgerApi itself where nothing
is connected or the wallet is locked, which isReady is there to check first. A refused read
throws too, always as an Error: see toError.
Example
const { ledgerApi, isReady } = useLedger()
if (!isReady) return <p>Connectandunlockthewalletfirst.</p>
Escape hatch for ledger reads
useExecuteanduseSignMessagedo not cover: the participant's JSON API, passed through untyped.