getOffchainMessageEnvelopeEncoder

function getOffchainMessageEnvelopeEncoder(): VariableSizeEncoder<OffchainMessageEnvelope>;

Returns an encoder that you can use to encode an OffchainMessageEnvelope to a byte array appropriate for sharing with a third party for validation.

Returns

VariableSizeEncoder<OffchainMessageEnvelope>

On this page