[][src]Function indyrs::ledger::parse_get_revoc_reg_delta_response

pub fn parse_get_revoc_reg_delta_response(
    get_revoc_reg_delta_response: &str
) -> Box<dyn Future<Item = (String, String, u64), Error = IndyError>>

Parse a GET_REVOC_REG_DELTA response to get Revocation Registry Delta in the format compatible with Anoncreds API.

Arguments

  • get_revoc_reg_response - response of GET_REVOC_REG_DELTA request.

Returns

Revocation Registry Definition Id, Revocation Registry Delta json and Timestamp. { "value": Registry-specific data { prevAccum: string - previous accumulator value. accum: string - current accumulator value. issued: array - an array of issued indices. revoked: array an array of revoked indices. }, "ver": string - version revocation registry delta json }