Sender Wallet Developer Documentation
  • Guide
    • Introduction
    • Getting Started
    • Sign in Applications
      • Sign in Applications in Near
      • Sign in Applications in Ethereum
    • Access Accounts
      • Access Accounts in Near
      • Access Account in Ethereum
    • Send Transactions
      • Send Transactions in Near
      • Send Transactions in Ethereum
  • API Reference
    • Near
      • NEAR Provider API
      • Deprecated APIs
    • Ethereum
      • Sign Data
      • Ethereum Provider API
    • Ton
      • Mobile Dapp Provider
  • Best Practices
    • Define App's Icon
Powered by GitBook
On this page
  1. Guide
  2. Access Accounts

Access Account in Ethereum

PreviousAccess Accounts in NearNextSend Transactions

Last updated 2 years ago

User accounts are used in a variety of contexts in Ethereum, including as identifiers and for . To request a signature from a user or have a user approve a transaction, your dapp must access the user's accounts using the 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

We recommend providing a button to allow users to connect Sender to your dapp. Selecting this button should call to access the user's account.

signing transactions
eth_requestAccounts
eth_requestAccounts