preImageHashes

open fun preImageHashes(coin: CoinType, input: Array<Byte>): Array<Byte>

Computes preimage hashes of a message.

Return

The serialized data of TW.TxCompiler.PreSigningOutput.

Parameters

coin

The given coin type to sign the message for.

input

The serialized data of a signing input (e.g. TW.Ethereum.Proto.MessageSigningInput).