Skip to main content

compressIdentifierSecp256k1Keys() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Converts any Secp256k1 public keys of an IIdentifier to their compressed form.

Signature:

export declare function compressIdentifierSecp256k1Keys(identifier: IIdentifier): IKey[]

Parameters

ParameterTypeDescription
identifierIIdentifierthe identifier with keys

Returns:

IKey[]

the array of keys where the Secp256k1 entries are compressed.

This API may change without a BREAKING CHANGE notice.