> ## Documentation Index
> Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Sui Wallets

## Introduction

The Sui wallet connectors will generally have a couple of extra methods to simplify interactions with Sui wallets.

## Checking if a Wallet is a Sui Wallet

You can use the `isSuiWallet` helper method to check if a wallet is a Sui wallet. That way, TypeScript will know which methods are available to you.

```ts
import { isSuiWallet } from '@dynamic-labs/sui';

if (!isSuiWallet(wallet)) {
  throw new Error('This wallet is not a Sui wallet');
}
```

## SuiWallet Class

We expose multiple helper methods that make it easier to interact with Sui wallets
while maintaining consistency with familiar patterns.

### `getSuiClient`

**Params**: none

**Returns**: Promise\<[SuiClient](https://sdk.mystenlabs.com/typedoc/classes/_mysten_sui.client.SuiClient.html) | undefined>

This method will return a Sui client with an RPC url already configured for the active network.

### `getWalletAccount`

**Params**: none

**Returns**: Promise\<[WalletAccount](https://docs.sui.io/standards/wallet-standard#managing-wallets) | undefined>

This method will return the currently active [WalletAccount](https://docs.sui.io/standards/wallet-standard#managing-wallets).

### `getActiveNetwork`

**Params**: none

**Returns**: Promise\<string | undefined>

The active network will usually be one of the following:

* `sui:mainnet`
* `sui:testnet`
* `sui:devnet`
* `sui:localnet`

## Examples

You can find examples of how to interact with Sui wallets in the examples section:

* [Send a Sui Transaction](/wallets/using-wallets/sui/send-sui-transaction)
