Skip to content

adamant-api / index / createAddressFromPublicKey

Function: createAddressFromPublicKey()

ts
function createAddressFromPublicKey(publicKey): `U${string}`;

Defined in: src/helpers/keys.ts:41

Converts an ADM public key into its U-prefixed account address.

Parameters

ParameterType
publicKeystring | Buffer<ArrayBufferLike>

Returns

`U${string}`

Released under the GPL-3.0 License.