Find more about different supported chains here.
Installation
Usage
Events
Provider Methods
Chain switching
DefaultChain is the current chain that the provider will target for the next requested transaction.
Session data
Once a wallet is connected you can find the session data in theprovider.session object.
The session object includes the following properties, among others:
- namespaces:
session.namespacesis an object that contains the approved session data.
- requiredNamespaces, optionalNamespaces & sessionProperties: These objects contain the namespaces and properties proposed for the session.
- peer: The
session.peer.metadataobject contains the metadata of the connected wallet.
session object here.