# Sensui Wallet Integration

**Sensui Wallet Integration**

Sensui Wallet can make requests to the wallet from their website:

// Note \
const Permissions = \['viewAccount','suggestTransactions'] as const;

* requestPermission(permissions: Permission\[]): prompts the user to allow connection from the dApp (neccessary to make other requests)&#x20;
* hasPermission(Permissions): check permisstion of the user to allow connection from the dApp (neccessary to make other requests)&#x20;
* getAccounts(): gets the address of the account signed into the wallet

// Note interface MoveCallTransaction { packageObjectId: ObjectId; module: string; function: string; typeArguments: string\[]; arguments: SuiJsonValue\[]; gasPayment?: ObjectId; gasBudget: number; }

* executeMoveCall(tx: MoveCallTransaction): signs and broadcast the given transaction and submits to chain&#x20;
* executeSerializedMoveCall(tx: Base64EncodedString): signs and broadcast (with Serialized) the given transaction and submits to chain

// Check connection status of wallet const result = await window\.senSuiWallet.requestPermissions(Permissions)

// Check connection status of wallet\
const result = await window\.senSuiWallet.mi(Permissions)

// Gets the address of the account signed into the wallet const result = await window\.senSuiWallet.getAccounts()

// Sign transaction const result = await window\.senSuiWallet.executeMoveCall(txs)

// Sign transaction (with Serialized) const result = await window\.senSuiWallet.executeSerializedMoveCall(tx.toString())


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://global-interlink.gitbook.io/gil/explore/wallet-sensui-wallet/sensui-wallet-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
