[−][src]Function openalias::address_strings
pub fn address_strings(address: &str) -> Result<Vec<String>, Error>
Ask a DNS server for "oa1:"-prefixed TXT records for the specified OpenAlias.
Examples
assert_eq!(address_strings("donate@getmonero.org").unwrap().sorted(), vec!["oa1:btc recipient_address=1KTexdemPdxSBcG55heUuTjDRYqbC5ZL8H; \ recipient_name=Monero Development; \ tx_description=Donation to Monero Core Team;".to_string(), "oa1:xmr recipient_address=44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft\ 3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A; \ recipient_name=Monero Development; \ tx_description=Donation to Monero Core Team;".to_string()]);