The relay provides a table for users that broadcast metadata update on the relay.
What I did is to fetch the username if the npub did an update of the metadata on the relay, otherwise the pubkey of the user is displayed as hex.
The relay provides a table for users that broadcast metadata update on the relay.
What I did is to fetch the username if the npub did an update of the metadata on the relay, otherwise the pubkey of the user is displayed as hex.