MultiEd25519PublicKey

class MultiEd25519PublicKey(publicKeys: List<Ed25519PublicKey>, val threshold: UByte) : AccountPublicKey

A legacy Aptos K-of-N Ed25519 public key.

Constructors

Link copied to clipboard
constructor(publicKeys: List<Ed25519PublicKey>, threshold: UByte)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun authKey(): AuthenticationKey

Get the authentication key associated with this public key

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toBcs(): ByteArray

Get the BCS bytes

Link copied to clipboard
open override fun toByteArray(): ByteArray

Get the raw public key bytes

Link copied to clipboard
open override fun verifySignature(message: HexInput, signature: Signature): Boolean

Verifies that the private key associated with this public key signed the message with the given signature.