Documentation
    Preparing search index...

    Class BaseWalletAdapter<Name>Abstract

    Minimal EventEmitter interface that is molded against the Node.js EventEmitter interface.

    Type Parameters

    • Name extends string = string

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    connecting: boolean
    icon: string
    publicKey: null | PublicKey
    readyState: WalletReadyState
    supportedTransactionVersions?: SupportedTransactionVersions
    url: string
    prefixed: string | boolean

    Accessors

    Methods

    • 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

    • Parameters

      • transaction: Transaction
      • connection: Connection
      • options: SendOptions = {}

      Returns Promise<Transaction>

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

      Parameters

      • Optionalevent: keyof WalletAdapterEvents

      Returns this