getPublicKey

suspend fun getPublicKey(index: Int = 0): ByteArray

Gets the raw 32-byte Ed25519 public key at the specified index.

Return

32-byte Ed25519 public key

Parameters

index

Account index (default: 0)

Throws

if index is negative