Skip to main content

Web3Account

Hierarchy

Index

Properties

address

address: string

readonlyencrypt

encrypt: (password: string, options?: Record<string, unknown>) => Promise<KeyStore>

Type declaration

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

      • password: string
      • optionaloptions: Record<string, unknown>

      Returns Promise<KeyStore>

privateKey

privateKey: string

readonlysign

sign: (data: string | Record<string, unknown>) => SignResult

Type declaration

    • (data: string | Record<string, unknown>): SignResult
    • Parameters

      • data: string | Record<string, unknown>

      Returns SignResult

readonlysignTransaction

signTransaction: (tx: Transaction) => Promise<SignTransactionResult>

Type declaration

    • Parameters

      Returns Promise<SignTransactionResult>