[][src]Function indyrs::anoncreds::prover_fetch_credentials

pub fn prover_fetch_credentials(
    search_handle: SearchHandle,
    count: usize
) -> Box<dyn Future<Item = String, Error = IndyError>>

Fetch next credentials for search.

Arguments

  • search_handle: Search handle (created by search_credentials)
  • count: Count of credentials to fetch

Returns

  • credentials_json: List of human readable credentials: [{ "referent": string, // cred_id in the wallet "attrs": {"key1":"raw_value1", "key2":"raw_value2"}, "schema_id": string, "cred_def_id": string, "rev_reg_id": Optional, "cred_rev_id": Optional }]