UNPKG

@dashevo/wallet-lib

Version:
12 lines (10 loc) 281 B
/** * @param {Buffer} publicKeyHash * @return {Promise<Buffer>} */ module.exports = async function getIdentityByPublicKeyHash(publicKeyHash) { const response = await this.client.platform.getIdentityByPublicKeyHash( publicKeyHash, ); return response.getIdentity(); };