@aptos-labs/ts-sdk - v3.1.1
    Preparing search index...

    Function deserializePublicKey

    • Deserializes a public key from a hex string. Attempts to deserialize using various public key types in sequence until one succeeds.

      Parameters

      • publicKey: HexInput

        The hex string representation of the public key to deserialize

      Returns PublicKey

      The deserialized public key

      Error if deserialization fails for all supported key types or if multiple deserializations are found