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: ox__Hex.Hex;

A promise that resolves to the signature.