Companion

object Companion

Namespace building without an adapter instance, for proposal time.

Functions

Link copied to clipboard
fun sessionNamespaces(chainId: String, accounts: List<DappWallet>, requestedMethods: Collection<String> = emptyList()): WcSessionNamespaces

sessionNamespaces without an adapter instance. A wallet that keeps one adapter (and one DappSession) per peer needs namespaces at proposal time, before any session for that peer exists; the namespaces depend only on the chain and the offered accounts.