Command reference
ed network ip
ed network ip [--json]Sends one HTTPS request to api64.ipify.org and prints the public address it sees: IPv6 when the network has it, otherwise IPv4. Nothing else is sent, and Network never asks on its own; the page asks only when you press Show public address.
JSON output reports address, family, endpoint and fetchedAt.