Class AbstractClientWallet<TAdditionalOpts, TConnectParams>Abstract

Type Parameters

  • TAdditionalOpts extends Record<string, any> = {}

  • TConnectParams extends Record<string, any> = {}

Hierarchy

Constructors

Properties

#connectParams: undefined | ConnectParams<TConnectParams>
chains: Chain[]
dappMetadata: DAppMetaData
options?: WalletOptions<TAdditionalOpts>
type: "evm" = "evm"
walletId: string
walletStorage: AsyncStorage
meta: WalletMeta

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

  • Parameters

    • to: string
    • amount: string | number
    • currencyAddress: string = NATIVE_TOKEN_ADDRESS

    Returns Promise<Omit<TransactionResultWithMetadata<unknown>, "data">>

Generated using TypeDoc