extractDataHash

Extract the data hash from a preImageHash for signing.

This is used internally to extract the 32-byte hash that needs to be signed by MPC.

Return

Result containing the 32-byte data hash, or an error

Parameters

preImageHash

The serialized PreSigningOutput from buildPreImageHash