Signs a key request message using EIP-712 typed data signing. This function prepares the data for signing, signs it with the provided account, and returns the signature.
const message = { requestFid: 123456789n, key: "0x04bfc...", deadline: 1657758061n,}; const signature = signKeyRequest({ account: signerAccount, message });
function signKeyRequest(options: SignKeyRequestOptions): Promise<Hex>;
The options for signing the key request, including the account and the message.
let options: { account: Account; message: SignedKeyRequestMessage };
let returnType: ox__Hex.Hex;
A promise that resolves to the signature of the key request.