Hierarchy

Constructors

Properties

#connectParams: undefined | ConnectParams<EmbeddedWalletConnectionArgs>
chain: Pick<Chain, "chainId" | "rpc">
chains: Chain[]
connector?: Connector<{}>

Type declaration

    dappMetadata: DAppMetaData
    type: "evm" = "evm"
    walletId: string
    walletStorage: AsyncStorage
    id: string = ...
    meta: {
        iconURL: string;
        name: string;
    } = ...

    Type declaration

    • iconURL: string
    • name: string

    Accessors

    Methods

    • Parameters

      • currencyAddress: string = NATIVE_TOKEN_ADDRESS

      Returns Promise<{
          decimals: number;
          displayValue: string;
          name: string;
          symbol: string;
          value: BigNumber;
      }>

      the native token balance of the connected wallet

    • Sends a verification email to the provided email address.

      Parameters

      • options: {
            clientId: string;
            email: string;
        }
        • clientId: string
        • email: string

      Returns Promise<SendEmailOtpReturnType>

      Information on the user's status and whether they are a new user.

      Example

      sendVerificationEmail({ email: 'test@example.com', clientId: 'yourClientId' })
      .then(() => console.log('Verification email sent successfully.'))
      .catch(error => console.error('Failed to send verification email:', error));

    Generated using TypeDoc