Function indyrs::ledger::build_get_attrib_request [−][src]
pub fn build_get_attrib_request(
submitter_did: Option<&str>,
target_did: &str,
raw: Option<&str>,
hash: Option<&str>,
enc: Option<&str>
) -> Box<dyn Future<Item = String, Error = IndyError>>
Builds a GET_ATTRIB request. Request to get information about an Attribute for the specified DID.
Arguments
submitter_did
- DID of the read request sender.target_did
- Target DID as base58-encoded string for 16 or 32 bit DID value.raw
- (Optional) Requested attribute name.hash
- (Optional) Requested attribute hash.enc
- (Optional) Requested attribute encrypted value.
Returns
Request result as json.