isSolanaWallet
helper method to check if a wallet is a Solana wallet. That way, TypeScript will know which methods are available to you.
Method | Description |
---|---|
getConnection(): Promise<Connection> | Retrieves the RPC connection |
getSigner(): Promise<ISolana> | Retrieves the solana signer for the wallet. |