DOCUMENTATION
import RpcUrlOption from "../../reference/common/rpc-url-optionx"; import CommonOptions from "./common-optionsx";
cast resolve-name
NAME
cast-resolve-name - Perform an ENS lookup.
SYNOPSIS
cast resolve-name
[options] who
DESCRIPTION
Perform an ENS lookup.
If --verify
is passed, then a reverse lookup is performed after the normal lookup to verify that the name is correct.
OPTIONS
Lookup Options
-v
--verify
Perform a reverse lookup to verify that the name is correct.
RPC Options
<RpcUrlOption /> <CommonOptions />EXAMPLES
-
Get the address for an ENS name.
cast resolve-name vitalik.eth
-
Perform both a normal and a reverse lookup:
cast resolve-name --verify vitalik.eth