Skip to main content

Web3AccountProvider <T>

Index

Properties

create

create: () => T

Type declaration

    • (): T
    • Returns T

decrypt

decrypt: (keystore: string | KeyStore, password: string, options?: Record<string, unknown>) => Promise<T>

Type declaration

    • (keystore: string | KeyStore, password: string, options?: Record<string, unknown>): Promise<T>
    • Parameters

      • keystore: string | KeyStore
      • password: string
      • optionaloptions: Record<string, unknown>

      Returns Promise<T>

privateKeyToAccount

privateKeyToAccount: (privateKey: string) => T

Type declaration

    • (privateKey: string): T
    • Parameters

      • privateKey: string

      Returns T