resolveSignature

Resolves a signature by converting a hexadecimal string into a function or event signature.

Example

import { resolveSignature } from "thirdweb/utils";
const res = await resolveSignature("0x1f931c1c");
console.log(res);

Parameters

Returns

A promise that resolves to an object containing the function and event signatures.