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
Parameter | Type | Description |
---|---|---|
state | Hash | current state of identity |
trees | TreesModel | current trees of identity (claims, revocation, rootOfRoots ) |
rhsUrl | string | URL of service |
revokedNonces | number[] | (Optional) revoked nonces since last published info |
Returns:
Promise<void>
void