signMessage
signMessage
supports signing messages from the FireblocksSigner
.
This method must be called after authenticate
. Otherwise, this method will throw an error with the message Not Authenticated
.
Usage
example.ts
import { createFireblocksSigner } from "./fireblocks";
const fireblocksSigner = await createFireblocksSigner();
const signedMessage = await fireblocksSigner.signMessage("test");
Returns
Promise<Hex>
A Promise
containing the signature of the message.