DOCUMENTATION
cast lookup-address
NAME
cast-lookup-address - Perform an ENS reverse lookup.
SYNOPSIS
cast lookup-address
[options] who
DESCRIPTION
Perform an ENS reverse lookup.
If --verify
is passed, then a normal lookup is performed after the reverse lookup to verify that the address is correct.
OPTIONS
Lookup Options
-v
--verify
Perform a normal lookup to verify that the address is correct.
RPC Options
--rpc-url
url
The RPC endpoint. Accepts a URL or an existing alias in the [rpc_endpoints] table, like mainnet
.
Environment: ETH_RPC_URL
Common Options
-h
--help
Prints help information.
EXAMPLES
-
Get the ENS name for an address.
cast lookup-address $ADDRESS
-
Perform both a reverse and a normal lookup:
cast lookup-address --verify $ADDRESS