Skip to main content

pushHashesToRHS() function

Pushes identity state information to a reverse hash service.

A reverse hash service (RHS) is a centralized or decentralized service for storing publicly available data about identity. Such data are identity state and state of revocation tree and roots tree root tree.

Signature:

export declare function pushHashesToRHS(state: Hash, trees: TreesModel, rhsUrl: string, revokedNonces?: number[]): Promise<void>;

Parameters

ParameterTypeDescription
stateHashcurrent state of identity
treesTreesModelcurrent trees of identity (claims, revocation, rootOfRoots )
rhsUrlstringURL of service
revokedNoncesnumber[](Optional) revoked nonces since last published info

Returns:

Promise<void>

void