nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / addDelegationTag

Function: addDelegationTag()

addDelegationTag(event, delegation): NostrEvent

Add delegation tag to an event

Parameters

event

NostrEvent

delegation

Delegation

Returns

NostrEvent

Defined in

nips/nip-26.ts:112