export

open fun export(humanReadablePart: String = SUI_PRIVATE_KEY_PREFIX): String

Encodes the private key using Bech32 with the specified human-readable part.

The default human-readable part is SUI_PRIVATE_KEY_PREFIX.

Return

The Bech32 encoded private key.

Parameters

humanReadablePart

The human-readable part to use in the Bech32 encoding. Defaults to SUI_PRIVATE_KEY_PREFIX.