View Source Nostr.Event.BadgeAward (Nostr Lib v0.1.1) (event) (nip58)

Badge award

Defined in NIP 58 https://github.com/nostr-protocol/nips/blob/master/58.md

Summary

Types

@type t() :: %Nostr.Event.BadgeAward{
  awardees: [<<_::32, _::_*8>>],
  badge: <<_::32, _::_*8>>,
  event: Nostr.Event.t()
}

Functions

@spec parse(event :: Nostr.Event.t()) :: t()