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

View Source

Represents a decoded nevent entity.

Fields:

  • event_id - 32-byte hex-encoded event ID
  • relays - list of relay URLs where the event might be found
  • author - optional 32-byte hex-encoded author public key
  • kind - optional event kind number

Summary

Types

t()

@type t() :: %Nostr.NIP19.Event{
  author: String.t() | nil,
  event_id: String.t(),
  kind: non_neg_integer() | nil,
  relays: [String.t()]
}