getBalance(): Promise<string | undefined> | Retrieves the balance of the wallet. |
getNameService(): Promise<NameServiceData | undefined> | Retrieves the name service data associated with the wallet. |
isConnected(): Promise<boolean> | If the wallet is connected. |
proveOwnership(messageToSign: string): Promise<string\ | undefined> | Proves ownership of the wallet by signing a message. |
signMessage(messageToSign: string): Promise<string\ | undefined> | Signs a message using the wallet. |
switchNetwork(networkChainId: number | string): Promise<void> | Switches the network that the wallet is connected to. |
sync(): Promise<void> | Prompts the user to reconnect the wallet if not connected and only resolves when the wallet is connected and active. |