Whether the relay pool is available and connected.
true if the relay pool can handle requests
Select relay URLs appropriate for the given filters.
NIP-01 filter objects
Array of relay URLs
Subscribe to events matching filters. Returns handle with unsubscribe().
NIP-01 filter objects
Receives matching events or 'EOSE'
OptionalrelayUrls: string[]Optional relay URL hints
Handle to cancel the subscription
Options for creating a relay pool service.
Example