Skip to content

@ens:contenthash.of

Read the decoded content hash of an ENS name (e.g. ipfs://…).

Returns: string

@ens:contenthash.of(name)
NameTypeDescription
namestringENS name (e.g. vitalik.eth)
# Read the content hash behind a name
set $hash @ens:contenthash.of("vitalik.eth")
print $hash