[][src]Function indyrs::did::get_endpoint_for_did

pub fn get_endpoint_for_did(
    wallet_handle: IndyHandle,
    pool_handle: IndyHandle,
    did: &str
) -> Box<dyn Future<Item = (String, Option<String>), Error = IndyError>>

Returns endpoint information for the given DID.

Arguments

  • wallet_handle - Wallet handle (created by Wallet::open).
  • did - The DID to resolve endpoint.

Returns

  • endpoint - The DIDs endpoint.
  • transport_vk - The DIDs transport key (ver key, key id).