fromObject
scrypt-ts-opcat / Message / fromObject
Function: fromObject()
fromObject(
obj
):Message
Defined in: node_modules/@opcat-labs/opcat/types/message/message.d.cts:103
Creates a Message instance from an object containing a hex-encoded message.
Parameters
obj
The source object containing the message data.
messageHex
string
Hex-encoded message string.
Returns
A new Message instance created from the decoded buffer.