rest getaddress