keccakId

Calculates the keccak ID of the given input.

Example

import { keccackId } from "thirdweb/utils";
const keccakId = keccackId(input);
function keccakId(input: string): Hex;

Parameters

The input value to calculate the keccak ID for.

Type

let input: string;

Returns

let returnType: `0x${string}`;

The keccak ID as a Hex string.