pub fn build_get_schema_request(
    submitter_did: Option<&str>,
    id: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>
Expand description

Builds a GET_SCHEMA request. Request to get Credential’s Schema.

Arguments

  • submitter_did - (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).
  • id - Schema ID in ledger

Returns

Request result as json.