Type alias IdentityDriver

IdentityDriver: {
    publicKey: PublicKey;
    signMessage: ((message: Uint8Array) => Promise<Uint8Array>);
    signTransaction: ((transaction: Transaction) => Promise<Transaction>);
    signAllTransactions: ((transactions: Transaction[]) => Promise<Transaction[]>);
    secretKey?: undefined | Uint8Array;
}

Type declaration

  • publicKey: PublicKey
  • signMessage: ((message: Uint8Array) => Promise<Uint8Array>)
      • (message: Uint8Array): Promise<Uint8Array>
      • Parameters

        • message: Uint8Array

        Returns Promise<Uint8Array>

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

        • transaction: Transaction

        Returns Promise<Transaction>

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

        • transactions: Transaction[]

        Returns Promise<Transaction[]>

  • Optional secretKey?: undefined | Uint8Array

Generated using TypeDoc