Returns a set of users that this user follows.
Readonly
nip46Optional
profileReadonly
relayGet the user's hexpubkey
The user's hexpubkey
Set the user's hexpubkey
{Hexpubkey} The user's hexpubkey
Get the user's pubkey
The user's pubkey
Set the user's pubkey
{string} The user's pubkey
Fetch a user's profile
Optional
opts: NDKSubscriptionOptions{NDKSubscriptionOptions} A set of NDKSubscriptionOptions
{boolean} Whether to store the profile event or not
User Profile
Retrieves the zapper this pubkey has designated as an issuer of zap receipts
Optional
ndk: defaultGets NIP-57 and NIP-61 information that this user has signaled
{boolean} Whether to get all zap info or just the first one
Validate a user's NIP-05 identifier (usually fetched from their kind:0 profile data)
The NIP-05 string to validate
True if the NIP-05 is found and matches this user's pubkey, False if the NIP-05 is found but doesn't match this user's pubkey, null if the NIP-05 isn't found on the domain or we're unable to verify (because of network issues, etc.)
Static
fromInstantiate an NDKUser from a NIP-05 string
{string} The user's NIP-05
{NDK} An NDK instance
{boolean} Whether to skip the cache or not
An NDKUser if one is found for the given NIP-05, undefined otherwise.
Represents a pubkey.