Hierarchy

Constructors

Properties

#connectParams: undefined | {
    chainId?: number;
}

Type declaration

  • Optional chainId?: number
chains: Chain[]
coinbaseConnector?: CoinbaseWalletConnector
connector?: Connector<{}>

Type declaration

    dappMetadata: DAppMetaData
    headlessMode: boolean
    options?: {
        analytics?: "enabled" | "disabled";
        chains?: Chain[];
        clientId?: string;
        dappMetadata?: DAppMetaData;
        walletId?: string;
        walletStorage?: AsyncStorage;
    }

    Type declaration

    • Optional analytics?: "enabled" | "disabled"
    • Optional chains?: Chain[]
    • Optional clientId?: string
    • Optional dappMetadata?: DAppMetaData
    • Optional walletId?: string
    • Optional walletStorage?: AsyncStorage
    theme: "dark" | "light"
    type: "evm" = "evm"
    walletId: string
    walletStorage: AsyncStorage
    id: string = ...
    meta: {
        iconURL: string;
        name: string;
        urls: {
            android: string;
            chrome: string;
            ios: string;
        };
    } = ...

    Type declaration

    • iconURL: string
    • name: string
    • urls: {
          android: string;
          chrome: string;
          ios: string;
      }
      • android: string
      • chrome: string
      • ios: 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

    Generated using TypeDoc