Function pd::testnet::join::fetch_listen_address

source ·
pub async fn fetch_listen_address(tm_url: &Url) -> Option<TendermintAddress>
Expand description

Query the Tendermint node’s RPC endpoint at tm_url and return the listener address for the P2P endpoint. Returns an Option because it’s possible that no p2p listener is configured.