Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

icon: string
name: WalletName<"Phantom">
supportedTransactionVersions: ReadonlySet<TransactionVersion>
url: string
prefixed: string | boolean

Accessors

  • get connected(): boolean
  • Returns boolean

  • get connecting(): boolean
  • Returns boolean

  • Returns null | PublicKey

  • Returns WalletReadyState

Methods

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

  • disconnect(): Promise<void>
  • prepareTransaction(transaction: Transaction, connection: Connection, options?: SendOptions): Promise<Transaction>
  • sendTransaction<T>(transaction: T, connection: Connection, options?: SendTransactionOptions): Promise<string>
  • signAllTransactions<T>(transactions: T[]): Promise<T[]>
  • signMessage(message: Uint8Array): Promise<Uint8Array>
  • Parameters

    • message: Uint8Array

    Returns Promise<Uint8Array>

  • signTransaction<T>(transaction: T): Promise<T>

Generated using TypeDoc