@ens:contenthash.of
Read the decoded content hash of an ENS name (e.g. ipfs://…).
Returns: string
Syntax
Section titled “Syntax”@ens:contenthash.of(name)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
name | string | ENS name (e.g. vitalik.eth) |
Examples
Section titled “Examples”# Read the content hash behind a nameset $hash @ens:contenthash.of("vitalik.eth")print $hash