Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WalletProvider
    • EthereumWalletApiProvider

Index

Constructors

constructor

Properties

_ethereumProvider

_ethereumProvider: EthereumProvider

_methods

_methods: string[]

_network

_network: EthereumNetwork

client

client: IClient

Methods

_networkMatchProxy

  • _networkMatchProxy(target: any, func: string): any
  • Parameters

    • target: any
    • func: string

    Returns any

assertNetworkMatch

  • assertNetworkMatch(): Promise<void>
  • Returns Promise<void>

canUpdateFee

  • canUpdateFee(): boolean

getAddresses

  • getAddresses(): Promise<Address[]>

getConnectedNetwork

  • getConnectedNetwork(): Promise<EthereumNetwork | { name: string; networkId: number }>

getMethod

  • getMethod(method: string, requestor?: any): any
  • Get method for the provider

    Parameters

    • method: string

      Name of the method

    • Optional requestor: any

    Returns any

    Returns a method from a provider above current Provider in the stack.

getUnusedAddress

  • getUnusedAddress(): Promise<Address>

getUsedAddresses

  • getUsedAddresses(): Promise<Address[]>

getWalletNetworkId

  • getWalletNetworkId(): Promise<number>

isWalletAvailable

  • isWalletAvailable(): Promise<boolean>

request

  • request(method: string, ...params: any): Promise<any>

sendTransaction

  • sendTransaction(options: SendOptions): Promise<Transaction<PartialTransaction>>

setClient

  • setClient(client: IClient): void
  • Set client to a provider instance.

    Parameters

    • client: IClient

      The ChainAbstractionLayer instance

    Returns void

signMessage

  • signMessage(message: string): Promise<any>

Generated using TypeDoc