Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

  • Name extends string = string

Hierarchy

Implements

Index

Constructors

  • Type Parameters

    • Name extends string = string

    Returns BaseWalletAdapter<Name>

Properties

connecting: boolean
icon: string
name: WalletName<Name>
publicKey: null | PublicKey
readyState: WalletReadyState
supportedTransactionVersions?: SupportedTransactionVersions
url: string
prefixed: string | boolean

Accessors

  • get connected(): boolean
  • Returns boolean

Methods

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

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

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

  • Calls each of the listeners registered for a given event.

    Type Parameters

    Parameters

    Returns boolean

  • Return an array listing the events for which the emitter has registered listeners.

    Returns (keyof WalletAdapterEvents)[]

  • Return the number of listeners listening to a given event.

    Parameters

    Returns number

  • Return the listeners registered for a given event.

    Type Parameters

    Parameters

    • event: T

    Returns ((...args: ArgumentMap<WalletAdapterEvents>[Extract<T, keyof WalletAdapterEvents>]) => void)[]

  • prepareTransaction(transaction: Transaction, connection: Connection, options?: SendOptions): Promise<Transaction>
  • Parameters

    Returns Promise<Transaction>

  • Remove all listeners, or those of the specified event.

    Parameters

    Returns BaseWalletAdapter<Name>

  • Parameters

    Returns Promise<string>

Generated using TypeDoc