signMessage
function.
See Checking Wallet Account Availability for more information.
WalletAccountNotSelectedError
error.
The error contains an expectedAddress
, which is the address that you are trying to sign the message with, and a selectedAddress
, which is the address that is currently active in the wallet app.
If there is no selectedAddress
prop, it probably means that there is no connected wallet accounts to your app.