signRegister

Signs the register message for Farcaster ID Gateway.

Example

const signature = await signRegister({ account, message });
function signRegister(
): Promise<`0x${string}`>;

Parameters

The signing options.

Type

let options: { account: Account; message: RegisterMessage };

Returns

let returnType: Promise<`0x${string}`>;

A promise that resolves to the signature.