compileOffchainMessageV1Envelope

function compileOffchainMessageV1Envelope(
    offchainMessage,
): OffchainMessageEnvelope;

Returns an OffchainMessageEnvelope object for a given OffchainMessageV1.

This includes the compiled bytes of the offchain message, and a map of signatures. This map will have a key for each address that is required to sign the message. The message envelope will not yet have signatures for any of these signatories.

Parameters

ParameterType
offchainMessageOffchainMessageV1

Returns

OffchainMessageEnvelope

On this page