Guides
Dash CoreDash PlatformDash.orgDash User DocsLog In
These docs are for v0.24.0. Click to read the latest docs for v0.25-redirect.

getIdentityIdByFirstPublicKey

Usage: async client.platform.getIdentityIdByFirstPublicKey(publicKeyHash)
Description: Fetch the identity ID using the public key hash of the identity's first key

Parameters:

parameterstyperequiredDescription
publicKeyHashStringyesA valid public key hash

Returns : Promise<!Buffer|null>