toFunctionSelector

function toFunctionSelector(fn: string | AbiFunction): `0x${string}`;

Parameters

Type

let fn: string | AbiFunction;

Returns

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