Defines a public key that can sign transactions and messages.

Hierarchy

  • Signer

Properties

publicKey: PublicKey<string>

The public key of the Signer.

signAllTransactions: ((transactions: Transaction[]) => Promise<Transaction[]>)

Type declaration

signMessage: ((message: Uint8Array) => Promise<Uint8Array>)

Type declaration

    • (message: Uint8Array): Promise<Uint8Array>
    • Signs the given message.

      Parameters

      • message: Uint8Array

      Returns Promise<Uint8Array>

signTransaction: ((transaction: Transaction) => Promise<Transaction>)

Type declaration

Generated using TypeDoc