diff --git a/folgore-esplora/src/lib.rs b/folgore-esplora/src/lib.rs index 7d5b4b9..0b49a87 100644 --- a/folgore-esplora/src/lib.rs +++ b/folgore-esplora/src/lib.rs @@ -49,21 +49,19 @@ impl TryFrom<&str> for Network { fn try_from(value: &str) -> Result { match value { - "bitcoin" => Ok(Self::Bitcoin("https://mempool.space/api/v1".to_owned())), + "bitcoin" => Ok(Self::Bitcoin("https://mempool.space/api".to_owned())), "bitcoin/tor" => Ok(Self::BitcoinTor( "http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/api" .to_owned(), )), "testnet" => Ok(Self::Testnet( - "https://mempool.space/testnet/api/v1".to_owned(), + "https://mempool.space/testnet/api".to_owned(), )), "testnet/tor" => Ok(Self::TestnetTor( "http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/testnet/api" .to_owned(), )), - "signet" => Ok(Self::Testnet( - "https://mempool.space/signet/api/v1".to_owned(), - )), + "signet" => Ok(Self::Testnet("https://mempool.space/signet/api".to_owned())), _ => Err(error!("network {value} not supported")), } }