Close a scoped relay connection.
Get the relay pool instance — returns null if no pool available.
Open a scoped relay connection (NIP-29 groups).
Publish to a scoped relay.
Async hosts settle the returned promise after transport acceptance. Returns false if no active scoped relay or publication fails.
Track a subscription for lifecycle management.
Untrack and clean up a subscription.
Hook for relay pool operations. Host app provides relay connectivity.
Example