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. Returns false if no active scoped relay.
Track a subscription for lifecycle management.
Untrack and clean up a subscription.
Hook for relay pool operations. Host app provides relay connectivity.
Example