getAddressFromPublicKey static method

String getAddressFromPublicKey(
  1. String publicKey
)

Derives an address from a public key.

This method takes a public key as input and uses NosoCore's getAddressFromPublicKey method to derive the corresponding address.

Parameters:

  • publicKey The public key for which the address needs to be derived.

Returns: A string representing the derived address.

Implementation

static String getAddressFromPublicKey(String publicKey) {
  return NosoCore().getAddressFromPublicKey(publicKey);
}