Whether a signer can carry messages that need method.
method
The active account's signer, or only the encryption it offers, or undefined while nobody is signed in.
undefined
The encryption the provider uses.
Available, or unavailable with sign-in-required or signer-cannot-encrypt.
sign-in-required
signer-cannot-encrypt
signerAvailability(undefined, 'nip44'); // { available: false, reason: 'sign-in-required' }signerAvailability(new PrivateKeySigner(), 'nip44'); // { available: true } Copy
signerAvailability(undefined, 'nip44'); // { available: false, reason: 'sign-in-required' }signerAvailability(new PrivateKeySigner(), 'nip44'); // { available: true }
Whether a signer can carry messages that need
method.