docs: async def set_endpoint_for_did(wallet_handle: int,
                                 did: str,
                                 address: str,
                                 transport_key: str) -> None:
      """
      Set/replaces endpoint information for the given DID.
  
      :param wallet_handle: Wallet handle (created by open_wallet).
      :param did: The DID to resolve endpoint.
      :param address: The DIDs endpoint address.
      :param transport_key: The DIDs transport key (ver key, key id).
      :return: Error code
      """
  
      logger = logging.getLogger(__name__)
      logger.debug("set_endpoint_for_did: >>> wallet_handle: %r, did: %r, address: %r, transport_key: %r",
                   wallet_handle,
                   did,
                   address,
                   transport_key)
  
      if not hasattr(set_endpoint_for_did, "cb"):
          logger.debug("set_endpoint_for_did: Creating callback")
          set_endpoint_for_did.cb = create_cb(CFUNCTYPE(None, c_int32, c_int32))
  
      c_wallet_handle = c_int32(wallet_handle)
      c_did = c_char_p(did.encode('utf-8'))
      c_address = c_char_p(address.encode('utf-8'))
      c_transport_key = c_char_p(transport_key.encode('utf-8'))
  
      await do_call('indy_set_endpoint_for_did',
                    c_wallet_handle,
                    c_did,
                    c_address,
                    c_transport_key,
                    set_endpoint_for_did.cb)
  
      logger.debug("set_endpoint_for_did: <<<")