signAdd

Signs an Add message using the account's signTypedData method.

Example

const signedMessage = await signAdd({
account: yourAccount,
message: yourAddMessage,
});
function signAdd(options: SignAddOptions): Promise<Hex>;

Parameters

The options for signing the Add message.

Type

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

Returns

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

A promise that resolves to the signature of the Add message.