[−][src]Function indyrs::ledger::build_get_cred_def_request
pub fn build_get_cred_def_request(
submitter_did: Option<&str>,
id: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>
Builds a GET_CRED_DEF request. Request to get a Credential Definition (in particular, public key), that Issuer creates for a particular Credential Schema.
Arguments
submitter_did
- (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).id
- Credential Definition ID in ledger.
Returns
Request result as json.