Applesauce
    Preparing search index...

    Class EventCast<T>

    The base class for all casts. T is bounded by StoreEvent (not NostrEvent) so a cast can wrap an unsigned Rumor as well as a signed event — EventCast never reads .sig. The event-reading helpers below are still typed NostrEvent, so they are bridged with a localized as NostrEvent; each reads only fields present on a rumor.

    Type Parameters

    Hierarchy (View Summary)

    Index
    event: T
    • get coordinate(): string | null

      Returns the NIP-01 address string for this event if its replaceable or addressable, otherwise returns null

      Returns string | null