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

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