get_url_domain Documentation for eth_defi.utils.get_url_domain function. get_url_domain(url)[source] Redact URL so that only domain is displayed. Some services e.g. infura use path as an API key. Parameters url (str) – Return type str