privateKey method

String privateKey()

This returns the Bech32 secret key string for this keypair.

Implementation

String privateKey() {
  return encodeSuiPrivateKey(_keypair.getSecretKey(), _keypair.getKeyScheme());
}