signRegister

Signs the register message for Farcaster ID Gateway.

Example

const signature = await signRegister({ account, message });
function signRegister(options: SignRegisterOptions): Promise<Hex>;

Parameters

The signing options.

Type

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

Returns

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

A promise that resolves to the signature.