MCPcopy Create free account
hub / github.com/wevm/viem / encodeLabelhash

Function encodeLabelhash

src/utils/ens/encodeLabelhash.ts:6–8  ·  view source on GitHub ↗
(hash: Hex)

Source from the content-addressed store, hash-verified

4export type EncodeLabelhashErrorType = ErrorType
5
6export function encodeLabelhash(hash: Hex): `[${string}]` {
7 return `[${hash.slice(2)}]`
8}

Callers 2

packetToBytesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected