get_account_public_key now also checks blockchain