getOffchainMessageV1Decoder
Returns a decoder that you can use to convert a byte array (eg. one that conforms to the OffchainMessageBytes type) to an OffchainMessageV1 object.
Returns
VariableSizeDecoder<OffchainMessageV1>
Example
Throws in the event that the message bytes represent a message of a version other than 1.