compileOffchainMessageEnvelope
Returns an OffchainMessageEnvelope object for a given OffchainMessage.
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
| Parameter | Type |
|---|---|
offchainMessage | OffchainMessage |
Returns
Remarks
If the offchain message version is known ahead of time, use one of the compile functions specific to that version so as not to bundle more code than you need.