Optional
poolOptional
publishA method for publishing events
The relays to use for the connection
The secret to use for the connection
Optional
serviceThe service pubkey to use for the connection (optional)
Optional
subscriptionA method for subscribing to relays
Optional
timeoutDefault timeout for RPC requests in milliseconds
An optional pool for connection methods