fedimint_client::api_announcements

Function get_api_urls

Source
pub async fn get_api_urls(
    db: &Database,
    cfg: &ClientConfig,
) -> BTreeMap<PeerId, SafeUrl>
Expand description

Returns a list of all peers and their respective API URLs taking into account announcements overwriting the URLs contained in the original configuration.