Resolves a signature by converting a hexadecimal string into a function or event signature.
import { resolveSignature } from "thirdweb/utils";const res = await resolveSignature("0x1f931c1c");console.log(res);
function resolveSignature( hexSig: string,): Promise<{ event: null | `event ${string}`; function: null | `function ${string}`;}>;
The hexadecimal signature to resolve.
let hexSig: string;
let returnType: Promise<{ event: null | `event ${string}`; function: null | `function ${string}`;}>;
A promise that resolves to an object containing the function and event signatures.