signMessage
@totemsdk/lookup-protocol / signMessage
Function: signMessage()
signMessage<
T>(msg,sign):Promise<T&object>
Attach a signature to a message.
Returns a new message object with the sig field set.
Type Parameters
T
T extends LookupMessage
Parameters
msg
T
sign
Returns
Promise<T & object>