Nostr.NIP19.Address (Nostr Lib v0.2.0)

View Source

Represents a decoded naddr entity (addressable event coordinate).

Fields:

  • identifier - the "d" tag value (can be empty string for normal replaceable events)
  • pubkey - 32-byte hex-encoded author public key (required)
  • kind - event kind number (required)
  • relays - list of relay URLs where the event might be found

Summary

Types

t()

@type t() :: %Nostr.NIP19.Address{
  identifier: String.t(),
  kind: non_neg_integer(),
  pubkey: String.t(),
  relays: [String.t()]
}