resolveSignatures

Resolves the signatures of the given hexadecimal signatures.

Example

import { resolveSignatures } from "thirdweb/utils";
const res = await resolveSignatures(["0x1f931c1c", "0x1f931c1c"]);
console.log(res);
function resolveSignatures(
hexSigs: Array<string>,
): Promise<{
events: Array<EventString>;
functions: Array<FunctionString>;
}>;

Parameters

An array of hexadecimal signatures.

Type

let hexSigs: Array<string>;

Returns

let returnType: Promise<{
events: Array<EventString>;
functions: Array<FunctionString>;
}>;

A promise that resolves to an object containing the resolved functions and events.