with no CantonConnectProvider above it, and from readPartyType where nothing
is connected, the wallet is locked or no party is reported, which isReady is there to check
first. It throws too when the ledger's answer carries no usable participant id, and on a refused
read, always as an Error: see toError.
Tells a local party from an external one when asked. Each
readPartyTypecall is oneledgerApiread of the participant id, its namespace compared with the party's; nothing is cached, so hold the answer where several components need it. Reach for it before an action a local party cannot take, such assignMessage, which the reference gateway refuses.