> For the complete documentation index, see [llms.txt](https://docs.senderwallet.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.senderwallet.io/guide/access-accounts/access-account-in-ethereum.md).

# Access Account in Ethereum

User accounts are used in a variety of contexts in Ethereum, including as identifiers and for [signing transactions](/api-reference/ethereum/sign-data.md). To request a signature from a user or have a user approve a transaction, your dapp must access the user's accounts using the [`eth_requestAccounts`](/api-reference/ethereum/ethereum-provider-api.md#eth_requestaccounts) RPC method.

When accessing a user's accounts:

* **Only** initiate a connection request in response to direct user action, such as selecting a connect button.
* **Always** disable the connect button while the connection request is pending.
* **Never** initiate a connection request on page load.

### Create a connect button <a href="#create-a-connect-button" id="create-a-connect-button"></a>

We recommend providing a button to allow users to connect **Sender** to your dapp. Selecting this button should call [`eth_requestAccounts`](/api-reference/ethereum/ethereum-provider-api.md#eth_requestaccounts) to access the user's account.
