DefaultChain
is the current chain that the provider will target for the next requested transaction.
provider.session
object.
The session object includes the following properties, among others:
session.namespaces
is an object that contains the approved session data.chains
object is an optional parameter and may be undefined. Therefore, we encourage apps to obtain the approved chains from the session.accounts
object instead.session.peer.metadata
object contains the metadata of the connected wallet.session
object here.