nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / createReqMessage

Function: createReqMessage()

createReqMessage(subscriptionId, filters): NostrWSMessage

Creates a REQ message

Parameters

subscriptionId

string

filters

Record<string, unknown>[]

Returns

NostrWSMessage

Defined in

nips/nip-01.ts:71